Title: | 'Amazon Web Services' Machine Learning Services |
Version: | 0.9.0 |
Description: | Interface to 'Amazon Web Services' machine learning services, including 'SageMaker' managed machine learning service, natural language processing, speech recognition, translation, and more https://aws.amazon.com/machine-learning/. |
License: | Apache License (≥ 2.0) |
URL: | https://github.com/paws-r/paws, https://paws-r.r-universe.dev/paws.machine.learning |
BugReports: | https://github.com/paws-r/paws/issues |
Imports: | paws.common (≥ 0.8.0) |
Suggests: | testthat |
Encoding: | UTF-8 |
RoxygenNote: | 7.3.2 |
Collate: | 'augmentedairuntime_service.R' 'augmentedairuntime_interfaces.R' 'augmentedairuntime_operations.R' 'bedrock_service.R' 'bedrock_interfaces.R' 'bedrock_operations.R' 'bedrockagent_service.R' 'bedrockagent_interfaces.R' 'bedrockagent_operations.R' 'bedrockagentruntime_service.R' 'bedrockagentruntime_interfaces.R' 'bedrockagentruntime_operations.R' 'bedrockdataautomation_service.R' 'bedrockdataautomation_interfaces.R' 'bedrockdataautomation_operations.R' 'bedrockdataautomationruntime_service.R' 'bedrockdataautomationruntime_interfaces.R' 'bedrockdataautomationruntime_operations.R' 'bedrockruntime_service.R' 'bedrockruntime_interfaces.R' 'bedrockruntime_operations.R' 'comprehend_service.R' 'comprehend_interfaces.R' 'comprehend_operations.R' 'comprehendmedical_service.R' 'comprehendmedical_interfaces.R' 'comprehendmedical_operations.R' 'forecastqueryservice_service.R' 'forecastqueryservice_interfaces.R' 'forecastqueryservice_operations.R' 'forecastservice_service.R' 'forecastservice_interfaces.R' 'forecastservice_operations.R' 'frauddetector_service.R' 'frauddetector_interfaces.R' 'frauddetector_operations.R' 'lexmodelbuildingservice_service.R' 'lexmodelbuildingservice_interfaces.R' 'lexmodelbuildingservice_operations.R' 'lexmodelsv2_service.R' 'lexmodelsv2_interfaces.R' 'lexmodelsv2_operations.R' 'lexruntimeservice_service.R' 'lexruntimeservice_interfaces.R' 'lexruntimeservice_operations.R' 'lexruntimev2_service.R' 'lexruntimev2_interfaces.R' 'lexruntimev2_operations.R' 'lookoutequipment_service.R' 'lookoutequipment_interfaces.R' 'lookoutequipment_operations.R' 'lookoutmetrics_service.R' 'lookoutmetrics_interfaces.R' 'lookoutmetrics_operations.R' 'machinelearning_service.R' 'machinelearning_interfaces.R' 'machinelearning_operations.R' 'panorama_service.R' 'panorama_interfaces.R' 'panorama_operations.R' 'personalize_service.R' 'personalize_interfaces.R' 'personalize_operations.R' 'personalizeevents_service.R' 'personalizeevents_interfaces.R' 'personalizeevents_operations.R' 'personalizeruntime_service.R' 'personalizeruntime_interfaces.R' 'personalizeruntime_operations.R' 'polly_service.R' 'polly_interfaces.R' 'polly_operations.R' 'reexports_paws.common.R' 'rekognition_service.R' 'rekognition_interfaces.R' 'rekognition_operations.R' 'sagemaker_service.R' 'sagemaker_interfaces.R' 'sagemaker_operations.R' 'sagemakeredgemanager_service.R' 'sagemakeredgemanager_interfaces.R' 'sagemakeredgemanager_operations.R' 'sagemakerfeaturestoreruntime_service.R' 'sagemakerfeaturestoreruntime_interfaces.R' 'sagemakerfeaturestoreruntime_operations.R' 'sagemakergeospatialcapabilities_service.R' 'sagemakergeospatialcapabilities_interfaces.R' 'sagemakergeospatialcapabilities_operations.R' 'sagemakermetrics_service.R' 'sagemakermetrics_interfaces.R' 'sagemakermetrics_operations.R' 'sagemakerruntime_service.R' 'sagemakerruntime_interfaces.R' 'sagemakerruntime_operations.R' 'textract_service.R' 'textract_interfaces.R' 'textract_operations.R' 'transcribeservice_service.R' 'transcribeservice_interfaces.R' 'transcribeservice_operations.R' 'translate_service.R' 'translate_interfaces.R' 'translate_operations.R' 'voiceid_service.R' 'voiceid_interfaces.R' 'voiceid_operations.R' |
NeedsCompilation: | no |
Packaged: | 2025-03-14 09:22:41 UTC; dyfanjones |
Author: | David Kretch [aut], Adam Banker [aut], Dyfan Jones [cre], Amazon.com, Inc. [cph] |
Maintainer: | Dyfan Jones <dyfan.r.jones@gmail.com> |
Repository: | CRAN |
Date/Publication: | 2025-03-15 06:50:02 UTC |
Amazon Augmented AI Runtime
Description
Amazon Augmented AI (Amazon A2I) adds the benefit of human judgment to any machine learning application. When an AI application can't evaluate data with a high degree of confidence, human reviewers can take over. This human review is called a human review workflow. To create and start a human review workflow, you need three resources: a worker task template, a flow definition, and a human loop.
For information about these resources and prerequisites for using Amazon A2I, see Get Started with Amazon Augmented AI in the Amazon SageMaker Developer Guide.
This API reference includes information about API actions and data types that you can use to interact with Amazon A2I programmatically. Use this guide to:
Start a human loop with the
start_human_loop
operation when using Amazon A2I with a custom task type. To learn more about the difference between custom and built-in task types, see Use Task Types . To learn how to start a human loop using this API, see Create and Start a Human Loop for a Custom Task Type in the Amazon SageMaker Developer Guide.Manage your human loops. You can list all human loops that you have created, describe individual human loops, and stop and delete human loops. To learn more, see Monitor and Manage Your Human Loop in the Amazon SageMaker Developer Guide.
Amazon A2I integrates APIs from various AWS services to create and start human review workflows for those services. To learn how Amazon A2I uses these APIs, see Use APIs in Amazon A2I in the Amazon SageMaker Developer Guide.
Usage
augmentedairuntime(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- augmentedairuntime( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
delete_human_loop | Deletes the specified human loop for a flow definition |
describe_human_loop | Returns information about the specified human loop |
list_human_loops | Returns information about human loops, given the specified parameters |
start_human_loop | Starts a human loop, provided that at least one activation condition is met |
stop_human_loop | Stops the specified human loop |
Examples
## Not run:
svc <- augmentedairuntime()
svc$delete_human_loop(
Foo = 123
)
## End(Not run)
Deletes the specified human loop for a flow definition
Description
Deletes the specified human loop for a flow definition.
See https://www.paws-r-sdk.com/docs/augmentedairuntime_delete_human_loop/ for full documentation.
Usage
augmentedairuntime_delete_human_loop(HumanLoopName)
Arguments
HumanLoopName |
[required] The name of the human loop that you want to delete. |
Returns information about the specified human loop
Description
Returns information about the specified human loop. If the human loop was deleted, this operation will return a ResourceNotFoundException
error.
See https://www.paws-r-sdk.com/docs/augmentedairuntime_describe_human_loop/ for full documentation.
Usage
augmentedairuntime_describe_human_loop(HumanLoopName)
Arguments
HumanLoopName |
[required] The name of the human loop that you want information about. |
Returns information about human loops, given the specified parameters
Description
Returns information about human loops, given the specified parameters. If a human loop was deleted, it will not be included.
See https://www.paws-r-sdk.com/docs/augmentedairuntime_list_human_loops/ for full documentation.
Usage
augmentedairuntime_list_human_loops(
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
FlowDefinitionArn,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
CreationTimeAfter |
(Optional) The timestamp of the date when you want the human loops to
begin in ISO 8601 format. For example, |
CreationTimeBefore |
(Optional) The timestamp of the date before which you want the human
loops to begin in ISO 8601 format. For example, |
FlowDefinitionArn |
[required] The Amazon Resource Name (ARN) of a flow definition. |
SortOrder |
Optional. The order for displaying results. Valid values: |
NextToken |
A token to display the next page of results. |
MaxResults |
The total number of items to return. If the total number of available
items is more than the value specified in |
Starts a human loop, provided that at least one activation condition is met
Description
Starts a human loop, provided that at least one activation condition is met.
See https://www.paws-r-sdk.com/docs/augmentedairuntime_start_human_loop/ for full documentation.
Usage
augmentedairuntime_start_human_loop(
HumanLoopName,
FlowDefinitionArn,
HumanLoopInput,
DataAttributes = NULL
)
Arguments
HumanLoopName |
[required] The name of the human loop. |
FlowDefinitionArn |
[required] The Amazon Resource Name (ARN) of the flow definition associated with this human loop. |
HumanLoopInput |
[required] An object that contains information about the human loop. |
DataAttributes |
Attributes of the specified data. Use |
Stops the specified human loop
Description
Stops the specified human loop.
See https://www.paws-r-sdk.com/docs/augmentedairuntime_stop_human_loop/ for full documentation.
Usage
augmentedairuntime_stop_human_loop(HumanLoopName)
Arguments
HumanLoopName |
[required] The name of the human loop that you want to stop. |
Amazon Bedrock
Description
Describes the API operations for creating, managing, fine-turning, and evaluating Amazon Bedrock models.
Usage
bedrock(config = list(), credentials = list(), endpoint = NULL, region = NULL)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- bedrock( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
batch_delete_evaluation_job | Deletes a batch of evaluation jobs |
create_evaluation_job | Creates an evaluation job |
create_guardrail | Creates a guardrail to block topics and to implement safeguards for your generative AI applications |
create_guardrail_version | Creates a version of the guardrail |
create_inference_profile | Creates an application inference profile to track metrics and costs when invoking a model |
create_marketplace_model_endpoint | Creates an endpoint for a model from Amazon Bedrock Marketplace |
create_model_copy_job | Copies a model to another region so that it can be used there |
create_model_customization_job | Creates a fine-tuning job to customize a base model |
create_model_import_job | Creates a model import job to import model that you have customized in other environments, such as Amazon SageMaker |
create_model_invocation_job | Creates a batch inference job to invoke a model on multiple prompts |
create_provisioned_model_throughput | Creates dedicated throughput for a base or custom model with the model units and for the duration that you specify |
delete_custom_model | Deletes a custom model that you created earlier |
delete_guardrail | Deletes a guardrail |
delete_imported_model | Deletes a custom model that you imported earlier |
delete_inference_profile | Deletes an application inference profile |
delete_marketplace_model_endpoint | Deletes an endpoint for a model from Amazon Bedrock Marketplace |
delete_model_invocation_logging_configuration | Delete the invocation logging |
delete_provisioned_model_throughput | Deletes a Provisioned Throughput |
deregister_marketplace_model_endpoint | Deregisters an endpoint for a model from Amazon Bedrock Marketplace |
get_custom_model | Get the properties associated with a Amazon Bedrock custom model that you have created |
get_evaluation_job | Gets information about an evaluation job, such as the status of the job |
get_foundation_model | Get details about a Amazon Bedrock foundation model |
get_guardrail | Gets details about a guardrail |
get_imported_model | Gets properties associated with a customized model you imported |
get_inference_profile | Gets information about an inference profile |
get_marketplace_model_endpoint | Retrieves details about a specific endpoint for a model from Amazon Bedrock Marketplace |
get_model_copy_job | Retrieves information about a model copy job |
get_model_customization_job | Retrieves the properties associated with a model-customization job, including the status of the job |
get_model_import_job | Retrieves the properties associated with import model job, including the status of the job |
get_model_invocation_job | Gets details about a batch inference job |
get_model_invocation_logging_configuration | Get the current configuration values for model invocation logging |
get_prompt_router | Retrieves details about a prompt router |
get_provisioned_model_throughput | Returns details for a Provisioned Throughput |
list_custom_models | Returns a list of the custom models that you have created with the CreateModelCustomizationJob operation |
list_evaluation_jobs | Lists all existing evaluation jobs |
list_foundation_models | Lists Amazon Bedrock foundation models that you can use |
list_guardrails | Lists details about all the guardrails in an account |
list_imported_models | Returns a list of models you've imported |
list_inference_profiles | Returns a list of inference profiles that you can use |
list_marketplace_model_endpoints | Lists the endpoints for models from Amazon Bedrock Marketplace in your Amazon Web Services account |
list_model_copy_jobs | Returns a list of model copy jobs that you have submitted |
list_model_customization_jobs | Returns a list of model customization jobs that you have submitted |
list_model_import_jobs | Returns a list of import jobs you've submitted |
list_model_invocation_jobs | Lists all batch inference jobs in the account |
list_prompt_routers | Retrieves a list of prompt routers |
list_provisioned_model_throughputs | Lists the Provisioned Throughputs in the account |
list_tags_for_resource | List the tags associated with the specified resource |
put_model_invocation_logging_configuration | Set the configuration values for model invocation logging |
register_marketplace_model_endpoint | Registers an existing Amazon SageMaker endpoint with Amazon Bedrock Marketplace, allowing it to be used with Amazon Bedrock APIs |
stop_evaluation_job | Stops an evaluation job that is current being created or running |
stop_model_customization_job | Stops an active model customization job |
stop_model_invocation_job | Stops a batch inference job |
tag_resource | Associate tags with a resource |
untag_resource | Remove one or more tags from a resource |
update_guardrail | Updates a guardrail with the values you specify |
update_marketplace_model_endpoint | Updates the configuration of an existing endpoint for a model from Amazon Bedrock Marketplace |
update_provisioned_model_throughput | Updates the name or associated model for a Provisioned Throughput |
Examples
## Not run:
svc <- bedrock()
svc$batch_delete_evaluation_job(
Foo = 123
)
## End(Not run)
Deletes a batch of evaluation jobs
Description
Deletes a batch of evaluation jobs. An evaluation job can only be deleted if it has following status FAILED
, COMPLETED
, and STOPPED
. You can request up to 25 model evaluation jobs be deleted in a single request.
See https://www.paws-r-sdk.com/docs/bedrock_batch_delete_evaluation_job/ for full documentation.
Usage
bedrock_batch_delete_evaluation_job(jobIdentifiers)
Arguments
jobIdentifiers |
[required] A list of one or more evaluation job Amazon Resource Names (ARNs) you want to delete. |
Creates an evaluation job
Description
Creates an evaluation job.
See https://www.paws-r-sdk.com/docs/bedrock_create_evaluation_job/ for full documentation.
Usage
bedrock_create_evaluation_job(
jobName,
jobDescription = NULL,
clientRequestToken = NULL,
roleArn,
customerEncryptionKeyId = NULL,
jobTags = NULL,
applicationType = NULL,
evaluationConfig,
inferenceConfig,
outputDataConfig
)
Arguments
jobName |
[required] A name for the evaluation job. Names must unique with your Amazon Web Services account, and your account's Amazon Web Services region. |
jobDescription |
A description of the evaluation job. |
clientRequestToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
roleArn |
[required] The Amazon Resource Name (ARN) of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. To learn more about the required permissions, see Required permissions for model evaluations. |
customerEncryptionKeyId |
Specify your customer managed encryption key Amazon Resource Name (ARN) that will be used to encrypt your evaluation job. |
jobTags |
Tags to attach to the model evaluation job. |
applicationType |
Specifies whether the evaluation job is for evaluating a model or evaluating a knowledge base (retrieval and response generation). |
evaluationConfig |
[required] Contains the configuration details of either an automated or human-based evaluation job. |
inferenceConfig |
[required] Contains the configuration details of the inference model for the evaluation job. For model evaluation jobs, automated jobs support a single model or inference profile, and jobs that use human workers support two models or inference profiles. |
outputDataConfig |
[required] Contains the configuration details of the Amazon S3 bucket for storing the results of the evaluation job. |
Creates a guardrail to block topics and to implement safeguards for your generative AI applications
Description
Creates a guardrail to block topics and to implement safeguards for your generative AI applications.
See https://www.paws-r-sdk.com/docs/bedrock_create_guardrail/ for full documentation.
Usage
bedrock_create_guardrail(
name,
description = NULL,
topicPolicyConfig = NULL,
contentPolicyConfig = NULL,
wordPolicyConfig = NULL,
sensitiveInformationPolicyConfig = NULL,
contextualGroundingPolicyConfig = NULL,
blockedInputMessaging,
blockedOutputsMessaging,
kmsKeyId = NULL,
tags = NULL,
clientRequestToken = NULL
)
Arguments
name |
[required] The name to give the guardrail. |
description |
A description of the guardrail. |
topicPolicyConfig |
The topic policies to configure for the guardrail. |
contentPolicyConfig |
The content filter policies to configure for the guardrail. |
wordPolicyConfig |
The word policy you configure for the guardrail. |
sensitiveInformationPolicyConfig |
The sensitive information policy to configure for the guardrail. |
contextualGroundingPolicyConfig |
The contextual grounding policy configuration used to create a guardrail. |
blockedInputMessaging |
[required] The message to return when the guardrail blocks a prompt. |
blockedOutputsMessaging |
[required] The message to return when the guardrail blocks a model response. |
kmsKeyId |
The ARN of the KMS key that you use to encrypt the guardrail. |
tags |
The tags that you want to attach to the guardrail. |
clientRequestToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than once. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency in the Amazon S3 User Guide. |
Creates a version of the guardrail
Description
Creates a version of the guardrail. Use this API to create a snapshot of the guardrail when you are satisfied with a configuration, or to compare the configuration with another version.
See https://www.paws-r-sdk.com/docs/bedrock_create_guardrail_version/ for full documentation.
Usage
bedrock_create_guardrail_version(
guardrailIdentifier,
description = NULL,
clientRequestToken = NULL
)
Arguments
guardrailIdentifier |
[required] The unique identifier of the guardrail. This can be an ID or the ARN. |
description |
A description of the guardrail version. |
clientRequestToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than once. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency in the Amazon S3 User Guide. |
Creates an application inference profile to track metrics and costs when invoking a model
Description
Creates an application inference profile to track metrics and costs when invoking a model. To create an application inference profile for a foundation model in one region, specify the ARN of the model in that region. To create an application inference profile for a foundation model across multiple regions, specify the ARN of the system-defined inference profile that contains the regions that you want to route requests to. For more information, see Increase throughput and resilience with cross-region inference in Amazon Bedrock. in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_create_inference_profile/ for full documentation.
Usage
bedrock_create_inference_profile(
inferenceProfileName,
description = NULL,
clientRequestToken = NULL,
modelSource,
tags = NULL
)
Arguments
inferenceProfileName |
[required] A name for the inference profile. |
description |
A description for the inference profile. |
clientRequestToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
modelSource |
[required] The foundation model or system-defined inference profile that the inference profile will track metrics and costs for. |
tags |
An array of objects, each of which contains a tag and its value. For more information, see Tagging resources in the Amazon Bedrock User Guide. |
Creates an endpoint for a model from Amazon Bedrock Marketplace
Description
Creates an endpoint for a model from Amazon Bedrock Marketplace. The endpoint is hosted by Amazon SageMaker.
See https://www.paws-r-sdk.com/docs/bedrock_create_marketplace_model_endpoint/ for full documentation.
Usage
bedrock_create_marketplace_model_endpoint(
modelSourceIdentifier,
endpointConfig,
acceptEula = NULL,
endpointName,
clientRequestToken = NULL,
tags = NULL
)
Arguments
modelSourceIdentifier |
[required] The ARN of the model from Amazon Bedrock Marketplace that you want to deploy to the endpoint. |
endpointConfig |
[required] The configuration for the endpoint, including the number and type of instances to use. |
acceptEula |
Indicates whether you accept the end-user license agreement (EULA) for
the model. Set to |
endpointName |
[required] The name of the endpoint. This name must be unique within your Amazon Web Services account and region. |
clientRequestToken |
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is listed as not required because Amazon Web Services SDKs automatically generate it for you and set this parameter. If you're not using the Amazon Web Services SDK or the CLI, you must provide this token or the action will fail. |
tags |
An array of key-value pairs to apply to the underlying Amazon SageMaker endpoint. You can use these tags to organize and identify your Amazon Web Services resources. |
Copies a model to another region so that it can be used there
Description
Copies a model to another region so that it can be used there. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_create_model_copy_job/ for full documentation.
Usage
bedrock_create_model_copy_job(
sourceModelArn,
targetModelName,
modelKmsKeyId = NULL,
targetModelTags = NULL,
clientRequestToken = NULL
)
Arguments
sourceModelArn |
[required] The Amazon Resource Name (ARN) of the model to be copied. |
targetModelName |
[required] A name for the copied model. |
modelKmsKeyId |
The ARN of the KMS key that you use to encrypt the model copy. |
targetModelTags |
Tags to associate with the target model. For more information, see Tag resources in the Amazon Bedrock User Guide. |
clientRequestToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
Creates a fine-tuning job to customize a base model
Description
Creates a fine-tuning job to customize a base model.
See https://www.paws-r-sdk.com/docs/bedrock_create_model_customization_job/ for full documentation.
Usage
bedrock_create_model_customization_job(
jobName,
customModelName,
roleArn,
clientRequestToken = NULL,
baseModelIdentifier,
customizationType = NULL,
customModelKmsKeyId = NULL,
jobTags = NULL,
customModelTags = NULL,
trainingDataConfig,
validationDataConfig = NULL,
outputDataConfig,
hyperParameters = NULL,
vpcConfig = NULL,
customizationConfig = NULL
)
Arguments
jobName |
[required] A name for the fine-tuning job. |
customModelName |
[required] A name for the resulting custom model. |
roleArn |
[required] The Amazon Resource Name (ARN) of an IAM service role that Amazon
Bedrock can assume to perform tasks on your behalf. For example, during
model training, Amazon Bedrock needs your permission to read input data
from an S3 bucket, write model artifacts to an S3 bucket. To pass this
role to Amazon Bedrock, the caller of this API must have the
|
clientRequestToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
baseModelIdentifier |
[required] Name of the base model. |
customizationType |
The customization type. |
customModelKmsKeyId |
The custom model is encrypted at rest using this key. |
jobTags |
Tags to attach to the job. |
customModelTags |
Tags to attach to the resulting custom model. |
trainingDataConfig |
[required] Information about the training dataset. |
validationDataConfig |
Information about the validation dataset. |
outputDataConfig |
[required] S3 location for the output data. |
hyperParameters |
Parameters related to tuning the model. For details on the format for different models, see Custom model hyperparameters. |
vpcConfig |
The configuration of the Virtual Private Cloud (VPC) that contains the resources that you're using for this job. For more information, see Protect your model customization jobs using a VPC. |
customizationConfig |
The customization configuration for the model customization job. |
Creates a model import job to import model that you have customized in other environments, such as Amazon SageMaker
Description
Creates a model import job to import model that you have customized in other environments, such as Amazon SageMaker. For more information, see Import a customized model
See https://www.paws-r-sdk.com/docs/bedrock_create_model_import_job/ for full documentation.
Usage
bedrock_create_model_import_job(
jobName,
importedModelName,
roleArn,
modelDataSource,
jobTags = NULL,
importedModelTags = NULL,
clientRequestToken = NULL,
vpcConfig = NULL,
importedModelKmsKeyId = NULL
)
Arguments
jobName |
[required] The name of the import job. |
importedModelName |
[required] The name of the imported model. |
roleArn |
[required] The Amazon Resource Name (ARN) of the model import job. |
modelDataSource |
[required] The data source for the imported model. |
jobTags |
Tags to attach to this import job. |
importedModelTags |
Tags to attach to the imported model. |
clientRequestToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
vpcConfig |
VPC configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for the import job. |
importedModelKmsKeyId |
The imported model is encrypted at rest using this key. |
Creates a batch inference job to invoke a model on multiple prompts
Description
Creates a batch inference job to invoke a model on multiple prompts. Format your data according to Format your inference data and upload it to an Amazon S3 bucket. For more information, see Process multiple prompts with batch inference.
See https://www.paws-r-sdk.com/docs/bedrock_create_model_invocation_job/ for full documentation.
Usage
bedrock_create_model_invocation_job(
jobName,
roleArn,
clientRequestToken = NULL,
modelId,
inputDataConfig,
outputDataConfig,
vpcConfig = NULL,
timeoutDurationInHours = NULL,
tags = NULL
)
Arguments
jobName |
[required] A name to give the batch inference job. |
roleArn |
[required] The Amazon Resource Name (ARN) of the service role with permissions to carry out and manage batch inference. You can use the console to create a default service role or follow the steps at Create a service role for batch inference. |
clientRequestToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
modelId |
[required] The unique identifier of the foundation model to use for the batch inference job. |
inputDataConfig |
[required] Details about the location of the input to the batch inference job. |
outputDataConfig |
[required] Details about the location of the output of the batch inference job. |
vpcConfig |
The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see Protect batch inference jobs using a VPC. |
timeoutDurationInHours |
The number of hours after which to force the batch inference job to time out. |
tags |
Any tags to associate with the batch inference job. For more information, see Tagging Amazon Bedrock resources. |
Creates dedicated throughput for a base or custom model with the model units and for the duration that you specify
Description
Creates dedicated throughput for a base or custom model with the model units and for the duration that you specify. For pricing details, see Amazon Bedrock Pricing. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_create_provisioned_model_throughput/ for full documentation.
Usage
bedrock_create_provisioned_model_throughput(
clientRequestToken = NULL,
modelUnits,
provisionedModelName,
modelId,
commitmentDuration = NULL,
tags = NULL
)
Arguments
clientRequestToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency in the Amazon S3 User Guide. |
modelUnits |
[required] Number of model units to allocate. A model unit delivers a specific throughput level for the specified model. The throughput level of a model unit specifies the total number of input and output tokens that it can process and generate within a span of one minute. By default, your account has no model units for purchasing Provisioned Throughputs with commitment. You must first visit the Amazon Web Services support center to request MUs. For model unit quotas, see Provisioned Throughput quotas in the Amazon Bedrock User Guide. For more information about what an MU specifies, contact your Amazon Web Services account manager. |
provisionedModelName |
[required] The name for this Provisioned Throughput. |
modelId |
[required] The Amazon Resource Name (ARN) or name of the model to associate with this Provisioned Throughput. For a list of models for which you can purchase Provisioned Throughput, see Amazon Bedrock model IDs for purchasing Provisioned Throughput in the Amazon Bedrock User Guide. |
commitmentDuration |
The commitment duration requested for the Provisioned Throughput. Billing occurs hourly and is discounted for longer commitment terms. To request a no-commit Provisioned Throughput, omit this field. Custom models support all levels of commitment. To see which base models support no commitment, see Supported regions and models for Provisioned Throughput in the Amazon Bedrock User Guide |
tags |
Tags to associate with this Provisioned Throughput. |
Deletes a custom model that you created earlier
Description
Deletes a custom model that you created earlier. For more information, see Custom models in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_delete_custom_model/ for full documentation.
Usage
bedrock_delete_custom_model(modelIdentifier)
Arguments
modelIdentifier |
[required] Name of the model to delete. |
Deletes a guardrail
Description
Deletes a guardrail.
See https://www.paws-r-sdk.com/docs/bedrock_delete_guardrail/ for full documentation.
Usage
bedrock_delete_guardrail(guardrailIdentifier, guardrailVersion = NULL)
Arguments
guardrailIdentifier |
[required] The unique identifier of the guardrail. This can be an ID or the ARN. |
guardrailVersion |
The version of the guardrail. |
Deletes a custom model that you imported earlier
Description
Deletes a custom model that you imported earlier. For more information, see Import a customized model in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_delete_imported_model/ for full documentation.
Usage
bedrock_delete_imported_model(modelIdentifier)
Arguments
modelIdentifier |
[required] Name of the imported model to delete. |
Deletes an application inference profile
Description
Deletes an application inference profile. For more information, see Increase throughput and resilience with cross-region inference in Amazon Bedrock. in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_delete_inference_profile/ for full documentation.
Usage
bedrock_delete_inference_profile(inferenceProfileIdentifier)
Arguments
inferenceProfileIdentifier |
[required] The Amazon Resource Name (ARN) or ID of the application inference profile to delete. |
Deletes an endpoint for a model from Amazon Bedrock Marketplace
Description
Deletes an endpoint for a model from Amazon Bedrock Marketplace.
See https://www.paws-r-sdk.com/docs/bedrock_delete_marketplace_model_endpoint/ for full documentation.
Usage
bedrock_delete_marketplace_model_endpoint(endpointArn)
Arguments
endpointArn |
[required] The Amazon Resource Name (ARN) of the endpoint you want to delete. |
Delete the invocation logging
Description
Delete the invocation logging.
See https://www.paws-r-sdk.com/docs/bedrock_delete_model_invocation_logging_configuration/ for full documentation.
Usage
bedrock_delete_model_invocation_logging_configuration()
Deletes a Provisioned Throughput
Description
Deletes a Provisioned Throughput. You can't delete a Provisioned Throughput before the commitment term is over. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_delete_provisioned_model_throughput/ for full documentation.
Usage
bedrock_delete_provisioned_model_throughput(provisionedModelId)
Arguments
provisionedModelId |
[required] The Amazon Resource Name (ARN) or name of the Provisioned Throughput. |
Deregisters an endpoint for a model from Amazon Bedrock Marketplace
Description
Deregisters an endpoint for a model from Amazon Bedrock Marketplace. This operation removes the endpoint's association with Amazon Bedrock but does not delete the underlying Amazon SageMaker endpoint.
See https://www.paws-r-sdk.com/docs/bedrock_deregister_marketplace_model_endpoint/ for full documentation.
Usage
bedrock_deregister_marketplace_model_endpoint(endpointArn)
Arguments
endpointArn |
[required] The Amazon Resource Name (ARN) of the endpoint you want to deregister. |
Get the properties associated with a Amazon Bedrock custom model that you have created
Description
Get the properties associated with a Amazon Bedrock custom model that you have created.For more information, see Custom models in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_get_custom_model/ for full documentation.
Usage
bedrock_get_custom_model(modelIdentifier)
Arguments
modelIdentifier |
[required] Name or Amazon Resource Name (ARN) of the custom model. |
Gets information about an evaluation job, such as the status of the job
Description
Gets information about an evaluation job, such as the status of the job.
See https://www.paws-r-sdk.com/docs/bedrock_get_evaluation_job/ for full documentation.
Usage
bedrock_get_evaluation_job(jobIdentifier)
Arguments
jobIdentifier |
[required] The Amazon Resource Name (ARN) of the evaluation job you want get information on. |
Get details about a Amazon Bedrock foundation model
Description
Get details about a Amazon Bedrock foundation model.
See https://www.paws-r-sdk.com/docs/bedrock_get_foundation_model/ for full documentation.
Usage
bedrock_get_foundation_model(modelIdentifier)
Arguments
modelIdentifier |
[required] The model identifier. |
Gets details about a guardrail
Description
Gets details about a guardrail. If you don't specify a version, the response returns details for the DRAFT
version.
See https://www.paws-r-sdk.com/docs/bedrock_get_guardrail/ for full documentation.
Usage
bedrock_get_guardrail(guardrailIdentifier, guardrailVersion = NULL)
Arguments
guardrailIdentifier |
[required] The unique identifier of the guardrail for which to get details. This can be an ID or the ARN. |
guardrailVersion |
The version of the guardrail for which to get details. If you don't
specify a version, the response returns details for the |
Gets properties associated with a customized model you imported
Description
Gets properties associated with a customized model you imported.
See https://www.paws-r-sdk.com/docs/bedrock_get_imported_model/ for full documentation.
Usage
bedrock_get_imported_model(modelIdentifier)
Arguments
modelIdentifier |
[required] Name or Amazon Resource Name (ARN) of the imported model. |
Gets information about an inference profile
Description
Gets information about an inference profile. For more information, see Increase throughput and resilience with cross-region inference in Amazon Bedrock. in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_get_inference_profile/ for full documentation.
Usage
bedrock_get_inference_profile(inferenceProfileIdentifier)
Arguments
inferenceProfileIdentifier |
[required] The ID or Amazon Resource Name (ARN) of the inference profile. |
Retrieves details about a specific endpoint for a model from Amazon Bedrock Marketplace
Description
Retrieves details about a specific endpoint for a model from Amazon Bedrock Marketplace.
See https://www.paws-r-sdk.com/docs/bedrock_get_marketplace_model_endpoint/ for full documentation.
Usage
bedrock_get_marketplace_model_endpoint(endpointArn)
Arguments
endpointArn |
[required] The Amazon Resource Name (ARN) of the endpoint you want to get information about. |
Retrieves information about a model copy job
Description
Retrieves information about a model copy job. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_get_model_copy_job/ for full documentation.
Usage
bedrock_get_model_copy_job(jobArn)
Arguments
jobArn |
[required] The Amazon Resource Name (ARN) of the model copy job. |
Retrieves the properties associated with a model-customization job, including the status of the job
Description
Retrieves the properties associated with a model-customization job, including the status of the job. For more information, see Custom models in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_get_model_customization_job/ for full documentation.
Usage
bedrock_get_model_customization_job(jobIdentifier)
Arguments
jobIdentifier |
[required] Identifier for the customization job. |
Retrieves the properties associated with import model job, including the status of the job
Description
Retrieves the properties associated with import model job, including the status of the job. For more information, see Import a customized model in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_get_model_import_job/ for full documentation.
Usage
bedrock_get_model_import_job(jobIdentifier)
Arguments
jobIdentifier |
[required] The identifier of the import job. |
Gets details about a batch inference job
Description
Gets details about a batch inference job. For more information, see Monitor batch inference jobs
See https://www.paws-r-sdk.com/docs/bedrock_get_model_invocation_job/ for full documentation.
Usage
bedrock_get_model_invocation_job(jobIdentifier)
Arguments
jobIdentifier |
[required] The Amazon Resource Name (ARN) of the batch inference job. |
Get the current configuration values for model invocation logging
Description
Get the current configuration values for model invocation logging.
See https://www.paws-r-sdk.com/docs/bedrock_get_model_invocation_logging_configuration/ for full documentation.
Usage
bedrock_get_model_invocation_logging_configuration()
Retrieves details about a prompt router
Description
Retrieves details about a prompt router.
See https://www.paws-r-sdk.com/docs/bedrock_get_prompt_router/ for full documentation.
Usage
bedrock_get_prompt_router(promptRouterArn)
Arguments
promptRouterArn |
[required] The prompt router's ARN |
Returns details for a Provisioned Throughput
Description
Returns details for a Provisioned Throughput. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_get_provisioned_model_throughput/ for full documentation.
Usage
bedrock_get_provisioned_model_throughput(provisionedModelId)
Arguments
provisionedModelId |
[required] The Amazon Resource Name (ARN) or name of the Provisioned Throughput. |
Returns a list of the custom models that you have created with the CreateModelCustomizationJob operation
Description
Returns a list of the custom models that you have created with the create_model_customization_job
operation.
See https://www.paws-r-sdk.com/docs/bedrock_list_custom_models/ for full documentation.
Usage
bedrock_list_custom_models(
creationTimeBefore = NULL,
creationTimeAfter = NULL,
nameContains = NULL,
baseModelArnEquals = NULL,
foundationModelArnEquals = NULL,
maxResults = NULL,
nextToken = NULL,
sortBy = NULL,
sortOrder = NULL,
isOwned = NULL
)
Arguments
creationTimeBefore |
Return custom models created before the specified time. |
creationTimeAfter |
Return custom models created after the specified time. |
nameContains |
Return custom models only if the job name contains these characters. |
baseModelArnEquals |
Return custom models only if the base model Amazon Resource Name (ARN) matches this parameter. |
foundationModelArnEquals |
Return custom models only if the foundation model Amazon Resource Name (ARN) matches this parameter. |
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
sortBy |
The field to sort by in the returned list of models. |
sortOrder |
The sort order of the results. |
isOwned |
Return custom models depending on if the current account owns them
( |
Lists all existing evaluation jobs
Description
Lists all existing evaluation jobs.
See https://www.paws-r-sdk.com/docs/bedrock_list_evaluation_jobs/ for full documentation.
Usage
bedrock_list_evaluation_jobs(
creationTimeAfter = NULL,
creationTimeBefore = NULL,
statusEquals = NULL,
applicationTypeEquals = NULL,
nameContains = NULL,
maxResults = NULL,
nextToken = NULL,
sortBy = NULL,
sortOrder = NULL
)
Arguments
creationTimeAfter |
A filter to only list evaluation jobs created after a specified time. |
creationTimeBefore |
A filter to only list evaluation jobs created before a specified time. |
statusEquals |
A filter to only list evaluation jobs that are of a certain status. |
applicationTypeEquals |
A filter to only list evaluation jobs that are either model evaluations or knowledge base evaluations. |
nameContains |
A filter to only list evaluation jobs that contain a specified string in the job name. |
maxResults |
The maximum number of results to return. |
nextToken |
Continuation token from the previous response, for Amazon Bedrock to list the next set of results. |
sortBy |
Specifies a creation time to sort the list of evaluation jobs by when they were created. |
sortOrder |
Specifies whether to sort the list of evaluation jobs by either ascending or descending order. |
Lists Amazon Bedrock foundation models that you can use
Description
Lists Amazon Bedrock foundation models that you can use. You can filter the results with the request parameters. For more information, see Foundation models in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_list_foundation_models/ for full documentation.
Usage
bedrock_list_foundation_models(
byProvider = NULL,
byCustomizationType = NULL,
byOutputModality = NULL,
byInferenceType = NULL
)
Arguments
byProvider |
Return models belonging to the model provider that you specify. |
byCustomizationType |
Return models that support the customization type that you specify. For more information, see Custom models in the Amazon Bedrock User Guide. |
byOutputModality |
Return models that support the output modality that you specify. |
byInferenceType |
Return models that support the inference type that you specify. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide. |
Lists details about all the guardrails in an account
Description
Lists details about all the guardrails in an account. To list the DRAFT
version of all your guardrails, don't specify the guardrailIdentifier
field. To list all versions of a guardrail, specify the ARN of the guardrail in the guardrailIdentifier
field.
See https://www.paws-r-sdk.com/docs/bedrock_list_guardrails/ for full documentation.
Usage
bedrock_list_guardrails(
guardrailIdentifier = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
guardrailIdentifier |
The unique identifier of the guardrail. This can be an ID or the ARN. |
maxResults |
The maximum number of results to return in the response. |
nextToken |
If there are more results than were returned in the response, the
response returns a |
Returns a list of models you've imported
Description
Returns a list of models you've imported. You can filter the results to return based on one or more criteria. For more information, see Import a customized model in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_list_imported_models/ for full documentation.
Usage
bedrock_list_imported_models(
creationTimeBefore = NULL,
creationTimeAfter = NULL,
nameContains = NULL,
maxResults = NULL,
nextToken = NULL,
sortBy = NULL,
sortOrder = NULL
)
Arguments
creationTimeBefore |
Return imported models that created before the specified time. |
creationTimeAfter |
Return imported models that were created after the specified time. |
nameContains |
Return imported models only if the model name contains these characters. |
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
sortBy |
The field to sort by in the returned list of imported models. |
sortOrder |
Specifies whetehr to sort the results in ascending or descending order. |
Returns a list of inference profiles that you can use
Description
Returns a list of inference profiles that you can use. For more information, see Increase throughput and resilience with cross-region inference in Amazon Bedrock. in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_list_inference_profiles/ for full documentation.
Usage
bedrock_list_inference_profiles(
maxResults = NULL,
nextToken = NULL,
typeEquals = NULL
)
Arguments
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
typeEquals |
Filters for inference profiles that match the type you specify.
|
Lists the endpoints for models from Amazon Bedrock Marketplace in your Amazon Web Services account
Description
Lists the endpoints for models from Amazon Bedrock Marketplace in your Amazon Web Services account.
See https://www.paws-r-sdk.com/docs/bedrock_list_marketplace_model_endpoints/ for full documentation.
Usage
bedrock_list_marketplace_model_endpoints(
maxResults = NULL,
nextToken = NULL,
modelSourceEquals = NULL
)
Arguments
maxResults |
The maximum number of results to return in a single call. If more
results are available, the operation returns a |
nextToken |
The token for the next set of results. You receive this token from a
previous
|
modelSourceEquals |
If specified, only endpoints for the given model source identifier are returned. |
Returns a list of model copy jobs that you have submitted
Description
Returns a list of model copy jobs that you have submitted. You can filter the jobs to return based on one or more criteria. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_list_model_copy_jobs/ for full documentation.
Usage
bedrock_list_model_copy_jobs(
creationTimeAfter = NULL,
creationTimeBefore = NULL,
statusEquals = NULL,
sourceAccountEquals = NULL,
sourceModelArnEquals = NULL,
targetModelNameContains = NULL,
maxResults = NULL,
nextToken = NULL,
sortBy = NULL,
sortOrder = NULL
)
Arguments
creationTimeAfter |
Filters for model copy jobs created after the specified time. |
creationTimeBefore |
Filters for model copy jobs created before the specified time. |
statusEquals |
Filters for model copy jobs whose status matches the value that you specify. |
sourceAccountEquals |
Filters for model copy jobs in which the account that the source model belongs to is equal to the value that you specify. |
sourceModelArnEquals |
Filters for model copy jobs in which the Amazon Resource Name (ARN) of the source model to is equal to the value that you specify. |
targetModelNameContains |
Filters for model copy jobs in which the name of the copied model contains the string that you specify. |
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
sortBy |
The field to sort by in the returned list of model copy jobs. |
sortOrder |
Specifies whether to sort the results in ascending or descending order. |
Returns a list of model customization jobs that you have submitted
Description
Returns a list of model customization jobs that you have submitted. You can filter the jobs to return based on one or more criteria.
See https://www.paws-r-sdk.com/docs/bedrock_list_model_customization_jobs/ for full documentation.
Usage
bedrock_list_model_customization_jobs(
creationTimeAfter = NULL,
creationTimeBefore = NULL,
statusEquals = NULL,
nameContains = NULL,
maxResults = NULL,
nextToken = NULL,
sortBy = NULL,
sortOrder = NULL
)
Arguments
creationTimeAfter |
Return customization jobs created after the specified time. |
creationTimeBefore |
Return customization jobs created before the specified time. |
statusEquals |
Return customization jobs with the specified status. |
nameContains |
Return customization jobs only if the job name contains these characters. |
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
sortBy |
The field to sort by in the returned list of jobs. |
sortOrder |
The sort order of the results. |
Returns a list of import jobs you've submitted
Description
Returns a list of import jobs you've submitted. You can filter the results to return based on one or more criteria. For more information, see Import a customized model in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_list_model_import_jobs/ for full documentation.
Usage
bedrock_list_model_import_jobs(
creationTimeAfter = NULL,
creationTimeBefore = NULL,
statusEquals = NULL,
nameContains = NULL,
maxResults = NULL,
nextToken = NULL,
sortBy = NULL,
sortOrder = NULL
)
Arguments
creationTimeAfter |
Return import jobs that were created after the specified time. |
creationTimeBefore |
Return import jobs that were created before the specified time. |
statusEquals |
Return imported jobs with the specified status. |
nameContains |
Return imported jobs only if the job name contains these characters. |
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
sortBy |
The field to sort by in the returned list of imported jobs. |
sortOrder |
Specifies whether to sort the results in ascending or descending order. |
Lists all batch inference jobs in the account
Description
Lists all batch inference jobs in the account. For more information, see View details about a batch inference job.
See https://www.paws-r-sdk.com/docs/bedrock_list_model_invocation_jobs/ for full documentation.
Usage
bedrock_list_model_invocation_jobs(
submitTimeAfter = NULL,
submitTimeBefore = NULL,
statusEquals = NULL,
nameContains = NULL,
maxResults = NULL,
nextToken = NULL,
sortBy = NULL,
sortOrder = NULL
)
Arguments
submitTimeAfter |
Specify a time to filter for batch inference jobs that were submitted after the time you specify. |
submitTimeBefore |
Specify a time to filter for batch inference jobs that were submitted before the time you specify. |
statusEquals |
Specify a status to filter for batch inference jobs whose statuses match the string you specify. The following statuses are possible:
|
nameContains |
Specify a string to filter for batch inference jobs whose names contain the string. |
maxResults |
The maximum number of results to return. If there are more results than
the number that you specify, a |
nextToken |
If there were more results than the value you specified in the
|
sortBy |
An attribute by which to sort the results. |
sortOrder |
Specifies whether to sort the results by ascending or descending order. |
Retrieves a list of prompt routers
Description
Retrieves a list of prompt routers.
See https://www.paws-r-sdk.com/docs/bedrock_list_prompt_routers/ for full documentation.
Usage
bedrock_list_prompt_routers(maxResults = NULL, nextToken = NULL)
Arguments
maxResults |
The maximum number of prompt routers to return in one page of results. |
nextToken |
Specify the pagination token from a previous request to retrieve the next page of results. |
Lists the Provisioned Throughputs in the account
Description
Lists the Provisioned Throughputs in the account. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_list_provisioned_model_throughputs/ for full documentation.
Usage
bedrock_list_provisioned_model_throughputs(
creationTimeAfter = NULL,
creationTimeBefore = NULL,
statusEquals = NULL,
modelArnEquals = NULL,
nameContains = NULL,
maxResults = NULL,
nextToken = NULL,
sortBy = NULL,
sortOrder = NULL
)
Arguments
creationTimeAfter |
A filter that returns Provisioned Throughputs created after the specified time. |
creationTimeBefore |
A filter that returns Provisioned Throughputs created before the specified time. |
statusEquals |
A filter that returns Provisioned Throughputs if their statuses matches the value that you specify. |
modelArnEquals |
A filter that returns Provisioned Throughputs whose model Amazon Resource Name (ARN) is equal to the value that you specify. |
nameContains |
A filter that returns Provisioned Throughputs if their name contains the expression that you specify. |
maxResults |
THe maximum number of results to return in the response. If there are
more results than the number you specified, the response returns a
|
nextToken |
If there are more results than the number you specified in the
|
sortBy |
The field by which to sort the returned list of Provisioned Throughputs. |
sortOrder |
The sort order of the results. |
List the tags associated with the specified resource
Description
List the tags associated with the specified resource.
See https://www.paws-r-sdk.com/docs/bedrock_list_tags_for_resource/ for full documentation.
Usage
bedrock_list_tags_for_resource(resourceARN)
Arguments
resourceARN |
[required] The Amazon Resource Name (ARN) of the resource. |
Set the configuration values for model invocation logging
Description
Set the configuration values for model invocation logging.
See https://www.paws-r-sdk.com/docs/bedrock_put_model_invocation_logging_configuration/ for full documentation.
Usage
bedrock_put_model_invocation_logging_configuration(loggingConfig)
Arguments
loggingConfig |
[required] The logging configuration values to set. |
Registers an existing Amazon SageMaker endpoint with Amazon Bedrock Marketplace, allowing it to be used with Amazon Bedrock APIs
Description
Registers an existing Amazon SageMaker endpoint with Amazon Bedrock Marketplace, allowing it to be used with Amazon Bedrock APIs.
See https://www.paws-r-sdk.com/docs/bedrock_register_marketplace_model_endpoint/ for full documentation.
Usage
bedrock_register_marketplace_model_endpoint(
endpointIdentifier,
modelSourceIdentifier
)
Arguments
endpointIdentifier |
[required] The ARN of the Amazon SageMaker endpoint you want to register with Amazon Bedrock Marketplace. |
modelSourceIdentifier |
[required] The ARN of the model from Amazon Bedrock Marketplace that is deployed on the endpoint. |
Stops an evaluation job that is current being created or running
Description
Stops an evaluation job that is current being created or running.
See https://www.paws-r-sdk.com/docs/bedrock_stop_evaluation_job/ for full documentation.
Usage
bedrock_stop_evaluation_job(jobIdentifier)
Arguments
jobIdentifier |
[required] The Amazon Resource Name (ARN) of the evaluation job you want to stop. |
Stops an active model customization job
Description
Stops an active model customization job. For more information, see Custom models in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_stop_model_customization_job/ for full documentation.
Usage
bedrock_stop_model_customization_job(jobIdentifier)
Arguments
jobIdentifier |
[required] Job identifier of the job to stop. |
Stops a batch inference job
Description
Stops a batch inference job. You're only charged for tokens that were already processed. For more information, see Stop a batch inference job.
See https://www.paws-r-sdk.com/docs/bedrock_stop_model_invocation_job/ for full documentation.
Usage
bedrock_stop_model_invocation_job(jobIdentifier)
Arguments
jobIdentifier |
[required] The Amazon Resource Name (ARN) of the batch inference job to stop. |
Associate tags with a resource
Description
Associate tags with a resource. For more information, see Tagging resources in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_tag_resource/ for full documentation.
Usage
bedrock_tag_resource(resourceARN, tags)
Arguments
resourceARN |
[required] The Amazon Resource Name (ARN) of the resource to tag. |
tags |
[required] Tags to associate with the resource. |
Remove one or more tags from a resource
Description
Remove one or more tags from a resource. For more information, see Tagging resources in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_untag_resource/ for full documentation.
Usage
bedrock_untag_resource(resourceARN, tagKeys)
Arguments
resourceARN |
[required] The Amazon Resource Name (ARN) of the resource to untag. |
tagKeys |
[required] Tag keys of the tags to remove from the resource. |
Updates a guardrail with the values you specify
Description
Updates a guardrail with the values you specify.
See https://www.paws-r-sdk.com/docs/bedrock_update_guardrail/ for full documentation.
Usage
bedrock_update_guardrail(
guardrailIdentifier,
name,
description = NULL,
topicPolicyConfig = NULL,
contentPolicyConfig = NULL,
wordPolicyConfig = NULL,
sensitiveInformationPolicyConfig = NULL,
contextualGroundingPolicyConfig = NULL,
blockedInputMessaging,
blockedOutputsMessaging,
kmsKeyId = NULL
)
Arguments
guardrailIdentifier |
[required] The unique identifier of the guardrail. This can be an ID or the ARN. |
name |
[required] A name for the guardrail. |
description |
A description of the guardrail. |
topicPolicyConfig |
The topic policy to configure for the guardrail. |
contentPolicyConfig |
The content policy to configure for the guardrail. |
wordPolicyConfig |
The word policy to configure for the guardrail. |
sensitiveInformationPolicyConfig |
The sensitive information policy to configure for the guardrail. |
contextualGroundingPolicyConfig |
The contextual grounding policy configuration used to update a guardrail. |
blockedInputMessaging |
[required] The message to return when the guardrail blocks a prompt. |
blockedOutputsMessaging |
[required] The message to return when the guardrail blocks a model response. |
kmsKeyId |
The ARN of the KMS key with which to encrypt the guardrail. |
Updates the configuration of an existing endpoint for a model from Amazon Bedrock Marketplace
Description
Updates the configuration of an existing endpoint for a model from Amazon Bedrock Marketplace.
See https://www.paws-r-sdk.com/docs/bedrock_update_marketplace_model_endpoint/ for full documentation.
Usage
bedrock_update_marketplace_model_endpoint(
endpointArn,
endpointConfig,
clientRequestToken = NULL
)
Arguments
endpointArn |
[required] The Amazon Resource Name (ARN) of the endpoint you want to update. |
endpointConfig |
[required] The new configuration for the endpoint, including the number and type of instances to use. |
clientRequestToken |
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is listed as not required because Amazon Web Services SDKs automatically generate it for you and set this parameter. If you're not using the Amazon Web Services SDK or the CLI, you must provide this token or the action will fail. |
Updates the name or associated model for a Provisioned Throughput
Description
Updates the name or associated model for a Provisioned Throughput. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrock_update_provisioned_model_throughput/ for full documentation.
Usage
bedrock_update_provisioned_model_throughput(
provisionedModelId,
desiredProvisionedModelName = NULL,
desiredModelId = NULL
)
Arguments
provisionedModelId |
[required] The Amazon Resource Name (ARN) or name of the Provisioned Throughput to update. |
desiredProvisionedModelName |
The new name for this Provisioned Throughput. |
desiredModelId |
The Amazon Resource Name (ARN) of the new model to associate with this Provisioned Throughput. You can't specify this field if this Provisioned Throughput is associated with a base model. If this Provisioned Throughput is associated with a custom model, you can specify one of the following options:
|
Agents for Amazon Bedrock
Description
Describes the API operations for creating and managing Amazon Bedrock agents.
Usage
bedrockagent(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- bedrockagent( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
associate_agent_collaborator | Makes an agent a collaborator for another agent |
associate_agent_knowledge_base | Associates a knowledge base with an agent |
create_agent | Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers |
create_agent_action_group | Creates an action group for an agent |
create_agent_alias | Creates an alias of an agent that can be used to deploy the agent |
create_data_source | Connects a knowledge base to a data source |
create_flow | Creates a prompt flow that you can use to send an input through various steps to yield an output |
create_flow_alias | Creates an alias of a flow for deployment |
create_flow_version | Creates a version of the flow that you can deploy |
create_knowledge_base | Creates a knowledge base |
create_prompt | Creates a prompt in your prompt library that you can add to a flow |
create_prompt_version | Creates a static snapshot of your prompt that can be deployed to production |
delete_agent | Deletes an agent |
delete_agent_action_group | Deletes an action group in an agent |
delete_agent_alias | Deletes an alias of an agent |
delete_agent_version | Deletes a version of an agent |
delete_data_source | Deletes a data source from a knowledge base |
delete_flow | Deletes a flow |
delete_flow_alias | Deletes an alias of a flow |
delete_flow_version | Deletes a version of a flow |
delete_knowledge_base | Deletes a knowledge base |
delete_knowledge_base_documents | Deletes documents from a data source and syncs the changes to the knowledge base that is connected to it |
delete_prompt | Deletes a prompt or a version of it, depending on whether you include the promptVersion field or not |
disassociate_agent_collaborator | Disassociates an agent collaborator |
disassociate_agent_knowledge_base | Disassociates a knowledge base from an agent |
get_agent | Gets information about an agent |
get_agent_action_group | Gets information about an action group for an agent |
get_agent_alias | Gets information about an alias of an agent |
get_agent_collaborator | Retrieves information about an agent's collaborator |
get_agent_knowledge_base | Gets information about a knowledge base associated with an agent |
get_agent_version | Gets details about a version of an agent |
get_data_source | Gets information about a data source |
get_flow | Retrieves information about a flow |
get_flow_alias | Retrieves information about a flow |
get_flow_version | Retrieves information about a version of a flow |
get_ingestion_job | Gets information about a data ingestion job |
get_knowledge_base | Gets information about a knoweldge base |
get_knowledge_base_documents | Retrieves specific documents from a data source that is connected to a knowledge base |
get_prompt | Retrieves information about the working draft (DRAFT version) of a prompt or a version of it, depending on whether you include the promptVersion field or not |
ingest_knowledge_base_documents | Ingests documents directly into the knowledge base that is connected to the data source |
list_agent_action_groups | Lists the action groups for an agent and information about each one |
list_agent_aliases | Lists the aliases of an agent and information about each one |
list_agent_collaborators | Retrieve a list of an agent's collaborators |
list_agent_knowledge_bases | Lists knowledge bases associated with an agent and information about each one |
list_agents | Lists the agents belonging to an account and information about each agent |
list_agent_versions | Lists the versions of an agent and information about each version |
list_data_sources | Lists the data sources in a knowledge base and information about each one |
list_flow_aliases | Returns a list of aliases for a flow |
list_flows | Returns a list of flows and information about each flow |
list_flow_versions | Returns a list of information about each flow |
list_ingestion_jobs | Lists the data ingestion jobs for a data source |
list_knowledge_base_documents | Retrieves all the documents contained in a data source that is connected to a knowledge base |
list_knowledge_bases | Lists the knowledge bases in an account |
list_prompts | Returns either information about the working draft (DRAFT version) of each prompt in an account, or information about of all versions of a prompt, depending on whether you include the promptIdentifier field or not |
list_tags_for_resource | List all the tags for the resource you specify |
prepare_agent | Creates a DRAFT version of the agent that can be used for internal testing |
prepare_flow | Prepares the DRAFT version of a flow so that it can be invoked |
start_ingestion_job | Begins a data ingestion job |
stop_ingestion_job | Stops a currently running data ingestion job |
tag_resource | Associate tags with a resource |
untag_resource | Remove tags from a resource |
update_agent | Updates the configuration of an agent |
update_agent_action_group | Updates the configuration for an action group for an agent |
update_agent_alias | Updates configurations for an alias of an agent |
update_agent_collaborator | Updates an agent's collaborator |
update_agent_knowledge_base | Updates the configuration for a knowledge base that has been associated with an agent |
update_data_source | Updates the configurations for a data source connector |
update_flow | Modifies a flow |
update_flow_alias | Modifies the alias of a flow |
update_knowledge_base | Updates the configuration of a knowledge base with the fields that you specify |
update_prompt | Modifies a prompt in your prompt library |
validate_flow_definition | Validates the definition of a flow |
Examples
## Not run:
svc <- bedrockagent()
svc$associate_agent_collaborator(
Foo = 123
)
## End(Not run)
Makes an agent a collaborator for another agent
Description
Makes an agent a collaborator for another agent.
See https://www.paws-r-sdk.com/docs/bedrockagent_associate_agent_collaborator/ for full documentation.
Usage
bedrockagent_associate_agent_collaborator(
agentDescriptor,
agentId,
agentVersion,
clientToken = NULL,
collaborationInstruction,
collaboratorName,
relayConversationHistory = NULL
)
Arguments
agentDescriptor |
[required] The alias of the collaborator agent. |
agentId |
[required] The agent's ID. |
agentVersion |
[required] An agent version. |
clientToken |
A client token. |
collaborationInstruction |
[required] Instruction for the collaborator. |
collaboratorName |
[required] A name for the collaborator. |
relayConversationHistory |
A relay conversation history for the collaborator. |
Associates a knowledge base with an agent
Description
Associates a knowledge base with an agent. If a knowledge base is associated and its indexState
is set to Enabled
, the agent queries the knowledge base for information to augment its response to the user.
See https://www.paws-r-sdk.com/docs/bedrockagent_associate_agent_knowledge_base/ for full documentation.
Usage
bedrockagent_associate_agent_knowledge_base(
agentId,
agentVersion,
description,
knowledgeBaseId,
knowledgeBaseState = NULL
)
Arguments
agentId |
[required] The unique identifier of the agent with which you want to associate the knowledge base. |
agentVersion |
[required] The version of the agent with which you want to associate the knowledge base. |
description |
[required] A description of what the agent should use the knowledge base for. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base to associate with the agent. |
knowledgeBaseState |
Specifies whether to use the knowledge base or not when sending an InvokeAgent request. |
Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers
Description
Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers.
See https://www.paws-r-sdk.com/docs/bedrockagent_create_agent/ for full documentation.
Usage
bedrockagent_create_agent(
agentCollaboration = NULL,
agentName,
agentResourceRoleArn = NULL,
clientToken = NULL,
customOrchestration = NULL,
customerEncryptionKeyArn = NULL,
description = NULL,
foundationModel = NULL,
guardrailConfiguration = NULL,
idleSessionTTLInSeconds = NULL,
instruction = NULL,
memoryConfiguration = NULL,
orchestrationType = NULL,
promptOverrideConfiguration = NULL,
tags = NULL
)
Arguments
agentCollaboration |
The agent's collaboration role. |
agentName |
[required] A name for the agent that you create. |
agentResourceRoleArn |
The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent. |
clientToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
customOrchestration |
Contains details of the custom orchestration configured for the agent. |
customerEncryptionKeyArn |
The Amazon Resource Name (ARN) of the KMS key with which to encrypt the agent. |
description |
A description of the agent. |
foundationModel |
The identifier for the model that you want to be used for orchestration by the agent you create. The
|
guardrailConfiguration |
The unique Guardrail configuration assigned to the agent when it is created. |
idleSessionTTLInSeconds |
The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout. |
instruction |
Instructions that tell the agent what it should do and how it should interact with users. |
memoryConfiguration |
Contains the details of the memory configured for the agent. |
orchestrationType |
Specifies the type of orchestration strategy for the agent. This is set
to |
promptOverrideConfiguration |
Contains configurations to override prompts in different parts of an agent sequence. For more information, see Advanced prompts. |
tags |
Any tags that you want to attach to the agent. |
Creates an action group for an agent
Description
Creates an action group for an agent. An action group represents the actions that an agent can carry out for the customer by defining the APIs that an agent can call and the logic for calling them.
See https://www.paws-r-sdk.com/docs/bedrockagent_create_agent_action_group/ for full documentation.
Usage
bedrockagent_create_agent_action_group(
actionGroupExecutor = NULL,
actionGroupName,
actionGroupState = NULL,
agentId,
agentVersion,
apiSchema = NULL,
clientToken = NULL,
description = NULL,
functionSchema = NULL,
parentActionGroupSignature = NULL
)
Arguments
actionGroupExecutor |
The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user. |
actionGroupName |
[required] The name to give the action group. |
actionGroupState |
Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request. |
agentId |
[required] The unique identifier of the agent for which to create the action group. |
agentVersion |
[required] The version of the agent for which to create the action group. |
apiSchema |
Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas. |
clientToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
description |
A description of the action group. |
functionSchema |
Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema. |
parentActionGroupSignature |
To allow your agent to request the user for additional information when
trying to complete a task, set this field to To allow your agent to generate, run, and troubleshoot code when trying
to complete a task, set this field to During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information. |
Creates an alias of an agent that can be used to deploy the agent
Description
Creates an alias of an agent that can be used to deploy the agent.
See https://www.paws-r-sdk.com/docs/bedrockagent_create_agent_alias/ for full documentation.
Usage
bedrockagent_create_agent_alias(
agentAliasName,
agentId,
clientToken = NULL,
description = NULL,
routingConfiguration = NULL,
tags = NULL
)
Arguments
agentAliasName |
[required] The name of the alias. |
agentId |
[required] The unique identifier of the agent. |
clientToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
description |
A description of the alias of the agent. |
routingConfiguration |
Contains details about the routing configuration of the alias. |
tags |
Any tags that you want to attach to the alias of the agent. |
Connects a knowledge base to a data source
Description
Connects a knowledge base to a data source. You specify the configuration for the specific data source service in the dataSourceConfiguration
field.
See https://www.paws-r-sdk.com/docs/bedrockagent_create_data_source/ for full documentation.
Usage
bedrockagent_create_data_source(
clientToken = NULL,
dataDeletionPolicy = NULL,
dataSourceConfiguration,
description = NULL,
knowledgeBaseId,
name,
serverSideEncryptionConfiguration = NULL,
vectorIngestionConfiguration = NULL
)
Arguments
clientToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
dataDeletionPolicy |
The data deletion policy for the data source. You can set the data deletion policy to:
|
dataSourceConfiguration |
[required] The connection configuration for the data source. |
description |
A description of the data source. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base to which to add the data source. |
name |
[required] The name of the data source. |
serverSideEncryptionConfiguration |
Contains details about the server-side encryption for the data source. |
vectorIngestionConfiguration |
Contains details about how to ingest the documents in the data source. |
Creates a prompt flow that you can use to send an input through various steps to yield an output
Description
Creates a prompt flow that you can use to send an input through various steps to yield an output. Configure nodes, each of which corresponds to a step of the flow, and create connections between the nodes to create paths to different outputs. For more information, see How it works and Create a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_create_flow/ for full documentation.
Usage
bedrockagent_create_flow(
clientToken = NULL,
customerEncryptionKeyArn = NULL,
definition = NULL,
description = NULL,
executionRoleArn,
name,
tags = NULL
)
Arguments
clientToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
customerEncryptionKeyArn |
The Amazon Resource Name (ARN) of the KMS key to encrypt the flow. |
definition |
A definition of the nodes and connections between nodes in the flow. |
description |
A description for the flow. |
executionRoleArn |
[required] The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide. |
name |
[required] A name for the flow. |
tags |
Any tags that you want to attach to the flow. For more information, see Tagging resources in Amazon Bedrock. |
Creates an alias of a flow for deployment
Description
Creates an alias of a flow for deployment. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_create_flow_alias/ for full documentation.
Usage
bedrockagent_create_flow_alias(
clientToken = NULL,
description = NULL,
flowIdentifier,
name,
routingConfiguration,
tags = NULL
)
Arguments
clientToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
description |
A description for the alias. |
flowIdentifier |
[required] The unique identifier of the flow for which to create an alias. |
name |
[required] A name for the alias. |
routingConfiguration |
[required] Contains information about the version to which to map the alias. |
tags |
Any tags that you want to attach to the alias of the flow. For more information, see Tagging resources in Amazon Bedrock. |
Creates a version of the flow that you can deploy
Description
Creates a version of the flow that you can deploy. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_create_flow_version/ for full documentation.
Usage
bedrockagent_create_flow_version(
clientToken = NULL,
description = NULL,
flowIdentifier
)
Arguments
clientToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
description |
A description of the version of the flow. |
flowIdentifier |
[required] The unique identifier of the flow that you want to create a version of. |
Creates a knowledge base
Description
Creates a knowledge base. A knowledge base contains your data sources so that Large Language Models (LLMs) can use your data. To create a knowledge base, you must first set up your data sources and configure a supported vector store. For more information, see Set up a knowledge base.
See https://www.paws-r-sdk.com/docs/bedrockagent_create_knowledge_base/ for full documentation.
Usage
bedrockagent_create_knowledge_base(
clientToken = NULL,
description = NULL,
knowledgeBaseConfiguration,
name,
roleArn,
storageConfiguration = NULL,
tags = NULL
)
Arguments
clientToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
description |
A description of the knowledge base. |
knowledgeBaseConfiguration |
[required] Contains details about the embeddings model used for the knowledge base. |
name |
[required] A name for the knowledge base. |
roleArn |
[required] The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base. |
storageConfiguration |
Contains details about the configuration of the vector database used for the knowledge base. |
tags |
Specify the key-value pairs for the tags that you want to attach to your knowledge base in this object. |
Creates a prompt in your prompt library that you can add to a flow
Description
Creates a prompt in your prompt library that you can add to a flow. For more information, see Prompt management in Amazon Bedrock, Create a prompt using Prompt management and Prompt flows in Amazon Bedrock in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_create_prompt/ for full documentation.
Usage
bedrockagent_create_prompt(
clientToken = NULL,
customerEncryptionKeyArn = NULL,
defaultVariant = NULL,
description = NULL,
name,
tags = NULL,
variants = NULL
)
Arguments
clientToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
customerEncryptionKeyArn |
The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt. |
defaultVariant |
The name of the default variant for the prompt. This value must match
the |
description |
A description for the prompt. |
name |
[required] A name for the prompt. |
tags |
Any tags that you want to attach to the prompt. For more information, see Tagging resources in Amazon Bedrock. |
variants |
A list of objects, each containing details about a variant of the prompt. |
Creates a static snapshot of your prompt that can be deployed to production
Description
Creates a static snapshot of your prompt that can be deployed to production. For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_create_prompt_version/ for full documentation.
Usage
bedrockagent_create_prompt_version(
clientToken = NULL,
description = NULL,
promptIdentifier,
tags = NULL
)
Arguments
clientToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
description |
A description for the version of the prompt. |
promptIdentifier |
[required] The unique identifier of the prompt that you want to create a version of. |
tags |
Any tags that you want to attach to the version of the prompt. For more information, see Tagging resources in Amazon Bedrock. |
Deletes an agent
Description
Deletes an agent.
See https://www.paws-r-sdk.com/docs/bedrockagent_delete_agent/ for full documentation.
Usage
bedrockagent_delete_agent(agentId, skipResourceInUseCheck = NULL)
Arguments
agentId |
[required] The unique identifier of the agent to delete. |
skipResourceInUseCheck |
By default, this value is |
Deletes an action group in an agent
Description
Deletes an action group in an agent.
See https://www.paws-r-sdk.com/docs/bedrockagent_delete_agent_action_group/ for full documentation.
Usage
bedrockagent_delete_agent_action_group(
actionGroupId,
agentId,
agentVersion,
skipResourceInUseCheck = NULL
)
Arguments
actionGroupId |
[required] The unique identifier of the action group to delete. |
agentId |
[required] The unique identifier of the agent that the action group belongs to. |
agentVersion |
[required] The version of the agent that the action group belongs to. |
skipResourceInUseCheck |
By default, this value is |
Deletes an alias of an agent
Description
Deletes an alias of an agent.
See https://www.paws-r-sdk.com/docs/bedrockagent_delete_agent_alias/ for full documentation.
Usage
bedrockagent_delete_agent_alias(agentAliasId, agentId)
Arguments
agentAliasId |
[required] The unique identifier of the alias to delete. |
agentId |
[required] The unique identifier of the agent that the alias belongs to. |
Deletes a version of an agent
Description
Deletes a version of an agent.
See https://www.paws-r-sdk.com/docs/bedrockagent_delete_agent_version/ for full documentation.
Usage
bedrockagent_delete_agent_version(
agentId,
agentVersion,
skipResourceInUseCheck = NULL
)
Arguments
agentId |
[required] The unique identifier of the agent that the version belongs to. |
agentVersion |
[required] The version of the agent to delete. |
skipResourceInUseCheck |
By default, this value is |
Deletes a data source from a knowledge base
Description
Deletes a data source from a knowledge base.
See https://www.paws-r-sdk.com/docs/bedrockagent_delete_data_source/ for full documentation.
Usage
bedrockagent_delete_data_source(dataSourceId, knowledgeBaseId)
Arguments
dataSourceId |
[required] The unique identifier of the data source to delete. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base from which to delete the data source. |
Deletes a flow
Description
Deletes a flow.
See https://www.paws-r-sdk.com/docs/bedrockagent_delete_flow/ for full documentation.
Usage
bedrockagent_delete_flow(flowIdentifier, skipResourceInUseCheck = NULL)
Arguments
flowIdentifier |
[required] The unique identifier of the flow. |
skipResourceInUseCheck |
By default, this value is |
Deletes an alias of a flow
Description
Deletes an alias of a flow.
See https://www.paws-r-sdk.com/docs/bedrockagent_delete_flow_alias/ for full documentation.
Usage
bedrockagent_delete_flow_alias(aliasIdentifier, flowIdentifier)
Arguments
aliasIdentifier |
[required] The unique identifier of the alias to be deleted. |
flowIdentifier |
[required] The unique identifier of the flow that the alias belongs to. |
Deletes a version of a flow
Description
Deletes a version of a flow.
See https://www.paws-r-sdk.com/docs/bedrockagent_delete_flow_version/ for full documentation.
Usage
bedrockagent_delete_flow_version(
flowIdentifier,
flowVersion,
skipResourceInUseCheck = NULL
)
Arguments
flowIdentifier |
[required] The unique identifier of the flow whose version that you want to delete |
flowVersion |
[required] The version of the flow that you want to delete. |
skipResourceInUseCheck |
By default, this value is |
Deletes a knowledge base
Description
Deletes a knowledge base. Before deleting a knowledge base, you should disassociate the knowledge base from any agents that it is associated with by making a disassociate_agent_knowledge_base
request.
See https://www.paws-r-sdk.com/docs/bedrockagent_delete_knowledge_base/ for full documentation.
Usage
bedrockagent_delete_knowledge_base(knowledgeBaseId)
Arguments
knowledgeBaseId |
[required] The unique identifier of the knowledge base to delete. |
Deletes documents from a data source and syncs the changes to the knowledge base that is connected to it
Description
Deletes documents from a data source and syncs the changes to the knowledge base that is connected to it. For more information, see Ingest changes directly into a knowledge base in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_delete_knowledge_base_documents/ for full documentation.
Usage
bedrockagent_delete_knowledge_base_documents(
clientToken = NULL,
dataSourceId,
documentIdentifiers,
knowledgeBaseId
)
Arguments
clientToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
dataSourceId |
[required] The unique identifier of the data source that contains the documents. |
documentIdentifiers |
[required] A list of objects, each of which contains information to identify a document to delete. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base that is connected to the data source. |
Deletes a prompt or a version of it, depending on whether you include the promptVersion field or not
Description
Deletes a prompt or a version of it, depending on whether you include the promptVersion
field or not. For more information, see Delete prompts from the Prompt management tool and Delete a version of a prompt from the Prompt management tool in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_delete_prompt/ for full documentation.
Usage
bedrockagent_delete_prompt(promptIdentifier, promptVersion = NULL)
Arguments
promptIdentifier |
[required] The unique identifier of the prompt. |
promptVersion |
The version of the prompt to delete. To delete the prompt, omit this field. |
Disassociates an agent collaborator
Description
Disassociates an agent collaborator.
See https://www.paws-r-sdk.com/docs/bedrockagent_disassociate_agent_collaborator/ for full documentation.
Usage
bedrockagent_disassociate_agent_collaborator(
agentId,
agentVersion,
collaboratorId
)
Arguments
agentId |
[required] An agent ID. |
agentVersion |
[required] The agent's version. |
collaboratorId |
[required] The collaborator's ID. |
Disassociates a knowledge base from an agent
Description
Disassociates a knowledge base from an agent.
See https://www.paws-r-sdk.com/docs/bedrockagent_disassociate_agent_knowledge_base/ for full documentation.
Usage
bedrockagent_disassociate_agent_knowledge_base(
agentId,
agentVersion,
knowledgeBaseId
)
Arguments
agentId |
[required] The unique identifier of the agent from which to disassociate the knowledge base. |
agentVersion |
[required] The version of the agent from which to disassociate the knowledge base. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base to disassociate. |
Gets information about an agent
Description
Gets information about an agent.
See https://www.paws-r-sdk.com/docs/bedrockagent_get_agent/ for full documentation.
Usage
bedrockagent_get_agent(agentId)
Arguments
agentId |
[required] The unique identifier of the agent. |
Gets information about an action group for an agent
Description
Gets information about an action group for an agent.
See https://www.paws-r-sdk.com/docs/bedrockagent_get_agent_action_group/ for full documentation.
Usage
bedrockagent_get_agent_action_group(actionGroupId, agentId, agentVersion)
Arguments
actionGroupId |
[required] The unique identifier of the action group for which to get information. |
agentId |
[required] The unique identifier of the agent that the action group belongs to. |
agentVersion |
[required] The version of the agent that the action group belongs to. |
Gets information about an alias of an agent
Description
Gets information about an alias of an agent.
See https://www.paws-r-sdk.com/docs/bedrockagent_get_agent_alias/ for full documentation.
Usage
bedrockagent_get_agent_alias(agentAliasId, agentId)
Arguments
agentAliasId |
[required] The unique identifier of the alias for which to get information. |
agentId |
[required] The unique identifier of the agent to which the alias to get information belongs. |
Retrieves information about an agent's collaborator
Description
Retrieves information about an agent's collaborator.
See https://www.paws-r-sdk.com/docs/bedrockagent_get_agent_collaborator/ for full documentation.
Usage
bedrockagent_get_agent_collaborator(agentId, agentVersion, collaboratorId)
Arguments
agentId |
[required] The agent's ID. |
agentVersion |
[required] The agent's version. |
collaboratorId |
[required] The collaborator's ID. |
Gets information about a knowledge base associated with an agent
Description
Gets information about a knowledge base associated with an agent.
See https://www.paws-r-sdk.com/docs/bedrockagent_get_agent_knowledge_base/ for full documentation.
Usage
bedrockagent_get_agent_knowledge_base(agentId, agentVersion, knowledgeBaseId)
Arguments
agentId |
[required] The unique identifier of the agent with which the knowledge base is associated. |
agentVersion |
[required] The version of the agent with which the knowledge base is associated. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base associated with the agent. |
Gets details about a version of an agent
Description
Gets details about a version of an agent.
See https://www.paws-r-sdk.com/docs/bedrockagent_get_agent_version/ for full documentation.
Usage
bedrockagent_get_agent_version(agentId, agentVersion)
Arguments
agentId |
[required] The unique identifier of the agent. |
agentVersion |
[required] The version of the agent. |
Gets information about a data source
Description
Gets information about a data source.
See https://www.paws-r-sdk.com/docs/bedrockagent_get_data_source/ for full documentation.
Usage
bedrockagent_get_data_source(dataSourceId, knowledgeBaseId)
Arguments
dataSourceId |
[required] The unique identifier of the data source. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base for the data source. |
Retrieves information about a flow
Description
Retrieves information about a flow. For more information, see Manage a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_get_flow/ for full documentation.
Usage
bedrockagent_get_flow(flowIdentifier)
Arguments
flowIdentifier |
[required] The unique identifier of the flow. |
Retrieves information about a flow
Description
Retrieves information about a flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_get_flow_alias/ for full documentation.
Usage
bedrockagent_get_flow_alias(aliasIdentifier, flowIdentifier)
Arguments
aliasIdentifier |
[required] The unique identifier of the alias for which to retrieve information. |
flowIdentifier |
[required] The unique identifier of the flow that the alias belongs to. |
Retrieves information about a version of a flow
Description
Retrieves information about a version of a flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_get_flow_version/ for full documentation.
Usage
bedrockagent_get_flow_version(flowIdentifier, flowVersion)
Arguments
flowIdentifier |
[required] The unique identifier of the flow for which to get information. |
flowVersion |
[required] The version of the flow for which to get information. |
Gets information about a data ingestion job
Description
Gets information about a data ingestion job. Data sources are ingested into your knowledge base so that Large Language Models (LLMs) can use your data.
See https://www.paws-r-sdk.com/docs/bedrockagent_get_ingestion_job/ for full documentation.
Usage
bedrockagent_get_ingestion_job(dataSourceId, ingestionJobId, knowledgeBaseId)
Arguments
dataSourceId |
[required] The unique identifier of the data source for the data ingestion job you want to get information on. |
ingestionJobId |
[required] The unique identifier of the data ingestion job you want to get information on. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base for the data ingestion job you want to get information on. |
Gets information about a knoweldge base
Description
Gets information about a knoweldge base.
See https://www.paws-r-sdk.com/docs/bedrockagent_get_knowledge_base/ for full documentation.
Usage
bedrockagent_get_knowledge_base(knowledgeBaseId)
Arguments
knowledgeBaseId |
[required] The unique identifier of the knowledge base you want to get information on. |
Retrieves specific documents from a data source that is connected to a knowledge base
Description
Retrieves specific documents from a data source that is connected to a knowledge base. For more information, see Ingest changes directly into a knowledge base in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_get_knowledge_base_documents/ for full documentation.
Usage
bedrockagent_get_knowledge_base_documents(
dataSourceId,
documentIdentifiers,
knowledgeBaseId
)
Arguments
dataSourceId |
[required] The unique identifier of the data source that contains the documents. |
documentIdentifiers |
[required] A list of objects, each of which contains information to identify a document for which to retrieve information. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base that is connected to the data source. |
Retrieves information about the working draft (DRAFT version) of a prompt or a version of it, depending on whether you include the promptVersion field or not
Description
Retrieves information about the working draft (DRAFT
version) of a prompt or a version of it, depending on whether you include the promptVersion
field or not. For more information, see View information about prompts using Prompt management and View information about a version of your prompt in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_get_prompt/ for full documentation.
Usage
bedrockagent_get_prompt(promptIdentifier, promptVersion = NULL)
Arguments
promptIdentifier |
[required] The unique identifier of the prompt. |
promptVersion |
The version of the prompt about which you want to retrieve information. Omit this field to return information about the working draft of the prompt. |
Ingests documents directly into the knowledge base that is connected to the data source
Description
Ingests documents directly into the knowledge base that is connected to the data source. The dataSourceType
specified in the content for each document must match the type of the data source that you specify in the header. For more information, see Ingest changes directly into a knowledge base in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_ingest_knowledge_base_documents/ for full documentation.
Usage
bedrockagent_ingest_knowledge_base_documents(
clientToken = NULL,
dataSourceId,
documents,
knowledgeBaseId
)
Arguments
clientToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
dataSourceId |
[required] The unique identifier of the data source connected to the knowledge base that you're adding documents to. |
documents |
[required] A list of objects, each of which contains information about the documents to add. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base to ingest the documents into. |
Lists the action groups for an agent and information about each one
Description
Lists the action groups for an agent and information about each one.
See https://www.paws-r-sdk.com/docs/bedrockagent_list_agent_action_groups/ for full documentation.
Usage
bedrockagent_list_agent_action_groups(
agentId,
agentVersion,
maxResults = NULL,
nextToken = NULL
)
Arguments
agentId |
[required] The unique identifier of the agent. |
agentVersion |
[required] The version of the agent. |
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
Lists the aliases of an agent and information about each one
Description
Lists the aliases of an agent and information about each one.
See https://www.paws-r-sdk.com/docs/bedrockagent_list_agent_aliases/ for full documentation.
Usage
bedrockagent_list_agent_aliases(agentId, maxResults = NULL, nextToken = NULL)
Arguments
agentId |
[required] The unique identifier of the agent. |
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
Retrieve a list of an agent's collaborators
Description
Retrieve a list of an agent's collaborators.
See https://www.paws-r-sdk.com/docs/bedrockagent_list_agent_collaborators/ for full documentation.
Usage
bedrockagent_list_agent_collaborators(
agentId,
agentVersion,
maxResults = NULL,
nextToken = NULL
)
Arguments
agentId |
[required] The agent's ID. |
agentVersion |
[required] The agent's version. |
maxResults |
The maximum number of agent collaborators to return in one page of results. |
nextToken |
Specify the pagination token from a previous request to retrieve the next page of results. |
Lists knowledge bases associated with an agent and information about each one
Description
Lists knowledge bases associated with an agent and information about each one.
See https://www.paws-r-sdk.com/docs/bedrockagent_list_agent_knowledge_bases/ for full documentation.
Usage
bedrockagent_list_agent_knowledge_bases(
agentId,
agentVersion,
maxResults = NULL,
nextToken = NULL
)
Arguments
agentId |
[required] The unique identifier of the agent for which to return information about knowledge bases associated with it. |
agentVersion |
[required] The version of the agent for which to return information about knowledge bases associated with it. |
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
Lists the versions of an agent and information about each version
Description
Lists the versions of an agent and information about each version.
See https://www.paws-r-sdk.com/docs/bedrockagent_list_agent_versions/ for full documentation.
Usage
bedrockagent_list_agent_versions(agentId, maxResults = NULL, nextToken = NULL)
Arguments
agentId |
[required] The unique identifier of the agent. |
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
Lists the agents belonging to an account and information about each agent
Description
Lists the agents belonging to an account and information about each agent.
See https://www.paws-r-sdk.com/docs/bedrockagent_list_agents/ for full documentation.
Usage
bedrockagent_list_agents(maxResults = NULL, nextToken = NULL)
Arguments
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
Lists the data sources in a knowledge base and information about each one
Description
Lists the data sources in a knowledge base and information about each one.
See https://www.paws-r-sdk.com/docs/bedrockagent_list_data_sources/ for full documentation.
Usage
bedrockagent_list_data_sources(
knowledgeBaseId,
maxResults = NULL,
nextToken = NULL
)
Arguments
knowledgeBaseId |
[required] The unique identifier of the knowledge base for which to return a list of information. |
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
Returns a list of aliases for a flow
Description
Returns a list of aliases for a flow.
See https://www.paws-r-sdk.com/docs/bedrockagent_list_flow_aliases/ for full documentation.
Usage
bedrockagent_list_flow_aliases(
flowIdentifier,
maxResults = NULL,
nextToken = NULL
)
Arguments
flowIdentifier |
[required] The unique identifier of the flow for which aliases are being returned. |
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
Returns a list of information about each flow
Description
Returns a list of information about each flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_list_flow_versions/ for full documentation.
Usage
bedrockagent_list_flow_versions(
flowIdentifier,
maxResults = NULL,
nextToken = NULL
)
Arguments
flowIdentifier |
[required] The unique identifier of the flow. |
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
Returns a list of flows and information about each flow
Description
Returns a list of flows and information about each flow. For more information, see Manage a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_list_flows/ for full documentation.
Usage
bedrockagent_list_flows(maxResults = NULL, nextToken = NULL)
Arguments
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
Lists the data ingestion jobs for a data source
Description
Lists the data ingestion jobs for a data source. The list also includes information about each job.
See https://www.paws-r-sdk.com/docs/bedrockagent_list_ingestion_jobs/ for full documentation.
Usage
bedrockagent_list_ingestion_jobs(
dataSourceId,
filters = NULL,
knowledgeBaseId,
maxResults = NULL,
nextToken = NULL,
sortBy = NULL
)
Arguments
dataSourceId |
[required] The unique identifier of the data source for the list of data ingestion jobs. |
filters |
Contains information about the filters for filtering the data. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base for the list of data ingestion jobs. |
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
sortBy |
Contains details about how to sort the data. |
Retrieves all the documents contained in a data source that is connected to a knowledge base
Description
Retrieves all the documents contained in a data source that is connected to a knowledge base. For more information, see Ingest changes directly into a knowledge base in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_list_knowledge_base_documents/ for full documentation.
Usage
bedrockagent_list_knowledge_base_documents(
dataSourceId,
knowledgeBaseId,
maxResults = NULL,
nextToken = NULL
)
Arguments
dataSourceId |
[required] The unique identifier of the data source that contains the documents. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base that is connected to the data source. |
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
Lists the knowledge bases in an account
Description
Lists the knowledge bases in an account. The list also includesinformation about each knowledge base.
See https://www.paws-r-sdk.com/docs/bedrockagent_list_knowledge_bases/ for full documentation.
Usage
bedrockagent_list_knowledge_bases(maxResults = NULL, nextToken = NULL)
Arguments
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
Returns either information about the working draft (DRAFT version) of each prompt in an account, or information about of all versions of a prompt, depending on whether you include the promptIdentifier field or not
Description
Returns either information about the working draft (DRAFT
version) of each prompt in an account, or information about of all versions of a prompt, depending on whether you include the promptIdentifier
field or not. For more information, see View information about prompts using Prompt management in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_list_prompts/ for full documentation.
Usage
bedrockagent_list_prompts(
maxResults = NULL,
nextToken = NULL,
promptIdentifier = NULL
)
Arguments
maxResults |
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
nextToken |
If the total number of results is greater than the |
promptIdentifier |
The unique identifier of the prompt for whose versions you want to return information. Omit this field to list information about all prompts in an account. |
List all the tags for the resource you specify
Description
List all the tags for the resource you specify.
See https://www.paws-r-sdk.com/docs/bedrockagent_list_tags_for_resource/ for full documentation.
Usage
bedrockagent_list_tags_for_resource(resourceArn)
Arguments
resourceArn |
[required] The Amazon Resource Name (ARN) of the resource for which to list tags. |
Creates a DRAFT version of the agent that can be used for internal testing
Description
Creates a DRAFT
version of the agent that can be used for internal testing.
See https://www.paws-r-sdk.com/docs/bedrockagent_prepare_agent/ for full documentation.
Usage
bedrockagent_prepare_agent(agentId)
Arguments
agentId |
[required] The unique identifier of the agent for which to create a |
Prepares the DRAFT version of a flow so that it can be invoked
Description
Prepares the DRAFT
version of a flow so that it can be invoked. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_prepare_flow/ for full documentation.
Usage
bedrockagent_prepare_flow(flowIdentifier)
Arguments
flowIdentifier |
[required] The unique identifier of the flow. |
Begins a data ingestion job
Description
Begins a data ingestion job. Data sources are ingested into your knowledge base so that Large Language Models (LLMs) can use your data.
See https://www.paws-r-sdk.com/docs/bedrockagent_start_ingestion_job/ for full documentation.
Usage
bedrockagent_start_ingestion_job(
clientToken = NULL,
dataSourceId,
description = NULL,
knowledgeBaseId
)
Arguments
clientToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
dataSourceId |
[required] The unique identifier of the data source you want to ingest into your knowledge base. |
description |
A description of the data ingestion job. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base for the data ingestion job. |
Stops a currently running data ingestion job
Description
Stops a currently running data ingestion job. You can send a start_ingestion_job
request again to ingest the rest of your data when you are ready.
See https://www.paws-r-sdk.com/docs/bedrockagent_stop_ingestion_job/ for full documentation.
Usage
bedrockagent_stop_ingestion_job(dataSourceId, ingestionJobId, knowledgeBaseId)
Arguments
dataSourceId |
[required] The unique identifier of the data source for the data ingestion job you want to stop. |
ingestionJobId |
[required] The unique identifier of the data ingestion job you want to stop. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base for the data ingestion job you want to stop. |
Associate tags with a resource
Description
Associate tags with a resource. For more information, see Tagging resources in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_tag_resource/ for full documentation.
Usage
bedrockagent_tag_resource(resourceArn, tags)
Arguments
resourceArn |
[required] The Amazon Resource Name (ARN) of the resource to tag. |
tags |
[required] An object containing key-value pairs that define the tags to attach to the resource. |
Remove tags from a resource
Description
Remove tags from a resource.
See https://www.paws-r-sdk.com/docs/bedrockagent_untag_resource/ for full documentation.
Usage
bedrockagent_untag_resource(resourceArn, tagKeys)
Arguments
resourceArn |
[required] The Amazon Resource Name (ARN) of the resource from which to remove tags. |
tagKeys |
[required] A list of keys of the tags to remove from the resource. |
Updates the configuration of an agent
Description
Updates the configuration of an agent.
See https://www.paws-r-sdk.com/docs/bedrockagent_update_agent/ for full documentation.
Usage
bedrockagent_update_agent(
agentCollaboration = NULL,
agentId,
agentName,
agentResourceRoleArn,
customOrchestration = NULL,
customerEncryptionKeyArn = NULL,
description = NULL,
foundationModel,
guardrailConfiguration = NULL,
idleSessionTTLInSeconds = NULL,
instruction = NULL,
memoryConfiguration = NULL,
orchestrationType = NULL,
promptOverrideConfiguration = NULL
)
Arguments
agentCollaboration |
The agent's collaboration role. |
agentId |
[required] The unique identifier of the agent. |
agentName |
[required] Specifies a new name for the agent. |
agentResourceRoleArn |
[required] The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent. |
customOrchestration |
Contains details of the custom orchestration configured for the agent. |
customerEncryptionKeyArn |
The Amazon Resource Name (ARN) of the KMS key with which to encrypt the agent. |
description |
Specifies a new description of the agent. |
foundationModel |
[required] The identifier for the model that you want to be used for orchestration by the agent you create. The
|
guardrailConfiguration |
The unique Guardrail configuration assigned to the agent when it is updated. |
idleSessionTTLInSeconds |
The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout. |
instruction |
Specifies new instructions that tell the agent what it should do and how it should interact with users. |
memoryConfiguration |
Specifies the new memory configuration for the agent. |
orchestrationType |
Specifies the type of orchestration strategy for the agent. This is set
to |
promptOverrideConfiguration |
Contains configurations to override prompts in different parts of an agent sequence. For more information, see Advanced prompts. |
Updates the configuration for an action group for an agent
Description
Updates the configuration for an action group for an agent.
See https://www.paws-r-sdk.com/docs/bedrockagent_update_agent_action_group/ for full documentation.
Usage
bedrockagent_update_agent_action_group(
actionGroupExecutor = NULL,
actionGroupId,
actionGroupName,
actionGroupState = NULL,
agentId,
agentVersion,
apiSchema = NULL,
description = NULL,
functionSchema = NULL,
parentActionGroupSignature = NULL
)
Arguments
actionGroupExecutor |
The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action. |
actionGroupId |
[required] The unique identifier of the action group. |
actionGroupName |
[required] Specifies a new name for the action group. |
actionGroupState |
Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request. |
agentId |
[required] The unique identifier of the agent for which to update the action group. |
agentVersion |
[required] The unique identifier of the agent version for which to update the action group. |
apiSchema |
Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas. |
description |
Specifies a new name for the action group. |
functionSchema |
Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema. |
parentActionGroupSignature |
To allow your agent to request the user for additional information when
trying to complete a task, set this field to During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information. |
Updates configurations for an alias of an agent
Description
Updates configurations for an alias of an agent.
See https://www.paws-r-sdk.com/docs/bedrockagent_update_agent_alias/ for full documentation.
Usage
bedrockagent_update_agent_alias(
agentAliasId,
agentAliasName,
agentId,
description = NULL,
routingConfiguration = NULL
)
Arguments
agentAliasId |
[required] The unique identifier of the alias. |
agentAliasName |
[required] Specifies a new name for the alias. |
agentId |
[required] The unique identifier of the agent. |
description |
Specifies a new description for the alias. |
routingConfiguration |
Contains details about the routing configuration of the alias. |
Updates an agent's collaborator
Description
Updates an agent's collaborator.
See https://www.paws-r-sdk.com/docs/bedrockagent_update_agent_collaborator/ for full documentation.
Usage
bedrockagent_update_agent_collaborator(
agentDescriptor,
agentId,
agentVersion,
collaborationInstruction,
collaboratorId,
collaboratorName,
relayConversationHistory = NULL
)
Arguments
agentDescriptor |
[required] An agent descriptor for the agent collaborator. |
agentId |
[required] The agent's ID. |
agentVersion |
[required] The agent's version. |
collaborationInstruction |
[required] Instruction for the collaborator. |
collaboratorId |
[required] The collaborator's ID. |
collaboratorName |
[required] The collaborator's name. |
relayConversationHistory |
A relay conversation history for the collaborator. |
Updates the configuration for a knowledge base that has been associated with an agent
Description
Updates the configuration for a knowledge base that has been associated with an agent.
See https://www.paws-r-sdk.com/docs/bedrockagent_update_agent_knowledge_base/ for full documentation.
Usage
bedrockagent_update_agent_knowledge_base(
agentId,
agentVersion,
description = NULL,
knowledgeBaseId,
knowledgeBaseState = NULL
)
Arguments
agentId |
[required] The unique identifier of the agent associated with the knowledge base that you want to update. |
agentVersion |
[required] The version of the agent associated with the knowledge base that you want to update. |
description |
Specifies a new description for the knowledge base associated with an agent. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base that has been associated with an agent. |
knowledgeBaseState |
Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request. |
Updates the configurations for a data source connector
Description
Updates the configurations for a data source connector.
See https://www.paws-r-sdk.com/docs/bedrockagent_update_data_source/ for full documentation.
Usage
bedrockagent_update_data_source(
dataDeletionPolicy = NULL,
dataSourceConfiguration,
dataSourceId,
description = NULL,
knowledgeBaseId,
name,
serverSideEncryptionConfiguration = NULL,
vectorIngestionConfiguration = NULL
)
Arguments
dataDeletionPolicy |
The data deletion policy for the data source that you want to update. |
dataSourceConfiguration |
[required] The connection configuration for the data source that you want to update. |
dataSourceId |
[required] The unique identifier of the data source. |
description |
Specifies a new description for the data source. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base for the data source. |
name |
[required] Specifies a new name for the data source. |
serverSideEncryptionConfiguration |
Contains details about server-side encryption of the data source. |
vectorIngestionConfiguration |
Contains details about how to ingest the documents in the data source. |
Modifies a flow
Description
Modifies a flow. Include both fields that you want to keep and fields that you want to change. For more information, see How it works and Create a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_update_flow/ for full documentation.
Usage
bedrockagent_update_flow(
customerEncryptionKeyArn = NULL,
definition = NULL,
description = NULL,
executionRoleArn,
flowIdentifier,
name
)
Arguments
customerEncryptionKeyArn |
The Amazon Resource Name (ARN) of the KMS key to encrypt the flow. |
definition |
A definition of the nodes and the connections between the nodes in the flow. |
description |
A description for the flow. |
executionRoleArn |
[required] The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide. |
flowIdentifier |
[required] The unique identifier of the flow. |
name |
[required] A name for the flow. |
Modifies the alias of a flow
Description
Modifies the alias of a flow. Include both fields that you want to keep and ones that you want to change. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_update_flow_alias/ for full documentation.
Usage
bedrockagent_update_flow_alias(
aliasIdentifier,
description = NULL,
flowIdentifier,
name,
routingConfiguration
)
Arguments
aliasIdentifier |
[required] The unique identifier of the alias. |
description |
A description for the alias. |
flowIdentifier |
[required] The unique identifier of the flow. |
name |
[required] The name of the alias. |
routingConfiguration |
[required] Contains information about the version to which to map the alias. |
Updates the configuration of a knowledge base with the fields that you specify
Description
Updates the configuration of a knowledge base with the fields that you specify. Because all fields will be overwritten, you must include the same values for fields that you want to keep the same.
See https://www.paws-r-sdk.com/docs/bedrockagent_update_knowledge_base/ for full documentation.
Usage
bedrockagent_update_knowledge_base(
description = NULL,
knowledgeBaseConfiguration,
knowledgeBaseId,
name,
roleArn,
storageConfiguration = NULL
)
Arguments
description |
Specifies a new description for the knowledge base. |
knowledgeBaseConfiguration |
[required] Specifies the configuration for the embeddings model used for the knowledge base. You must use the same configuration as when the knowledge base was created. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base to update. |
name |
[required] Specifies a new name for the knowledge base. |
roleArn |
[required] Specifies a different Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base. |
storageConfiguration |
Specifies the configuration for the vector store used for the knowledge base. You must use the same configuration as when the knowledge base was created. |
Modifies a prompt in your prompt library
Description
Modifies a prompt in your prompt library. Include both fields that you want to keep and fields that you want to replace. For more information, see Prompt management in Amazon Bedrock and Edit prompts in your prompt library in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_update_prompt/ for full documentation.
Usage
bedrockagent_update_prompt(
customerEncryptionKeyArn = NULL,
defaultVariant = NULL,
description = NULL,
name,
promptIdentifier,
variants = NULL
)
Arguments
customerEncryptionKeyArn |
The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt. |
defaultVariant |
The name of the default variant for the prompt. This value must match
the |
description |
A description for the prompt. |
name |
[required] A name for the prompt. |
promptIdentifier |
[required] The unique identifier of the prompt. |
variants |
A list of objects, each containing details about a variant of the prompt. |
Validates the definition of a flow
Description
Validates the definition of a flow.
See https://www.paws-r-sdk.com/docs/bedrockagent_validate_flow_definition/ for full documentation.
Usage
bedrockagent_validate_flow_definition(definition)
Arguments
definition |
[required] The definition of a flow to validate. |
Agents for Amazon Bedrock Runtime
Description
Contains APIs related to model invocation and querying of knowledge bases.
Usage
bedrockagentruntime(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- bedrockagentruntime( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
delete_agent_memory | Deletes memory from the specified memory identifier |
generate_query | Generates an SQL query from a natural language query |
get_agent_memory | Gets the sessions stored in the memory of the agent |
invoke_agent | Sends a prompt for the agent to process and respond to |
invoke_flow | Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream |
invoke_inline_agent | Invokes an inline Amazon Bedrock agent using the configurations you provide with the request |
optimize_prompt | Optimizes a prompt for the task that you specify |
rerank | Reranks the relevance of sources based on queries |
retrieve | Queries a knowledge base and retrieves information from it |
retrieve_and_generate | Queries a knowledge base and generates responses based on the retrieved results and using the specified foundation model or inference profile |
retrieve_and_generate_stream | Queries a knowledge base and generates responses based on the retrieved results, with output in streaming format |
Examples
## Not run:
svc <- bedrockagentruntime()
svc$delete_agent_memory(
Foo = 123
)
## End(Not run)
Deletes memory from the specified memory identifier
Description
Deletes memory from the specified memory identifier.
See https://www.paws-r-sdk.com/docs/bedrockagentruntime_delete_agent_memory/ for full documentation.
Usage
bedrockagentruntime_delete_agent_memory(
agentAliasId,
agentId,
memoryId = NULL,
sessionId = NULL
)
Arguments
agentAliasId |
[required] The unique identifier of an alias of an agent. |
agentId |
[required] The unique identifier of the agent to which the alias belongs. |
memoryId |
The unique identifier of the memory. |
sessionId |
The unique session identifier of the memory. |
Generates an SQL query from a natural language query
Description
Generates an SQL query from a natural language query. For more information, see Generate a query for structured data in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagentruntime_generate_query/ for full documentation.
Usage
bedrockagentruntime_generate_query(
queryGenerationInput,
transformationConfiguration
)
Arguments
queryGenerationInput |
[required] Specifies information about a natural language query to transform into SQL. |
transformationConfiguration |
[required] Specifies configurations for transforming the natural language query into SQL. |
Gets the sessions stored in the memory of the agent
Description
Gets the sessions stored in the memory of the agent.
See https://www.paws-r-sdk.com/docs/bedrockagentruntime_get_agent_memory/ for full documentation.
Usage
bedrockagentruntime_get_agent_memory(
agentAliasId,
agentId,
maxItems = NULL,
memoryId,
memoryType,
nextToken = NULL
)
Arguments
agentAliasId |
[required] The unique identifier of an alias of an agent. |
agentId |
[required] The unique identifier of the agent to which the alias belongs. |
maxItems |
The maximum number of items to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the |
memoryId |
[required] The unique identifier of the memory. |
memoryType |
[required] The type of memory. |
nextToken |
If the total number of results is greater than the maxItems value
provided in the request, enter the token returned in the |
Sends a prompt for the agent to process and respond to
Description
Sends a prompt for the agent to process and respond to. Note the following fields for the request:
See https://www.paws-r-sdk.com/docs/bedrockagentruntime_invoke_agent/ for full documentation.
Usage
bedrockagentruntime_invoke_agent(
agentAliasId,
agentId,
bedrockModelConfigurations = NULL,
enableTrace = NULL,
endSession = NULL,
inputText = NULL,
memoryId = NULL,
sessionId,
sessionState = NULL,
sourceArn = NULL,
streamingConfigurations = NULL
)
Arguments
agentAliasId |
[required] The alias of the agent to use. |
agentId |
[required] The unique identifier of the agent to use. |
bedrockModelConfigurations |
Model performance settings for the request. |
enableTrace |
Specifies whether to turn on the trace or not to track the agent's reasoning process. For more information, see Trace enablement. |
endSession |
Specifies whether to end the session with the agent or not. |
inputText |
The prompt text to send the agent. If you include |
memoryId |
The unique identifier of the agent memory. |
sessionId |
[required] The unique identifier of the session. Use the same value across requests to continue the same conversation. |
sessionState |
Contains parameters that specify various attributes of the session. For more information, see Control session context. If you include |
sourceArn |
The ARN of the resource making the request. |
streamingConfigurations |
Specifies the configurations for streaming. To use agent streaming, you need permissions to perform the
|
Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream
Description
Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagentruntime_invoke_flow/ for full documentation.
Usage
bedrockagentruntime_invoke_flow(
enableTrace = NULL,
executionId = NULL,
flowAliasIdentifier,
flowIdentifier,
inputs,
modelPerformanceConfiguration = NULL
)
Arguments
enableTrace |
Specifies whether to return the trace for the flow or not. Traces track inputs and outputs for nodes in the flow. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock. |
executionId |
The unique identifier for the current flow execution. If you don't provide a value, Amazon Bedrock creates the identifier for you. |
flowAliasIdentifier |
[required] The unique identifier of the flow alias. |
flowIdentifier |
[required] The unique identifier of the flow. |
inputs |
[required] A list of objects, each containing information about an input into the flow. |
modelPerformanceConfiguration |
Model performance settings for the request. |
Invokes an inline Amazon Bedrock agent using the configurations you provide with the request
Description
Invokes an inline Amazon Bedrock agent using the configurations you provide with the request.
See https://www.paws-r-sdk.com/docs/bedrockagentruntime_invoke_inline_agent/ for full documentation.
Usage
bedrockagentruntime_invoke_inline_agent(
actionGroups = NULL,
bedrockModelConfigurations = NULL,
customerEncryptionKeyArn = NULL,
enableTrace = NULL,
endSession = NULL,
foundationModel,
guardrailConfiguration = NULL,
idleSessionTTLInSeconds = NULL,
inlineSessionState = NULL,
inputText = NULL,
instruction,
knowledgeBases = NULL,
promptOverrideConfiguration = NULL,
sessionId,
streamingConfigurations = NULL
)
Arguments
actionGroups |
A list of action groups with each action group defining the action the inline agent needs to carry out. |
bedrockModelConfigurations |
Model settings for the request. |
customerEncryptionKeyArn |
The Amazon Resource Name (ARN) of the Amazon Web Services KMS key to use to encrypt your inline agent. |
enableTrace |
Specifies whether to turn on the trace or not to track the agent's reasoning process. For more information, see Using trace. </p> |
endSession |
Specifies whether to end the session with the inline agent or not. |
foundationModel |
[required] The model identifier (ID)
of the model to use for orchestration by the inline agent. For example,
|
guardrailConfiguration |
The guardrails to assign to the inline agent. |
idleSessionTTLInSeconds |
The number of seconds for which the inline agent should maintain session
information. After this time expires, the subsequent
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and the data provided before the timeout is deleted. |
inlineSessionState |
Parameters that specify the various attributes of a sessions. You can include attributes for the session or prompt or, if you configured an action group to return control, results from invocation of the action group. For more information, see Control session context. If you include |
inputText |
The prompt text to send to the agent. If you include |
instruction |
[required] The instructions that tell the inline agent what it should do and how it should interact with users. |
knowledgeBases |
Contains information of the knowledge bases to associate with. |
promptOverrideConfiguration |
Configurations for advanced prompts used to override the default prompts to enhance the accuracy of the inline agent. |
sessionId |
[required] The unique identifier of the session. Use the same value across requests to continue the same conversation. |
streamingConfigurations |
Specifies the configurations for streaming. To use agent streaming, you need permissions to perform the
|
Optimizes a prompt for the task that you specify
Description
Optimizes a prompt for the task that you specify. For more information, see Optimize a prompt in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagentruntime_optimize_prompt/ for full documentation.
Usage
bedrockagentruntime_optimize_prompt(input, targetModelId)
Arguments
input |
[required] Contains the prompt to optimize. |
targetModelId |
[required] The unique identifier of the model that you want to optimize the prompt for. |
Reranks the relevance of sources based on queries
Description
Reranks the relevance of sources based on queries. For more information, see Improve the relevance of query responses with a reranker model.
See https://www.paws-r-sdk.com/docs/bedrockagentruntime_rerank/ for full documentation.
Usage
bedrockagentruntime_rerank(
nextToken = NULL,
queries,
rerankingConfiguration,
sources
)
Arguments
nextToken |
If the total number of results was greater than could fit in a response,
a token is returned in the |
queries |
[required] An array of objects, each of which contains information about a query to submit to the reranker model. |
rerankingConfiguration |
[required] Contains configurations for reranking. |
sources |
[required] An array of objects, each of which contains information about the sources to rerank. |
Queries a knowledge base and retrieves information from it
Description
Queries a knowledge base and retrieves information from it.
See https://www.paws-r-sdk.com/docs/bedrockagentruntime_retrieve/ for full documentation.
Usage
bedrockagentruntime_retrieve(
guardrailConfiguration = NULL,
knowledgeBaseId,
nextToken = NULL,
retrievalConfiguration = NULL,
retrievalQuery
)
Arguments
guardrailConfiguration |
Guardrail settings. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base to query. |
nextToken |
If there are more results than can fit in the response, the response
returns a |
retrievalConfiguration |
Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations. |
retrievalQuery |
[required] Contains the query to send the knowledge base. |
Queries a knowledge base and generates responses based on the retrieved results and using the specified foundation model or inference profile
Description
Queries a knowledge base and generates responses based on the retrieved results and using the specified foundation model or inference profile. The response only cites sources that are relevant to the query.
See https://www.paws-r-sdk.com/docs/bedrockagentruntime_retrieve_and_generate/ for full documentation.
Usage
bedrockagentruntime_retrieve_and_generate(
input,
retrieveAndGenerateConfiguration = NULL,
sessionConfiguration = NULL,
sessionId = NULL
)
Arguments
input |
[required] Contains the query to be made to the knowledge base. |
retrieveAndGenerateConfiguration |
Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations. |
sessionConfiguration |
Contains details about the session with the knowledge base. |
sessionId |
The unique identifier of the session. When you first make a
|
Queries a knowledge base and generates responses based on the retrieved results, with output in streaming format
Description
Queries a knowledge base and generates responses based on the retrieved results, with output in streaming format.
See https://www.paws-r-sdk.com/docs/bedrockagentruntime_retrieve_and_generate_stream/ for full documentation.
Usage
bedrockagentruntime_retrieve_and_generate_stream(
input,
retrieveAndGenerateConfiguration = NULL,
sessionConfiguration = NULL,
sessionId = NULL
)
Arguments
input |
[required] Contains the query to be made to the knowledge base. |
retrieveAndGenerateConfiguration |
Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations. |
sessionConfiguration |
Contains details about the session with the knowledge base. |
sessionId |
The unique identifier of the session. When you first make a
|
Data Automation for Amazon Bedrock
Description
Amazon Bedrock Data Automation BuildTime
Usage
bedrockdataautomation(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- bedrockdataautomation( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
create_blueprint | Creates an Amazon Bedrock Data Automation Blueprint |
create_blueprint_version | Creates a new version of an existing Amazon Bedrock Data Automation Blueprint |
create_data_automation_project | Creates an Amazon Bedrock Data Automation Project |
delete_blueprint | Deletes an existing Amazon Bedrock Data Automation Blueprint |
delete_data_automation_project | Deletes an existing Amazon Bedrock Data Automation Project |
get_blueprint | Gets an existing Amazon Bedrock Data Automation Blueprint |
get_data_automation_project | Gets an existing Amazon Bedrock Data Automation Project |
list_blueprints | Lists all existing Amazon Bedrock Data Automation Blueprints |
list_data_automation_projects | Lists all existing Amazon Bedrock Data Automation Projects |
update_blueprint | Updates an existing Amazon Bedrock Data Automation Blueprint |
update_data_automation_project | Updates an existing Amazon Bedrock Data Automation Project |
Examples
## Not run:
svc <- bedrockdataautomation()
svc$create_blueprint(
Foo = 123
)
## End(Not run)
Creates an Amazon Bedrock Data Automation Blueprint
Description
Creates an Amazon Bedrock Data Automation Blueprint
See https://www.paws-r-sdk.com/docs/bedrockdataautomation_create_blueprint/ for full documentation.
Usage
bedrockdataautomation_create_blueprint(
blueprintName,
type,
blueprintStage = NULL,
schema,
clientToken = NULL,
encryptionConfiguration = NULL
)
Arguments
blueprintName |
[required] |
type |
[required] |
blueprintStage |
|
schema |
[required] |
clientToken |
|
encryptionConfiguration |
Creates a new version of an existing Amazon Bedrock Data Automation Blueprint
Description
Creates a new version of an existing Amazon Bedrock Data Automation Blueprint
See https://www.paws-r-sdk.com/docs/bedrockdataautomation_create_blueprint_version/ for full documentation.
Usage
bedrockdataautomation_create_blueprint_version(
blueprintArn,
clientToken = NULL
)
Arguments
blueprintArn |
[required] ARN generated at the server side when a Blueprint is created |
clientToken |
Creates an Amazon Bedrock Data Automation Project
Description
Creates an Amazon Bedrock Data Automation Project
See https://www.paws-r-sdk.com/docs/bedrockdataautomation_create_data_automation_project/ for full documentation.
Usage
bedrockdataautomation_create_data_automation_project(
projectName,
projectDescription = NULL,
projectStage = NULL,
standardOutputConfiguration,
customOutputConfiguration = NULL,
overrideConfiguration = NULL,
clientToken = NULL,
encryptionConfiguration = NULL
)
Arguments
projectName |
[required] |
projectDescription |
|
projectStage |
|
standardOutputConfiguration |
[required] |
customOutputConfiguration |
|
overrideConfiguration |
|
clientToken |
|
encryptionConfiguration |
Deletes an existing Amazon Bedrock Data Automation Blueprint
Description
Deletes an existing Amazon Bedrock Data Automation Blueprint
See https://www.paws-r-sdk.com/docs/bedrockdataautomation_delete_blueprint/ for full documentation.
Usage
bedrockdataautomation_delete_blueprint(blueprintArn, blueprintVersion = NULL)
Arguments
blueprintArn |
[required] ARN generated at the server side when a Blueprint is created |
blueprintVersion |
Optional field to delete a specific Blueprint version |
Deletes an existing Amazon Bedrock Data Automation Project
Description
Deletes an existing Amazon Bedrock Data Automation Project
See https://www.paws-r-sdk.com/docs/bedrockdataautomation_delete_data_automation_project/ for full documentation.
Usage
bedrockdataautomation_delete_data_automation_project(projectArn)
Arguments
projectArn |
[required] ARN generated at the server side when a DataAutomationProject is created |
Gets an existing Amazon Bedrock Data Automation Blueprint
Description
Gets an existing Amazon Bedrock Data Automation Blueprint
See https://www.paws-r-sdk.com/docs/bedrockdataautomation_get_blueprint/ for full documentation.
Usage
bedrockdataautomation_get_blueprint(
blueprintArn,
blueprintVersion = NULL,
blueprintStage = NULL
)
Arguments
blueprintArn |
[required] ARN generated at the server side when a Blueprint is created |
blueprintVersion |
Optional field to get a specific Blueprint version |
blueprintStage |
Optional field to get a specific Blueprint stage |
Gets an existing Amazon Bedrock Data Automation Project
Description
Gets an existing Amazon Bedrock Data Automation Project
See https://www.paws-r-sdk.com/docs/bedrockdataautomation_get_data_automation_project/ for full documentation.
Usage
bedrockdataautomation_get_data_automation_project(
projectArn,
projectStage = NULL
)
Arguments
projectArn |
[required] ARN generated at the server side when a DataAutomationProject is created |
projectStage |
Optional field to delete a specific DataAutomationProject stage |
Lists all existing Amazon Bedrock Data Automation Blueprints
Description
Lists all existing Amazon Bedrock Data Automation Blueprints
See https://www.paws-r-sdk.com/docs/bedrockdataautomation_list_blueprints/ for full documentation.
Usage
bedrockdataautomation_list_blueprints(
blueprintArn = NULL,
resourceOwner = NULL,
blueprintStageFilter = NULL,
maxResults = NULL,
nextToken = NULL,
projectFilter = NULL
)
Arguments
blueprintArn |
|
resourceOwner |
|
blueprintStageFilter |
|
maxResults |
|
nextToken |
|
projectFilter |
Lists all existing Amazon Bedrock Data Automation Projects
Description
Lists all existing Amazon Bedrock Data Automation Projects
See https://www.paws-r-sdk.com/docs/bedrockdataautomation_list_data_automation_projects/ for full documentation.
Usage
bedrockdataautomation_list_data_automation_projects(
maxResults = NULL,
nextToken = NULL,
projectStageFilter = NULL,
blueprintFilter = NULL,
resourceOwner = NULL
)
Arguments
maxResults |
|
nextToken |
|
projectStageFilter |
|
blueprintFilter |
|
resourceOwner |
Updates an existing Amazon Bedrock Data Automation Blueprint
Description
Updates an existing Amazon Bedrock Data Automation Blueprint
See https://www.paws-r-sdk.com/docs/bedrockdataautomation_update_blueprint/ for full documentation.
Usage
bedrockdataautomation_update_blueprint(
blueprintArn,
schema,
blueprintStage = NULL
)
Arguments
blueprintArn |
[required] ARN generated at the server side when a Blueprint is created |
schema |
[required] |
blueprintStage |
Updates an existing Amazon Bedrock Data Automation Project
Description
Updates an existing Amazon Bedrock Data Automation Project
See https://www.paws-r-sdk.com/docs/bedrockdataautomation_update_data_automation_project/ for full documentation.
Usage
bedrockdataautomation_update_data_automation_project(
projectArn,
projectStage = NULL,
projectDescription = NULL,
standardOutputConfiguration,
customOutputConfiguration = NULL,
overrideConfiguration = NULL
)
Arguments
projectArn |
[required] ARN generated at the server side when a DataAutomationProject is created |
projectStage |
|
projectDescription |
|
standardOutputConfiguration |
[required] |
customOutputConfiguration |
|
overrideConfiguration |
Runtime for Amazon Bedrock Data Automation
Description
Amazon Bedrock Data Automation Runtime
Usage
bedrockdataautomationruntime(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- bedrockdataautomationruntime( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
get_data_automation_status | API used to get data automation status |
invoke_data_automation_async | Async API: Invoke data automation |
Examples
## Not run:
svc <- bedrockdataautomationruntime()
svc$get_data_automation_status(
Foo = 123
)
## End(Not run)
API used to get data automation status
Description
API used to get data automation status.
See https://www.paws-r-sdk.com/docs/bedrockdataautomationruntime_get_data_automation_status/ for full documentation.
Usage
bedrockdataautomationruntime_get_data_automation_status(invocationArn)
Arguments
invocationArn |
[required] Invocation arn. |
Async API: Invoke data automation
Description
Async API: Invoke data automation.
See https://www.paws-r-sdk.com/docs/bedrockdataautomationruntime_invoke_data_automation_async/ for full documentation.
Usage
bedrockdataautomationruntime_invoke_data_automation_async(
clientToken = NULL,
inputConfiguration,
outputConfiguration,
dataAutomationConfiguration = NULL,
encryptionConfiguration = NULL,
notificationConfiguration = NULL,
blueprints = NULL
)
Arguments
clientToken |
Idempotency token. |
inputConfiguration |
[required] Input configuration. |
outputConfiguration |
[required] Output configuration. |
dataAutomationConfiguration |
Data automation configuration. |
encryptionConfiguration |
Encryption configuration. |
notificationConfiguration |
Notification configuration. |
blueprints |
Blueprint list. |
Amazon Bedrock Runtime
Description
Describes the API operations for running inference using Amazon Bedrock models.
Usage
bedrockruntime(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- bedrockruntime( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
apply_guardrail | The action to apply a guardrail |
converse | Sends messages to the specified Amazon Bedrock model |
converse_stream | Sends messages to the specified Amazon Bedrock model and returns the response in a stream |
get_async_invoke | Retrieve information about an asynchronous invocation |
invoke_model | Invokes the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body |
invoke_model_with_response_stream | Invoke the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body |
list_async_invokes | Lists asynchronous invocations |
start_async_invoke | Starts an asynchronous invocation |
Examples
## Not run:
svc <- bedrockruntime()
svc$apply_guardrail(
Foo = 123
)
## End(Not run)
The action to apply a guardrail
Description
The action to apply a guardrail.
See https://www.paws-r-sdk.com/docs/bedrockruntime_apply_guardrail/ for full documentation.
Usage
bedrockruntime_apply_guardrail(
guardrailIdentifier,
guardrailVersion,
source,
content
)
Arguments
guardrailIdentifier |
[required] The guardrail identifier used in the request to apply the guardrail. |
guardrailVersion |
[required] The guardrail version used in the request to apply the guardrail. |
source |
[required] The source of data used in the request to apply the guardrail. |
content |
[required] The content details used in the request to apply the guardrail. |
Sends messages to the specified Amazon Bedrock model
Description
Sends messages to the specified Amazon Bedrock model. converse
provides a consistent interface that works with all models that support messages. This allows you to write code once and use it with different models. If a model has unique inference parameters, you can also pass those unique parameters to the model.
See https://www.paws-r-sdk.com/docs/bedrockruntime_converse/ for full documentation.
Usage
bedrockruntime_converse(
modelId,
messages = NULL,
system = NULL,
inferenceConfig = NULL,
toolConfig = NULL,
guardrailConfig = NULL,
additionalModelRequestFields = NULL,
promptVariables = NULL,
additionalModelResponseFieldPaths = NULL,
requestMetadata = NULL,
performanceConfig = NULL
)
Arguments
modelId |
[required] Specifies the model or throughput with which to run inference, or the prompt resource to use in inference. The value depends on the resource that you use:
The Converse API doesn't support imported models. |
messages |
The messages that you want to send to the model. |
system |
A prompt that provides instructions or context to the model about the task it should perform, or the persona it should adopt during the conversation. |
inferenceConfig |
Inference parameters to pass to the model.
|
toolConfig |
Configuration information for the tools that the model can use when generating a response. For information about models that support tool use, see Supported models and model features. |
guardrailConfig |
Configuration information for a guardrail that you want to use in the
request. If you include |
additionalModelRequestFields |
Additional inference parameters that the model supports, beyond the base
set of inference parameters that |
promptVariables |
Contains a map of variables in a prompt from Prompt management to
objects containing the values to fill in for them when running model
invocation. This field is ignored if you don't specify a prompt resource
in the |
additionalModelResponseFieldPaths |
Additional model parameters field paths to return in the response.
For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation.
|
requestMetadata |
Key-value pairs that you can use to filter invocation logs. |
performanceConfig |
Model performance settings for the request. |
Sends messages to the specified Amazon Bedrock model and returns the response in a stream
Description
Sends messages to the specified Amazon Bedrock model and returns the response in a stream. converse_stream
provides a consistent API that works with all Amazon Bedrock models that support messages. This allows you to write code once and use it with different models. Should a model have unique inference parameters, you can also pass those unique parameters to the model.
See https://www.paws-r-sdk.com/docs/bedrockruntime_converse_stream/ for full documentation.
Usage
bedrockruntime_converse_stream(
modelId,
messages = NULL,
system = NULL,
inferenceConfig = NULL,
toolConfig = NULL,
guardrailConfig = NULL,
additionalModelRequestFields = NULL,
promptVariables = NULL,
additionalModelResponseFieldPaths = NULL,
requestMetadata = NULL,
performanceConfig = NULL
)
Arguments
modelId |
[required] Specifies the model or throughput with which to run inference, or the prompt resource to use in inference. The value depends on the resource that you use:
The Converse API doesn't support imported models. |
messages |
The messages that you want to send to the model. |
system |
A prompt that provides instructions or context to the model about the task it should perform, or the persona it should adopt during the conversation. |
inferenceConfig |
Inference parameters to pass to the model.
|
toolConfig |
Configuration information for the tools that the model can use when generating a response. For information about models that support streaming tool use, see Supported models and model features. |
guardrailConfig |
Configuration information for a guardrail that you want to use in the
request. If you include |
additionalModelRequestFields |
Additional inference parameters that the model supports, beyond the base
set of inference parameters that |
promptVariables |
Contains a map of variables in a prompt from Prompt management to
objects containing the values to fill in for them when running model
invocation. This field is ignored if you don't specify a prompt resource
in the |
additionalModelResponseFieldPaths |
Additional model parameters field paths to return in the response.
For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation.
|
requestMetadata |
Key-value pairs that you can use to filter invocation logs. |
performanceConfig |
Model performance settings for the request. |
Retrieve information about an asynchronous invocation
Description
Retrieve information about an asynchronous invocation.
See https://www.paws-r-sdk.com/docs/bedrockruntime_get_async_invoke/ for full documentation.
Usage
bedrockruntime_get_async_invoke(invocationArn)
Arguments
invocationArn |
[required] The invocation's ARN. |
Invokes the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body
Description
Invokes the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. You use model inference to generate text, images, and embeddings.
See https://www.paws-r-sdk.com/docs/bedrockruntime_invoke_model/ for full documentation.
Usage
bedrockruntime_invoke_model(
body = NULL,
contentType = NULL,
accept = NULL,
modelId,
trace = NULL,
guardrailIdentifier = NULL,
guardrailVersion = NULL,
performanceConfigLatency = NULL
)
Arguments
body |
The prompt and inference parameters in the format specified in the
|
contentType |
The MIME type of the input data in the request. You must specify
|
accept |
The desired MIME type of the inference body in the response. The default
value is |
modelId |
[required] The unique identifier of the model to invoke to run inference. The
|
trace |
Specifies whether to enable or disable the Bedrock trace. If enabled, you can see the full Bedrock trace. |
guardrailIdentifier |
The unique identifier of the guardrail that you want to use. If you don't provide a value, no guardrail is applied to the invocation. An error will be thrown in the following situations.
|
guardrailVersion |
The version number for the guardrail. The value can also be |
performanceConfigLatency |
Model performance settings for the request. |
Invoke the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body
Description
Invoke the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. The response is returned in a stream.
See https://www.paws-r-sdk.com/docs/bedrockruntime_invoke_model_with_response_stream/ for full documentation.
Usage
bedrockruntime_invoke_model_with_response_stream(
body = NULL,
contentType = NULL,
accept = NULL,
modelId,
trace = NULL,
guardrailIdentifier = NULL,
guardrailVersion = NULL,
performanceConfigLatency = NULL
)
Arguments
body |
The prompt and inference parameters in the format specified in the
|
contentType |
The MIME type of the input data in the request. You must specify
|
accept |
The desired MIME type of the inference body in the response. The default
value is |
modelId |
[required] The unique identifier of the model to invoke to run inference. The
|
trace |
Specifies whether to enable or disable the Bedrock trace. If enabled, you can see the full Bedrock trace. |
guardrailIdentifier |
The unique identifier of the guardrail that you want to use. If you don't provide a value, no guardrail is applied to the invocation. An error is thrown in the following situations.
|
guardrailVersion |
The version number for the guardrail. The value can also be |
performanceConfigLatency |
Model performance settings for the request. |
Lists asynchronous invocations
Description
Lists asynchronous invocations.
See https://www.paws-r-sdk.com/docs/bedrockruntime_list_async_invokes/ for full documentation.
Usage
bedrockruntime_list_async_invokes(
submitTimeAfter = NULL,
submitTimeBefore = NULL,
statusEquals = NULL,
maxResults = NULL,
nextToken = NULL,
sortBy = NULL,
sortOrder = NULL
)
Arguments
submitTimeAfter |
Include invocations submitted after this time. |
submitTimeBefore |
Include invocations submitted before this time. |
statusEquals |
Filter invocations by status. |
maxResults |
The maximum number of invocations to return in one page of results. |
nextToken |
Specify the pagination token from a previous request to retrieve the next page of results. |
sortBy |
How to sort the response. |
sortOrder |
The sorting order for the response. |
Starts an asynchronous invocation
Description
Starts an asynchronous invocation.
See https://www.paws-r-sdk.com/docs/bedrockruntime_start_async_invoke/ for full documentation.
Usage
bedrockruntime_start_async_invoke(
clientRequestToken = NULL,
modelId,
modelInput,
outputDataConfig,
tags = NULL
)
Arguments
clientRequestToken |
Specify idempotency token to ensure that requests are not duplicated. |
modelId |
[required] The model to invoke. |
modelInput |
[required] Input to send to the model. |
outputDataConfig |
[required] Where to store the output. |
tags |
Tags to apply to the invocation. |
Amazon Comprehend
Description
Amazon Comprehend is an Amazon Web Services service for gaining insight into the content of documents. Use these actions to determine the topics contained in your documents, the topics they discuss, the predominant sentiment expressed in them, the predominant language used, and more.
Usage
comprehend(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- comprehend( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
batch_detect_dominant_language | Determines the dominant language of the input text for a batch of documents |
batch_detect_entities | Inspects the text of a batch of documents for named entities and returns information about them |
batch_detect_key_phrases | Detects the key noun phrases found in a batch of documents |
batch_detect_sentiment | Inspects a batch of documents and returns an inference of the prevailing sentiment, POSITIVE, NEUTRAL, MIXED, or NEGATIVE, in each one |
batch_detect_syntax | Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them |
batch_detect_targeted_sentiment | Inspects a batch of documents and returns a sentiment analysis for each entity identified in the documents |
classify_document | Creates a classification request to analyze a single document in real-time |
contains_pii_entities | Analyzes input text for the presence of personally identifiable information (PII) and returns the labels of identified PII entity types such as name, address, bank account number, or phone number |
create_dataset | Creates a dataset to upload training or test data for a model associated with a flywheel |
create_document_classifier | Creates a new document classifier that you can use to categorize documents |
create_endpoint | Creates a model-specific endpoint for synchronous inference for a previously trained custom model For information about endpoints, see Managing endpoints |
create_entity_recognizer | Creates an entity recognizer using submitted files |
create_flywheel | A flywheel is an Amazon Web Services resource that orchestrates the ongoing training of a model for custom classification or custom entity recognition |
delete_document_classifier | Deletes a previously created document classifier |
delete_endpoint | Deletes a model-specific endpoint for a previously-trained custom model |
delete_entity_recognizer | Deletes an entity recognizer |
delete_flywheel | Deletes a flywheel |
delete_resource_policy | Deletes a resource-based policy that is attached to a custom model |
describe_dataset | Returns information about the dataset that you specify |
describe_document_classification_job | Gets the properties associated with a document classification job |
describe_document_classifier | Gets the properties associated with a document classifier |
describe_dominant_language_detection_job | Gets the properties associated with a dominant language detection job |
describe_endpoint | Gets the properties associated with a specific endpoint |
describe_entities_detection_job | Gets the properties associated with an entities detection job |
describe_entity_recognizer | Provides details about an entity recognizer including status, S3 buckets containing training data, recognizer metadata, metrics, and so on |
describe_events_detection_job | Gets the status and details of an events detection job |
describe_flywheel | Provides configuration information about the flywheel |
describe_flywheel_iteration | Retrieve the configuration properties of a flywheel iteration |
describe_key_phrases_detection_job | Gets the properties associated with a key phrases detection job |
describe_pii_entities_detection_job | Gets the properties associated with a PII entities detection job |
describe_resource_policy | Gets the details of a resource-based policy that is attached to a custom model, including the JSON body of the policy |
describe_sentiment_detection_job | Gets the properties associated with a sentiment detection job |
describe_targeted_sentiment_detection_job | Gets the properties associated with a targeted sentiment detection job |
describe_topics_detection_job | Gets the properties associated with a topic detection job |
detect_dominant_language | Determines the dominant language of the input text |
detect_entities | Detects named entities in input text when you use the pre-trained model |
detect_key_phrases | Detects the key noun phrases found in the text |
detect_pii_entities | Inspects the input text for entities that contain personally identifiable information (PII) and returns information about them |
detect_sentiment | Inspects text and returns an inference of the prevailing sentiment (POSITIVE, NEUTRAL, MIXED, or NEGATIVE) |
detect_syntax | Inspects text for syntax and the part of speech of words in the document |
detect_targeted_sentiment | Inspects the input text and returns a sentiment analysis for each entity identified in the text |
detect_toxic_content | Performs toxicity analysis on the list of text strings that you provide as input |
import_model | Creates a new custom model that replicates a source custom model that you import |
list_datasets | List the datasets that you have configured in this Region |
list_document_classification_jobs | Gets a list of the documentation classification jobs that you have submitted |
list_document_classifiers | Gets a list of the document classifiers that you have created |
list_document_classifier_summaries | Gets a list of summaries of the document classifiers that you have created |
list_dominant_language_detection_jobs | Gets a list of the dominant language detection jobs that you have submitted |
list_endpoints | Gets a list of all existing endpoints that you've created |
list_entities_detection_jobs | Gets a list of the entity detection jobs that you have submitted |
list_entity_recognizers | Gets a list of the properties of all entity recognizers that you created, including recognizers currently in training |
list_entity_recognizer_summaries | Gets a list of summaries for the entity recognizers that you have created |
list_events_detection_jobs | Gets a list of the events detection jobs that you have submitted |
list_flywheel_iteration_history | Information about the history of a flywheel iteration |
list_flywheels | Gets a list of the flywheels that you have created |
list_key_phrases_detection_jobs | Get a list of key phrase detection jobs that you have submitted |
list_pii_entities_detection_jobs | Gets a list of the PII entity detection jobs that you have submitted |
list_sentiment_detection_jobs | Gets a list of sentiment detection jobs that you have submitted |
list_tags_for_resource | Lists all tags associated with a given Amazon Comprehend resource |
list_targeted_sentiment_detection_jobs | Gets a list of targeted sentiment detection jobs that you have submitted |
list_topics_detection_jobs | Gets a list of the topic detection jobs that you have submitted |
put_resource_policy | Attaches a resource-based policy to a custom model |
start_document_classification_job | Starts an asynchronous document classification job using a custom classification model |
start_dominant_language_detection_job | Starts an asynchronous dominant language detection job for a collection of documents |
start_entities_detection_job | Starts an asynchronous entity detection job for a collection of documents |
start_events_detection_job | Starts an asynchronous event detection job for a collection of documents |
start_flywheel_iteration | Start the flywheel iteration |
start_key_phrases_detection_job | Starts an asynchronous key phrase detection job for a collection of documents |
start_pii_entities_detection_job | Starts an asynchronous PII entity detection job for a collection of documents |
start_sentiment_detection_job | Starts an asynchronous sentiment detection job for a collection of documents |
start_targeted_sentiment_detection_job | Starts an asynchronous targeted sentiment detection job for a collection of documents |
start_topics_detection_job | Starts an asynchronous topic detection job |
stop_dominant_language_detection_job | Stops a dominant language detection job in progress |
stop_entities_detection_job | Stops an entities detection job in progress |
stop_events_detection_job | Stops an events detection job in progress |
stop_key_phrases_detection_job | Stops a key phrases detection job in progress |
stop_pii_entities_detection_job | Stops a PII entities detection job in progress |
stop_sentiment_detection_job | Stops a sentiment detection job in progress |
stop_targeted_sentiment_detection_job | Stops a targeted sentiment detection job in progress |
stop_training_document_classifier | Stops a document classifier training job while in progress |
stop_training_entity_recognizer | Stops an entity recognizer training job while in progress |
tag_resource | Associates a specific tag with an Amazon Comprehend resource |
untag_resource | Removes a specific tag associated with an Amazon Comprehend resource |
update_endpoint | Updates information about the specified endpoint |
update_flywheel | Update the configuration information for an existing flywheel |
Examples
## Not run:
svc <- comprehend()
svc$batch_detect_dominant_language(
Foo = 123
)
## End(Not run)
Determines the dominant language of the input text for a batch of documents
Description
Determines the dominant language of the input text for a batch of documents. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
See https://www.paws-r-sdk.com/docs/comprehend_batch_detect_dominant_language/ for full documentation.
Usage
comprehend_batch_detect_dominant_language(TextList)
Arguments
TextList |
[required] A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. Each document should contain at least 20 characters. The maximum size of each document is 5 KB. |
Inspects the text of a batch of documents for named entities and returns information about them
Description
Inspects the text of a batch of documents for named entities and returns information about them. For more information about named entities, see Entities in the Comprehend Developer Guide.
See https://www.paws-r-sdk.com/docs/comprehend_batch_detect_entities/ for full documentation.
Usage
comprehend_batch_detect_entities(TextList, LanguageCode)
Arguments
TextList |
[required] A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB. |
LanguageCode |
[required] The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language. |
Detects the key noun phrases found in a batch of documents
Description
Detects the key noun phrases found in a batch of documents.
See https://www.paws-r-sdk.com/docs/comprehend_batch_detect_key_phrases/ for full documentation.
Usage
comprehend_batch_detect_key_phrases(TextList, LanguageCode)
Arguments
TextList |
[required] A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB. |
LanguageCode |
[required] The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language. |
Inspects a batch of documents and returns an inference of the prevailing sentiment, POSITIVE, NEUTRAL, MIXED, or NEGATIVE, in each one
Description
Inspects a batch of documents and returns an inference of the prevailing sentiment, POSITIVE
, NEUTRAL
, MIXED
, or NEGATIVE
, in each one.
See https://www.paws-r-sdk.com/docs/comprehend_batch_detect_sentiment/ for full documentation.
Usage
comprehend_batch_detect_sentiment(TextList, LanguageCode)
Arguments
TextList |
[required] A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB. |
LanguageCode |
[required] The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language. |
Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them
Description
Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them. For more information, see Syntax in the Comprehend Developer Guide.
See https://www.paws-r-sdk.com/docs/comprehend_batch_detect_syntax/ for full documentation.
Usage
comprehend_batch_detect_syntax(TextList, LanguageCode)
Arguments
TextList |
[required] A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size for each document is 5 KB. |
LanguageCode |
[required] The language of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt"). All documents must be in the same language. |
Inspects a batch of documents and returns a sentiment analysis for each entity identified in the documents
Description
Inspects a batch of documents and returns a sentiment analysis for each entity identified in the documents.
See https://www.paws-r-sdk.com/docs/comprehend_batch_detect_targeted_sentiment/ for full documentation.
Usage
comprehend_batch_detect_targeted_sentiment(TextList, LanguageCode)
Arguments
TextList |
[required] A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB. |
LanguageCode |
[required] The language of the input documents. Currently, English is the only supported language. |
Creates a classification request to analyze a single document in real-time
Description
Creates a classification request to analyze a single document in real-time. classify_document
supports the following model types:
See https://www.paws-r-sdk.com/docs/comprehend_classify_document/ for full documentation.
Usage
comprehend_classify_document(
Text = NULL,
EndpointArn,
Bytes = NULL,
DocumentReaderConfig = NULL
)
Arguments
Text |
The document text to be analyzed. If you enter text using this
parameter, do not use the |
EndpointArn |
[required] The Amazon Resource Number (ARN) of the endpoint. For prompt safety classification, Amazon Comprehend provides the endpoint ARN. For more information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer Guide For custom classification, you create an endpoint for your custom model. For more information, see Using Amazon Comprehend endpoints. |
Bytes |
Use the When you classify a document using a custom model, you can also use the
To classify a document using the prompt safety classifier, use the
Provide the input document as a sequence of base64-encoded bytes. If your code uses an Amazon Web Services SDK to classify documents, the SDK may encode the document file bytes for you. The maximum length of this field depends on the input document type. For details, see Inputs for real-time custom analysis in the Comprehend Developer Guide. If you use the |
DocumentReaderConfig |
Provides configuration parameters to override the default actions for extracting text from PDF documents and image files. |
Analyzes input text for the presence of personally identifiable information (PII) and returns the labels of identified PII entity types such as name, address, bank account number, or phone number
Description
Analyzes input text for the presence of personally identifiable information (PII) and returns the labels of identified PII entity types such as name, address, bank account number, or phone number.
See https://www.paws-r-sdk.com/docs/comprehend_contains_pii_entities/ for full documentation.
Usage
comprehend_contains_pii_entities(Text, LanguageCode)
Arguments
Text |
[required] A UTF-8 text string. The maximum string size is 100 KB. |
LanguageCode |
[required] The language of the input documents. |
Creates a dataset to upload training or test data for a model associated with a flywheel
Description
Creates a dataset to upload training or test data for a model associated with a flywheel. For more information about datasets, see Flywheel overview in the Amazon Comprehend Developer Guide.
See https://www.paws-r-sdk.com/docs/comprehend_create_dataset/ for full documentation.
Usage
comprehend_create_dataset(
FlywheelArn,
DatasetName,
DatasetType = NULL,
Description = NULL,
InputDataConfig,
ClientRequestToken = NULL,
Tags = NULL
)
Arguments
FlywheelArn |
[required] The Amazon Resource Number (ARN) of the flywheel of the flywheel to receive the data. |
DatasetName |
[required] Name of the dataset. |
DatasetType |
The dataset type. You can specify that the data in a dataset is for training the model or for testing the model. |
Description |
Description of the dataset. |
InputDataConfig |
[required] Information about the input data configuration. The type of input data varies based on the format of the input and whether the data is for a classifier model or an entity recognition model. |
ClientRequestToken |
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one. |
Tags |
Tags for the dataset. |
Creates a new document classifier that you can use to categorize documents
Description
Creates a new document classifier that you can use to categorize documents. To create a classifier, you provide a set of training documents that are labeled with the categories that you want to use. For more information, see Training classifier models in the Comprehend Developer Guide.
See https://www.paws-r-sdk.com/docs/comprehend_create_document_classifier/ for full documentation.
Usage
comprehend_create_document_classifier(
DocumentClassifierName,
VersionName = NULL,
DataAccessRoleArn,
Tags = NULL,
InputDataConfig,
OutputDataConfig = NULL,
ClientRequestToken = NULL,
LanguageCode,
VolumeKmsKeyId = NULL,
VpcConfig = NULL,
Mode = NULL,
ModelKmsKeyId = NULL,
ModelPolicy = NULL
)
Arguments
DocumentClassifierName |
[required] The name of the document classifier. |
VersionName |
The version name given to the newly created classifier. Version names can have a maximum of 256 characters. Alphanumeric characters, hyphens (-) and underscores (_) are allowed. The version name must be unique among all models with the same classifier name in the Amazon Web Services account/Amazon Web Services Region. |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data. |
Tags |
Tags to associate with the document classifier. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department. |
InputDataConfig |
[required] Specifies the format and location of the input data for the job. |
OutputDataConfig |
Specifies the location for the output files from a custom classifier job. This parameter is required for a request that creates a native document model. |
ClientRequestToken |
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one. |
LanguageCode |
[required] The language of the input documents. You can specify any of the languages supported by Amazon Comprehend. All documents must be in the same language. |
VolumeKmsKeyId |
ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
|
VpcConfig |
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your custom classifier. For more information, see Amazon VPC. |
Mode |
Indicates the mode in which the classifier will be trained. The classifier can be trained in multi-class (single-label) mode or multi-label mode. Multi-class mode identifies a single class label for each document and multi-label mode identifies one or more class labels for each document. Multiple labels for an individual document are separated by a delimiter. The default delimiter between labels is a pipe (|). |
ModelKmsKeyId |
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:
|
ModelPolicy |
The resource-based policy to attach to your custom document classifier model. You can use this policy to allow another Amazon Web Services account to import your custom model. Provide your policy as a JSON body that you enter as a UTF-8 encoded string without line breaks. To provide valid JSON, enclose the attribute names and values in double quotes. If the JSON body is also enclosed in double quotes, then you must escape the double quotes that are inside the policy:
To avoid escaping quotes, you can use single quotes to enclose the policy and double quotes to enclose the JSON names and values:
|
Creates a model-specific endpoint for synchronous inference for a previously trained custom model For information about endpoints, see Managing endpoints
Description
Creates a model-specific endpoint for synchronous inference for a previously trained custom model For information about endpoints, see Managing endpoints.
See https://www.paws-r-sdk.com/docs/comprehend_create_endpoint/ for full documentation.
Usage
comprehend_create_endpoint(
EndpointName,
ModelArn = NULL,
DesiredInferenceUnits,
ClientRequestToken = NULL,
Tags = NULL,
DataAccessRoleArn = NULL,
FlywheelArn = NULL
)
Arguments
EndpointName |
[required] This is the descriptive suffix that becomes part of the |
ModelArn |
The Amazon Resource Number (ARN) of the model to which the endpoint will be attached. |
DesiredInferenceUnits |
[required] The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second. |
ClientRequestToken |
An idempotency token provided by the customer. If this token matches a
previous endpoint creation request, Amazon Comprehend will not return a
|
Tags |
Tags to associate with the endpoint. A tag is a key-value pair that adds metadata to the endpoint. For example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by the sales department. |
DataAccessRoleArn |
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId). |
FlywheelArn |
The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached. |
Creates an entity recognizer using submitted files
Description
Creates an entity recognizer using submitted files. After your create_entity_recognizer
request is submitted, you can check job status using the describe_entity_recognizer
API.
See https://www.paws-r-sdk.com/docs/comprehend_create_entity_recognizer/ for full documentation.
Usage
comprehend_create_entity_recognizer(
RecognizerName,
VersionName = NULL,
DataAccessRoleArn,
Tags = NULL,
InputDataConfig,
ClientRequestToken = NULL,
LanguageCode,
VolumeKmsKeyId = NULL,
VpcConfig = NULL,
ModelKmsKeyId = NULL,
ModelPolicy = NULL
)
Arguments
RecognizerName |
[required] The name given to the newly created recognizer. Recognizer names can be a maximum of 256 characters. Alphanumeric characters, hyphens (-) and underscores (_) are allowed. The name must be unique in the account/Region. |
VersionName |
The version name given to the newly created recognizer. Version names can be a maximum of 256 characters. Alphanumeric characters, hyphens (-) and underscores (_) are allowed. The version name must be unique among all models with the same recognizer name in the account/Region. |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data. |
Tags |
Tags to associate with the entity recognizer. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department. |
InputDataConfig |
[required] Specifies the format and location of the input data. The S3 bucket containing the input data must be located in the same Region as the entity recognizer being created. |
ClientRequestToken |
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one. |
LanguageCode |
[required] You can specify any of the following languages: English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), German ("de"), or Portuguese ("pt"). If you plan to use this entity recognizer with PDF, Word, or image input files, you must specify English as the language. All training documents must be in the same language. |
VolumeKmsKeyId |
ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
|
VpcConfig |
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your custom entity recognizer. For more information, see Amazon VPC. |
ModelKmsKeyId |
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:
|
ModelPolicy |
The JSON resource-based policy to attach to your custom entity recognizer model. You can use this policy to allow another Amazon Web Services account to import your custom model. Provide your JSON as a UTF-8 encoded string without line breaks. To provide valid JSON for your policy, enclose the attribute names and values in double quotes. If the JSON body is also enclosed in double quotes, then you must escape the double quotes that are inside the policy:
To avoid escaping quotes, you can use single quotes to enclose the policy and double quotes to enclose the JSON names and values:
|
A flywheel is an Amazon Web Services resource that orchestrates the ongoing training of a model for custom classification or custom entity recognition
Description
A flywheel is an Amazon Web Services resource that orchestrates the ongoing training of a model for custom classification or custom entity recognition. You can create a flywheel to start with an existing trained model, or Comprehend can create and train a new model.
See https://www.paws-r-sdk.com/docs/comprehend_create_flywheel/ for full documentation.
Usage
comprehend_create_flywheel(
FlywheelName,
ActiveModelArn = NULL,
DataAccessRoleArn,
TaskConfig = NULL,
ModelType = NULL,
DataLakeS3Uri,
DataSecurityConfig = NULL,
ClientRequestToken = NULL,
Tags = NULL
)
Arguments
FlywheelName |
[required] Name for the flywheel. |
ActiveModelArn |
To associate an existing model with the flywheel, specify the Amazon
Resource Number (ARN) of the model version. Do not set |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend the permissions required to access the flywheel data in the data lake. |
TaskConfig |
Configuration about the model associated with the flywheel. You need to
set |
ModelType |
The model type. You need to set |
DataLakeS3Uri |
[required] Enter the S3 location for the data lake. You can specify a new S3 bucket or a new folder of an existing S3 bucket. The flywheel creates the data lake at this location. |
DataSecurityConfig |
Data security configurations. |
ClientRequestToken |
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one. |
Tags |
The tags to associate with this flywheel. |
Deletes a previously created document classifier
Description
Deletes a previously created document classifier
See https://www.paws-r-sdk.com/docs/comprehend_delete_document_classifier/ for full documentation.
Usage
comprehend_delete_document_classifier(DocumentClassifierArn)
Arguments
DocumentClassifierArn |
[required] The Amazon Resource Name (ARN) that identifies the document classifier. |
Deletes a model-specific endpoint for a previously-trained custom model
Description
Deletes a model-specific endpoint for a previously-trained custom model. All endpoints must be deleted in order for the model to be deleted. For information about endpoints, see Managing endpoints.
See https://www.paws-r-sdk.com/docs/comprehend_delete_endpoint/ for full documentation.
Usage
comprehend_delete_endpoint(EndpointArn)
Arguments
EndpointArn |
[required] The Amazon Resource Number (ARN) of the endpoint being deleted. |
Deletes an entity recognizer
Description
Deletes an entity recognizer.
See https://www.paws-r-sdk.com/docs/comprehend_delete_entity_recognizer/ for full documentation.
Usage
comprehend_delete_entity_recognizer(EntityRecognizerArn)
Arguments
EntityRecognizerArn |
[required] The Amazon Resource Name (ARN) that identifies the entity recognizer. |
Deletes a flywheel
Description
Deletes a flywheel. When you delete the flywheel, Amazon Comprehend does not delete the data lake or the model associated with the flywheel.
See https://www.paws-r-sdk.com/docs/comprehend_delete_flywheel/ for full documentation.
Usage
comprehend_delete_flywheel(FlywheelArn)
Arguments
FlywheelArn |
[required] The Amazon Resource Number (ARN) of the flywheel to delete. |
Deletes a resource-based policy that is attached to a custom model
Description
Deletes a resource-based policy that is attached to a custom model.
See https://www.paws-r-sdk.com/docs/comprehend_delete_resource_policy/ for full documentation.
Usage
comprehend_delete_resource_policy(ResourceArn, PolicyRevisionId = NULL)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the custom model version that has the policy to delete. |
PolicyRevisionId |
The revision ID of the policy to delete. |
Returns information about the dataset that you specify
Description
Returns information about the dataset that you specify. For more information about datasets, see Flywheel overview in the Amazon Comprehend Developer Guide.
See https://www.paws-r-sdk.com/docs/comprehend_describe_dataset/ for full documentation.
Usage
comprehend_describe_dataset(DatasetArn)
Arguments
DatasetArn |
[required] The ARN of the dataset. |
Gets the properties associated with a document classification job
Description
Gets the properties associated with a document classification job. Use this operation to get the status of a classification job.
See https://www.paws-r-sdk.com/docs/comprehend_describe_document_classification_job/ for full documentation.
Usage
comprehend_describe_document_classification_job(JobId)
Arguments
JobId |
[required] The identifier that Amazon Comprehend generated for the job. The
|
Gets the properties associated with a document classifier
Description
Gets the properties associated with a document classifier.
See https://www.paws-r-sdk.com/docs/comprehend_describe_document_classifier/ for full documentation.
Usage
comprehend_describe_document_classifier(DocumentClassifierArn)
Arguments
DocumentClassifierArn |
[required] The Amazon Resource Name (ARN) that identifies the document classifier.
The
|
Gets the properties associated with a dominant language detection job
Description
Gets the properties associated with a dominant language detection job. Use this operation to get the status of a detection job.
See https://www.paws-r-sdk.com/docs/comprehend_describe_dominant_language_detection_job/ for full documentation.
Usage
comprehend_describe_dominant_language_detection_job(JobId)
Arguments
JobId |
[required] The identifier that Amazon Comprehend generated for the job. The
|
Gets the properties associated with a specific endpoint
Description
Gets the properties associated with a specific endpoint. Use this operation to get the status of an endpoint. For information about endpoints, see Managing endpoints.
See https://www.paws-r-sdk.com/docs/comprehend_describe_endpoint/ for full documentation.
Usage
comprehend_describe_endpoint(EndpointArn)
Arguments
EndpointArn |
[required] The Amazon Resource Number (ARN) of the endpoint being described. |
Gets the properties associated with an entities detection job
Description
Gets the properties associated with an entities detection job. Use this operation to get the status of a detection job.
See https://www.paws-r-sdk.com/docs/comprehend_describe_entities_detection_job/ for full documentation.
Usage
comprehend_describe_entities_detection_job(JobId)
Arguments
JobId |
[required] The identifier that Amazon Comprehend generated for the job. The
|
Provides details about an entity recognizer including status, S3 buckets containing training data, recognizer metadata, metrics, and so on
Description
Provides details about an entity recognizer including status, S3 buckets containing training data, recognizer metadata, metrics, and so on.
See https://www.paws-r-sdk.com/docs/comprehend_describe_entity_recognizer/ for full documentation.
Usage
comprehend_describe_entity_recognizer(EntityRecognizerArn)
Arguments
EntityRecognizerArn |
[required] The Amazon Resource Name (ARN) that identifies the entity recognizer. |
Gets the status and details of an events detection job
Description
Gets the status and details of an events detection job.
See https://www.paws-r-sdk.com/docs/comprehend_describe_events_detection_job/ for full documentation.
Usage
comprehend_describe_events_detection_job(JobId)
Arguments
JobId |
[required] The identifier of the events detection job. |
Provides configuration information about the flywheel
Description
Provides configuration information about the flywheel. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.
See https://www.paws-r-sdk.com/docs/comprehend_describe_flywheel/ for full documentation.
Usage
comprehend_describe_flywheel(FlywheelArn)
Arguments
FlywheelArn |
[required] The Amazon Resource Number (ARN) of the flywheel. |
Retrieve the configuration properties of a flywheel iteration
Description
Retrieve the configuration properties of a flywheel iteration. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.
See https://www.paws-r-sdk.com/docs/comprehend_describe_flywheel_iteration/ for full documentation.
Usage
comprehend_describe_flywheel_iteration(FlywheelArn, FlywheelIterationId)
Arguments
FlywheelArn |
[required] |
FlywheelIterationId |
[required] |
Gets the properties associated with a key phrases detection job
Description
Gets the properties associated with a key phrases detection job. Use this operation to get the status of a detection job.
See https://www.paws-r-sdk.com/docs/comprehend_describe_key_phrases_detection_job/ for full documentation.
Usage
comprehend_describe_key_phrases_detection_job(JobId)
Arguments
JobId |
[required] The identifier that Amazon Comprehend generated for the job. The
|
Gets the properties associated with a PII entities detection job
Description
Gets the properties associated with a PII entities detection job. For example, you can use this operation to get the job status.
See https://www.paws-r-sdk.com/docs/comprehend_describe_pii_entities_detection_job/ for full documentation.
Usage
comprehend_describe_pii_entities_detection_job(JobId)
Arguments
JobId |
[required] The identifier that Amazon Comprehend generated for the job. The operation returns this identifier in its response. |
Gets the details of a resource-based policy that is attached to a custom model, including the JSON body of the policy
Description
Gets the details of a resource-based policy that is attached to a custom model, including the JSON body of the policy.
See https://www.paws-r-sdk.com/docs/comprehend_describe_resource_policy/ for full documentation.
Usage
comprehend_describe_resource_policy(ResourceArn)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the custom model version that has the resource policy. |
Gets the properties associated with a sentiment detection job
Description
Gets the properties associated with a sentiment detection job. Use this operation to get the status of a detection job.
See https://www.paws-r-sdk.com/docs/comprehend_describe_sentiment_detection_job/ for full documentation.
Usage
comprehend_describe_sentiment_detection_job(JobId)
Arguments
JobId |
[required] The identifier that Amazon Comprehend generated for the job. The operation returns this identifier in its response. |
Gets the properties associated with a targeted sentiment detection job
Description
Gets the properties associated with a targeted sentiment detection job. Use this operation to get the status of the job.
See https://www.paws-r-sdk.com/docs/comprehend_describe_targeted_sentiment_detection_job/ for full documentation.
Usage
comprehend_describe_targeted_sentiment_detection_job(JobId)
Arguments
JobId |
[required] The identifier that Amazon Comprehend generated for the job. The
|
Gets the properties associated with a topic detection job
Description
Gets the properties associated with a topic detection job. Use this operation to get the status of a detection job.
See https://www.paws-r-sdk.com/docs/comprehend_describe_topics_detection_job/ for full documentation.
Usage
comprehend_describe_topics_detection_job(JobId)
Arguments
JobId |
[required] The identifier assigned by the user to the detection job. |
Determines the dominant language of the input text
Description
Determines the dominant language of the input text. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.
See https://www.paws-r-sdk.com/docs/comprehend_detect_dominant_language/ for full documentation.
Usage
comprehend_detect_dominant_language(Text)
Arguments
Text |
[required] A UTF-8 text string. The string must contain at least 20 characters. The maximum string size is 100 KB. |
Detects named entities in input text when you use the pre-trained model
Description
Detects named entities in input text when you use the pre-trained model. Detects custom entities if you have a custom entity recognition model.
See https://www.paws-r-sdk.com/docs/comprehend_detect_entities/ for full documentation.
Usage
comprehend_detect_entities(
Text = NULL,
LanguageCode = NULL,
EndpointArn = NULL,
Bytes = NULL,
DocumentReaderConfig = NULL
)
Arguments
Text |
A UTF-8 text string. The maximum string size is 100 KB. If you enter
text using this parameter, do not use the |
LanguageCode |
The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. If your request includes the endpoint for a custom entity recognition model, Amazon Comprehend uses the language of your custom model, and it ignores any language code that you specify here. All input documents must be in the same language. |
EndpointArn |
The Amazon Resource Name of an endpoint that is associated with a custom entity recognition model. Provide an endpoint if you want to detect entities by using your own custom model instead of the default model that is used by Amazon Comprehend. If you specify an endpoint, Amazon Comprehend uses the language of your custom model, and it ignores any language code that you provide in your request. For information about endpoints, see Managing endpoints. |
Bytes |
This field applies only when you use a custom entity recognition model
that was trained with PDF annotations. For other cases, enter your text
input in the Use the You can also use the Provide the input document as a sequence of base64-encoded bytes. If your code uses an Amazon Web Services SDK to detect entities, the SDK may encode the document file bytes for you. The maximum length of this field depends on the input document type. For details, see Inputs for real-time custom analysis in the Comprehend Developer Guide. If you use the |
DocumentReaderConfig |
Provides configuration parameters to override the default actions for extracting text from PDF documents and image files. |
Detects the key noun phrases found in the text
Description
Detects the key noun phrases found in the text.
See https://www.paws-r-sdk.com/docs/comprehend_detect_key_phrases/ for full documentation.
Usage
comprehend_detect_key_phrases(Text, LanguageCode)
Arguments
Text |
[required] A UTF-8 text string. The string must contain less than 100 KB of UTF-8 encoded characters. |
LanguageCode |
[required] The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language. |
Inspects the input text for entities that contain personally identifiable information (PII) and returns information about them
Description
Inspects the input text for entities that contain personally identifiable information (PII) and returns information about them.
See https://www.paws-r-sdk.com/docs/comprehend_detect_pii_entities/ for full documentation.
Usage
comprehend_detect_pii_entities(Text, LanguageCode)
Arguments
Text |
[required] A UTF-8 text string. The maximum string size is 100 KB. |
LanguageCode |
[required] The language of the input text. Enter the language code for English (en) or Spanish (es). |
Inspects text and returns an inference of the prevailing sentiment (POSITIVE, NEUTRAL, MIXED, or NEGATIVE)
Description
Inspects text and returns an inference of the prevailing sentiment (POSITIVE
, NEUTRAL
, MIXED
, or NEGATIVE
).
See https://www.paws-r-sdk.com/docs/comprehend_detect_sentiment/ for full documentation.
Usage
comprehend_detect_sentiment(Text, LanguageCode)
Arguments
Text |
[required] A UTF-8 text string. The maximum string size is 5 KB. |
LanguageCode |
[required] The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language. |
Inspects text for syntax and the part of speech of words in the document
Description
Inspects text for syntax and the part of speech of words in the document. For more information, see Syntax in the Comprehend Developer Guide.
See https://www.paws-r-sdk.com/docs/comprehend_detect_syntax/ for full documentation.
Usage
comprehend_detect_syntax(Text, LanguageCode)
Arguments
Text |
[required] A UTF-8 string. The maximum string size is 5 KB. |
LanguageCode |
[required] The language code of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt"). |
Inspects the input text and returns a sentiment analysis for each entity identified in the text
Description
Inspects the input text and returns a sentiment analysis for each entity identified in the text.
See https://www.paws-r-sdk.com/docs/comprehend_detect_targeted_sentiment/ for full documentation.
Usage
comprehend_detect_targeted_sentiment(Text, LanguageCode)
Arguments
Text |
[required] A UTF-8 text string. The maximum string length is 5 KB. |
LanguageCode |
[required] The language of the input documents. Currently, English is the only supported language. |
Performs toxicity analysis on the list of text strings that you provide as input
Description
Performs toxicity analysis on the list of text strings that you provide as input. The API response contains a results list that matches the size of the input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide.
See https://www.paws-r-sdk.com/docs/comprehend_detect_toxic_content/ for full documentation.
Usage
comprehend_detect_toxic_content(TextSegments, LanguageCode)
Arguments
TextSegments |
[required] A list of up to 10 text strings. Each string has a maximum size of 1 KB, and the maximum size of the list is 10 KB. |
LanguageCode |
[required] The language of the input text. Currently, English is the only supported language. |
Creates a new custom model that replicates a source custom model that you import
Description
Creates a new custom model that replicates a source custom model that you import. The source model can be in your Amazon Web Services account or another one.
See https://www.paws-r-sdk.com/docs/comprehend_import_model/ for full documentation.
Usage
comprehend_import_model(
SourceModelArn,
ModelName = NULL,
VersionName = NULL,
ModelKmsKeyId = NULL,
DataAccessRoleArn = NULL,
Tags = NULL
)
Arguments
SourceModelArn |
[required] The Amazon Resource Name (ARN) of the custom model to import. |
ModelName |
The name to assign to the custom model that is created in Amazon Comprehend by this import. |
VersionName |
The version name given to the custom model that is created by this import. Version names can have a maximum of 256 characters. Alphanumeric characters, hyphens (-) and underscores (_) are allowed. The version name must be unique among all models with the same classifier name in the account/Region. |
ModelKmsKeyId |
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:
|
DataAccessRoleArn |
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend permission to use Amazon Key Management Service (KMS) to encrypt or decrypt the custom model. |
Tags |
Tags to associate with the custom model that is created by this import. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department. |
List the datasets that you have configured in this Region
Description
List the datasets that you have configured in this Region. For more information about datasets, see Flywheel overview in the Amazon Comprehend Developer Guide.
See https://www.paws-r-sdk.com/docs/comprehend_list_datasets/ for full documentation.
Usage
comprehend_list_datasets(
FlywheelArn = NULL,
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
FlywheelArn |
The Amazon Resource Number (ARN) of the flywheel. |
Filter |
Filters the datasets to be returned in the response. |
NextToken |
Identifies the next page of results to return. |
MaxResults |
Maximum number of results to return in a response. The default is 100. |
Gets a list of the documentation classification jobs that you have submitted
Description
Gets a list of the documentation classification jobs that you have submitted.
See https://www.paws-r-sdk.com/docs/comprehend_list_document_classification_jobs/ for full documentation.
Usage
comprehend_list_document_classification_jobs(
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Filter |
Filters the jobs that are returned. You can filter jobs on their names, status, or the date and time that they were submitted. You can only set one filter at a time. |
NextToken |
Identifies the next page of results to return. |
MaxResults |
The maximum number of results to return in each page. The default is 100. |
Gets a list of summaries of the document classifiers that you have created
Description
Gets a list of summaries of the document classifiers that you have created
See https://www.paws-r-sdk.com/docs/comprehend_list_document_classifier_summaries/ for full documentation.
Usage
comprehend_list_document_classifier_summaries(
NextToken = NULL,
MaxResults = NULL
)
Arguments
NextToken |
Identifies the next page of results to return. |
MaxResults |
The maximum number of results to return on each page. The default is 100. |
Gets a list of the document classifiers that you have created
Description
Gets a list of the document classifiers that you have created.
See https://www.paws-r-sdk.com/docs/comprehend_list_document_classifiers/ for full documentation.
Usage
comprehend_list_document_classifiers(
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Filter |
Filters the jobs that are returned. You can filter jobs on their name, status, or the date and time that they were submitted. You can only set one filter at a time. |
NextToken |
Identifies the next page of results to return. |
MaxResults |
The maximum number of results to return in each page. The default is 100. |
Gets a list of the dominant language detection jobs that you have submitted
Description
Gets a list of the dominant language detection jobs that you have submitted.
See https://www.paws-r-sdk.com/docs/comprehend_list_dominant_language_detection_jobs/ for full documentation.
Usage
comprehend_list_dominant_language_detection_jobs(
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Filter |
Filters that jobs that are returned. You can filter jobs on their name, status, or the date and time that they were submitted. You can only set one filter at a time. |
NextToken |
Identifies the next page of results to return. |
MaxResults |
The maximum number of results to return in each page. The default is 100. |
Gets a list of all existing endpoints that you've created
Description
Gets a list of all existing endpoints that you've created. For information about endpoints, see Managing endpoints.
See https://www.paws-r-sdk.com/docs/comprehend_list_endpoints/ for full documentation.
Usage
comprehend_list_endpoints(Filter = NULL, NextToken = NULL, MaxResults = NULL)
Arguments
Filter |
Filters the endpoints that are returned. You can filter endpoints on their name, model, status, or the date and time that they were created. You can only set one filter at a time. |
NextToken |
Identifies the next page of results to return. |
MaxResults |
The maximum number of results to return in each page. The default is 100. |
Gets a list of the entity detection jobs that you have submitted
Description
Gets a list of the entity detection jobs that you have submitted.
See https://www.paws-r-sdk.com/docs/comprehend_list_entities_detection_jobs/ for full documentation.
Usage
comprehend_list_entities_detection_jobs(
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Filter |
Filters the jobs that are returned. You can filter jobs on their name, status, or the date and time that they were submitted. You can only set one filter at a time. |
NextToken |
Identifies the next page of results to return. |
MaxResults |
The maximum number of results to return in each page. The default is 100. |
Gets a list of summaries for the entity recognizers that you have created
Description
Gets a list of summaries for the entity recognizers that you have created.
See https://www.paws-r-sdk.com/docs/comprehend_list_entity_recognizer_summaries/ for full documentation.
Usage
comprehend_list_entity_recognizer_summaries(
NextToken = NULL,
MaxResults = NULL
)
Arguments
NextToken |
Identifies the next page of results to return. |
MaxResults |
The maximum number of results to return on each page. The default is 100. |
Gets a list of the properties of all entity recognizers that you created, including recognizers currently in training
Description
Gets a list of the properties of all entity recognizers that you created, including recognizers currently in training. Allows you to filter the list of recognizers based on criteria such as status and submission time. This call returns up to 500 entity recognizers in the list, with a default number of 100 recognizers in the list.
See https://www.paws-r-sdk.com/docs/comprehend_list_entity_recognizers/ for full documentation.
Usage
comprehend_list_entity_recognizers(
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Filter |
Filters the list of entities returned. You can filter on |
NextToken |
Identifies the next page of results to return. |
MaxResults |
The maximum number of results to return on each page. The default is 100. |
Gets a list of the events detection jobs that you have submitted
Description
Gets a list of the events detection jobs that you have submitted.
See https://www.paws-r-sdk.com/docs/comprehend_list_events_detection_jobs/ for full documentation.
Usage
comprehend_list_events_detection_jobs(
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Filter |
Filters the jobs that are returned. You can filter jobs on their name, status, or the date and time that they were submitted. You can only set one filter at a time. |
NextToken |
Identifies the next page of results to return. |
MaxResults |
The maximum number of results to return in each page. |
Information about the history of a flywheel iteration
Description
Information about the history of a flywheel iteration. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.
See https://www.paws-r-sdk.com/docs/comprehend_list_flywheel_iteration_history/ for full documentation.
Usage
comprehend_list_flywheel_iteration_history(
FlywheelArn,
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
FlywheelArn |
[required] The ARN of the flywheel. |
Filter |
Filter the flywheel iteration history based on creation time. |
NextToken |
Next token |
MaxResults |
Maximum number of iteration history results to return |
Gets a list of the flywheels that you have created
Description
Gets a list of the flywheels that you have created.
See https://www.paws-r-sdk.com/docs/comprehend_list_flywheels/ for full documentation.
Usage
comprehend_list_flywheels(Filter = NULL, NextToken = NULL, MaxResults = NULL)
Arguments
Filter |
Filters the flywheels that are returned. You can filter flywheels on their status, or the date and time that they were submitted. You can only set one filter at a time. |
NextToken |
Identifies the next page of results to return. |
MaxResults |
Maximum number of results to return in a response. The default is 100. |
Get a list of key phrase detection jobs that you have submitted
Description
Get a list of key phrase detection jobs that you have submitted.
See https://www.paws-r-sdk.com/docs/comprehend_list_key_phrases_detection_jobs/ for full documentation.
Usage
comprehend_list_key_phrases_detection_jobs(
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Filter |
Filters the jobs that are returned. You can filter jobs on their name, status, or the date and time that they were submitted. You can only set one filter at a time. |
NextToken |
Identifies the next page of results to return. |
MaxResults |
The maximum number of results to return in each page. The default is 100. |
Gets a list of the PII entity detection jobs that you have submitted
Description
Gets a list of the PII entity detection jobs that you have submitted.
See https://www.paws-r-sdk.com/docs/comprehend_list_pii_entities_detection_jobs/ for full documentation.
Usage
comprehend_list_pii_entities_detection_jobs(
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Filter |
Filters the jobs that are returned. You can filter jobs on their name, status, or the date and time that they were submitted. You can only set one filter at a time. |
NextToken |
Identifies the next page of results to return. |
MaxResults |
The maximum number of results to return in each page. |
Gets a list of sentiment detection jobs that you have submitted
Description
Gets a list of sentiment detection jobs that you have submitted.
See https://www.paws-r-sdk.com/docs/comprehend_list_sentiment_detection_jobs/ for full documentation.
Usage
comprehend_list_sentiment_detection_jobs(
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Filter |
Filters the jobs that are returned. You can filter jobs on their name, status, or the date and time that they were submitted. You can only set one filter at a time. |
NextToken |
Identifies the next page of results to return. |
MaxResults |
The maximum number of results to return in each page. The default is 100. |
Lists all tags associated with a given Amazon Comprehend resource
Description
Lists all tags associated with a given Amazon Comprehend resource.
See https://www.paws-r-sdk.com/docs/comprehend_list_tags_for_resource/ for full documentation.
Usage
comprehend_list_tags_for_resource(ResourceArn)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the given Amazon Comprehend resource you are querying. |
Gets a list of targeted sentiment detection jobs that you have submitted
Description
Gets a list of targeted sentiment detection jobs that you have submitted.
See https://www.paws-r-sdk.com/docs/comprehend_list_targeted_sentiment_detection_jobs/ for full documentation.
Usage
comprehend_list_targeted_sentiment_detection_jobs(
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Filter |
Filters the jobs that are returned. You can filter jobs on their name, status, or the date and time that they were submitted. You can only set one filter at a time. |
NextToken |
Identifies the next page of results to return. |
MaxResults |
The maximum number of results to return in each page. The default is 100. |
Gets a list of the topic detection jobs that you have submitted
Description
Gets a list of the topic detection jobs that you have submitted.
See https://www.paws-r-sdk.com/docs/comprehend_list_topics_detection_jobs/ for full documentation.
Usage
comprehend_list_topics_detection_jobs(
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Filter |
Filters the jobs that are returned. Jobs can be filtered on their name, status, or the date and time that they were submitted. You can set only one filter at a time. |
NextToken |
Identifies the next page of results to return. |
MaxResults |
The maximum number of results to return in each page. The default is 100. |
Attaches a resource-based policy to a custom model
Description
Attaches a resource-based policy to a custom model. You can use this policy to authorize an entity in another Amazon Web Services account to import the custom model, which replicates it in Amazon Comprehend in their account.
See https://www.paws-r-sdk.com/docs/comprehend_put_resource_policy/ for full documentation.
Usage
comprehend_put_resource_policy(
ResourceArn,
ResourcePolicy,
PolicyRevisionId = NULL
)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the custom model to attach the policy to. |
ResourcePolicy |
[required] The JSON resource-based policy to attach to your custom model. Provide your JSON as a UTF-8 encoded string without line breaks. To provide valid JSON for your policy, enclose the attribute names and values in double quotes. If the JSON body is also enclosed in double quotes, then you must escape the double quotes that are inside the policy:
To avoid escaping quotes, you can use single quotes to enclose the policy and double quotes to enclose the JSON names and values:
|
PolicyRevisionId |
The revision ID that Amazon Comprehend assigned to the policy that you are updating. If you are creating a new policy that has no prior version, don't use this parameter. Amazon Comprehend creates the revision ID for you. |
Starts an asynchronous document classification job using a custom classification model
Description
Starts an asynchronous document classification job using a custom classification model. Use the describe_document_classification_job
operation to track the progress of the job.
See https://www.paws-r-sdk.com/docs/comprehend_start_document_classification_job/ for full documentation.
Usage
comprehend_start_document_classification_job(
JobName = NULL,
DocumentClassifierArn = NULL,
InputDataConfig,
OutputDataConfig,
DataAccessRoleArn,
ClientRequestToken = NULL,
VolumeKmsKeyId = NULL,
VpcConfig = NULL,
Tags = NULL,
FlywheelArn = NULL
)
Arguments
JobName |
The identifier of the job. |
DocumentClassifierArn |
The Amazon Resource Name (ARN) of the document classifier to use to process the job. |
InputDataConfig |
[required] Specifies the format and location of the input data for the job. |
OutputDataConfig |
[required] Specifies where to send the output files. |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data. |
ClientRequestToken |
A unique identifier for the request. If you do not set the client request token, Amazon Comprehend generates one. |
VolumeKmsKeyId |
ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
|
VpcConfig |
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your document classification job. For more information, see Amazon VPC. |
Tags |
Tags to associate with the document classification job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department. |
FlywheelArn |
The Amazon Resource Number (ARN) of the flywheel associated with the model to use. |
Starts an asynchronous dominant language detection job for a collection of documents
Description
Starts an asynchronous dominant language detection job for a collection of documents. Use the operation to track the status of a job.
See https://www.paws-r-sdk.com/docs/comprehend_start_dominant_language_detection_job/ for full documentation.
Usage
comprehend_start_dominant_language_detection_job(
InputDataConfig,
OutputDataConfig,
DataAccessRoleArn,
JobName = NULL,
ClientRequestToken = NULL,
VolumeKmsKeyId = NULL,
VpcConfig = NULL,
Tags = NULL
)
Arguments
InputDataConfig |
[required] Specifies the format and location of the input data for the job. |
OutputDataConfig |
[required] Specifies where to send the output files. |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data. For more information, see Role-based permissions. |
JobName |
An identifier for the job. |
ClientRequestToken |
A unique identifier for the request. If you do not set the client request token, Amazon Comprehend generates one. |
VolumeKmsKeyId |
ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
|
VpcConfig |
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your dominant language detection job. For more information, see Amazon VPC. |
Tags |
Tags to associate with the dominant language detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department. |
Starts an asynchronous entity detection job for a collection of documents
Description
Starts an asynchronous entity detection job for a collection of documents. Use the operation to track the status of a job.
See https://www.paws-r-sdk.com/docs/comprehend_start_entities_detection_job/ for full documentation.
Usage
comprehend_start_entities_detection_job(
InputDataConfig,
OutputDataConfig,
DataAccessRoleArn,
JobName = NULL,
EntityRecognizerArn = NULL,
LanguageCode,
ClientRequestToken = NULL,
VolumeKmsKeyId = NULL,
VpcConfig = NULL,
Tags = NULL,
FlywheelArn = NULL
)
Arguments
InputDataConfig |
[required] Specifies the format and location of the input data for the job. |
OutputDataConfig |
[required] Specifies where to send the output files. |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data. For more information, see Role-based permissions. |
JobName |
The identifier of the job. |
EntityRecognizerArn |
The Amazon Resource Name (ARN) that identifies the specific entity
recognizer to be used by the
|
LanguageCode |
[required] The language of the input documents. All documents must be in the same language. You can specify any of the languages supported by Amazon Comprehend. If custom entities recognition is used, this parameter is ignored and the language used for training the model is used instead. |
ClientRequestToken |
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one. |
VolumeKmsKeyId |
ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
|
VpcConfig |
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your entity detection job. For more information, see Amazon VPC. |
Tags |
Tags to associate with the entities detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department. |
FlywheelArn |
The Amazon Resource Number (ARN) of the flywheel associated with the model to use. |
Starts an asynchronous event detection job for a collection of documents
Description
Starts an asynchronous event detection job for a collection of documents.
See https://www.paws-r-sdk.com/docs/comprehend_start_events_detection_job/ for full documentation.
Usage
comprehend_start_events_detection_job(
InputDataConfig,
OutputDataConfig,
DataAccessRoleArn,
JobName = NULL,
LanguageCode,
ClientRequestToken = NULL,
TargetEventTypes,
Tags = NULL
)
Arguments
InputDataConfig |
[required] Specifies the format and location of the input data for the job. |
OutputDataConfig |
[required] Specifies where to send the output files. |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data. |
JobName |
The identifier of the events detection job. |
LanguageCode |
[required] The language code of the input documents. |
ClientRequestToken |
An unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one. |
TargetEventTypes |
[required] The types of events to detect in the input documents. |
Tags |
Tags to associate with the events detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department. |
Start the flywheel iteration
Description
Start the flywheel iteration.This operation uses any new datasets to train a new model version. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.
See https://www.paws-r-sdk.com/docs/comprehend_start_flywheel_iteration/ for full documentation.
Usage
comprehend_start_flywheel_iteration(FlywheelArn, ClientRequestToken = NULL)
Arguments
FlywheelArn |
[required] The ARN of the flywheel. |
ClientRequestToken |
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one. |
Starts an asynchronous key phrase detection job for a collection of documents
Description
Starts an asynchronous key phrase detection job for a collection of documents. Use the operation to track the status of a job.
See https://www.paws-r-sdk.com/docs/comprehend_start_key_phrases_detection_job/ for full documentation.
Usage
comprehend_start_key_phrases_detection_job(
InputDataConfig,
OutputDataConfig,
DataAccessRoleArn,
JobName = NULL,
LanguageCode,
ClientRequestToken = NULL,
VolumeKmsKeyId = NULL,
VpcConfig = NULL,
Tags = NULL
)
Arguments
InputDataConfig |
[required] Specifies the format and location of the input data for the job. |
OutputDataConfig |
[required] Specifies where to send the output files. |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data. For more information, see Role-based permissions. |
JobName |
The identifier of the job. |
LanguageCode |
[required] The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language. |
ClientRequestToken |
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one. |
VolumeKmsKeyId |
ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
|
VpcConfig |
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your key phrases detection job. For more information, see Amazon VPC. |
Tags |
Tags to associate with the key phrases detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department. |
Starts an asynchronous PII entity detection job for a collection of documents
Description
Starts an asynchronous PII entity detection job for a collection of documents.
See https://www.paws-r-sdk.com/docs/comprehend_start_pii_entities_detection_job/ for full documentation.
Usage
comprehend_start_pii_entities_detection_job(
InputDataConfig,
OutputDataConfig,
Mode,
RedactionConfig = NULL,
DataAccessRoleArn,
JobName = NULL,
LanguageCode,
ClientRequestToken = NULL,
Tags = NULL
)
Arguments
InputDataConfig |
[required] The input properties for a PII entities detection job. |
OutputDataConfig |
[required] Provides configuration parameters for the output of PII entity detection jobs. |
Mode |
[required] Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted. |
RedactionConfig |
Provides configuration parameters for PII entity redaction. This parameter is required if you set the |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data. |
JobName |
The identifier of the job. |
LanguageCode |
[required] The language of the input documents. Enter the language code for English (en) or Spanish (es). |
ClientRequestToken |
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one. |
Tags |
Tags to associate with the PII entities detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department. |
Starts an asynchronous sentiment detection job for a collection of documents
Description
Starts an asynchronous sentiment detection job for a collection of documents. Use the operation to track the status of a job.
See https://www.paws-r-sdk.com/docs/comprehend_start_sentiment_detection_job/ for full documentation.
Usage
comprehend_start_sentiment_detection_job(
InputDataConfig,
OutputDataConfig,
DataAccessRoleArn,
JobName = NULL,
LanguageCode,
ClientRequestToken = NULL,
VolumeKmsKeyId = NULL,
VpcConfig = NULL,
Tags = NULL
)
Arguments
InputDataConfig |
[required] Specifies the format and location of the input data for the job. |
OutputDataConfig |
[required] Specifies where to send the output files. |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data. For more information, see Role-based permissions. |
JobName |
The identifier of the job. |
LanguageCode |
[required] The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language. |
ClientRequestToken |
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one. |
VolumeKmsKeyId |
ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
|
VpcConfig |
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your sentiment detection job. For more information, see Amazon VPC. |
Tags |
Tags to associate with the sentiment detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department. |
Starts an asynchronous targeted sentiment detection job for a collection of documents
Description
Starts an asynchronous targeted sentiment detection job for a collection of documents. Use the describe_targeted_sentiment_detection_job
operation to track the status of a job.
See https://www.paws-r-sdk.com/docs/comprehend_start_targeted_sentiment_detection_job/ for full documentation.
Usage
comprehend_start_targeted_sentiment_detection_job(
InputDataConfig,
OutputDataConfig,
DataAccessRoleArn,
JobName = NULL,
LanguageCode,
ClientRequestToken = NULL,
VolumeKmsKeyId = NULL,
VpcConfig = NULL,
Tags = NULL
)
Arguments
InputDataConfig |
[required] |
OutputDataConfig |
[required] Specifies where to send the output files. |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data. For more information, see Role-based permissions. |
JobName |
The identifier of the job. |
LanguageCode |
[required] The language of the input documents. Currently, English is the only supported language. |
ClientRequestToken |
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one. |
VolumeKmsKeyId |
ID for the KMS key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
|
VpcConfig |
|
Tags |
Tags to associate with the targeted sentiment detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department. |
Starts an asynchronous topic detection job
Description
Starts an asynchronous topic detection job. Use the DescribeTopicDetectionJob
operation to track the status of a job.
See https://www.paws-r-sdk.com/docs/comprehend_start_topics_detection_job/ for full documentation.
Usage
comprehend_start_topics_detection_job(
InputDataConfig,
OutputDataConfig,
DataAccessRoleArn,
JobName = NULL,
NumberOfTopics = NULL,
ClientRequestToken = NULL,
VolumeKmsKeyId = NULL,
VpcConfig = NULL,
Tags = NULL
)
Arguments
InputDataConfig |
[required] Specifies the format and location of the input data for the job. |
OutputDataConfig |
[required] Specifies where to send the output files. The output is a compressed
archive with two files, |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data. For more information, see Role-based permissions. |
JobName |
The identifier of the job. |
NumberOfTopics |
The number of topics to detect. |
ClientRequestToken |
A unique identifier for the request. If you do not set the client request token, Amazon Comprehend generates one. |
VolumeKmsKeyId |
ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
|
VpcConfig |
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your topic detection job. For more information, see Amazon VPC. |
Tags |
Tags to associate with the topics detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department. |
Stops a dominant language detection job in progress
Description
Stops a dominant language detection job in progress.
See https://www.paws-r-sdk.com/docs/comprehend_stop_dominant_language_detection_job/ for full documentation.
Usage
comprehend_stop_dominant_language_detection_job(JobId)
Arguments
JobId |
[required] The identifier of the dominant language detection job to stop. |
Stops an entities detection job in progress
Description
Stops an entities detection job in progress.
See https://www.paws-r-sdk.com/docs/comprehend_stop_entities_detection_job/ for full documentation.
Usage
comprehend_stop_entities_detection_job(JobId)
Arguments
JobId |
[required] The identifier of the entities detection job to stop. |
Stops an events detection job in progress
Description
Stops an events detection job in progress.
See https://www.paws-r-sdk.com/docs/comprehend_stop_events_detection_job/ for full documentation.
Usage
comprehend_stop_events_detection_job(JobId)
Arguments
JobId |
[required] The identifier of the events detection job to stop. |
Stops a key phrases detection job in progress
Description
Stops a key phrases detection job in progress.
See https://www.paws-r-sdk.com/docs/comprehend_stop_key_phrases_detection_job/ for full documentation.
Usage
comprehend_stop_key_phrases_detection_job(JobId)
Arguments
JobId |
[required] The identifier of the key phrases detection job to stop. |
Stops a PII entities detection job in progress
Description
Stops a PII entities detection job in progress.
See https://www.paws-r-sdk.com/docs/comprehend_stop_pii_entities_detection_job/ for full documentation.
Usage
comprehend_stop_pii_entities_detection_job(JobId)
Arguments
JobId |
[required] The identifier of the PII entities detection job to stop. |
Stops a sentiment detection job in progress
Description
Stops a sentiment detection job in progress.
See https://www.paws-r-sdk.com/docs/comprehend_stop_sentiment_detection_job/ for full documentation.
Usage
comprehend_stop_sentiment_detection_job(JobId)
Arguments
JobId |
[required] The identifier of the sentiment detection job to stop. |
Stops a targeted sentiment detection job in progress
Description
Stops a targeted sentiment detection job in progress.
See https://www.paws-r-sdk.com/docs/comprehend_stop_targeted_sentiment_detection_job/ for full documentation.
Usage
comprehend_stop_targeted_sentiment_detection_job(JobId)
Arguments
JobId |
[required] The identifier of the targeted sentiment detection job to stop. |
Stops a document classifier training job while in progress
Description
Stops a document classifier training job while in progress.
See https://www.paws-r-sdk.com/docs/comprehend_stop_training_document_classifier/ for full documentation.
Usage
comprehend_stop_training_document_classifier(DocumentClassifierArn)
Arguments
DocumentClassifierArn |
[required] The Amazon Resource Name (ARN) that identifies the document classifier currently being trained. |
Stops an entity recognizer training job while in progress
Description
Stops an entity recognizer training job while in progress.
See https://www.paws-r-sdk.com/docs/comprehend_stop_training_entity_recognizer/ for full documentation.
Usage
comprehend_stop_training_entity_recognizer(EntityRecognizerArn)
Arguments
EntityRecognizerArn |
[required] The Amazon Resource Name (ARN) that identifies the entity recognizer currently being trained. |
Associates a specific tag with an Amazon Comprehend resource
Description
Associates a specific tag with an Amazon Comprehend resource. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
See https://www.paws-r-sdk.com/docs/comprehend_tag_resource/ for full documentation.
Usage
comprehend_tag_resource(ResourceArn, Tags)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the given Amazon Comprehend resource to which you want to associate the tags. |
Tags |
[required] Tags being associated with a specific Amazon Comprehend resource. There can be a maximum of 50 tags (both existing and pending) associated with a specific resource. |
Removes a specific tag associated with an Amazon Comprehend resource
Description
Removes a specific tag associated with an Amazon Comprehend resource.
See https://www.paws-r-sdk.com/docs/comprehend_untag_resource/ for full documentation.
Usage
comprehend_untag_resource(ResourceArn, TagKeys)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the given Amazon Comprehend resource from which you want to remove the tags. |
TagKeys |
[required] The initial part of a key-value pair that forms a tag being removed from a given resource. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department. Keys must be unique and cannot be duplicated for a particular resource. |
Updates information about the specified endpoint
Description
Updates information about the specified endpoint. For information about endpoints, see Managing endpoints.
See https://www.paws-r-sdk.com/docs/comprehend_update_endpoint/ for full documentation.
Usage
comprehend_update_endpoint(
EndpointArn,
DesiredModelArn = NULL,
DesiredInferenceUnits = NULL,
DesiredDataAccessRoleArn = NULL,
FlywheelArn = NULL
)
Arguments
EndpointArn |
[required] The Amazon Resource Number (ARN) of the endpoint being updated. |
DesiredModelArn |
The ARN of the new model to use when updating an existing endpoint. |
DesiredInferenceUnits |
The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second. |
DesiredDataAccessRoleArn |
Data access role ARN to use in case the new model is encrypted with a customer CMK. |
FlywheelArn |
The Amazon Resource Number (ARN) of the flywheel |
Update the configuration information for an existing flywheel
Description
Update the configuration information for an existing flywheel.
See https://www.paws-r-sdk.com/docs/comprehend_update_flywheel/ for full documentation.
Usage
comprehend_update_flywheel(
FlywheelArn,
ActiveModelArn = NULL,
DataAccessRoleArn = NULL,
DataSecurityConfig = NULL
)
Arguments
FlywheelArn |
[required] The Amazon Resource Number (ARN) of the flywheel to update. |
ActiveModelArn |
The Amazon Resource Number (ARN) of the active model version. |
DataAccessRoleArn |
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend permission to access the flywheel data. |
DataSecurityConfig |
Flywheel data security configuration. |
AWS Comprehend Medical
Description
Amazon Comprehend Medical extracts structured information from unstructured clinical text. Use these actions to gain insight in your documents. Amazon Comprehend Medical only detects entities in English language texts. Amazon Comprehend Medical places limits on the sizes of files allowed for different API operations. To learn more, see Guidelines and quotas in the Amazon Comprehend Medical Developer Guide.
Usage
comprehendmedical(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- comprehendmedical( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
describe_entities_detection_v2_job | Gets the properties associated with a medical entities detection job |
describe_icd10cm_inference_job | Gets the properties associated with an InferICD10CM job |
describe_phi_detection_job | Gets the properties associated with a protected health information (PHI) detection job |
describe_rx_norm_inference_job | Gets the properties associated with an InferRxNorm job |
describe_snomedct_inference_job | Gets the properties associated with an InferSNOMEDCT job |
detect_entities | The DetectEntities operation is deprecated |
detect_entities_v2 | Inspects the clinical text for a variety of medical entities and returns specific information about them such as entity category, location, and confidence score on that information |
detect_phi | Inspects the clinical text for protected health information (PHI) entities and returns the entity category, location, and confidence score for each entity |
infer_icd10cm | InferICD10CM detects medical conditions as entities listed in a patient record and links those entities to normalized concept identifiers in the ICD-10-CM knowledge base from the Centers for Disease Control |
infer_rx_norm | InferRxNorm detects medications as entities listed in a patient record and links to the normalized concept identifiers in the RxNorm database from the National Library of Medicine |
infer_snomedct | InferSNOMEDCT detects possible medical concepts as entities and links them to codes from the Systematized Nomenclature of Medicine, Clinical Terms (SNOMED-CT) ontology |
list_entities_detection_v2_jobs | Gets a list of medical entity detection jobs that you have submitted |
list_icd10cm_inference_jobs | Gets a list of InferICD10CM jobs that you have submitted |
list_phi_detection_jobs | Gets a list of protected health information (PHI) detection jobs you have submitted |
list_rx_norm_inference_jobs | Gets a list of InferRxNorm jobs that you have submitted |
list_snomedct_inference_jobs | Gets a list of InferSNOMEDCT jobs a user has submitted |
start_entities_detection_v2_job | Starts an asynchronous medical entity detection job for a collection of documents |
start_icd10cm_inference_job | Starts an asynchronous job to detect medical conditions and link them to the ICD-10-CM ontology |
start_phi_detection_job | Starts an asynchronous job to detect protected health information (PHI) |
start_rx_norm_inference_job | Starts an asynchronous job to detect medication entities and link them to the RxNorm ontology |
start_snomedct_inference_job | Starts an asynchronous job to detect medical concepts and link them to the SNOMED-CT ontology |
stop_entities_detection_v2_job | Stops a medical entities detection job in progress |
stop_icd10cm_inference_job | Stops an InferICD10CM inference job in progress |
stop_phi_detection_job | Stops a protected health information (PHI) detection job in progress |
stop_rx_norm_inference_job | Stops an InferRxNorm inference job in progress |
stop_snomedct_inference_job | Stops an InferSNOMEDCT inference job in progress |
Examples
## Not run:
svc <- comprehendmedical()
svc$describe_entities_detection_v2_job(
Foo = 123
)
## End(Not run)
Gets the properties associated with a medical entities detection job
Description
Gets the properties associated with a medical entities detection job. Use this operation to get the status of a detection job.
See https://www.paws-r-sdk.com/docs/comprehendmedical_describe_entities_detection_v2_job/ for full documentation.
Usage
comprehendmedical_describe_entities_detection_v2_job(JobId)
Arguments
JobId |
[required] The identifier that Amazon Comprehend Medical generated for the job. The
|
Gets the properties associated with an InferICD10CM job
Description
Gets the properties associated with an InferICD10CM job. Use this operation to get the status of an inference job.
See https://www.paws-r-sdk.com/docs/comprehendmedical_describe_icd10cm_inference_job/ for full documentation.
Usage
comprehendmedical_describe_icd10cm_inference_job(JobId)
Arguments
JobId |
[required] The identifier that Amazon Comprehend Medical generated for the job.
|
Gets the properties associated with a protected health information (PHI) detection job
Description
Gets the properties associated with a protected health information (PHI) detection job. Use this operation to get the status of a detection job.
See https://www.paws-r-sdk.com/docs/comprehendmedical_describe_phi_detection_job/ for full documentation.
Usage
comprehendmedical_describe_phi_detection_job(JobId)
Arguments
JobId |
[required] The identifier that Amazon Comprehend Medical generated for the job. The
|
Gets the properties associated with an InferRxNorm job
Description
Gets the properties associated with an InferRxNorm job. Use this operation to get the status of an inference job.
See https://www.paws-r-sdk.com/docs/comprehendmedical_describe_rx_norm_inference_job/ for full documentation.
Usage
comprehendmedical_describe_rx_norm_inference_job(JobId)
Arguments
JobId |
[required] The identifier that Amazon Comprehend Medical generated for the job. The StartRxNormInferenceJob operation returns this identifier in its response. |
Gets the properties associated with an InferSNOMEDCT job
Description
Gets the properties associated with an InferSNOMEDCT job. Use this operation to get the status of an inference job.
See https://www.paws-r-sdk.com/docs/comprehendmedical_describe_snomedct_inference_job/ for full documentation.
Usage
comprehendmedical_describe_snomedct_inference_job(JobId)
Arguments
JobId |
[required] The identifier that Amazon Comprehend Medical generated for the job. The StartSNOMEDCTInferenceJob operation returns this identifier in its response. |
The DetectEntities operation is deprecated
Description
The detect_entities
operation is deprecated. You should use the detect_entities_v2
operation instead.
See https://www.paws-r-sdk.com/docs/comprehendmedical_detect_entities/ for full documentation.
Usage
comprehendmedical_detect_entities(Text)
Arguments
Text |
[required] A UTF-8 text string containing the clinical content being examined for entities. |
Inspects the clinical text for a variety of medical entities and returns specific information about them such as entity category, location, and confidence score on that information
Description
Inspects the clinical text for a variety of medical entities and returns specific information about them such as entity category, location, and confidence score on that information. Amazon Comprehend Medical only detects medical entities in English language texts.
See https://www.paws-r-sdk.com/docs/comprehendmedical_detect_entities_v2/ for full documentation.
Usage
comprehendmedical_detect_entities_v2(Text)
Arguments
Text |
[required] A UTF-8 string containing the clinical content being examined for entities. |
Inspects the clinical text for protected health information (PHI) entities and returns the entity category, location, and confidence score for each entity
Description
Inspects the clinical text for protected health information (PHI) entities and returns the entity category, location, and confidence score for each entity. Amazon Comprehend Medical only detects entities in English language texts.
See https://www.paws-r-sdk.com/docs/comprehendmedical_detect_phi/ for full documentation.
Usage
comprehendmedical_detect_phi(Text)
Arguments
Text |
[required] A UTF-8 text string containing the clinical content being examined for PHI entities. |
InferICD10CM detects medical conditions as entities listed in a patient record and links those entities to normalized concept identifiers in the ICD-10-CM knowledge base from the Centers for Disease Control
Description
InferICD10CM detects medical conditions as entities listed in a patient record and links those entities to normalized concept identifiers in the ICD-10-CM knowledge base from the Centers for Disease Control. Amazon Comprehend Medical only detects medical entities in English language texts.
See https://www.paws-r-sdk.com/docs/comprehendmedical_infer_icd10cm/ for full documentation.
Usage
comprehendmedical_infer_icd10cm(Text)
Arguments
Text |
[required] The input text used for analysis. |
InferRxNorm detects medications as entities listed in a patient record and links to the normalized concept identifiers in the RxNorm database from the National Library of Medicine
Description
InferRxNorm detects medications as entities listed in a patient record and links to the normalized concept identifiers in the RxNorm database from the National Library of Medicine. Amazon Comprehend Medical only detects medical entities in English language texts.
See https://www.paws-r-sdk.com/docs/comprehendmedical_infer_rx_norm/ for full documentation.
Usage
comprehendmedical_infer_rx_norm(Text)
Arguments
Text |
[required] The input text used for analysis. |
InferSNOMEDCT detects possible medical concepts as entities and links them to codes from the Systematized Nomenclature of Medicine, Clinical Terms (SNOMED-CT) ontology
Description
InferSNOMEDCT detects possible medical concepts as entities and links them to codes from the Systematized Nomenclature of Medicine, Clinical Terms (SNOMED-CT) ontology
See https://www.paws-r-sdk.com/docs/comprehendmedical_infer_snomedct/ for full documentation.
Usage
comprehendmedical_infer_snomedct(Text)
Arguments
Text |
[required] The input text to be analyzed using InferSNOMEDCT. |
Gets a list of medical entity detection jobs that you have submitted
Description
Gets a list of medical entity detection jobs that you have submitted.
See https://www.paws-r-sdk.com/docs/comprehendmedical_list_entities_detection_v2_jobs/ for full documentation.
Usage
comprehendmedical_list_entities_detection_v2_jobs(
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Filter |
Filters the jobs that are returned. You can filter jobs based on their names, status, or the date and time that they were submitted. You can only set one filter at a time. |
NextToken |
Identifies the next page of results to return. |
MaxResults |
The maximum number of results to return in each page. The default is 100. |
Gets a list of InferICD10CM jobs that you have submitted
Description
Gets a list of InferICD10CM jobs that you have submitted.
See https://www.paws-r-sdk.com/docs/comprehendmedical_list_icd10cm_inference_jobs/ for full documentation.
Usage
comprehendmedical_list_icd10cm_inference_jobs(
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Filter |
Filters the jobs that are returned. You can filter jobs based on their names, status, or the date and time that they were submitted. You can only set one filter at a time. |
NextToken |
Identifies the next page of results to return. |
MaxResults |
The maximum number of results to return in each page. The default is 100. |
Gets a list of protected health information (PHI) detection jobs you have submitted
Description
Gets a list of protected health information (PHI) detection jobs you have submitted.
See https://www.paws-r-sdk.com/docs/comprehendmedical_list_phi_detection_jobs/ for full documentation.
Usage
comprehendmedical_list_phi_detection_jobs(
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Filter |
Filters the jobs that are returned. You can filter jobs based on their names, status, or the date and time that they were submitted. You can only set one filter at a time. |
NextToken |
Identifies the next page of results to return. |
MaxResults |
The maximum number of results to return in each page. The default is 100. |
Gets a list of InferRxNorm jobs that you have submitted
Description
Gets a list of InferRxNorm jobs that you have submitted.
See https://www.paws-r-sdk.com/docs/comprehendmedical_list_rx_norm_inference_jobs/ for full documentation.
Usage
comprehendmedical_list_rx_norm_inference_jobs(
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Filter |
Filters the jobs that are returned. You can filter jobs based on their names, status, or the date and time that they were submitted. You can only set one filter at a time. |
NextToken |
Identifies the next page of results to return. |
MaxResults |
Identifies the next page of results to return. |
Gets a list of InferSNOMEDCT jobs a user has submitted
Description
Gets a list of InferSNOMEDCT jobs a user has submitted.
See https://www.paws-r-sdk.com/docs/comprehendmedical_list_snomedct_inference_jobs/ for full documentation.
Usage
comprehendmedical_list_snomedct_inference_jobs(
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Filter |
|
NextToken |
Identifies the next page of InferSNOMEDCT results to return. |
MaxResults |
The maximum number of results to return in each page. The default is 100. |
Starts an asynchronous medical entity detection job for a collection of documents
Description
Starts an asynchronous medical entity detection job for a collection of documents. Use the describe_entities_detection_v2_job
operation to track the status of a job.
See https://www.paws-r-sdk.com/docs/comprehendmedical_start_entities_detection_v2_job/ for full documentation.
Usage
comprehendmedical_start_entities_detection_v2_job(
InputDataConfig,
OutputDataConfig,
DataAccessRoleArn,
JobName = NULL,
ClientRequestToken = NULL,
KMSKey = NULL,
LanguageCode
)
Arguments
InputDataConfig |
[required] The input configuration that specifies the format and location of the input data for the job. |
OutputDataConfig |
[required] The output configuration that specifies where to send the output files. |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend Medical read access to your input data. For more information, see Role-Based Permissions Required for Asynchronous Operations. |
JobName |
The identifier of the job. |
ClientRequestToken |
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend Medical generates one for you. |
KMSKey |
An AWS Key Management Service key to encrypt your output files. If you do not specify a key, the files are written in plain text. |
LanguageCode |
[required] The language of the input documents. All documents must be in the same language. Amazon Comprehend Medical processes files in US English (en). |
Starts an asynchronous job to detect medical conditions and link them to the ICD-10-CM ontology
Description
Starts an asynchronous job to detect medical conditions and link them to the ICD-10-CM ontology. Use the describe_icd10cm_inference_job
operation to track the status of a job.
See https://www.paws-r-sdk.com/docs/comprehendmedical_start_icd10cm_inference_job/ for full documentation.
Usage
comprehendmedical_start_icd10cm_inference_job(
InputDataConfig,
OutputDataConfig,
DataAccessRoleArn,
JobName = NULL,
ClientRequestToken = NULL,
KMSKey = NULL,
LanguageCode
)
Arguments
InputDataConfig |
[required] Specifies the format and location of the input data for the job. |
OutputDataConfig |
[required] Specifies where to send the output files. |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend Medical read access to your input data. For more information, see Role-Based Permissions Required for Asynchronous Operations. |
JobName |
The identifier of the job. |
ClientRequestToken |
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend Medical generates one. |
KMSKey |
An AWS Key Management Service key to encrypt your output files. If you do not specify a key, the files are written in plain text. |
LanguageCode |
[required] The language of the input documents. All documents must be in the same language. |
Starts an asynchronous job to detect protected health information (PHI)
Description
Starts an asynchronous job to detect protected health information (PHI). Use the describe_phi_detection_job
operation to track the status of a job.
See https://www.paws-r-sdk.com/docs/comprehendmedical_start_phi_detection_job/ for full documentation.
Usage
comprehendmedical_start_phi_detection_job(
InputDataConfig,
OutputDataConfig,
DataAccessRoleArn,
JobName = NULL,
ClientRequestToken = NULL,
KMSKey = NULL,
LanguageCode
)
Arguments
InputDataConfig |
[required] Specifies the format and location of the input data for the job. |
OutputDataConfig |
[required] Specifies where to send the output files. |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend Medical read access to your input data. For more information, see Role-Based Permissions Required for Asynchronous Operations. |
JobName |
The identifier of the job. |
ClientRequestToken |
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend Medical generates one. |
KMSKey |
An AWS Key Management Service key to encrypt your output files. If you do not specify a key, the files are written in plain text. |
LanguageCode |
[required] The language of the input documents. All documents must be in the same language. |
Starts an asynchronous job to detect medication entities and link them to the RxNorm ontology
Description
Starts an asynchronous job to detect medication entities and link them to the RxNorm ontology. Use the describe_rx_norm_inference_job
operation to track the status of a job.
See https://www.paws-r-sdk.com/docs/comprehendmedical_start_rx_norm_inference_job/ for full documentation.
Usage
comprehendmedical_start_rx_norm_inference_job(
InputDataConfig,
OutputDataConfig,
DataAccessRoleArn,
JobName = NULL,
ClientRequestToken = NULL,
KMSKey = NULL,
LanguageCode
)
Arguments
InputDataConfig |
[required] Specifies the format and location of the input data for the job. |
OutputDataConfig |
[required] Specifies where to send the output files. |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend Medical read access to your input data. For more information, see Role-Based Permissions Required for Asynchronous Operations. |
JobName |
The identifier of the job. |
ClientRequestToken |
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend Medical generates one. |
KMSKey |
An AWS Key Management Service key to encrypt your output files. If you do not specify a key, the files are written in plain text. |
LanguageCode |
[required] The language of the input documents. All documents must be in the same language. |
Starts an asynchronous job to detect medical concepts and link them to the SNOMED-CT ontology
Description
Starts an asynchronous job to detect medical concepts and link them to the SNOMED-CT ontology. Use the DescribeSNOMEDCTInferenceJob operation to track the status of a job.
See https://www.paws-r-sdk.com/docs/comprehendmedical_start_snomedct_inference_job/ for full documentation.
Usage
comprehendmedical_start_snomedct_inference_job(
InputDataConfig,
OutputDataConfig,
DataAccessRoleArn,
JobName = NULL,
ClientRequestToken = NULL,
KMSKey = NULL,
LanguageCode
)
Arguments
InputDataConfig |
[required] |
OutputDataConfig |
[required] |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend Medical read access to your input data. |
JobName |
The user generated name the asynchronous InferSNOMEDCT job. |
ClientRequestToken |
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend Medical generates one. |
KMSKey |
An AWS Key Management Service key used to encrypt your output files. If you do not specify a key, the files are written in plain text. |
LanguageCode |
[required] The language of the input documents. All documents must be in the same language. |
Stops a medical entities detection job in progress
Description
Stops a medical entities detection job in progress.
See https://www.paws-r-sdk.com/docs/comprehendmedical_stop_entities_detection_v2_job/ for full documentation.
Usage
comprehendmedical_stop_entities_detection_v2_job(JobId)
Arguments
JobId |
[required] The identifier of the medical entities job to stop. |
Stops an InferICD10CM inference job in progress
Description
Stops an InferICD10CM inference job in progress.
See https://www.paws-r-sdk.com/docs/comprehendmedical_stop_icd10cm_inference_job/ for full documentation.
Usage
comprehendmedical_stop_icd10cm_inference_job(JobId)
Arguments
JobId |
[required] The identifier of the job. |
Stops a protected health information (PHI) detection job in progress
Description
Stops a protected health information (PHI) detection job in progress.
See https://www.paws-r-sdk.com/docs/comprehendmedical_stop_phi_detection_job/ for full documentation.
Usage
comprehendmedical_stop_phi_detection_job(JobId)
Arguments
JobId |
[required] The identifier of the PHI detection job to stop. |
Stops an InferRxNorm inference job in progress
Description
Stops an InferRxNorm inference job in progress.
See https://www.paws-r-sdk.com/docs/comprehendmedical_stop_rx_norm_inference_job/ for full documentation.
Usage
comprehendmedical_stop_rx_norm_inference_job(JobId)
Arguments
JobId |
[required] The identifier of the job. |
Stops an InferSNOMEDCT inference job in progress
Description
Stops an InferSNOMEDCT inference job in progress.
See https://www.paws-r-sdk.com/docs/comprehendmedical_stop_snomedct_inference_job/ for full documentation.
Usage
comprehendmedical_stop_snomedct_inference_job(JobId)
Arguments
JobId |
[required] The job id of the asynchronous InferSNOMEDCT job to be stopped. |
Amazon Forecast Query Service
Description
Provides APIs for creating and managing Amazon Forecast resources.
Usage
forecastqueryservice(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- forecastqueryservice( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
query_forecast | Retrieves a forecast for a single item, filtered by the supplied criteria |
query_what_if_forecast | Retrieves a what-if forecast |
Examples
## Not run:
svc <- forecastqueryservice()
svc$query_forecast(
Foo = 123
)
## End(Not run)
Retrieves a forecast for a single item, filtered by the supplied criteria
Description
Retrieves a forecast for a single item, filtered by the supplied criteria.
See https://www.paws-r-sdk.com/docs/forecastqueryservice_query_forecast/ for full documentation.
Usage
forecastqueryservice_query_forecast(
ForecastArn,
StartDate = NULL,
EndDate = NULL,
Filters,
NextToken = NULL
)
Arguments
ForecastArn |
[required] The Amazon Resource Name (ARN) of the forecast to query. |
StartDate |
The start date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example, 2015-01-01T08:00:00. |
EndDate |
The end date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example, 2015-01-01T20:00:00. |
Filters |
[required] The filtering criteria to apply when retrieving the forecast. For
example, to get the forecast for
To get the full forecast, use the CreateForecastExportJob operation. |
NextToken |
If the result of the previous request was truncated, the response
includes a |
Retrieves a what-if forecast
Description
Retrieves a what-if forecast.
See https://www.paws-r-sdk.com/docs/forecastqueryservice_query_what_if_forecast/ for full documentation.
Usage
forecastqueryservice_query_what_if_forecast(
WhatIfForecastArn,
StartDate = NULL,
EndDate = NULL,
Filters,
NextToken = NULL
)
Arguments
WhatIfForecastArn |
[required] The Amazon Resource Name (ARN) of the what-if forecast to query. |
StartDate |
The start date for the what-if forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example, 2015-01-01T08:00:00. |
EndDate |
The end date for the what-if forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example, 2015-01-01T20:00:00. |
Filters |
[required] The filtering criteria to apply when retrieving the forecast. For
example, to get the forecast for
To get the full what-if forecast, use the CreateForecastExportJob operation. |
NextToken |
If the result of the previous request was truncated, the response
includes a |
Amazon Forecast Service
Description
Provides APIs for creating and managing Amazon Forecast resources.
Usage
forecastservice(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- forecastservice( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
create_auto_predictor | Creates an Amazon Forecast predictor |
create_dataset | Creates an Amazon Forecast dataset |
create_dataset_group | Creates a dataset group, which holds a collection of related datasets |
create_dataset_import_job | Imports your training data to an Amazon Forecast dataset |
create_explainability | Explainability is only available for Forecasts and Predictors generated from an AutoPredictor (CreateAutoPredictor) |
create_explainability_export | Exports an Explainability resource created by the CreateExplainability operation |
create_forecast | Creates a forecast for each item in the TARGET_TIME_SERIES dataset that was used to train the predictor |
create_forecast_export_job | Exports a forecast created by the CreateForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket |
create_monitor | Creates a predictor monitor resource for an existing auto predictor |
create_predictor | This operation creates a legacy predictor that does not include all the predictor functionalities provided by Amazon Forecast |
create_predictor_backtest_export_job | Exports backtest forecasts and accuracy metrics generated by the CreateAutoPredictor or CreatePredictor operations |
create_what_if_analysis | What-if analysis is a scenario modeling technique where you make a hypothetical change to a time series and compare the forecasts generated by these changes against the baseline, unchanged time series |
create_what_if_forecast | A what-if forecast is a forecast that is created from a modified version of the baseline forecast |
create_what_if_forecast_export | Exports a forecast created by the CreateWhatIfForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket |
delete_dataset | Deletes an Amazon Forecast dataset that was created using the CreateDataset operation |
delete_dataset_group | Deletes a dataset group created using the CreateDatasetGroup operation |
delete_dataset_import_job | Deletes a dataset import job created using the CreateDatasetImportJob operation |
delete_explainability | Deletes an Explainability resource |
delete_explainability_export | Deletes an Explainability export |
delete_forecast | Deletes a forecast created using the CreateForecast operation |
delete_forecast_export_job | Deletes a forecast export job created using the CreateForecastExportJob operation |
delete_monitor | Deletes a monitor resource |
delete_predictor | Deletes a predictor created using the DescribePredictor or CreatePredictor operations |
delete_predictor_backtest_export_job | Deletes a predictor backtest export job |
delete_resource_tree | Deletes an entire resource tree |
delete_what_if_analysis | Deletes a what-if analysis created using the CreateWhatIfAnalysis operation |
delete_what_if_forecast | Deletes a what-if forecast created using the CreateWhatIfForecast operation |
delete_what_if_forecast_export | Deletes a what-if forecast export created using the CreateWhatIfForecastExport operation |
describe_auto_predictor | Describes a predictor created using the CreateAutoPredictor operation |
describe_dataset | Describes an Amazon Forecast dataset created using the CreateDataset operation |
describe_dataset_group | Describes a dataset group created using the CreateDatasetGroup operation |
describe_dataset_import_job | Describes a dataset import job created using the CreateDatasetImportJob operation |
describe_explainability | Describes an Explainability resource created using the CreateExplainability operation |
describe_explainability_export | Describes an Explainability export created using the CreateExplainabilityExport operation |
describe_forecast | Describes a forecast created using the CreateForecast operation |
describe_forecast_export_job | Describes a forecast export job created using the CreateForecastExportJob operation |
describe_monitor | Describes a monitor resource |
describe_predictor | This operation is only valid for legacy predictors created with CreatePredictor |
describe_predictor_backtest_export_job | Describes a predictor backtest export job created using the CreatePredictorBacktestExportJob operation |
describe_what_if_analysis | Describes the what-if analysis created using the CreateWhatIfAnalysis operation |
describe_what_if_forecast | Describes the what-if forecast created using the CreateWhatIfForecast operation |
describe_what_if_forecast_export | Describes the what-if forecast export created using the CreateWhatIfForecastExport operation |
get_accuracy_metrics | Provides metrics on the accuracy of the models that were trained by the CreatePredictor operation |
list_dataset_groups | Returns a list of dataset groups created using the CreateDatasetGroup operation |
list_dataset_import_jobs | Returns a list of dataset import jobs created using the CreateDatasetImportJob operation |
list_datasets | Returns a list of datasets created using the CreateDataset operation |
list_explainabilities | Returns a list of Explainability resources created using the CreateExplainability operation |
list_explainability_exports | Returns a list of Explainability exports created using the CreateExplainabilityExport operation |
list_forecast_export_jobs | Returns a list of forecast export jobs created using the CreateForecastExportJob operation |
list_forecasts | Returns a list of forecasts created using the CreateForecast operation |
list_monitor_evaluations | Returns a list of the monitoring evaluation results and predictor events collected by the monitor resource during different windows of time |
list_monitors | Returns a list of monitors created with the CreateMonitor operation and CreateAutoPredictor operation |
list_predictor_backtest_export_jobs | Returns a list of predictor backtest export jobs created using the CreatePredictorBacktestExportJob operation |
list_predictors | Returns a list of predictors created using the CreateAutoPredictor or CreatePredictor operations |
list_tags_for_resource | Lists the tags for an Amazon Forecast resource |
list_what_if_analyses | Returns a list of what-if analyses created using the CreateWhatIfAnalysis operation |
list_what_if_forecast_exports | Returns a list of what-if forecast exports created using the CreateWhatIfForecastExport operation |
list_what_if_forecasts | Returns a list of what-if forecasts created using the CreateWhatIfForecast operation |
resume_resource | Resumes a stopped monitor resource |
stop_resource | Stops a resource |
tag_resource | Associates the specified tags to a resource with the specified resourceArn |
untag_resource | Deletes the specified tags from a resource |
update_dataset_group | Replaces the datasets in a dataset group with the specified datasets |
Examples
## Not run:
svc <- forecastservice()
svc$create_auto_predictor(
Foo = 123
)
## End(Not run)
Creates an Amazon Forecast predictor
Description
Creates an Amazon Forecast predictor.
See https://www.paws-r-sdk.com/docs/forecastservice_create_auto_predictor/ for full documentation.
Usage
forecastservice_create_auto_predictor(
PredictorName,
ForecastHorizon = NULL,
ForecastTypes = NULL,
ForecastDimensions = NULL,
ForecastFrequency = NULL,
DataConfig = NULL,
EncryptionConfig = NULL,
ReferencePredictorArn = NULL,
OptimizationMetric = NULL,
ExplainPredictor = NULL,
Tags = NULL,
MonitorConfig = NULL,
TimeAlignmentBoundary = NULL
)
Arguments
PredictorName |
[required] A unique name for the predictor |
ForecastHorizon |
The number of time-steps that the model predicts. The forecast horizon is also called the prediction length. The maximum forecast horizon is the lesser of 500 time-steps or 1/4 of the TARGET_TIME_SERIES dataset length. If you are retraining an existing AutoPredictor, then the maximum forecast horizon is the lesser of 500 time-steps or 1/3 of the TARGET_TIME_SERIES dataset length. If you are upgrading to an AutoPredictor or retraining an existing AutoPredictor, you cannot update the forecast horizon parameter. You can meet this requirement by providing longer time-series in the dataset. |
ForecastTypes |
The forecast types used to train a predictor. You can specify up to five
forecast types. Forecast types can be quantiles from 0.01 to 0.99, by
increments of 0.01 or higher. You can also specify the mean forecast
with |
ForecastDimensions |
An array of dimension (field) names that specify how to group the generated forecast. For example, if you are generating forecasts for item sales across all
your stores, and your dataset contains a |
ForecastFrequency |
The frequency of predictions in a forecast. Valid intervals are an integer followed by Y (Year), M (Month), W (Week), D (Day), H (Hour), and min (Minute). For example, "1D" indicates every day and "15min" indicates every 15 minutes. You cannot specify a value that would overlap with the next larger frequency. That means, for example, you cannot specify a frequency of 60 minutes, because that is equivalent to 1 hour. The valid values for each frequency are the following:
Thus, if you want every other week forecasts, specify "2W". Or, if you want quarterly forecasts, you specify "3M". The frequency must be greater than or equal to the TARGET_TIME_SERIES dataset frequency. When a RELATED_TIME_SERIES dataset is provided, the frequency must be equal to the RELATED_TIME_SERIES dataset frequency. |
DataConfig |
The data configuration for your dataset group and any additional datasets. |
EncryptionConfig |
|
ReferencePredictorArn |
The ARN of the predictor to retrain or upgrade. This parameter is only used when retraining or upgrading a predictor. When creating a new predictor, do not specify a value for this parameter. When upgrading or retraining a predictor, only specify values for the
|
OptimizationMetric |
The accuracy metric used to optimize the predictor. |
ExplainPredictor |
Create an Explainability resource for the predictor. |
Tags |
Optional metadata to help you categorize and organize your predictors. Each tag consists of a key and an optional value, both of which you define. Tag keys and values are case sensitive. The following restrictions apply to tags:
|
MonitorConfig |
The configuration details for predictor monitoring. Provide a name for the monitor resource to enable predictor monitoring. Predictor monitoring allows you to see how your predictor's performance changes over time. For more information, see Predictor Monitoring. |
TimeAlignmentBoundary |
The time boundary Forecast uses to align and aggregate any data that doesn't align with your forecast frequency. Provide the unit of time and the time boundary as a key value pair. For more information on specifying a time boundary, see Specifying a Time Boundary. If you don't provide a time boundary, Forecast uses a set of Default Time Boundaries. |
Creates an Amazon Forecast dataset
Description
Creates an Amazon Forecast dataset. The information about the dataset that you provide helps Forecast understand how to consume the data for model training. This includes the following:
See https://www.paws-r-sdk.com/docs/forecastservice_create_dataset/ for full documentation.
Usage
forecastservice_create_dataset(
DatasetName,
Domain,
DatasetType,
DataFrequency = NULL,
Schema,
EncryptionConfig = NULL,
Tags = NULL
)
Arguments
DatasetName |
[required] A name for the dataset. |
Domain |
[required] The domain associated with the dataset. When you add a dataset to a
dataset group, this value and the value specified for the The |
DatasetType |
[required] The dataset type. Valid values depend on the chosen |
DataFrequency |
The frequency of data collection. This parameter is required for RELATED_TIME_SERIES datasets. Valid intervals are an integer followed by Y (Year), M (Month), W (Week), D (Day), H (Hour), and min (Minute). For example, "1D" indicates every day and "15min" indicates every 15 minutes. You cannot specify a value that would overlap with the next larger frequency. That means, for example, you cannot specify a frequency of 60 minutes, because that is equivalent to 1 hour. The valid values for each frequency are the following:
Thus, if you want every other week forecasts, specify "2W". Or, if you want quarterly forecasts, you specify "3M". |
Schema |
[required] The schema for the dataset. The schema attributes and their order must
match the fields in your data. The dataset |
EncryptionConfig |
An Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key. |
Tags |
The optional metadata that you apply to the dataset to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags:
|
Creates a dataset group, which holds a collection of related datasets
Description
Creates a dataset group, which holds a collection of related datasets. You can add datasets to the dataset group when you create the dataset group, or later by using the update_dataset_group
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_create_dataset_group/ for full documentation.
Usage
forecastservice_create_dataset_group(
DatasetGroupName,
Domain,
DatasetArns = NULL,
Tags = NULL
)
Arguments
DatasetGroupName |
[required] A name for the dataset group. |
Domain |
[required] The domain associated with the dataset group. When you add a dataset to
a dataset group, this value and the value specified for the The |
DatasetArns |
An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group. |
Tags |
The optional metadata that you apply to the dataset group to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags:
|
Imports your training data to an Amazon Forecast dataset
Description
Imports your training data to an Amazon Forecast dataset. You provide the location of your training data in an Amazon Simple Storage Service (Amazon S3) bucket and the Amazon Resource Name (ARN) of the dataset that you want to import the data to.
See https://www.paws-r-sdk.com/docs/forecastservice_create_dataset_import_job/ for full documentation.
Usage
forecastservice_create_dataset_import_job(
DatasetImportJobName,
DatasetArn,
DataSource,
TimestampFormat = NULL,
TimeZone = NULL,
UseGeolocationForTimeZone = NULL,
GeolocationFormat = NULL,
Tags = NULL,
Format = NULL,
ImportMode = NULL
)
Arguments
DatasetImportJobName |
[required] The name for the dataset import job. We recommend including the current
timestamp in the name, for example, |
DatasetArn |
[required] The Amazon Resource Name (ARN) of the Amazon Forecast dataset that you want to import data to. |
DataSource |
[required] The location of the training data to import and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data. The training data must be stored in an Amazon S3 bucket. If encryption is used, |
TimestampFormat |
The format of timestamps in the dataset. The format that you specify
depends on the
If the format isn't specified, Amazon Forecast expects the format to be "yyyy-MM-dd HH:mm:ss". |
TimeZone |
A single time zone for every item in your dataset. This option is ideal for datasets with all timestamps within a single time zone, or if all timestamps are normalized to a single time zone. Refer to the Joda-Time API for a complete list of valid time zone names. |
UseGeolocationForTimeZone |
Automatically derive time zone information from the geolocation attribute. This option is ideal for datasets that contain timestamps in multiple time zones and those timestamps are expressed in local time. |
GeolocationFormat |
The format of the geolocation attribute. The geolocation attribute can be formatted in one of two ways:
|
Tags |
The optional metadata that you apply to the dataset import job to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags:
|
Format |
The format of the imported data, CSV or PARQUET. The default value is CSV. |
ImportMode |
Specifies whether the dataset import job is a |
Explainability is only available for Forecasts and Predictors generated from an AutoPredictor (CreateAutoPredictor)
Description
Explainability is only available for Forecasts and Predictors generated from an AutoPredictor (create_auto_predictor
)
See https://www.paws-r-sdk.com/docs/forecastservice_create_explainability/ for full documentation.
Usage
forecastservice_create_explainability(
ExplainabilityName,
ResourceArn,
ExplainabilityConfig,
DataSource = NULL,
Schema = NULL,
EnableVisualization = NULL,
StartDateTime = NULL,
EndDateTime = NULL,
Tags = NULL
)
Arguments
ExplainabilityName |
[required] A unique name for the Explainability. |
ResourceArn |
[required] The Amazon Resource Name (ARN) of the Predictor or Forecast used to create the Explainability. |
ExplainabilityConfig |
[required] The configuration settings that define the granularity of time series and time points for the Explainability. |
DataSource |
|
Schema |
|
EnableVisualization |
Create an Explainability visualization that is viewable within the Amazon Web Services console. |
StartDateTime |
If Use the following timestamp format: yyyy-MM-ddTHH:mm:ss (example: 2015-01-01T20:00:00) |
EndDateTime |
If Use the following timestamp format: yyyy-MM-ddTHH:mm:ss (example: 2015-01-01T20:00:00) |
Tags |
Optional metadata to help you categorize and organize your resources. Each tag consists of a key and an optional value, both of which you define. Tag keys and values are case sensitive. The following restrictions apply to tags:
|
Exports an Explainability resource created by the CreateExplainability operation
Description
Exports an Explainability resource created by the create_explainability
operation. Exported files are exported to an Amazon Simple Storage Service (Amazon S3) bucket.
See https://www.paws-r-sdk.com/docs/forecastservice_create_explainability_export/ for full documentation.
Usage
forecastservice_create_explainability_export(
ExplainabilityExportName,
ExplainabilityArn,
Destination,
Tags = NULL,
Format = NULL
)
Arguments
ExplainabilityExportName |
[required] A unique name for the Explainability export. |
ExplainabilityArn |
[required] The Amazon Resource Name (ARN) of the Explainability to export. |
Destination |
[required] |
Tags |
Optional metadata to help you categorize and organize your resources. Each tag consists of a key and an optional value, both of which you define. Tag keys and values are case sensitive. The following restrictions apply to tags:
|
Format |
The format of the exported data, CSV or PARQUET. |
Creates a forecast for each item in the TARGET_TIME_SERIES dataset that was used to train the predictor
Description
Creates a forecast for each item in the TARGET_TIME_SERIES
dataset that was used to train the predictor. This is known as inference. To retrieve the forecast for a single item at low latency, use the operation. To export the complete forecast into your Amazon Simple Storage Service (Amazon S3) bucket, use the create_forecast_export_job
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_create_forecast/ for full documentation.
Usage
forecastservice_create_forecast(
ForecastName,
PredictorArn,
ForecastTypes = NULL,
Tags = NULL,
TimeSeriesSelector = NULL
)
Arguments
ForecastName |
[required] A name for the forecast. |
PredictorArn |
[required] The Amazon Resource Name (ARN) of the predictor to use to generate the forecast. |
ForecastTypes |
The quantiles at which probabilistic forecasts are generated. You can
currently specify up to 5 quantiles per forecast. Accepted values
include The default quantiles are the quantiles you specified during predictor
creation. If you didn't specify quantiles, the default values are
|
Tags |
The optional metadata that you apply to the forecast to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags:
|
TimeSeriesSelector |
Defines the set of time series that are used to create the forecasts in
a The
|
Exports a forecast created by the CreateForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket
Description
Exports a forecast created by the create_forecast
operation to your Amazon Simple Storage Service (Amazon S3) bucket. The forecast file name will match the following conventions:
See https://www.paws-r-sdk.com/docs/forecastservice_create_forecast_export_job/ for full documentation.
Usage
forecastservice_create_forecast_export_job(
ForecastExportJobName,
ForecastArn,
Destination,
Tags = NULL,
Format = NULL
)
Arguments
ForecastExportJobName |
[required] The name for the forecast export job. |
ForecastArn |
[required] The Amazon Resource Name (ARN) of the forecast that you want to export. |
Destination |
[required] The location where you want to save the forecast and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the location. The forecast must be exported to an Amazon S3 bucket. If encryption is used, |
Tags |
The optional metadata that you apply to the forecast export job to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags:
|
Format |
The format of the exported data, CSV or PARQUET. The default value is CSV. |
Creates a predictor monitor resource for an existing auto predictor
Description
Creates a predictor monitor resource for an existing auto predictor. Predictor monitoring allows you to see how your predictor's performance changes over time. For more information, see Predictor Monitoring.
See https://www.paws-r-sdk.com/docs/forecastservice_create_monitor/ for full documentation.
Usage
forecastservice_create_monitor(MonitorName, ResourceArn, Tags = NULL)
Arguments
MonitorName |
[required] The name of the monitor resource. |
ResourceArn |
[required] The Amazon Resource Name (ARN) of the predictor to monitor. |
Tags |
A list of tags to apply to the monitor resource. |
This operation creates a legacy predictor that does not include all the predictor functionalities provided by Amazon Forecast
Description
This operation creates a legacy predictor that does not include all the predictor functionalities provided by Amazon Forecast. To create a predictor that is compatible with all aspects of Forecast, use create_auto_predictor
.
See https://www.paws-r-sdk.com/docs/forecastservice_create_predictor/ for full documentation.
Usage
forecastservice_create_predictor(
PredictorName,
AlgorithmArn = NULL,
ForecastHorizon,
ForecastTypes = NULL,
PerformAutoML = NULL,
AutoMLOverrideStrategy = NULL,
PerformHPO = NULL,
TrainingParameters = NULL,
EvaluationParameters = NULL,
HPOConfig = NULL,
InputDataConfig,
FeaturizationConfig,
EncryptionConfig = NULL,
Tags = NULL,
OptimizationMetric = NULL
)
Arguments
PredictorName |
[required] A name for the predictor. |
AlgorithmArn |
The Amazon Resource Name (ARN) of the algorithm to use for model
training. Required if Supported algorithms:
|
ForecastHorizon |
[required] Specifies the number of time-steps that the model is trained to predict. The forecast horizon is also called the prediction length. For example, if you configure a dataset for daily data collection (using
the The maximum forecast horizon is the lesser of 500 time-steps or 1/3 of the TARGET_TIME_SERIES dataset length. |
ForecastTypes |
Specifies the forecast types used to train a predictor. You can specify
up to five forecast types. Forecast types can be quantiles from 0.01 to
0.99, by increments of 0.01 or higher. You can also specify the mean
forecast with The default value is |
PerformAutoML |
Whether to perform AutoML. When Amazon Forecast performs AutoML, it evaluates the algorithms it provides and chooses the best algorithm and configuration for your training dataset. The default value is Set |
AutoMLOverrideStrategy |
The Used to overide the default AutoML strategy, which is to optimize
predictor accuracy. To apply an AutoML strategy that minimizes training
time, use This parameter is only valid for predictors trained using AutoML. |
PerformHPO |
Whether to perform hyperparameter optimization (HPO). HPO finds optimal hyperparameter values for your training data. The process of performing HPO is known as running a hyperparameter tuning job. The default value is To override the default values, set The following algorithms support HPO:
|
TrainingParameters |
The hyperparameters to override for model training. The hyperparameters that you can override are listed in the individual algorithms. For the list of supported algorithms, see aws-forecast-choosing-recipes. |
EvaluationParameters |
Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast evaluates a predictor by splitting a dataset into training data and testing data. The evaluation parameters define how to perform the split and the number of iterations. |
HPOConfig |
Provides hyperparameter override values for the algorithm. If you don't provide this parameter, Amazon Forecast uses default values. The individual algorithms specify which hyperparameters support hyperparameter optimization (HPO). For more information, see aws-forecast-choosing-recipes. If you included the |
InputDataConfig |
[required] Describes the dataset group that contains the data to use to train the predictor. |
FeaturizationConfig |
[required] The featurization configuration. |
EncryptionConfig |
An Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key. |
Tags |
The optional metadata that you apply to the predictor to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags:
|
OptimizationMetric |
The accuracy metric used to optimize the predictor. |
Exports backtest forecasts and accuracy metrics generated by the CreateAutoPredictor or CreatePredictor operations
Description
Exports backtest forecasts and accuracy metrics generated by the create_auto_predictor
or create_predictor
operations. Two folders containing CSV or Parquet files are exported to your specified S3 bucket.
See https://www.paws-r-sdk.com/docs/forecastservice_create_predictor_backtest_export_job/ for full documentation.
Usage
forecastservice_create_predictor_backtest_export_job(
PredictorBacktestExportJobName,
PredictorArn,
Destination,
Tags = NULL,
Format = NULL
)
Arguments
PredictorBacktestExportJobName |
[required] The name for the backtest export job. |
PredictorArn |
[required] The Amazon Resource Name (ARN) of the predictor that you want to export. |
Destination |
[required] |
Tags |
Optional metadata to help you categorize and organize your backtests. Each tag consists of a key and an optional value, both of which you define. Tag keys and values are case sensitive. The following restrictions apply to tags:
|
Format |
The format of the exported data, CSV or PARQUET. The default value is CSV. |
What-if analysis is a scenario modeling technique where you make a hypothetical change to a time series and compare the forecasts generated by these changes against the baseline, unchanged time series
Description
What-if analysis is a scenario modeling technique where you make a hypothetical change to a time series and compare the forecasts generated by these changes against the baseline, unchanged time series. It is important to remember that the purpose of a what-if analysis is to understand how a forecast can change given different modifications to the baseline time series.
See https://www.paws-r-sdk.com/docs/forecastservice_create_what_if_analysis/ for full documentation.
Usage
forecastservice_create_what_if_analysis(
WhatIfAnalysisName,
ForecastArn,
TimeSeriesSelector = NULL,
Tags = NULL
)
Arguments
WhatIfAnalysisName |
[required] The name of the what-if analysis. Each name must be unique. |
ForecastArn |
[required] The Amazon Resource Name (ARN) of the baseline forecast. |
TimeSeriesSelector |
Defines the set of time series that are used in the what-if analysis
with a The
|
Tags |
A list of tags to apply to the what if forecast. |
A what-if forecast is a forecast that is created from a modified version of the baseline forecast
Description
A what-if forecast is a forecast that is created from a modified version of the baseline forecast. Each what-if forecast incorporates either a replacement dataset or a set of transformations to the original dataset.
See https://www.paws-r-sdk.com/docs/forecastservice_create_what_if_forecast/ for full documentation.
Usage
forecastservice_create_what_if_forecast(
WhatIfForecastName,
WhatIfAnalysisArn,
TimeSeriesTransformations = NULL,
TimeSeriesReplacementsDataSource = NULL,
Tags = NULL
)
Arguments
WhatIfForecastName |
[required] The name of the what-if forecast. Names must be unique within each what-if analysis. |
WhatIfAnalysisArn |
[required] The Amazon Resource Name (ARN) of the what-if analysis. |
TimeSeriesTransformations |
The transformations that are applied to the baseline time series. Each transformation contains an action and a set of conditions. An action is applied only when all conditions are met. If no conditions are provided, the action is applied to all items. |
TimeSeriesReplacementsDataSource |
The replacement time series dataset, which contains the rows that you want to change in the related time series dataset. A replacement time series does not need to contain all rows that are in the baseline related time series. Include only the rows (measure-dimension combinations) that you want to include in the what-if forecast. This dataset is merged with the original time series to create a transformed dataset that is used for the what-if analysis. This dataset should contain the items to modify (such as item_id or workforce_type), any relevant dimensions, the timestamp column, and at least one of the related time series columns. This file should not contain duplicate timestamps for the same time series. Timestamps and item_ids not included in this dataset are not included in the what-if analysis. |
Tags |
A list of tags to apply to the what if forecast. |
Exports a forecast created by the CreateWhatIfForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket
Description
Exports a forecast created by the create_what_if_forecast
operation to your Amazon Simple Storage Service (Amazon S3) bucket. The forecast file name will match the following conventions:
See https://www.paws-r-sdk.com/docs/forecastservice_create_what_if_forecast_export/ for full documentation.
Usage
forecastservice_create_what_if_forecast_export(
WhatIfForecastExportName,
WhatIfForecastArns,
Destination,
Tags = NULL,
Format = NULL
)
Arguments
WhatIfForecastExportName |
[required] The name of the what-if forecast to export. |
WhatIfForecastArns |
[required] The list of what-if forecast Amazon Resource Names (ARNs) to export. |
Destination |
[required] The location where you want to save the forecast and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the location. The forecast must be exported to an Amazon S3 bucket. If encryption is used, |
Tags |
A list of tags to apply to the what if forecast. |
Format |
The format of the exported data, CSV or PARQUET. |
Deletes an Amazon Forecast dataset that was created using the CreateDataset operation
Description
Deletes an Amazon Forecast dataset that was created using the create_dataset
operation. You can only delete datasets that have a status of ACTIVE
or CREATE_FAILED
. To get the status use the describe_dataset
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_delete_dataset/ for full documentation.
Usage
forecastservice_delete_dataset(DatasetArn)
Arguments
DatasetArn |
[required] The Amazon Resource Name (ARN) of the dataset to delete. |
Deletes a dataset group created using the CreateDatasetGroup operation
Description
Deletes a dataset group created using the create_dataset_group
operation. You can only delete dataset groups that have a status of ACTIVE
, CREATE_FAILED
, or UPDATE_FAILED
. To get the status, use the describe_dataset_group
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_delete_dataset_group/ for full documentation.
Usage
forecastservice_delete_dataset_group(DatasetGroupArn)
Arguments
DatasetGroupArn |
[required] The Amazon Resource Name (ARN) of the dataset group to delete. |
Deletes a dataset import job created using the CreateDatasetImportJob operation
Description
Deletes a dataset import job created using the create_dataset_import_job
operation. You can delete only dataset import jobs that have a status of ACTIVE
or CREATE_FAILED
. To get the status, use the describe_dataset_import_job
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_delete_dataset_import_job/ for full documentation.
Usage
forecastservice_delete_dataset_import_job(DatasetImportJobArn)
Arguments
DatasetImportJobArn |
[required] The Amazon Resource Name (ARN) of the dataset import job to delete. |
Deletes an Explainability resource
Description
Deletes an Explainability resource.
See https://www.paws-r-sdk.com/docs/forecastservice_delete_explainability/ for full documentation.
Usage
forecastservice_delete_explainability(ExplainabilityArn)
Arguments
ExplainabilityArn |
[required] The Amazon Resource Name (ARN) of the Explainability resource to delete. |
Deletes an Explainability export
Description
Deletes an Explainability export.
See https://www.paws-r-sdk.com/docs/forecastservice_delete_explainability_export/ for full documentation.
Usage
forecastservice_delete_explainability_export(ExplainabilityExportArn)
Arguments
ExplainabilityExportArn |
[required] The Amazon Resource Name (ARN) of the Explainability export to delete. |
Deletes a forecast created using the CreateForecast operation
Description
Deletes a forecast created using the create_forecast
operation. You can delete only forecasts that have a status of ACTIVE
or CREATE_FAILED
. To get the status, use the describe_forecast
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_delete_forecast/ for full documentation.
Usage
forecastservice_delete_forecast(ForecastArn)
Arguments
ForecastArn |
[required] The Amazon Resource Name (ARN) of the forecast to delete. |
Deletes a forecast export job created using the CreateForecastExportJob operation
Description
Deletes a forecast export job created using the create_forecast_export_job
operation. You can delete only export jobs that have a status of ACTIVE
or CREATE_FAILED
. To get the status, use the describe_forecast_export_job
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_delete_forecast_export_job/ for full documentation.
Usage
forecastservice_delete_forecast_export_job(ForecastExportJobArn)
Arguments
ForecastExportJobArn |
[required] The Amazon Resource Name (ARN) of the forecast export job to delete. |
Deletes a monitor resource
Description
Deletes a monitor resource. You can only delete a monitor resource with a status of ACTIVE
, ACTIVE_STOPPED
, CREATE_FAILED
, or CREATE_STOPPED
.
See https://www.paws-r-sdk.com/docs/forecastservice_delete_monitor/ for full documentation.
Usage
forecastservice_delete_monitor(MonitorArn)
Arguments
MonitorArn |
[required] The Amazon Resource Name (ARN) of the monitor resource to delete. |
Deletes a predictor created using the DescribePredictor or CreatePredictor operations
Description
Deletes a predictor created using the describe_predictor
or create_predictor
operations. You can delete only predictor that have a status of ACTIVE
or CREATE_FAILED
. To get the status, use the describe_predictor
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_delete_predictor/ for full documentation.
Usage
forecastservice_delete_predictor(PredictorArn)
Arguments
PredictorArn |
[required] The Amazon Resource Name (ARN) of the predictor to delete. |
Deletes a predictor backtest export job
Description
Deletes a predictor backtest export job.
See https://www.paws-r-sdk.com/docs/forecastservice_delete_predictor_backtest_export_job/ for full documentation.
Usage
forecastservice_delete_predictor_backtest_export_job(
PredictorBacktestExportJobArn
)
Arguments
PredictorBacktestExportJobArn |
[required] The Amazon Resource Name (ARN) of the predictor backtest export job to delete. |
Deletes an entire resource tree
Description
Deletes an entire resource tree. This operation will delete the parent resource and its child resources.
See https://www.paws-r-sdk.com/docs/forecastservice_delete_resource_tree/ for full documentation.
Usage
forecastservice_delete_resource_tree(ResourceArn)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the parent resource to delete. All child resources of the parent resource will also be deleted. |
Deletes a what-if analysis created using the CreateWhatIfAnalysis operation
Description
Deletes a what-if analysis created using the create_what_if_analysis
operation. You can delete only what-if analyses that have a status of ACTIVE
or CREATE_FAILED
. To get the status, use the describe_what_if_analysis
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_delete_what_if_analysis/ for full documentation.
Usage
forecastservice_delete_what_if_analysis(WhatIfAnalysisArn)
Arguments
WhatIfAnalysisArn |
[required] The Amazon Resource Name (ARN) of the what-if analysis that you want to delete. |
Deletes a what-if forecast created using the CreateWhatIfForecast operation
Description
Deletes a what-if forecast created using the create_what_if_forecast
operation. You can delete only what-if forecasts that have a status of ACTIVE
or CREATE_FAILED
. To get the status, use the describe_what_if_forecast
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_delete_what_if_forecast/ for full documentation.
Usage
forecastservice_delete_what_if_forecast(WhatIfForecastArn)
Arguments
WhatIfForecastArn |
[required] The Amazon Resource Name (ARN) of the what-if forecast that you want to delete. |
Deletes a what-if forecast export created using the CreateWhatIfForecastExport operation
Description
Deletes a what-if forecast export created using the create_what_if_forecast_export
operation. You can delete only what-if forecast exports that have a status of ACTIVE
or CREATE_FAILED
. To get the status, use the describe_what_if_forecast_export
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_delete_what_if_forecast_export/ for full documentation.
Usage
forecastservice_delete_what_if_forecast_export(WhatIfForecastExportArn)
Arguments
WhatIfForecastExportArn |
[required] The Amazon Resource Name (ARN) of the what-if forecast export that you want to delete. |
Describes a predictor created using the CreateAutoPredictor operation
Description
Describes a predictor created using the CreateAutoPredictor operation.
See https://www.paws-r-sdk.com/docs/forecastservice_describe_auto_predictor/ for full documentation.
Usage
forecastservice_describe_auto_predictor(PredictorArn)
Arguments
PredictorArn |
[required] The Amazon Resource Name (ARN) of the predictor. |
Describes an Amazon Forecast dataset created using the CreateDataset operation
Description
Describes an Amazon Forecast dataset created using the create_dataset
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_describe_dataset/ for full documentation.
Usage
forecastservice_describe_dataset(DatasetArn)
Arguments
DatasetArn |
[required] The Amazon Resource Name (ARN) of the dataset. |
Describes a dataset group created using the CreateDatasetGroup operation
Description
Describes a dataset group created using the create_dataset_group
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_describe_dataset_group/ for full documentation.
Usage
forecastservice_describe_dataset_group(DatasetGroupArn)
Arguments
DatasetGroupArn |
[required] The Amazon Resource Name (ARN) of the dataset group. |
Describes a dataset import job created using the CreateDatasetImportJob operation
Description
Describes a dataset import job created using the create_dataset_import_job
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_describe_dataset_import_job/ for full documentation.
Usage
forecastservice_describe_dataset_import_job(DatasetImportJobArn)
Arguments
DatasetImportJobArn |
[required] The Amazon Resource Name (ARN) of the dataset import job. |
Describes an Explainability resource created using the CreateExplainability operation
Description
Describes an Explainability resource created using the create_explainability
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_describe_explainability/ for full documentation.
Usage
forecastservice_describe_explainability(ExplainabilityArn)
Arguments
ExplainabilityArn |
[required] The Amazon Resource Name (ARN) of the Explaianability to describe. |
Describes an Explainability export created using the CreateExplainabilityExport operation
Description
Describes an Explainability export created using the create_explainability_export
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_describe_explainability_export/ for full documentation.
Usage
forecastservice_describe_explainability_export(ExplainabilityExportArn)
Arguments
ExplainabilityExportArn |
[required] The Amazon Resource Name (ARN) of the Explainability export. |
Describes a forecast created using the CreateForecast operation
Description
Describes a forecast created using the create_forecast
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_describe_forecast/ for full documentation.
Usage
forecastservice_describe_forecast(ForecastArn)
Arguments
ForecastArn |
[required] The Amazon Resource Name (ARN) of the forecast. |
Describes a forecast export job created using the CreateForecastExportJob operation
Description
Describes a forecast export job created using the create_forecast_export_job
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_describe_forecast_export_job/ for full documentation.
Usage
forecastservice_describe_forecast_export_job(ForecastExportJobArn)
Arguments
ForecastExportJobArn |
[required] The Amazon Resource Name (ARN) of the forecast export job. |
Describes a monitor resource
Description
Describes a monitor resource. In addition to listing the properties provided in the create_monitor
request, this operation lists the following properties:
See https://www.paws-r-sdk.com/docs/forecastservice_describe_monitor/ for full documentation.
Usage
forecastservice_describe_monitor(MonitorArn)
Arguments
MonitorArn |
[required] The Amazon Resource Name (ARN) of the monitor resource to describe. |
This operation is only valid for legacy predictors created with CreatePredictor
Description
This operation is only valid for legacy predictors created with CreatePredictor. If you are not using a legacy predictor, use describe_auto_predictor
.
See https://www.paws-r-sdk.com/docs/forecastservice_describe_predictor/ for full documentation.
Usage
forecastservice_describe_predictor(PredictorArn)
Arguments
PredictorArn |
[required] The Amazon Resource Name (ARN) of the predictor that you want information about. |
Describes a predictor backtest export job created using the CreatePredictorBacktestExportJob operation
Description
Describes a predictor backtest export job created using the create_predictor_backtest_export_job
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_describe_predictor_backtest_export_job/ for full documentation.
Usage
forecastservice_describe_predictor_backtest_export_job(
PredictorBacktestExportJobArn
)
Arguments
PredictorBacktestExportJobArn |
[required] The Amazon Resource Name (ARN) of the predictor backtest export job. |
Describes the what-if analysis created using the CreateWhatIfAnalysis operation
Description
Describes the what-if analysis created using the create_what_if_analysis
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_describe_what_if_analysis/ for full documentation.
Usage
forecastservice_describe_what_if_analysis(WhatIfAnalysisArn)
Arguments
WhatIfAnalysisArn |
[required] The Amazon Resource Name (ARN) of the what-if analysis that you are interested in. |
Describes the what-if forecast created using the CreateWhatIfForecast operation
Description
Describes the what-if forecast created using the create_what_if_forecast
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_describe_what_if_forecast/ for full documentation.
Usage
forecastservice_describe_what_if_forecast(WhatIfForecastArn)
Arguments
WhatIfForecastArn |
[required] The Amazon Resource Name (ARN) of the what-if forecast that you are interested in. |
Describes the what-if forecast export created using the CreateWhatIfForecastExport operation
Description
Describes the what-if forecast export created using the create_what_if_forecast_export
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_describe_what_if_forecast_export/ for full documentation.
Usage
forecastservice_describe_what_if_forecast_export(WhatIfForecastExportArn)
Arguments
WhatIfForecastExportArn |
[required] The Amazon Resource Name (ARN) of the what-if forecast export that you are interested in. |
Provides metrics on the accuracy of the models that were trained by the CreatePredictor operation
Description
Provides metrics on the accuracy of the models that were trained by the create_predictor
operation. Use metrics to see how well the model performed and to decide whether to use the predictor to generate a forecast. For more information, see Predictor Metrics.
See https://www.paws-r-sdk.com/docs/forecastservice_get_accuracy_metrics/ for full documentation.
Usage
forecastservice_get_accuracy_metrics(PredictorArn)
Arguments
PredictorArn |
[required] The Amazon Resource Name (ARN) of the predictor to get metrics for. |
Returns a list of dataset groups created using the CreateDatasetGroup operation
Description
Returns a list of dataset groups created using the create_dataset_group
operation. For each dataset group, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the dataset group ARN with the describe_dataset_group
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_list_dataset_groups/ for full documentation.
Usage
forecastservice_list_dataset_groups(NextToken = NULL, MaxResults = NULL)
Arguments
NextToken |
If the result of the previous request was truncated, the response
includes a |
MaxResults |
The number of items to return in the response. |
Returns a list of dataset import jobs created using the CreateDatasetImportJob operation
Description
Returns a list of dataset import jobs created using the create_dataset_import_job
operation. For each import job, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the ARN with the describe_dataset_import_job
operation. You can filter the list by providing an array of Filter objects.
See https://www.paws-r-sdk.com/docs/forecastservice_list_dataset_import_jobs/ for full documentation.
Usage
forecastservice_list_dataset_import_jobs(
NextToken = NULL,
MaxResults = NULL,
Filters = NULL
)
Arguments
NextToken |
If the result of the previous request was truncated, the response
includes a |
MaxResults |
The number of items to return in the response. |
Filters |
An array of filters. For each filter, you provide a condition and a
match statement. The condition is either Filter properties
For example, to list all dataset import jobs whose status is ACTIVE, you specify the following filter:
|
Returns a list of datasets created using the CreateDataset operation
Description
Returns a list of datasets created using the create_dataset
operation. For each dataset, a summary of its properties, including its Amazon Resource Name (ARN), is returned. To retrieve the complete set of properties, use the ARN with the describe_dataset
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_list_datasets/ for full documentation.
Usage
forecastservice_list_datasets(NextToken = NULL, MaxResults = NULL)
Arguments
NextToken |
If the result of the previous request was truncated, the response
includes a |
MaxResults |
The number of items to return in the response. |
Returns a list of Explainability resources created using the CreateExplainability operation
Description
Returns a list of Explainability resources created using the create_explainability
operation. This operation returns a summary for each Explainability. You can filter the list using an array of Filter objects.
See https://www.paws-r-sdk.com/docs/forecastservice_list_explainabilities/ for full documentation.
Usage
forecastservice_list_explainabilities(
NextToken = NULL,
MaxResults = NULL,
Filters = NULL
)
Arguments
NextToken |
If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours. |
MaxResults |
The number of items returned in the response. |
Filters |
An array of filters. For each filter, provide a condition and a match
statement. The condition is either Filter properties
|
Returns a list of Explainability exports created using the CreateExplainabilityExport operation
Description
Returns a list of Explainability exports created using the create_explainability_export
operation. This operation returns a summary for each Explainability export. You can filter the list using an array of Filter objects.
See https://www.paws-r-sdk.com/docs/forecastservice_list_explainability_exports/ for full documentation.
Usage
forecastservice_list_explainability_exports(
NextToken = NULL,
MaxResults = NULL,
Filters = NULL
)
Arguments
NextToken |
If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours. |
MaxResults |
The number of items to return in the response. |
Filters |
An array of filters. For each filter, provide a condition and a match
statement. The condition is either Filter properties
|
Returns a list of forecast export jobs created using the CreateForecastExportJob operation
Description
Returns a list of forecast export jobs created using the create_forecast_export_job
operation. For each forecast export job, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). To retrieve the complete set of properties, use the ARN with the describe_forecast_export_job
operation. You can filter the list using an array of Filter objects.
See https://www.paws-r-sdk.com/docs/forecastservice_list_forecast_export_jobs/ for full documentation.
Usage
forecastservice_list_forecast_export_jobs(
NextToken = NULL,
MaxResults = NULL,
Filters = NULL
)
Arguments
NextToken |
If the result of the previous request was truncated, the response
includes a |
MaxResults |
The number of items to return in the response. |
Filters |
An array of filters. For each filter, you provide a condition and a
match statement. The condition is either Filter properties
For example, to list all jobs that export a forecast named electricityforecast, specify the following filter:
|
Returns a list of forecasts created using the CreateForecast operation
Description
Returns a list of forecasts created using the create_forecast
operation. For each forecast, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). To retrieve the complete set of properties, specify the ARN with the describe_forecast
operation. You can filter the list using an array of Filter objects.
See https://www.paws-r-sdk.com/docs/forecastservice_list_forecasts/ for full documentation.
Usage
forecastservice_list_forecasts(
NextToken = NULL,
MaxResults = NULL,
Filters = NULL
)
Arguments
NextToken |
If the result of the previous request was truncated, the response
includes a |
MaxResults |
The number of items to return in the response. |
Filters |
An array of filters. For each filter, you provide a condition and a
match statement. The condition is either Filter properties
For example, to list all forecasts whose status is not ACTIVE, you would specify:
|
Returns a list of the monitoring evaluation results and predictor events collected by the monitor resource during different windows of time
Description
Returns a list of the monitoring evaluation results and predictor events collected by the monitor resource during different windows of time.
See https://www.paws-r-sdk.com/docs/forecastservice_list_monitor_evaluations/ for full documentation.
Usage
forecastservice_list_monitor_evaluations(
NextToken = NULL,
MaxResults = NULL,
MonitorArn,
Filters = NULL
)
Arguments
NextToken |
If the result of the previous request was truncated, the response
includes a |
MaxResults |
The maximum number of monitoring results to return. |
MonitorArn |
[required] The Amazon Resource Name (ARN) of the monitor resource to get results from. |
Filters |
An array of filters. For each filter, provide a condition and a match
statement. The condition is either Filter properties
For example, to list only successful monitor evaluations, you would specify:
|
Returns a list of monitors created with the CreateMonitor operation and CreateAutoPredictor operation
Description
Returns a list of monitors created with the create_monitor
operation and create_auto_predictor
operation. For each monitor resource, this operation returns of a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve a complete set of properties of a monitor resource by specify the monitor's ARN in the describe_monitor
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_list_monitors/ for full documentation.
Usage
forecastservice_list_monitors(
NextToken = NULL,
MaxResults = NULL,
Filters = NULL
)
Arguments
NextToken |
If the result of the previous request was truncated, the response
includes a |
MaxResults |
The maximum number of monitors to include in the response. |
Filters |
An array of filters. For each filter, provide a condition and a match
statement. The condition is either Filter properties
For example, to list all monitors who's status is ACTIVE, you would specify:
|
Returns a list of predictor backtest export jobs created using the CreatePredictorBacktestExportJob operation
Description
Returns a list of predictor backtest export jobs created using the create_predictor_backtest_export_job
operation. This operation returns a summary for each backtest export job. You can filter the list using an array of Filter objects.
See https://www.paws-r-sdk.com/docs/forecastservice_list_predictor_backtest_export_jobs/ for full documentation.
Usage
forecastservice_list_predictor_backtest_export_jobs(
NextToken = NULL,
MaxResults = NULL,
Filters = NULL
)
Arguments
NextToken |
If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours. |
MaxResults |
The number of items to return in the response. |
Filters |
An array of filters. For each filter, provide a condition and a match
statement. The condition is either Filter properties
|
Returns a list of predictors created using the CreateAutoPredictor or CreatePredictor operations
Description
Returns a list of predictors created using the create_auto_predictor
or create_predictor
operations. For each predictor, this operation returns a summary of its properties, including its Amazon Resource Name (ARN).
See https://www.paws-r-sdk.com/docs/forecastservice_list_predictors/ for full documentation.
Usage
forecastservice_list_predictors(
NextToken = NULL,
MaxResults = NULL,
Filters = NULL
)
Arguments
NextToken |
If the result of the previous request was truncated, the response
includes a |
MaxResults |
The number of items to return in the response. |
Filters |
An array of filters. For each filter, you provide a condition and a
match statement. The condition is either Filter properties
For example, to list all predictors whose status is ACTIVE, you would specify:
|
Lists the tags for an Amazon Forecast resource
Description
Lists the tags for an Amazon Forecast resource.
See https://www.paws-r-sdk.com/docs/forecastservice_list_tags_for_resource/ for full documentation.
Usage
forecastservice_list_tags_for_resource(ResourceArn)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. |
Returns a list of what-if analyses created using the CreateWhatIfAnalysis operation
Description
Returns a list of what-if analyses created using the create_what_if_analysis
operation. For each what-if analysis, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the what-if analysis ARN with the describe_what_if_analysis
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_list_what_if_analyses/ for full documentation.
Usage
forecastservice_list_what_if_analyses(
NextToken = NULL,
MaxResults = NULL,
Filters = NULL
)
Arguments
NextToken |
If the result of the previous request was truncated, the response
includes a |
MaxResults |
The number of items to return in the response. |
Filters |
An array of filters. For each filter, you provide a condition and a
match statement. The condition is either Filter properties
For example, to list all jobs that export a forecast named electricityWhatIf, specify the following filter:
|
Returns a list of what-if forecast exports created using the CreateWhatIfForecastExport operation
Description
Returns a list of what-if forecast exports created using the create_what_if_forecast_export
operation. For each what-if forecast export, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the what-if forecast export ARN with the describe_what_if_forecast_export
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_list_what_if_forecast_exports/ for full documentation.
Usage
forecastservice_list_what_if_forecast_exports(
NextToken = NULL,
MaxResults = NULL,
Filters = NULL
)
Arguments
NextToken |
If the result of the previous request was truncated, the response
includes a |
MaxResults |
The number of items to return in the response. |
Filters |
An array of filters. For each filter, you provide a condition and a
match statement. The condition is either Filter properties
For example, to list all jobs that export a forecast named electricityWIFExport, specify the following filter:
|
Returns a list of what-if forecasts created using the CreateWhatIfForecast operation
Description
Returns a list of what-if forecasts created using the create_what_if_forecast
operation. For each what-if forecast, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the what-if forecast ARN with the describe_what_if_forecast
operation.
See https://www.paws-r-sdk.com/docs/forecastservice_list_what_if_forecasts/ for full documentation.
Usage
forecastservice_list_what_if_forecasts(
NextToken = NULL,
MaxResults = NULL,
Filters = NULL
)
Arguments
NextToken |
If the result of the previous request was truncated, the response
includes a |
MaxResults |
The number of items to return in the response. |
Filters |
An array of filters. For each filter, you provide a condition and a
match statement. The condition is either Filter properties
For example, to list all jobs that export a forecast named electricityWhatIfForecast, specify the following filter:
|
Resumes a stopped monitor resource
Description
Resumes a stopped monitor resource.
See https://www.paws-r-sdk.com/docs/forecastservice_resume_resource/ for full documentation.
Usage
forecastservice_resume_resource(ResourceArn)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the monitor resource to resume. |
Stops a resource
Description
Stops a resource.
See https://www.paws-r-sdk.com/docs/forecastservice_stop_resource/ for full documentation.
Usage
forecastservice_stop_resource(ResourceArn)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) that identifies the resource to stop. The
supported ARNs are |
Associates the specified tags to a resource with the specified resourceArn
Description
Associates the specified tags to a resource with the specified resourceArn
. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted.
See https://www.paws-r-sdk.com/docs/forecastservice_tag_resource/ for full documentation.
Usage
forecastservice_tag_resource(ResourceArn, Tags)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. |
Tags |
[required] The tags to add to the resource. A tag is an array of key-value pairs. The following basic restrictions apply to tags:
|
Deletes the specified tags from a resource
Description
Deletes the specified tags from a resource.
See https://www.paws-r-sdk.com/docs/forecastservice_untag_resource/ for full documentation.
Usage
forecastservice_untag_resource(ResourceArn, TagKeys)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. |
TagKeys |
[required] The keys of the tags to be removed. |
Replaces the datasets in a dataset group with the specified datasets
Description
Replaces the datasets in a dataset group with the specified datasets.
See https://www.paws-r-sdk.com/docs/forecastservice_update_dataset_group/ for full documentation.
Usage
forecastservice_update_dataset_group(DatasetGroupArn, DatasetArns)
Arguments
DatasetGroupArn |
[required] The ARN of the dataset group. |
DatasetArns |
[required] An array of the Amazon Resource Names (ARNs) of the datasets to add to the dataset group. |
Amazon Fraud Detector
Description
This is the Amazon Fraud Detector API Reference. This guide is for developers who need detailed information about Amazon Fraud Detector API actions, data types, and errors. For more information about Amazon Fraud Detector features, see the Amazon Fraud Detector User Guide.
We provide the Query API as well as AWS software development kits (SDK) for Amazon Fraud Detector in Java and Python programming languages.
The Amazon Fraud Detector Query API provides HTTPS requests that use the
HTTP verb GET or POST and a Query parameter Action
. AWS SDK provides
libraries, sample code, tutorials, and other resources for software
developers who prefer to build applications using language-specific APIs
instead of submitting a request over HTTP or HTTPS. These libraries
provide basic functions that automatically take care of tasks such as
cryptographically signing your requests, retrying requests, and handling
error responses, so that it is easier for you to get started. For more
information about the AWS SDKs, go to Tools to build on AWS page, scroll down to the
SDK section, and choose plus (+) sign to expand the section.
Usage
frauddetector(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- frauddetector( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
batch_create_variable | Creates a batch of variables |
batch_get_variable | Gets a batch of variables |
cancel_batch_import_job | Cancels an in-progress batch import job |
cancel_batch_prediction_job | Cancels the specified batch prediction job |
create_batch_import_job | Creates a batch import job |
create_batch_prediction_job | Creates a batch prediction job |
create_detector_version | Creates a detector version |
create_list | Creates a list |
create_model | Creates a model using the specified model type |
create_model_version | Creates a version of the model using the specified model type and model id |
create_rule | Creates a rule for use with the specified detector |
create_variable | Creates a variable |
delete_batch_import_job | Deletes the specified batch import job ID record |
delete_batch_prediction_job | Deletes a batch prediction job |
delete_detector | Deletes the detector |
delete_detector_version | Deletes the detector version |
delete_entity_type | Deletes an entity type |
delete_event | Deletes the specified event |
delete_events_by_event_type | Deletes all events of a particular event type |
delete_event_type | Deletes an event type |
delete_external_model | Removes a SageMaker model from Amazon Fraud Detector |
delete_label | Deletes a label |
delete_list | Deletes the list, provided it is not used in a rule |
delete_model | Deletes a model |
delete_model_version | Deletes a model version |
delete_outcome | Deletes an outcome |
delete_rule | Deletes the rule |
delete_variable | Deletes a variable |
describe_detector | Gets all versions for a specified detector |
describe_model_versions | Gets all of the model versions for the specified model type or for the specified model type and model ID |
get_batch_import_jobs | Gets all batch import jobs or a specific job of the specified ID |
get_batch_prediction_jobs | Gets all batch prediction jobs or a specific job if you specify a job ID |
get_delete_events_by_event_type_status | Retrieves the status of a DeleteEventsByEventType action |
get_detectors | Gets all detectors or a single detector if a detectorId is specified |
get_detector_version | Gets a particular detector version |
get_entity_types | Gets all entity types or a specific entity type if a name is specified |
get_event | Retrieves details of events stored with Amazon Fraud Detector |
get_event_prediction | Evaluates an event against a detector version |
get_event_prediction_metadata | Gets details of the past fraud predictions for the specified event ID, event type, detector ID, and detector version ID that was generated in the specified time period |
get_event_types | Gets all event types or a specific event type if name is provided |
get_external_models | Gets the details for one or more Amazon SageMaker models that have been imported into the service |
get_kms_encryption_key | Gets the encryption key if a KMS key has been specified to be used to encrypt content in Amazon Fraud Detector |
get_labels | Gets all labels or a specific label if name is provided |
get_list_elements | Gets all the elements in the specified list |
get_lists_metadata | Gets the metadata of either all the lists under the account or the specified list |
get_models | Gets one or more models |
get_model_version | Gets the details of the specified model version |
get_outcomes | Gets one or more outcomes |
get_rules | Get all rules for a detector (paginated) if ruleId and ruleVersion are not specified |
get_variables | Gets all of the variables or the specific variable |
list_event_predictions | Gets a list of past predictions |
list_tags_for_resource | Lists all tags associated with the resource |
put_detector | Creates or updates a detector |
put_entity_type | Creates or updates an entity type |
put_event_type | Creates or updates an event type |
put_external_model | Creates or updates an Amazon SageMaker model endpoint |
put_kms_encryption_key | Specifies the KMS key to be used to encrypt content in Amazon Fraud Detector |
put_label | Creates or updates label |
put_outcome | Creates or updates an outcome |
send_event | Stores events in Amazon Fraud Detector without generating fraud predictions for those events |
tag_resource | Assigns tags to a resource |
untag_resource | Removes tags from a resource |
update_detector_version | Updates a detector version |
update_detector_version_metadata | Updates the detector version's description |
update_detector_version_status | Updates the detector version’s status |
update_event_label | Updates the specified event with a new label |
update_list | Updates a list |
update_model | Updates model description |
update_model_version | Updates a model version |
update_model_version_status | Updates the status of a model version |
update_rule_metadata | Updates a rule's metadata |
update_rule_version | Updates a rule version resulting in a new rule version |
update_variable | Updates a variable |
Examples
## Not run:
svc <- frauddetector()
svc$batch_create_variable(
Foo = 123
)
## End(Not run)
Creates a batch of variables
Description
Creates a batch of variables.
See https://www.paws-r-sdk.com/docs/frauddetector_batch_create_variable/ for full documentation.
Usage
frauddetector_batch_create_variable(variableEntries, tags = NULL)
Arguments
variableEntries |
[required] The list of variables for the batch create variable request. |
tags |
A collection of key and value pairs. |
Gets a batch of variables
Description
Gets a batch of variables.
See https://www.paws-r-sdk.com/docs/frauddetector_batch_get_variable/ for full documentation.
Usage
frauddetector_batch_get_variable(names)
Arguments
names |
[required] The list of variable names to get. |
Cancels an in-progress batch import job
Description
Cancels an in-progress batch import job.
See https://www.paws-r-sdk.com/docs/frauddetector_cancel_batch_import_job/ for full documentation.
Usage
frauddetector_cancel_batch_import_job(jobId)
Arguments
jobId |
[required] The ID of an in-progress batch import job to cancel. Amazon Fraud Detector will throw an error if the batch import job is in
|
Cancels the specified batch prediction job
Description
Cancels the specified batch prediction job.
See https://www.paws-r-sdk.com/docs/frauddetector_cancel_batch_prediction_job/ for full documentation.
Usage
frauddetector_cancel_batch_prediction_job(jobId)
Arguments
jobId |
[required] The ID of the batch prediction job to cancel. |
Creates a batch import job
Description
Creates a batch import job.
See https://www.paws-r-sdk.com/docs/frauddetector_create_batch_import_job/ for full documentation.
Usage
frauddetector_create_batch_import_job(
jobId,
inputPath,
outputPath,
eventTypeName,
iamRoleArn,
tags = NULL
)
Arguments
jobId |
[required] The ID of the batch import job. The ID cannot be of a past job, unless
the job exists in |
inputPath |
[required] The URI that points to the Amazon S3 location of your data file. |
outputPath |
[required] The URI that points to the Amazon S3 location for storing your results. |
eventTypeName |
[required] The name of the event type. |
iamRoleArn |
[required] The ARN of the IAM role created for Amazon S3 bucket that holds your data file. The IAM role must have read permissions to your input S3 bucket and write permissions to your output S3 bucket. For more information about bucket permissions, see User policy examples in the Amazon S3 User Guide. |
tags |
A collection of key-value pairs associated with this request. |
Creates a batch prediction job
Description
Creates a batch prediction job.
See https://www.paws-r-sdk.com/docs/frauddetector_create_batch_prediction_job/ for full documentation.
Usage
frauddetector_create_batch_prediction_job(
jobId,
inputPath,
outputPath,
eventTypeName,
detectorName,
detectorVersion = NULL,
iamRoleArn,
tags = NULL
)
Arguments
jobId |
[required] The ID of the batch prediction job. |
inputPath |
[required] The Amazon S3 location of your training file. |
outputPath |
[required] The Amazon S3 location of your output file. |
eventTypeName |
[required] The name of the event type. |
detectorName |
[required] The name of the detector. |
detectorVersion |
The detector version. |
iamRoleArn |
[required] The ARN of the IAM role to use for this job request. The IAM Role must have read permissions to your input S3 bucket and write permissions to your output S3 bucket. For more information about bucket permissions, see User policy examples in the Amazon S3 User Guide. |
tags |
A collection of key and value pairs. |
Creates a detector version
Description
Creates a detector version. The detector version starts in a DRAFT
status.
See https://www.paws-r-sdk.com/docs/frauddetector_create_detector_version/ for full documentation.
Usage
frauddetector_create_detector_version(
detectorId,
description = NULL,
externalModelEndpoints = NULL,
rules,
modelVersions = NULL,
ruleExecutionMode = NULL,
tags = NULL
)
Arguments
detectorId |
[required] The ID of the detector under which you want to create a new version. |
description |
The description of the detector version. |
externalModelEndpoints |
The Amazon Sagemaker model endpoints to include in the detector version. |
rules |
[required] The rules to include in the detector version. |
modelVersions |
The model versions to include in the detector version. |
ruleExecutionMode |
The rule execution mode for the rules included in the detector version. You can define and edit the rule mode at the detector version level, when it is in draft status. If you specify If you specifiy The default behavior is |
tags |
A collection of key and value pairs. |
Creates a list
Description
Creates a list.
See https://www.paws-r-sdk.com/docs/frauddetector_create_list/ for full documentation.
Usage
frauddetector_create_list(
name,
elements = NULL,
variableType = NULL,
description = NULL,
tags = NULL
)
Arguments
name |
[required] The name of the list. |
elements |
The names of the elements, if providing. You can also create an empty
list and add elements later using the
|
variableType |
The variable type of the list. You can only assign the variable type with String data type. For more information, see Variable types. |
description |
The description of the list. |
tags |
A collection of the key and value pairs. |
Creates a model using the specified model type
Description
Creates a model using the specified model type.
See https://www.paws-r-sdk.com/docs/frauddetector_create_model/ for full documentation.
Usage
frauddetector_create_model(
modelId,
modelType,
description = NULL,
eventTypeName,
tags = NULL
)
Arguments
modelId |
[required] The model ID. |
modelType |
[required] The model type. |
description |
The model description. |
eventTypeName |
[required] The name of the event type. |
tags |
A collection of key and value pairs. |
Creates a version of the model using the specified model type and model id
Description
Creates a version of the model using the specified model type and model id.
See https://www.paws-r-sdk.com/docs/frauddetector_create_model_version/ for full documentation.
Usage
frauddetector_create_model_version(
modelId,
modelType,
trainingDataSource,
trainingDataSchema,
externalEventsDetail = NULL,
ingestedEventsDetail = NULL,
tags = NULL
)
Arguments
modelId |
[required] The model ID. |
modelType |
[required] The model type. |
trainingDataSource |
[required] The training data source location in Amazon S3. |
trainingDataSchema |
[required] The training data schema. |
externalEventsDetail |
Details of the external events data used for model version training.
Required if |
ingestedEventsDetail |
Details of the ingested events data used for model version training.
Required if |
tags |
A collection of key and value pairs. |
Creates a rule for use with the specified detector
Description
Creates a rule for use with the specified detector.
See https://www.paws-r-sdk.com/docs/frauddetector_create_rule/ for full documentation.
Usage
frauddetector_create_rule(
ruleId,
detectorId,
description = NULL,
expression,
language,
outcomes,
tags = NULL
)
Arguments
ruleId |
[required] The rule ID. |
detectorId |
[required] The detector ID for the rule's parent detector. |
description |
The rule description. |
expression |
[required] The rule expression. |
language |
[required] The language of the rule. |
outcomes |
[required] The outcome or outcomes returned when the rule expression matches. |
tags |
A collection of key and value pairs. |
Creates a variable
Description
Creates a variable.
See https://www.paws-r-sdk.com/docs/frauddetector_create_variable/ for full documentation.
Usage
frauddetector_create_variable(
name,
dataType,
dataSource,
defaultValue,
description = NULL,
variableType = NULL,
tags = NULL
)
Arguments
name |
[required] The name of the variable. |
dataType |
[required] The data type of the variable. |
dataSource |
[required] The source of the data. |
defaultValue |
[required] The default value for the variable when no value is received. |
description |
The description. |
variableType |
The variable type. For more information see Variable types. Valid Values:
|
tags |
A collection of key and value pairs. |
Deletes the specified batch import job ID record
Description
Deletes the specified batch import job ID record. This action does not delete the data that was batch imported.
See https://www.paws-r-sdk.com/docs/frauddetector_delete_batch_import_job/ for full documentation.
Usage
frauddetector_delete_batch_import_job(jobId)
Arguments
jobId |
[required] The ID of the batch import job to delete. |
Deletes a batch prediction job
Description
Deletes a batch prediction job.
See https://www.paws-r-sdk.com/docs/frauddetector_delete_batch_prediction_job/ for full documentation.
Usage
frauddetector_delete_batch_prediction_job(jobId)
Arguments
jobId |
[required] The ID of the batch prediction job to delete. |
Deletes the detector
Description
Deletes the detector. Before deleting a detector, you must first delete all detector versions and rule versions associated with the detector.
See https://www.paws-r-sdk.com/docs/frauddetector_delete_detector/ for full documentation.
Usage
frauddetector_delete_detector(detectorId)
Arguments
detectorId |
[required] The ID of the detector to delete. |
Deletes the detector version
Description
Deletes the detector version. You cannot delete detector versions that are in ACTIVE
status.
See https://www.paws-r-sdk.com/docs/frauddetector_delete_detector_version/ for full documentation.
Usage
frauddetector_delete_detector_version(detectorId, detectorVersionId)
Arguments
detectorId |
[required] The ID of the parent detector for the detector version to delete. |
detectorVersionId |
[required] The ID of the detector version to delete. |
Deletes an entity type
Description
Deletes an entity type.
See https://www.paws-r-sdk.com/docs/frauddetector_delete_entity_type/ for full documentation.
Usage
frauddetector_delete_entity_type(name)
Arguments
name |
[required] The name of the entity type to delete. |
Deletes the specified event
Description
Deletes the specified event.
See https://www.paws-r-sdk.com/docs/frauddetector_delete_event/ for full documentation.
Usage
frauddetector_delete_event(eventId, eventTypeName, deleteAuditHistory = NULL)
Arguments
eventId |
[required] The ID of the event to delete. |
eventTypeName |
[required] The name of the event type. |
deleteAuditHistory |
Specifies whether or not to delete any predictions associated with the
event. If set to |
Deletes an event type
Description
Deletes an event type.
See https://www.paws-r-sdk.com/docs/frauddetector_delete_event_type/ for full documentation.
Usage
frauddetector_delete_event_type(name)
Arguments
name |
[required] The name of the event type to delete. |
Deletes all events of a particular event type
Description
Deletes all events of a particular event type.
See https://www.paws-r-sdk.com/docs/frauddetector_delete_events_by_event_type/ for full documentation.
Usage
frauddetector_delete_events_by_event_type(eventTypeName)
Arguments
eventTypeName |
[required] The name of the event type. |
Removes a SageMaker model from Amazon Fraud Detector
Description
Removes a SageMaker model from Amazon Fraud Detector.
See https://www.paws-r-sdk.com/docs/frauddetector_delete_external_model/ for full documentation.
Usage
frauddetector_delete_external_model(modelEndpoint)
Arguments
modelEndpoint |
[required] The endpoint of the Amazon Sagemaker model to delete. |
Deletes a label
Description
Deletes a label.
See https://www.paws-r-sdk.com/docs/frauddetector_delete_label/ for full documentation.
Usage
frauddetector_delete_label(name)
Arguments
name |
[required] The name of the label to delete. |
Deletes the list, provided it is not used in a rule
Description
Deletes the list, provided it is not used in a rule.
See https://www.paws-r-sdk.com/docs/frauddetector_delete_list/ for full documentation.
Usage
frauddetector_delete_list(name)
Arguments
name |
[required] The name of the list to delete. |
Deletes a model
Description
Deletes a model.
See https://www.paws-r-sdk.com/docs/frauddetector_delete_model/ for full documentation.
Usage
frauddetector_delete_model(modelId, modelType)
Arguments
modelId |
[required] The model ID of the model to delete. |
modelType |
[required] The model type of the model to delete. |
Deletes a model version
Description
Deletes a model version.
See https://www.paws-r-sdk.com/docs/frauddetector_delete_model_version/ for full documentation.
Usage
frauddetector_delete_model_version(modelId, modelType, modelVersionNumber)
Arguments
modelId |
[required] The model ID of the model version to delete. |
modelType |
[required] The model type of the model version to delete. |
modelVersionNumber |
[required] The model version number of the model version to delete. |
Deletes an outcome
Description
Deletes an outcome.
See https://www.paws-r-sdk.com/docs/frauddetector_delete_outcome/ for full documentation.
Usage
frauddetector_delete_outcome(name)
Arguments
name |
[required] The name of the outcome to delete. |
Deletes the rule
Description
Deletes the rule. You cannot delete a rule if it is used by an ACTIVE
or INACTIVE
detector version.
See https://www.paws-r-sdk.com/docs/frauddetector_delete_rule/ for full documentation.
Usage
frauddetector_delete_rule(rule)
Arguments
rule |
[required] |
Deletes a variable
Description
Deletes a variable.
See https://www.paws-r-sdk.com/docs/frauddetector_delete_variable/ for full documentation.
Usage
frauddetector_delete_variable(name)
Arguments
name |
[required] The name of the variable to delete. |
Gets all versions for a specified detector
Description
Gets all versions for a specified detector.
See https://www.paws-r-sdk.com/docs/frauddetector_describe_detector/ for full documentation.
Usage
frauddetector_describe_detector(
detectorId,
nextToken = NULL,
maxResults = NULL
)
Arguments
detectorId |
[required] The detector ID. |
nextToken |
The next token from the previous response. |
maxResults |
The maximum number of results to return for the request. |
Gets all of the model versions for the specified model type or for the specified model type and model ID
Description
Gets all of the model versions for the specified model type or for the specified model type and model ID. You can also get details for a single, specified model version.
See https://www.paws-r-sdk.com/docs/frauddetector_describe_model_versions/ for full documentation.
Usage
frauddetector_describe_model_versions(
modelId = NULL,
modelVersionNumber = NULL,
modelType = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
modelId |
The model ID. |
modelVersionNumber |
The model version number. |
modelType |
The model type. |
nextToken |
The next token from the previous results. |
maxResults |
The maximum number of results to return. |
Gets all batch import jobs or a specific job of the specified ID
Description
Gets all batch import jobs or a specific job of the specified ID. This is a paginated API. If you provide a null maxResults
, this action retrieves a maximum of 50 records per page. If you provide a maxResults
, the value must be between 1 and 50. To get the next page results, provide the pagination token from the GetBatchImportJobsResponse
as part of your request. A null pagination token fetches the records from the beginning.
See https://www.paws-r-sdk.com/docs/frauddetector_get_batch_import_jobs/ for full documentation.
Usage
frauddetector_get_batch_import_jobs(
jobId = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
jobId |
The ID of the batch import job to get. |
maxResults |
The maximum number of objects to return for request. |
nextToken |
The next token from the previous request. |
Gets all batch prediction jobs or a specific job if you specify a job ID
Description
Gets all batch prediction jobs or a specific job if you specify a job ID. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from the GetBatchPredictionJobsResponse as part of your request. A null pagination token fetches the records from the beginning.
See https://www.paws-r-sdk.com/docs/frauddetector_get_batch_prediction_jobs/ for full documentation.
Usage
frauddetector_get_batch_prediction_jobs(
jobId = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
jobId |
The batch prediction job for which to get the details. |
maxResults |
The maximum number of objects to return for the request. |
nextToken |
The next token from the previous request. |
Retrieves the status of a DeleteEventsByEventType action
Description
Retrieves the status of a delete_events_by_event_type
action.
See https://www.paws-r-sdk.com/docs/frauddetector_get_delete_events_by_event_type_status/ for full documentation.
Usage
frauddetector_get_delete_events_by_event_type_status(eventTypeName)
Arguments
eventTypeName |
[required] Name of event type for which to get the deletion status. |
Gets a particular detector version
Description
Gets a particular detector version.
See https://www.paws-r-sdk.com/docs/frauddetector_get_detector_version/ for full documentation.
Usage
frauddetector_get_detector_version(detectorId, detectorVersionId)
Arguments
detectorId |
[required] The detector ID. |
detectorVersionId |
[required] The detector version ID. |
Gets all detectors or a single detector if a detectorId is specified
Description
Gets all detectors or a single detector if a detectorId
is specified. This is a paginated API. If you provide a null maxResults
, this action retrieves a maximum of 10 records per page. If you provide a maxResults
, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetDetectorsResponse
as part of your request. A null pagination token fetches the records from the beginning.
See https://www.paws-r-sdk.com/docs/frauddetector_get_detectors/ for full documentation.
Usage
frauddetector_get_detectors(
detectorId = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
detectorId |
The detector ID. |
nextToken |
The next token for the subsequent request. |
maxResults |
The maximum number of objects to return for the request. |
Gets all entity types or a specific entity type if a name is specified
Description
Gets all entity types or a specific entity type if a name is specified. This is a paginated API. If you provide a null maxResults
, this action retrieves a maximum of 10 records per page. If you provide a maxResults
, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEntityTypesResponse
as part of your request. A null pagination token fetches the records from the beginning.
See https://www.paws-r-sdk.com/docs/frauddetector_get_entity_types/ for full documentation.
Usage
frauddetector_get_entity_types(
name = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
name |
The name. |
nextToken |
The next token for the subsequent request. |
maxResults |
The maximum number of objects to return for the request. |
Retrieves details of events stored with Amazon Fraud Detector
Description
Retrieves details of events stored with Amazon Fraud Detector. This action does not retrieve prediction results.
See https://www.paws-r-sdk.com/docs/frauddetector_get_event/ for full documentation.
Usage
frauddetector_get_event(eventId, eventTypeName)
Arguments
eventId |
[required] The ID of the event to retrieve. |
eventTypeName |
[required] The event type of the event to retrieve. |
Evaluates an event against a detector version
Description
Evaluates an event against a detector version. If a version ID is not provided, the detector’s (ACTIVE
) version is used.
See https://www.paws-r-sdk.com/docs/frauddetector_get_event_prediction/ for full documentation.
Usage
frauddetector_get_event_prediction(
detectorId,
detectorVersionId = NULL,
eventId,
eventTypeName,
entities,
eventTimestamp,
eventVariables,
externalModelEndpointDataBlobs = NULL
)
Arguments
detectorId |
[required] The detector ID. |
detectorVersionId |
The detector version ID. |
eventId |
[required] The unique ID used to identify the event. |
eventTypeName |
[required] The event type associated with the detector specified for the prediction. |
entities |
[required] The entity type (associated with the detector's event type) and specific entity ID representing who performed the event. If an entity id is not available, use "UNKNOWN." |
eventTimestamp |
[required] Timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC. |
eventVariables |
[required] Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation. You must provide at least one eventVariable To ensure most accurate fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows: For Amazon Fraud Detector trained models: If a null value is provided explicitly for a variable or if a variable is missing, model will replace the null value or the missing variable (no variable name in the eventVariables map) with calculated default mean/medians for numeric variables and with special values for categorical variables. For imported SageMaker models: If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules will use the default value that is provided for the variable. |
externalModelEndpointDataBlobs |
The Amazon SageMaker model endpoint input data blobs. |
Gets details of the past fraud predictions for the specified event ID, event type, detector ID, and detector version ID that was generated in the specified time period
Description
Gets details of the past fraud predictions for the specified event ID, event type, detector ID, and detector version ID that was generated in the specified time period.
See https://www.paws-r-sdk.com/docs/frauddetector_get_event_prediction_metadata/ for full documentation.
Usage
frauddetector_get_event_prediction_metadata(
eventId,
eventTypeName,
detectorId,
detectorVersionId,
predictionTimestamp
)
Arguments
eventId |
[required] The event ID. |
eventTypeName |
[required] The event type associated with the detector specified for the prediction. |
detectorId |
[required] The detector ID. |
detectorVersionId |
[required] The detector version ID. |
predictionTimestamp |
[required] The timestamp that defines when the prediction was generated. The timestamp must be specified using ISO 8601 standard in UTC. We recommend calling
|
Gets all event types or a specific event type if name is provided
Description
Gets all event types or a specific event type if name is provided. This is a paginated API. If you provide a null maxResults
, this action retrieves a maximum of 10 records per page. If you provide a maxResults
, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEventTypesResponse
as part of your request. A null pagination token fetches the records from the beginning.
See https://www.paws-r-sdk.com/docs/frauddetector_get_event_types/ for full documentation.
Usage
frauddetector_get_event_types(name = NULL, nextToken = NULL, maxResults = NULL)
Arguments
name |
The name. |
nextToken |
The next token for the subsequent request. |
maxResults |
The maximum number of objects to return for the request. |
Gets the details for one or more Amazon SageMaker models that have been imported into the service
Description
Gets the details for one or more Amazon SageMaker models that have been imported into the service. This is a paginated API. If you provide a null maxResults
, this actions retrieves a maximum of 10 records per page. If you provide a maxResults
, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetExternalModelsResult
as part of your request. A null pagination token fetches the records from the beginning.
See https://www.paws-r-sdk.com/docs/frauddetector_get_external_models/ for full documentation.
Usage
frauddetector_get_external_models(
modelEndpoint = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
modelEndpoint |
The Amazon SageMaker model endpoint. |
nextToken |
The next page token for the request. |
maxResults |
The maximum number of objects to return for the request. |
Gets the encryption key if a KMS key has been specified to be used to encrypt content in Amazon Fraud Detector
Description
Gets the encryption key if a KMS key has been specified to be used to encrypt content in Amazon Fraud Detector.
See https://www.paws-r-sdk.com/docs/frauddetector_get_kms_encryption_key/ for full documentation.
Usage
frauddetector_get_kms_encryption_key()
Gets all labels or a specific label if name is provided
Description
Gets all labels or a specific label if name is provided. This is a paginated API. If you provide a null maxResults
, this action retrieves a maximum of 50 records per page. If you provide a maxResults
, the value must be between 10 and 50. To get the next page results, provide the pagination token from the GetGetLabelsResponse
as part of your request. A null pagination token fetches the records from the beginning.
See https://www.paws-r-sdk.com/docs/frauddetector_get_labels/ for full documentation.
Usage
frauddetector_get_labels(name = NULL, nextToken = NULL, maxResults = NULL)
Arguments
name |
The name of the label or labels to get. |
nextToken |
The next token for the subsequent request. |
maxResults |
The maximum number of objects to return for the request. |
Gets all the elements in the specified list
Description
Gets all the elements in the specified list.
See https://www.paws-r-sdk.com/docs/frauddetector_get_list_elements/ for full documentation.
Usage
frauddetector_get_list_elements(name, nextToken = NULL, maxResults = NULL)
Arguments
name |
[required] The name of the list. |
nextToken |
The next token for the subsequent request. |
maxResults |
The maximum number of objects to return for the request. |
Gets the metadata of either all the lists under the account or the specified list
Description
Gets the metadata of either all the lists under the account or the specified list.
See https://www.paws-r-sdk.com/docs/frauddetector_get_lists_metadata/ for full documentation.
Usage
frauddetector_get_lists_metadata(
name = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
name |
The name of the list. |
nextToken |
The next token for the subsequent request. |
maxResults |
The maximum number of objects to return for the request. |
Gets the details of the specified model version
Description
Gets the details of the specified model version.
See https://www.paws-r-sdk.com/docs/frauddetector_get_model_version/ for full documentation.
Usage
frauddetector_get_model_version(modelId, modelType, modelVersionNumber)
Arguments
modelId |
[required] The model ID. |
modelType |
[required] The model type. |
modelVersionNumber |
[required] The model version number. |
Gets one or more models
Description
Gets one or more models. Gets all models for the Amazon Web Services account if no model type and no model id provided. Gets all models for the Amazon Web Services account and model type, if the model type is specified but model id is not provided. Gets a specific model if (model type, model id) tuple is specified.
See https://www.paws-r-sdk.com/docs/frauddetector_get_models/ for full documentation.
Usage
frauddetector_get_models(
modelId = NULL,
modelType = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
modelId |
The model ID. |
modelType |
The model type. |
nextToken |
The next token for the subsequent request. |
maxResults |
The maximum number of objects to return for the request. |
Gets one or more outcomes
Description
Gets one or more outcomes. This is a paginated API. If you provide a null maxResults
, this actions retrieves a maximum of 100 records per page. If you provide a maxResults
, the value must be between 50 and 100. To get the next page results, provide the pagination token from the GetOutcomesResult
as part of your request. A null pagination token fetches the records from the beginning.
See https://www.paws-r-sdk.com/docs/frauddetector_get_outcomes/ for full documentation.
Usage
frauddetector_get_outcomes(name = NULL, nextToken = NULL, maxResults = NULL)
Arguments
name |
The name of the outcome or outcomes to get. |
nextToken |
The next page token for the request. |
maxResults |
The maximum number of objects to return for the request. |
Get all rules for a detector (paginated) if ruleId and ruleVersion are not specified
Description
Get all rules for a detector (paginated) if ruleId
and ruleVersion
are not specified. Gets all rules for the detector and the ruleId
if present (paginated). Gets a specific rule if both the ruleId
and the ruleVersion
are specified.
See https://www.paws-r-sdk.com/docs/frauddetector_get_rules/ for full documentation.
Usage
frauddetector_get_rules(
ruleId = NULL,
detectorId,
ruleVersion = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
ruleId |
The rule ID. |
detectorId |
[required] The detector ID. |
ruleVersion |
The rule version. |
nextToken |
The next page token. |
maxResults |
The maximum number of rules to return for the request. |
Gets all of the variables or the specific variable
Description
Gets all of the variables or the specific variable. This is a paginated API. Providing null maxSizePerPage
results in retrieving maximum of 100 records per page. If you provide maxSizePerPage
the value must be between 50 and 100. To get the next page result, a provide a pagination token from GetVariablesResult
as part of your request. Null pagination token fetches the records from the beginning.
See https://www.paws-r-sdk.com/docs/frauddetector_get_variables/ for full documentation.
Usage
frauddetector_get_variables(name = NULL, nextToken = NULL, maxResults = NULL)
Arguments
name |
The name of the variable. |
nextToken |
The next page token of the get variable request. |
maxResults |
The max size per page determined for the get variable request. |
Gets a list of past predictions
Description
Gets a list of past predictions. The list can be filtered by detector ID, detector version ID, event ID, event type, or by specifying a time period. If filter is not specified, the most recent prediction is returned.
See https://www.paws-r-sdk.com/docs/frauddetector_list_event_predictions/ for full documentation.
Usage
frauddetector_list_event_predictions(
eventId = NULL,
eventType = NULL,
detectorId = NULL,
detectorVersionId = NULL,
predictionTimeRange = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
eventId |
The event ID. |
eventType |
The event type associated with the detector. |
detectorId |
The detector ID. |
detectorVersionId |
The detector version ID. |
predictionTimeRange |
The time period for when the predictions were generated. |
nextToken |
Identifies the next page of results to return. Use the token to make the call again to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. |
maxResults |
The maximum number of predictions to return for the request. |
Lists all tags associated with the resource
Description
Lists all tags associated with the resource. This is a paginated API. To get the next page results, provide the pagination token from the response as part of your request. A null pagination token fetches the records from the beginning.
See https://www.paws-r-sdk.com/docs/frauddetector_list_tags_for_resource/ for full documentation.
Usage
frauddetector_list_tags_for_resource(
resourceARN,
nextToken = NULL,
maxResults = NULL
)
Arguments
resourceARN |
[required] The ARN that specifies the resource whose tags you want to list. |
nextToken |
The next token from the previous results. |
maxResults |
The maximum number of objects to return for the request. |
Creates or updates a detector
Description
Creates or updates a detector.
See https://www.paws-r-sdk.com/docs/frauddetector_put_detector/ for full documentation.
Usage
frauddetector_put_detector(
detectorId,
description = NULL,
eventTypeName,
tags = NULL
)
Arguments
detectorId |
[required] The detector ID. |
description |
The description of the detector. |
eventTypeName |
[required] The name of the event type. |
tags |
A collection of key and value pairs. |
Creates or updates an entity type
Description
Creates or updates an entity type. An entity represents who is performing the event. As part of a fraud prediction, you pass the entity ID to indicate the specific entity who performed the event. An entity type classifies the entity. Example classifications include customer, merchant, or account.
See https://www.paws-r-sdk.com/docs/frauddetector_put_entity_type/ for full documentation.
Usage
frauddetector_put_entity_type(name, description = NULL, tags = NULL)
Arguments
name |
[required] The name of the entity type. |
description |
The description. |
tags |
A collection of key and value pairs. |
Creates or updates an event type
Description
Creates or updates an event type. An event is a business activity that is evaluated for fraud risk. With Amazon Fraud Detector, you generate fraud predictions for events. An event type defines the structure for an event sent to Amazon Fraud Detector. This includes the variables sent as part of the event, the entity performing the event (such as a customer), and the labels that classify the event. Example event types include online payment transactions, account registrations, and authentications.
See https://www.paws-r-sdk.com/docs/frauddetector_put_event_type/ for full documentation.
Usage
frauddetector_put_event_type(
name,
description = NULL,
eventVariables,
labels = NULL,
entityTypes,
eventIngestion = NULL,
tags = NULL,
eventOrchestration = NULL
)
Arguments
name |
[required] The name. |
description |
The description of the event type. |
eventVariables |
[required] The event type variables. |
labels |
The event type labels. |
entityTypes |
[required] The entity type for the event type. Example entity types: customer, merchant, account. |
eventIngestion |
Specifies if ingestion is enabled or disabled. |
tags |
A collection of key and value pairs. |
eventOrchestration |
Enables or disables event orchestration. If enabled, you can send event predictions to select AWS services for downstream processing of the events. |
Creates or updates an Amazon SageMaker model endpoint
Description
Creates or updates an Amazon SageMaker model endpoint. You can also use this action to update the configuration of the model endpoint, including the IAM role and/or the mapped variables.
See https://www.paws-r-sdk.com/docs/frauddetector_put_external_model/ for full documentation.
Usage
frauddetector_put_external_model(
modelEndpoint,
modelSource,
invokeModelEndpointRoleArn,
inputConfiguration,
outputConfiguration,
modelEndpointStatus,
tags = NULL
)
Arguments
modelEndpoint |
[required] The model endpoints name. |
modelSource |
[required] The source of the model. |
invokeModelEndpointRoleArn |
[required] The IAM role used to invoke the model endpoint. |
inputConfiguration |
[required] The model endpoint input configuration. |
outputConfiguration |
[required] The model endpoint output configuration. |
modelEndpointStatus |
[required] The model endpoint’s status in Amazon Fraud Detector. |
tags |
A collection of key and value pairs. |
Specifies the KMS key to be used to encrypt content in Amazon Fraud Detector
Description
Specifies the KMS key to be used to encrypt content in Amazon Fraud Detector.
See https://www.paws-r-sdk.com/docs/frauddetector_put_kms_encryption_key/ for full documentation.
Usage
frauddetector_put_kms_encryption_key(kmsEncryptionKeyArn)
Arguments
kmsEncryptionKeyArn |
[required] The KMS encryption key ARN. The KMS key must be single-Region key. Amazon Fraud Detector does not support multi-Region KMS key. |
Creates or updates label
Description
Creates or updates label. A label classifies an event as fraudulent or legitimate. Labels are associated with event types and used to train supervised machine learning models in Amazon Fraud Detector.
See https://www.paws-r-sdk.com/docs/frauddetector_put_label/ for full documentation.
Usage
frauddetector_put_label(name, description = NULL, tags = NULL)
Arguments
name |
[required] The label name. |
description |
The label description. |
tags |
A collection of key and value pairs. |
Creates or updates an outcome
Description
Creates or updates an outcome.
See https://www.paws-r-sdk.com/docs/frauddetector_put_outcome/ for full documentation.
Usage
frauddetector_put_outcome(name, description = NULL, tags = NULL)
Arguments
name |
[required] The name of the outcome. |
description |
The outcome description. |
tags |
A collection of key and value pairs. |
Stores events in Amazon Fraud Detector without generating fraud predictions for those events
Description
Stores events in Amazon Fraud Detector without generating fraud predictions for those events. For example, you can use send_event
to upload a historical dataset, which you can then later use to train a model.
See https://www.paws-r-sdk.com/docs/frauddetector_send_event/ for full documentation.
Usage
frauddetector_send_event(
eventId,
eventTypeName,
eventTimestamp,
eventVariables,
assignedLabel = NULL,
labelTimestamp = NULL,
entities
)
Arguments
eventId |
[required] The event ID to upload. |
eventTypeName |
[required] The event type name of the event. |
eventTimestamp |
[required] The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC. |
eventVariables |
[required] Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation. |
assignedLabel |
The label to associate with the event. Required if specifying
|
labelTimestamp |
The timestamp associated with the label. Required if specifying
|
entities |
[required] An array of entities. |
Assigns tags to a resource
Description
Assigns tags to a resource.
See https://www.paws-r-sdk.com/docs/frauddetector_tag_resource/ for full documentation.
Usage
frauddetector_tag_resource(resourceARN, tags)
Arguments
resourceARN |
[required] The resource ARN. |
tags |
[required] The tags to assign to the resource. |
Removes tags from a resource
Description
Removes tags from a resource.
See https://www.paws-r-sdk.com/docs/frauddetector_untag_resource/ for full documentation.
Usage
frauddetector_untag_resource(resourceARN, tagKeys)
Arguments
resourceARN |
[required] The ARN of the resource from which to remove the tag. |
tagKeys |
[required] The resource ARN. |
Updates a detector version
Description
Updates a detector version. The detector version attributes that you can update include models, external model endpoints, rules, rule execution mode, and description. You can only update a DRAFT
detector version.
See https://www.paws-r-sdk.com/docs/frauddetector_update_detector_version/ for full documentation.
Usage
frauddetector_update_detector_version(
detectorId,
detectorVersionId,
externalModelEndpoints,
rules,
description = NULL,
modelVersions = NULL,
ruleExecutionMode = NULL
)
Arguments
detectorId |
[required] The parent detector ID for the detector version you want to update. |
detectorVersionId |
[required] The detector version ID. |
externalModelEndpoints |
[required] The Amazon SageMaker model endpoints to include in the detector version. |
rules |
[required] The rules to include in the detector version. |
description |
The detector version description. |
modelVersions |
The model versions to include in the detector version. |
ruleExecutionMode |
The rule execution mode to add to the detector. If you specify If you specifiy The default behavior is |
Updates the detector version's description
Description
Updates the detector version's description. You can update the metadata for any detector version (DRAFT, ACTIVE,
or INACTIVE
).
See https://www.paws-r-sdk.com/docs/frauddetector_update_detector_version_metadata/ for full documentation.
Usage
frauddetector_update_detector_version_metadata(
detectorId,
detectorVersionId,
description
)
Arguments
detectorId |
[required] The detector ID. |
detectorVersionId |
[required] The detector version ID. |
description |
[required] The description. |
Updates the detector version’s status
Description
Updates the detector version’s status. You can perform the following promotions or demotions using update_detector_version_status
: DRAFT
to ACTIVE
, ACTIVE
to INACTIVE
, and INACTIVE
to ACTIVE
.
See https://www.paws-r-sdk.com/docs/frauddetector_update_detector_version_status/ for full documentation.
Usage
frauddetector_update_detector_version_status(
detectorId,
detectorVersionId,
status
)
Arguments
detectorId |
[required] The detector ID. |
detectorVersionId |
[required] The detector version ID. |
status |
[required] The new status. The only supported values are |
Updates the specified event with a new label
Description
Updates the specified event with a new label.
See https://www.paws-r-sdk.com/docs/frauddetector_update_event_label/ for full documentation.
Usage
frauddetector_update_event_label(
eventId,
eventTypeName,
assignedLabel,
labelTimestamp
)
Arguments
eventId |
[required] The ID of the event associated with the label to update. |
eventTypeName |
[required] The event type of the event associated with the label to update. |
assignedLabel |
[required] The new label to assign to the event. |
labelTimestamp |
[required] The timestamp associated with the label. The timestamp must be specified using ISO 8601 standard in UTC. |
Updates a list
Description
Updates a list.
See https://www.paws-r-sdk.com/docs/frauddetector_update_list/ for full documentation.
Usage
frauddetector_update_list(
name,
elements = NULL,
description = NULL,
updateMode = NULL,
variableType = NULL
)
Arguments
name |
[required] The name of the list to update. |
elements |
One or more list elements to add or replace. If you are providing the
elements, make sure to specify the If you are deleting all elements from the list, use |
description |
The new description. |
updateMode |
The update mode (type).
|
variableType |
The variable type you want to assign to the list. You cannot update a variable type of a list that already has a variable type assigned to it. You can assign a variable type to a list only if the list does not already have a variable type. |
Updates model description
Description
Updates model description.
See https://www.paws-r-sdk.com/docs/frauddetector_update_model/ for full documentation.
Usage
frauddetector_update_model(modelId, modelType, description = NULL)
Arguments
modelId |
[required] The model ID. |
modelType |
[required] The model type. |
description |
The new model description. |
Updates a model version
Description
Updates a model version. Updating a model version retrains an existing model version using updated training data and produces a new minor version of the model. You can update the training data set location and data access role attributes using this action. This action creates and trains a new minor version of the model, for example version 1.01, 1.02, 1.03.
See https://www.paws-r-sdk.com/docs/frauddetector_update_model_version/ for full documentation.
Usage
frauddetector_update_model_version(
modelId,
modelType,
majorVersionNumber,
externalEventsDetail = NULL,
ingestedEventsDetail = NULL,
tags = NULL
)
Arguments
modelId |
[required] The model ID. |
modelType |
[required] The model type. |
majorVersionNumber |
[required] The major version number. |
externalEventsDetail |
The details of the external events data used for training the model
version. Required if |
ingestedEventsDetail |
The details of the ingested event used for training the model version.
Required if your |
tags |
A collection of key and value pairs. |
Updates the status of a model version
Description
Updates the status of a model version.
See https://www.paws-r-sdk.com/docs/frauddetector_update_model_version_status/ for full documentation.
Usage
frauddetector_update_model_version_status(
modelId,
modelType,
modelVersionNumber,
status
)
Arguments
modelId |
[required] The model ID of the model version to update. |
modelType |
[required] The model type. |
modelVersionNumber |
[required] The model version number. |
status |
[required] The model version status. |
Updates a rule's metadata
Description
Updates a rule's metadata. The description attribute can be updated.
See https://www.paws-r-sdk.com/docs/frauddetector_update_rule_metadata/ for full documentation.
Usage
frauddetector_update_rule_metadata(rule, description)
Arguments
rule |
[required] The rule to update. |
description |
[required] The rule description. |
Updates a rule version resulting in a new rule version
Description
Updates a rule version resulting in a new rule version. Updates a rule version resulting in a new rule version (version 1, 2, 3 ...).
See https://www.paws-r-sdk.com/docs/frauddetector_update_rule_version/ for full documentation.
Usage
frauddetector_update_rule_version(
rule,
description = NULL,
expression,
language,
outcomes,
tags = NULL
)
Arguments
rule |
[required] The rule to update. |
description |
The description. |
expression |
[required] The rule expression. |
language |
[required] The language. |
outcomes |
[required] The outcomes. |
tags |
The tags to assign to the rule version. |
Updates a variable
Description
Updates a variable.
See https://www.paws-r-sdk.com/docs/frauddetector_update_variable/ for full documentation.
Usage
frauddetector_update_variable(
name,
defaultValue = NULL,
description = NULL,
variableType = NULL
)
Arguments
name |
[required] The name of the variable. |
defaultValue |
The new default value of the variable. |
description |
The new description. |
variableType |
The variable type. For more information see Variable types. |
Amazon Lex Model Building Service
Description
Amazon Lex Build-Time Actions
Amazon Lex is an AWS service for building conversational voice and text interfaces. Use these actions to create, update, and delete conversational bots for new and existing client applications.
Usage
lexmodelbuildingservice(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- lexmodelbuildingservice( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
create_bot_version | Creates a new version of the bot based on the $LATEST version |
create_intent_version | Creates a new version of an intent based on the $LATEST version of the intent |
create_slot_type_version | Creates a new version of a slot type based on the $LATEST version of the specified slot type |
delete_bot | Deletes all versions of the bot, including the $LATEST version |
delete_bot_alias | Deletes an alias for the specified bot |
delete_bot_channel_association | Deletes the association between an Amazon Lex bot and a messaging platform |
delete_bot_version | Deletes a specific version of a bot |
delete_intent | Deletes all versions of the intent, including the $LATEST version |
delete_intent_version | Deletes a specific version of an intent |
delete_slot_type | Deletes all versions of the slot type, including the $LATEST version |
delete_slot_type_version | Deletes a specific version of a slot type |
delete_utterances | Deletes stored utterances |
get_bot | Returns metadata information for a specific bot |
get_bot_alias | Returns information about an Amazon Lex bot alias |
get_bot_aliases | Returns a list of aliases for a specified Amazon Lex bot |
get_bot_channel_association | Returns information about the association between an Amazon Lex bot and a messaging platform |
get_bot_channel_associations | Returns a list of all of the channels associated with the specified bot |
get_bots | Returns bot information as follows: |
get_bot_versions | Gets information about all of the versions of a bot |
get_builtin_intent | Returns information about a built-in intent |
get_builtin_intents | Gets a list of built-in intents that meet the specified criteria |
get_builtin_slot_types | Gets a list of built-in slot types that meet the specified criteria |
get_export | Exports the contents of a Amazon Lex resource in a specified format |
get_import | Gets information about an import job started with the StartImport operation |
get_intent | Returns information about an intent |
get_intents | Returns intent information as follows: |
get_intent_versions | Gets information about all of the versions of an intent |
get_migration | Provides details about an ongoing or complete migration from an Amazon Lex V1 bot to an Amazon Lex V2 bot |
get_migrations | Gets a list of migrations between Amazon Lex V1 and Amazon Lex V2 |
get_slot_type | Returns information about a specific version of a slot type |
get_slot_types | Returns slot type information as follows: |
get_slot_type_versions | Gets information about all versions of a slot type |
get_utterances_view | Use the GetUtterancesView operation to get information about the utterances that your users have made to your bot |
list_tags_for_resource | Gets a list of tags associated with the specified resource |
put_bot | Creates an Amazon Lex conversational bot or replaces an existing bot |
put_bot_alias | Creates an alias for the specified version of the bot or replaces an alias for the specified bot |
put_intent | Creates an intent or replaces an existing intent |
put_slot_type | Creates a custom slot type or replaces an existing custom slot type |
start_import | Starts a job to import a resource to Amazon Lex |
start_migration | Starts migrating a bot from Amazon Lex V1 to Amazon Lex V2 |
tag_resource | Adds the specified tags to the specified resource |
untag_resource | Removes tags from a bot, bot alias or bot channel |
Examples
## Not run:
svc <- lexmodelbuildingservice()
# This example shows how to get configuration information for a bot.
svc$get_bot(
name = "DocOrderPizza",
versionOrAlias = "$LATEST"
)
## End(Not run)
Creates a new version of the bot based on the $LATEST version
Description
Creates a new version of the bot based on the $LATEST
version. If the $LATEST
version of this resource hasn't changed since you created the last version, Amazon Lex doesn't create a new version. It returns the last created version.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_create_bot_version/ for full documentation.
Usage
lexmodelbuildingservice_create_bot_version(name, checksum = NULL)
Arguments
name |
[required] The name of the bot that you want to create a new version of. The name is case sensitive. |
checksum |
Identifies a specific revision of the |
Creates a new version of an intent based on the $LATEST version of the intent
Description
Creates a new version of an intent based on the $LATEST
version of the intent. If the $LATEST
version of this intent hasn't changed since you last updated it, Amazon Lex doesn't create a new version. It returns the last version you created.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_create_intent_version/ for full documentation.
Usage
lexmodelbuildingservice_create_intent_version(name, checksum = NULL)
Arguments
name |
[required] The name of the intent that you want to create a new version of. The name is case sensitive. |
checksum |
Checksum of the |
Creates a new version of a slot type based on the $LATEST version of the specified slot type
Description
Creates a new version of a slot type based on the $LATEST
version of the specified slot type. If the $LATEST
version of this resource has not changed since the last version that you created, Amazon Lex doesn't create a new version. It returns the last version that you created.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_create_slot_type_version/ for full documentation.
Usage
lexmodelbuildingservice_create_slot_type_version(name, checksum = NULL)
Arguments
name |
[required] The name of the slot type that you want to create a new version for. The name is case sensitive. |
checksum |
Checksum for the |
Deletes all versions of the bot, including the $LATEST version
Description
Deletes all versions of the bot, including the $LATEST
version. To delete a specific version of the bot, use the delete_bot_version
operation. The delete_bot
operation doesn't immediately remove the bot schema. Instead, it is marked for deletion and removed later.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_delete_bot/ for full documentation.
Usage
lexmodelbuildingservice_delete_bot(name)
Arguments
name |
[required] The name of the bot. The name is case sensitive. |
Deletes an alias for the specified bot
Description
Deletes an alias for the specified bot.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_delete_bot_alias/ for full documentation.
Usage
lexmodelbuildingservice_delete_bot_alias(name, botName)
Arguments
name |
[required] The name of the alias to delete. The name is case sensitive. |
botName |
[required] The name of the bot that the alias points to. |
Deletes the association between an Amazon Lex bot and a messaging platform
Description
Deletes the association between an Amazon Lex bot and a messaging platform.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_delete_bot_channel_association/ for full documentation.
Usage
lexmodelbuildingservice_delete_bot_channel_association(name, botName, botAlias)
Arguments
name |
[required] The name of the association. The name is case sensitive. |
botName |
[required] The name of the Amazon Lex bot. |
botAlias |
[required] An alias that points to the specific version of the Amazon Lex bot to which this association is being made. |
Deletes a specific version of a bot
Description
Deletes a specific version of a bot. To delete all versions of a bot, use the delete_bot
operation.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_delete_bot_version/ for full documentation.
Usage
lexmodelbuildingservice_delete_bot_version(name, version)
Arguments
name |
[required] The name of the bot. |
version |
[required] The version of the bot to delete. You cannot delete the |
Deletes all versions of the intent, including the $LATEST version
Description
Deletes all versions of the intent, including the $LATEST
version. To delete a specific version of the intent, use the delete_intent_version
operation.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_delete_intent/ for full documentation.
Usage
lexmodelbuildingservice_delete_intent(name)
Arguments
name |
[required] The name of the intent. The name is case sensitive. |
Deletes a specific version of an intent
Description
Deletes a specific version of an intent. To delete all versions of a intent, use the delete_intent
operation.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_delete_intent_version/ for full documentation.
Usage
lexmodelbuildingservice_delete_intent_version(name, version)
Arguments
name |
[required] The name of the intent. |
version |
[required] The version of the intent to delete. You cannot delete the |
Deletes all versions of the slot type, including the $LATEST version
Description
Deletes all versions of the slot type, including the $LATEST
version. To delete a specific version of the slot type, use the delete_slot_type_version
operation.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_delete_slot_type/ for full documentation.
Usage
lexmodelbuildingservice_delete_slot_type(name)
Arguments
name |
[required] The name of the slot type. The name is case sensitive. |
Deletes a specific version of a slot type
Description
Deletes a specific version of a slot type. To delete all versions of a slot type, use the delete_slot_type
operation.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_delete_slot_type_version/ for full documentation.
Usage
lexmodelbuildingservice_delete_slot_type_version(name, version)
Arguments
name |
[required] The name of the slot type. |
version |
[required] The version of the slot type to delete. You cannot delete the |
Deletes stored utterances
Description
Deletes stored utterances.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_delete_utterances/ for full documentation.
Usage
lexmodelbuildingservice_delete_utterances(botName, userId)
Arguments
botName |
[required] The name of the bot that stored the utterances. |
userId |
[required] The unique identifier for the user that made the utterances. This is the user ID that was sent in the PostContent or PostText operation request that contained the utterance. |
Returns metadata information for a specific bot
Description
Returns metadata information for a specific bot. You must provide the bot name and the bot version or alias.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_bot/ for full documentation.
Usage
lexmodelbuildingservice_get_bot(name, versionOrAlias)
Arguments
name |
[required] The name of the bot. The name is case sensitive. |
versionOrAlias |
[required] The version or alias of the bot. |
Returns information about an Amazon Lex bot alias
Description
Returns information about an Amazon Lex bot alias. For more information about aliases, see versioning-aliases.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_bot_alias/ for full documentation.
Usage
lexmodelbuildingservice_get_bot_alias(name, botName)
Arguments
name |
[required] The name of the bot alias. The name is case sensitive. |
botName |
[required] The name of the bot. |
Returns a list of aliases for a specified Amazon Lex bot
Description
Returns a list of aliases for a specified Amazon Lex bot.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_bot_aliases/ for full documentation.
Usage
lexmodelbuildingservice_get_bot_aliases(
botName,
nextToken = NULL,
maxResults = NULL,
nameContains = NULL
)
Arguments
botName |
[required] The name of the bot. |
nextToken |
A pagination token for fetching the next page of aliases. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of aliases, specify the pagination token in the next request. |
maxResults |
The maximum number of aliases to return in the response. The default is 50. . |
nameContains |
Substring to match in bot alias names. An alias will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." |
Returns information about the association between an Amazon Lex bot and a messaging platform
Description
Returns information about the association between an Amazon Lex bot and a messaging platform.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_bot_channel_association/ for full documentation.
Usage
lexmodelbuildingservice_get_bot_channel_association(name, botName, botAlias)
Arguments
name |
[required] The name of the association between the bot and the channel. The name is case sensitive. |
botName |
[required] The name of the Amazon Lex bot. |
botAlias |
[required] An alias pointing to the specific version of the Amazon Lex bot to which this association is being made. |
Returns a list of all of the channels associated with the specified bot
Description
Returns a list of all of the channels associated with the specified bot.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_bot_channel_associations/ for full documentation.
Usage
lexmodelbuildingservice_get_bot_channel_associations(
botName,
botAlias,
nextToken = NULL,
maxResults = NULL,
nameContains = NULL
)
Arguments
botName |
[required] The name of the Amazon Lex bot in the association. |
botAlias |
[required] An alias pointing to the specific version of the Amazon Lex bot to which this association is being made. |
nextToken |
A pagination token for fetching the next page of associations. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of associations, specify the pagination token in the next request. |
maxResults |
The maximum number of associations to return in the response. The default is 50. |
nameContains |
Substring to match in channel association names. An association will be
returned if any part of its name matches the substring. For example,
"xyz" matches both "xyzabc" and "abcxyz." To return all bot channel
associations, use a hyphen ("-") as the |
Gets information about all of the versions of a bot
Description
Gets information about all of the versions of a bot.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_bot_versions/ for full documentation.
Usage
lexmodelbuildingservice_get_bot_versions(
name,
nextToken = NULL,
maxResults = NULL
)
Arguments
name |
[required] The name of the bot for which versions should be returned. |
nextToken |
A pagination token for fetching the next page of bot versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request. |
maxResults |
The maximum number of bot versions to return in the response. The default is 10. |
Returns bot information as follows:
Description
Returns bot information as follows:
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_bots/ for full documentation.
Usage
lexmodelbuildingservice_get_bots(
nextToken = NULL,
maxResults = NULL,
nameContains = NULL
)
Arguments
nextToken |
A pagination token that fetches the next page of bots. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of bots, specify the pagination token in the next request. |
maxResults |
The maximum number of bots to return in the response that the request will return. The default is 10. |
nameContains |
Substring to match in bot names. A bot will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." |
Returns information about a built-in intent
Description
Returns information about a built-in intent.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_builtin_intent/ for full documentation.
Usage
lexmodelbuildingservice_get_builtin_intent(signature)
Arguments
signature |
[required] The unique identifier for a built-in intent. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit. |
Gets a list of built-in intents that meet the specified criteria
Description
Gets a list of built-in intents that meet the specified criteria.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_builtin_intents/ for full documentation.
Usage
lexmodelbuildingservice_get_builtin_intents(
locale = NULL,
signatureContains = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
locale |
A list of locales that the intent supports. |
signatureContains |
Substring to match in built-in intent signatures. An intent will be returned if any part of its signature matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit. |
nextToken |
A pagination token that fetches the next page of intents. If this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, use the pagination token in the next request. |
maxResults |
The maximum number of intents to return in the response. The default is 10. |
Gets a list of built-in slot types that meet the specified criteria
Description
Gets a list of built-in slot types that meet the specified criteria.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_builtin_slot_types/ for full documentation.
Usage
lexmodelbuildingservice_get_builtin_slot_types(
locale = NULL,
signatureContains = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
locale |
A list of locales that the slot type supports. |
signatureContains |
Substring to match in built-in slot type signatures. A slot type will be returned if any part of its signature matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." |
nextToken |
A pagination token that fetches the next page of slot types. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of slot types, specify the pagination token in the next request. |
maxResults |
The maximum number of slot types to return in the response. The default is 10. |
Exports the contents of a Amazon Lex resource in a specified format
Description
Exports the contents of a Amazon Lex resource in a specified format.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_export/ for full documentation.
Usage
lexmodelbuildingservice_get_export(name, version, resourceType, exportType)
Arguments
name |
[required] The name of the bot to export. |
version |
[required] The version of the bot to export. |
resourceType |
[required] The type of resource to export. |
exportType |
[required] The format of the exported data. |
Gets information about an import job started with the StartImport operation
Description
Gets information about an import job started with the start_import
operation.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_import/ for full documentation.
Usage
lexmodelbuildingservice_get_import(importId)
Arguments
importId |
[required] The identifier of the import job information to return. |
Returns information about an intent
Description
Returns information about an intent. In addition to the intent name, you must specify the intent version.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_intent/ for full documentation.
Usage
lexmodelbuildingservice_get_intent(name, version)
Arguments
name |
[required] The name of the intent. The name is case sensitive. |
version |
[required] The version of the intent. |
Gets information about all of the versions of an intent
Description
Gets information about all of the versions of an intent.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_intent_versions/ for full documentation.
Usage
lexmodelbuildingservice_get_intent_versions(
name,
nextToken = NULL,
maxResults = NULL
)
Arguments
name |
[required] The name of the intent for which versions should be returned. |
nextToken |
A pagination token for fetching the next page of intent versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request. |
maxResults |
The maximum number of intent versions to return in the response. The default is 10. |
Returns intent information as follows:
Description
Returns intent information as follows:
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_intents/ for full documentation.
Usage
lexmodelbuildingservice_get_intents(
nextToken = NULL,
maxResults = NULL,
nameContains = NULL
)
Arguments
nextToken |
A pagination token that fetches the next page of intents. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, specify the pagination token in the next request. |
maxResults |
The maximum number of intents to return in the response. The default is 10. |
nameContains |
Substring to match in intent names. An intent will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." |
Provides details about an ongoing or complete migration from an Amazon Lex V1 bot to an Amazon Lex V2 bot
Description
Provides details about an ongoing or complete migration from an Amazon Lex V1 bot to an Amazon Lex V2 bot. Use this operation to view the migration alerts and warnings related to the migration.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_migration/ for full documentation.
Usage
lexmodelbuildingservice_get_migration(migrationId)
Arguments
migrationId |
[required] The unique identifier of the migration to view. The |
Gets a list of migrations between Amazon Lex V1 and Amazon Lex V2
Description
Gets a list of migrations between Amazon Lex V1 and Amazon Lex V2.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_migrations/ for full documentation.
Usage
lexmodelbuildingservice_get_migrations(
sortByAttribute = NULL,
sortByOrder = NULL,
v1BotNameContains = NULL,
migrationStatusEquals = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
sortByAttribute |
The field to sort the list of migrations by. You can sort by the Amazon Lex V1 bot name or the date and time that the migration was started. |
sortByOrder |
The order so sort the list. |
v1BotNameContains |
Filters the list to contain only bots whose name contains the specified string. The string is matched anywhere in bot name. |
migrationStatusEquals |
Filters the list to contain only migrations in the specified state. |
maxResults |
The maximum number of migrations to return in the response. The default is 10. |
nextToken |
A pagination token that fetches the next page of migrations. If the response to this operation is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of migrations, specify the pagination token in the request. |
Returns information about a specific version of a slot type
Description
Returns information about a specific version of a slot type. In addition to specifying the slot type name, you must specify the slot type version.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_slot_type/ for full documentation.
Usage
lexmodelbuildingservice_get_slot_type(name, version)
Arguments
name |
[required] The name of the slot type. The name is case sensitive. |
version |
[required] The version of the slot type. |
Gets information about all versions of a slot type
Description
Gets information about all versions of a slot type.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_slot_type_versions/ for full documentation.
Usage
lexmodelbuildingservice_get_slot_type_versions(
name,
nextToken = NULL,
maxResults = NULL
)
Arguments
name |
[required] The name of the slot type for which versions should be returned. |
nextToken |
A pagination token for fetching the next page of slot type versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request. |
maxResults |
The maximum number of slot type versions to return in the response. The default is 10. |
Returns slot type information as follows:
Description
Returns slot type information as follows:
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_slot_types/ for full documentation.
Usage
lexmodelbuildingservice_get_slot_types(
nextToken = NULL,
maxResults = NULL,
nameContains = NULL
)
Arguments
nextToken |
A pagination token that fetches the next page of slot types. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch next page of slot types, specify the pagination token in the next request. |
maxResults |
The maximum number of slot types to return in the response. The default is 10. |
nameContains |
Substring to match in slot type names. A slot type will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." |
Use the GetUtterancesView operation to get information about the utterances that your users have made to your bot
Description
Use the get_utterances_view
operation to get information about the utterances that your users have made to your bot. You can use this list to tune the utterances that your bot responds to.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_get_utterances_view/ for full documentation.
Usage
lexmodelbuildingservice_get_utterances_view(botName, botVersions, statusType)
Arguments
botName |
[required] The name of the bot for which utterance information should be returned. |
botVersions |
[required] An array of bot versions for which utterance information should be returned. The limit is 5 versions per request. |
statusType |
[required] To return utterances that were recognized and handled, use |
Gets a list of tags associated with the specified resource
Description
Gets a list of tags associated with the specified resource. Only bots, bot aliases, and bot channels can have tags associated with them.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_list_tags_for_resource/ for full documentation.
Usage
lexmodelbuildingservice_list_tags_for_resource(resourceArn)
Arguments
resourceArn |
[required] The Amazon Resource Name (ARN) of the resource to get a list of tags for. |
Creates an Amazon Lex conversational bot or replaces an existing bot
Description
Creates an Amazon Lex conversational bot or replaces an existing bot. When you create or update a bot you are only required to specify a name, a locale, and whether the bot is directed toward children under age 13. You can use this to add intents later, or to remove intents from an existing bot. When you create a bot with the minimum information, the bot is created or updated but Amazon Lex returns the “ response FAILED
. You can build the bot after you add one or more intents. For more information about Amazon Lex bots, see how-it-works.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_put_bot/ for full documentation.
Usage
lexmodelbuildingservice_put_bot(
name,
description = NULL,
intents = NULL,
enableModelImprovements = NULL,
nluIntentConfidenceThreshold = NULL,
clarificationPrompt = NULL,
abortStatement = NULL,
idleSessionTTLInSeconds = NULL,
voiceId = NULL,
checksum = NULL,
processBehavior = NULL,
locale,
childDirected,
detectSentiment = NULL,
createVersion = NULL,
tags = NULL
)
Arguments
name |
[required] The name of the bot. The name is not case sensitive. |
description |
A description of the bot. |
intents |
An array of |
enableModelImprovements |
Set to When you set the You can only set the The Regions where you can set the
In other Regions, the |
nluIntentConfidenceThreshold |
Determines the threshold where Amazon Lex will insert the
You must set the
In other Regions, the For example, suppose a bot is configured with the confidence threshold
of 0.80 and the
|
clarificationPrompt |
When Amazon Lex doesn't understand the user's intent, it uses this
message to get clarification. To specify how many times Amazon Lex
should repeat the clarification prompt, use the When you create a clarification prompt, make sure that it suggests the correct response from the user. for example, for a bot that orders pizza and drinks, you might create this clarification prompt: "What would you like to do? You can say 'Order a pizza' or 'Order a drink.'" If you have defined a fallback intent, it will be invoked if the
clarification prompt is repeated the number of times defined in the
If you don't define a clarification prompt, at runtime Amazon Lex will return a 400 Bad Request exception in three cases:
|
abortStatement |
When Amazon Lex can't understand the user's input in context, it tries
to elicit the information a few times. After that, Amazon Lex sends the
message defined in For example, in a pizza ordering bot, Amazon Lex might ask a user "What type of crust would you like?" If the user's response is not one of the expected responses (for example, "thin crust, "deep dish," etc.), Amazon Lex tries to elicit a correct response a few more times. For example, in a pizza ordering application, If you have defined a fallback intent the cancel statement will not be sent to the user, the fallback intent is used instead. For more information, see AMAZON.FallbackIntent. |
idleSessionTTLInSeconds |
The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. A user interaction session remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout. For example, suppose that a user chooses the OrderPizza intent, but gets sidetracked halfway through placing an order. If the user doesn't complete the order within the specified time, Amazon Lex discards the slot information that it gathered, and the user must start over. If you don't include the The default is 300 seconds (5 minutes). |
voiceId |
The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions with the user. The locale configured for the voice must match the locale of the bot. For more information, see Voices in Amazon Polly in the Amazon Polly Developer Guide. |
checksum |
Identifies a specific revision of the When you create a new bot, leave the When you want to update a bot, set the |
processBehavior |
If you set the If you don't specify this value, the default value is |
locale |
[required] Specifies the target locale for the bot. Any intent used in the bot must be compatible with the locale of the bot. The default is |
childDirected |
[required] For each Amazon Lex bot created with the Amazon Lex Model Building
Service, you must specify whether your use of Amazon Lex is related to a
website, program, or other application that is directed or targeted, in
whole or in part, to children under age 13 and subject to the Children's
Online Privacy Protection Act (COPPA) by specifying If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ. |
detectSentiment |
When set to |
createVersion |
When set to |
tags |
A list of tags to add to the bot. You can only add tags when you create
a bot, you can't use the |
Creates an alias for the specified version of the bot or replaces an alias for the specified bot
Description
Creates an alias for the specified version of the bot or replaces an alias for the specified bot. To change the version of the bot that the alias points to, replace the alias. For more information about aliases, see versioning-aliases.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_put_bot_alias/ for full documentation.
Usage
lexmodelbuildingservice_put_bot_alias(
name,
description = NULL,
botVersion,
botName,
checksum = NULL,
conversationLogs = NULL,
tags = NULL
)
Arguments
name |
[required] The name of the alias. The name is not case sensitive. |
description |
A description of the alias. |
botVersion |
[required] The version of the bot. |
botName |
[required] The name of the bot. |
checksum |
Identifies a specific revision of the When you create a new bot alias, leave the When you want to update a bot alias, set the |
conversationLogs |
Settings for conversation logs for the alias. |
tags |
A list of tags to add to the bot alias. You can only add tags when you
create an alias, you can't use the
|
Creates an intent or replaces an existing intent
Description
Creates an intent or replaces an existing intent.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_put_intent/ for full documentation.
Usage
lexmodelbuildingservice_put_intent(
name,
description = NULL,
slots = NULL,
sampleUtterances = NULL,
confirmationPrompt = NULL,
rejectionStatement = NULL,
followUpPrompt = NULL,
conclusionStatement = NULL,
dialogCodeHook = NULL,
fulfillmentActivity = NULL,
parentIntentSignature = NULL,
checksum = NULL,
createVersion = NULL,
kendraConfiguration = NULL,
inputContexts = NULL,
outputContexts = NULL
)
Arguments
name |
[required] The name of the intent. The name is not case sensitive. The name can't match a built-in intent name, or a built-in intent name
with "AMAZON." removed. For example, because there is a built-in intent
called For a list of built-in intents, see Standard Built-in Intents in the Alexa Skills Kit. |
description |
A description of the intent. |
slots |
An array of intent slots. At runtime, Amazon Lex elicits required slot values from the user using prompts defined in the slots. For more information, see how-it-works. |
sampleUtterances |
An array of utterances (strings) that a user might say to signal the intent. For example, "I want {PizzaSize} pizza", "Order {Quantity} {PizzaSize} pizzas". In each utterance, a slot name is enclosed in curly braces. |
confirmationPrompt |
Prompts the user to confirm the intent. This question should have a yes or no answer. Amazon Lex uses this prompt to ensure that the user acknowledges that
the intent is ready for fulfillment. For example, with the You you must provide both the |
rejectionStatement |
When the user answers "no" to the question defined in
You must provide both the |
followUpPrompt |
Amazon Lex uses this prompt to solicit additional activity after
fulfilling an intent. For example, after the The action that Amazon Lex takes depends on the user's response, as follows:
The |
conclusionStatement |
The statement that you want Amazon Lex to convey to the user after the intent is successfully fulfilled by the Lambda function. This element is relevant only if you provide a Lambda function in the
The |
dialogCodeHook |
Specifies a Lambda function to invoke for each user input. You can invoke this Lambda function to personalize user interaction. For example, suppose your bot determines that the user is John. Your
Lambda function might retrieve John's information from a backend
database and prepopulate some of the values. For example, if you find
that John is gluten intolerant, you might set the corresponding intent
slot, |
fulfillmentActivity |
Required. Describes how the intent is fulfilled. For example, after a
user provides all of the information for a pizza order,
You might configure Amazon Lex to return all of the intent information to the client application, or direct it to invoke a Lambda function that can process the intent (for example, place an order with a pizzeria). |
parentIntentSignature |
A unique identifier for the built-in intent to base this intent on. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit. |
checksum |
Identifies a specific revision of the When you create a new intent, leave the When you want to update a intent, set the |
createVersion |
When set to |
kendraConfiguration |
Configuration information required to use the
|
inputContexts |
An array of |
outputContexts |
An array of |
Creates a custom slot type or replaces an existing custom slot type
Description
Creates a custom slot type or replaces an existing custom slot type.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_put_slot_type/ for full documentation.
Usage
lexmodelbuildingservice_put_slot_type(
name,
description = NULL,
enumerationValues = NULL,
checksum = NULL,
valueSelectionStrategy = NULL,
createVersion = NULL,
parentSlotTypeSignature = NULL,
slotTypeConfigurations = NULL
)
Arguments
name |
[required] The name of the slot type. The name is not case sensitive. The name can't match a built-in slot type name, or a built-in slot type
name with "AMAZON." removed. For example, because there is a built-in
slot type called For a list of built-in slot types, see Slot Type Reference in the Alexa Skills Kit. |
description |
A description of the slot type. |
enumerationValues |
A list of A regular expression slot type doesn't require enumeration values. All other slot types require a list of enumeration values. When Amazon Lex resolves a slot value, it generates a resolution list
that contains up to five possible values for the slot. If you are using
a Lambda function, this resolution list is passed to the function. If
you are not using a Lambda function you can choose to return the value
that the user entered or the first value in the resolution list as the
slot value. The |
checksum |
Identifies a specific revision of the When you create a new slot type, leave the When you want to update a slot type, set the |
valueSelectionStrategy |
Determines the slot resolution strategy that Amazon Lex uses to return slot type values. The field can be set to one of the following values:
If you don't specify the |
createVersion |
When set to |
parentSlotTypeSignature |
The built-in slot type used as the parent of the slot type. When you define a parent slot type, the new slot type has all of the same configuration as the parent. Only |
slotTypeConfigurations |
Configuration information that extends the parent built-in slot type. The configuration is added to the settings for the parent slot type. |
Starts a job to import a resource to Amazon Lex
Description
Starts a job to import a resource to Amazon Lex.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_start_import/ for full documentation.
Usage
lexmodelbuildingservice_start_import(
payload,
resourceType,
mergeStrategy,
tags = NULL
)
Arguments
payload |
[required] A zip archive in binary format. The archive should contain one file, a
JSON file containing the resource to import. The resource should match
the type specified in the |
resourceType |
[required] Specifies the type of resource to export. Each resource also exports any resources that it depends on.
|
mergeStrategy |
[required] Specifies the action that the
|
tags |
A list of tags to add to the imported bot. You can only add tags when you import a bot, you can't add tags to an intent or slot type. |
Starts migrating a bot from Amazon Lex V1 to Amazon Lex V2
Description
Starts migrating a bot from Amazon Lex V1 to Amazon Lex V2. Migrate your bot when you want to take advantage of the new features of Amazon Lex V2.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_start_migration/ for full documentation.
Usage
lexmodelbuildingservice_start_migration(
v1BotName,
v1BotVersion,
v2BotName,
v2BotRole,
migrationStrategy
)
Arguments
v1BotName |
[required] The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2. |
v1BotVersion |
[required] The version of the bot to migrate to Amazon Lex V2. You can migrate the
|
v2BotName |
[required] The name of the Amazon Lex V2 bot that you are migrating the Amazon Lex V1 bot to.
|
v2BotRole |
[required] The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot. |
migrationStrategy |
[required] The strategy used to conduct the migration.
|
Adds the specified tags to the specified resource
Description
Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced with the new value.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_tag_resource/ for full documentation.
Usage
lexmodelbuildingservice_tag_resource(resourceArn, tags)
Arguments
resourceArn |
[required] The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel to tag. |
tags |
[required] A list of tag keys to add to the resource. If a tag key already exists, the existing value is replaced with the new value. |
Removes tags from a bot, bot alias or bot channel
Description
Removes tags from a bot, bot alias or bot channel.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_untag_resource/ for full documentation.
Usage
lexmodelbuildingservice_untag_resource(resourceArn, tagKeys)
Arguments
resourceArn |
[required] The Amazon Resource Name (ARN) of the resource to remove the tags from. |
tagKeys |
[required] A list of tag keys to remove from the resource. If a tag key does not exist on the resource, it is ignored. |
Amazon Lex Model Building V2
Description
Amazon Lex Model Building V2
Usage
lexmodelsv2(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- lexmodelsv2( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
batch_create_custom_vocabulary_item | Create a batch of custom vocabulary items for a given bot locale's custom vocabulary |
batch_delete_custom_vocabulary_item | Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary |
batch_update_custom_vocabulary_item | Update a batch of custom vocabulary items for a given bot locale's custom vocabulary |
build_bot_locale | Builds a bot, its intents, and its slot types into a specific locale |
create_bot | Creates an Amazon Lex conversational bot |
create_bot_alias | Creates an alias for the specified version of a bot |
create_bot_locale | Creates a locale in the bot |
create_bot_replica | Action to create a replication of the source bot in the secondary region |
create_bot_version | Creates an immutable version of the bot |
create_export | Creates a zip archive containing the contents of a bot or a bot locale |
create_intent | Creates an intent |
create_resource_policy | Creates a new resource policy with the specified policy statements |
create_resource_policy_statement | Adds a new resource policy statement to a bot or bot alias |
create_slot | Creates a slot in an intent |
create_slot_type | Creates a custom slot type |
create_test_set_discrepancy_report | Create a report that describes the differences between the bot and the test set |
create_upload_url | Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale |
delete_bot | Deletes all versions of a bot, including the Draft version |
delete_bot_alias | Deletes the specified bot alias |
delete_bot_locale | Removes a locale from a bot |
delete_bot_replica | The action to delete the replicated bot in the secondary region |
delete_bot_version | Deletes a specific version of a bot |
delete_custom_vocabulary | Removes a custom vocabulary from the specified locale in the specified bot |
delete_export | Removes a previous export and the associated files stored in an S3 bucket |
delete_import | Removes a previous import and the associated file stored in an S3 bucket |
delete_intent | Removes the specified intent |
delete_resource_policy | Removes an existing policy from a bot or bot alias |
delete_resource_policy_statement | Deletes a policy statement from a resource policy |
delete_slot | Deletes the specified slot from an intent |
delete_slot_type | Deletes a slot type from a bot locale |
delete_test_set | The action to delete the selected test set |
delete_utterances | Deletes stored utterances |
describe_bot | Provides metadata information about a bot |
describe_bot_alias | Get information about a specific bot alias |
describe_bot_locale | Describes the settings that a bot has for a specific locale |
describe_bot_recommendation | Provides metadata information about a bot recommendation |
describe_bot_replica | Monitors the bot replication status through the UI console |
describe_bot_resource_generation | Returns information about a request to generate a bot through natural language description, made through the StartBotResource API |
describe_bot_version | Provides metadata about a version of a bot |
describe_custom_vocabulary_metadata | Provides metadata information about a custom vocabulary |
describe_export | Gets information about a specific export |
describe_import | Gets information about a specific import |
describe_intent | Returns metadata about an intent |
describe_resource_policy | Gets the resource policy and policy revision for a bot or bot alias |
describe_slot | Gets metadata information about a slot |
describe_slot_type | Gets metadata information about a slot type |
describe_test_execution | Gets metadata information about the test execution |
describe_test_set | Gets metadata information about the test set |
describe_test_set_discrepancy_report | Gets metadata information about the test set discrepancy report |
describe_test_set_generation | Gets metadata information about the test set generation |
generate_bot_element | Generates sample utterances for an intent |
get_test_execution_artifacts_url | The pre-signed Amazon S3 URL to download the test execution result artifacts |
list_aggregated_utterances | Provides a list of utterances that users have sent to the bot |
list_bot_aliases | Gets a list of aliases for the specified bot |
list_bot_alias_replicas | The action to list the replicated bots created from the source bot alias |
list_bot_locales | Gets a list of locales for the specified bot |
list_bot_recommendations | Get a list of bot recommendations that meet the specified criteria |
list_bot_replicas | The action to list the replicated bots |
list_bot_resource_generations | Lists the generation requests made for a bot locale |
list_bots | Gets a list of available bots |
list_bot_version_replicas | Contains information about all the versions replication statuses applicable for Global Resiliency |
list_bot_versions | Gets information about all of the versions of a bot |
list_built_in_intents | Gets a list of built-in intents provided by Amazon Lex that you can use in your bot |
list_built_in_slot_types | Gets a list of built-in slot types that meet the specified criteria |
list_custom_vocabulary_items | Paginated list of custom vocabulary items for a given bot locale's custom vocabulary |
list_exports | Lists the exports for a bot, bot locale, or custom vocabulary |
list_imports | Lists the imports for a bot, bot locale, or custom vocabulary |
list_intent_metrics | Retrieves summary metrics for the intents in your bot |
list_intent_paths | Retrieves summary statistics for a path of intents that users take over sessions with your bot |
list_intents | Get a list of intents that meet the specified criteria |
list_intent_stage_metrics | Retrieves summary metrics for the stages within intents in your bot |
list_recommended_intents | Gets a list of recommended intents provided by the bot recommendation that you can use in your bot |
list_session_analytics_data | Retrieves a list of metadata for individual user sessions with your bot |
list_session_metrics | Retrieves summary metrics for the user sessions with your bot |
list_slots | Gets a list of slots that match the specified criteria |
list_slot_types | Gets a list of slot types that match the specified criteria |
list_tags_for_resource | Gets a list of tags associated with a resource |
list_test_execution_result_items | Gets a list of test execution result items |
list_test_executions | The list of test set executions |
list_test_set_records | The list of test set records |
list_test_sets | The list of the test sets |
list_utterance_analytics_data | To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances operation, which provides access to utterance-related analytics |
list_utterance_metrics | To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances operation, which provides access to utterance-related analytics |
search_associated_transcripts | Search for associated transcripts that meet the specified criteria |
start_bot_recommendation | Use this to provide your transcript data, and to start the bot recommendation process |
start_bot_resource_generation | Starts a request for the descriptive bot builder to generate a bot locale configuration based on the prompt you provide it |
start_import | Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket |
start_test_execution | The action to start test set execution |
start_test_set_generation | The action to start the generation of test set |
stop_bot_recommendation | Stop an already running Bot Recommendation request |
tag_resource | Adds the specified tags to the specified resource |
untag_resource | Removes tags from a bot, bot alias, or bot channel |
update_bot | Updates the configuration of an existing bot |
update_bot_alias | Updates the configuration of an existing bot alias |
update_bot_locale | Updates the settings that a bot has for a specific locale |
update_bot_recommendation | Updates an existing bot recommendation request |
update_export | Updates the password used to protect an export zip archive |
update_intent | Updates the settings for an intent |
update_resource_policy | Replaces the existing resource policy for a bot or bot alias with a new one |
update_slot | Updates the settings for a slot |
update_slot_type | Updates the configuration of an existing slot type |
update_test_set | The action to update the test set |
Examples
## Not run:
svc <- lexmodelsv2()
svc$batch_create_custom_vocabulary_item(
Foo = 123
)
## End(Not run)
Create a batch of custom vocabulary items for a given bot locale's custom vocabulary
Description
Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_batch_create_custom_vocabulary_item/ for full documentation.
Usage
lexmodelsv2_batch_create_custom_vocabulary_item(
botId,
botVersion,
localeId,
customVocabularyItemList
)
Arguments
botId |
[required] The identifier of the bot associated with this custom vocabulary. |
botVersion |
[required] The identifier of the version of the bot associated with this custom vocabulary. |
localeId |
[required] The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages . |
customVocabularyItemList |
[required] A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight. |
Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary
Description
Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_batch_delete_custom_vocabulary_item/ for full documentation.
Usage
lexmodelsv2_batch_delete_custom_vocabulary_item(
botId,
botVersion,
localeId,
customVocabularyItemList
)
Arguments
botId |
[required] The identifier of the bot associated with this custom vocabulary. |
botVersion |
[required] The identifier of the version of the bot associated with this custom vocabulary. |
localeId |
[required] The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages . |
customVocabularyItemList |
[required] A list of custom vocabulary items requested to be deleted. Each entry must contain the unique custom vocabulary entry identifier. |
Update a batch of custom vocabulary items for a given bot locale's custom vocabulary
Description
Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_batch_update_custom_vocabulary_item/ for full documentation.
Usage
lexmodelsv2_batch_update_custom_vocabulary_item(
botId,
botVersion,
localeId,
customVocabularyItemList
)
Arguments
botId |
[required] The identifier of the bot associated with this custom vocabulary |
botVersion |
[required] The identifier of the version of the bot associated with this custom vocabulary. |
localeId |
[required] The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages . |
customVocabularyItemList |
[required] A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight. |
Builds a bot, its intents, and its slot types into a specific locale
Description
Builds a bot, its intents, and its slot types into a specific locale. A bot can be built into multiple locales. At runtime the locale is used to choose a specific build of the bot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_build_bot_locale/ for full documentation.
Usage
lexmodelsv2_build_bot_locale(botId, botVersion, localeId)
Arguments
botId |
[required] The identifier of the bot to build. The identifier is returned in the
response from the |
botVersion |
[required] The version of the bot to build. This can only be the draft version of the bot. |
localeId |
[required] The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages. |
Creates an Amazon Lex conversational bot
Description
Creates an Amazon Lex conversational bot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_create_bot/ for full documentation.
Usage
lexmodelsv2_create_bot(
botName,
description = NULL,
roleArn,
dataPrivacy,
idleSessionTTLInSeconds,
botTags = NULL,
testBotAliasTags = NULL,
botType = NULL,
botMembers = NULL
)
Arguments
botName |
[required] The name of the bot. The bot name must be unique in the account that creates the bot. |
description |
A description of the bot. It appears in lists to help you identify a particular bot. |
roleArn |
[required] The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot. |
dataPrivacy |
[required] Provides information on additional privacy protections Amazon Lex should use with the bot's data. |
idleSessionTTLInSeconds |
[required] The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout. You can specify between 60 (1 minute) and 86,400 (24 hours) seconds. |
botTags |
A list of tags to add to the bot. You can only add tags when you create
a bot. You can't use the |
testBotAliasTags |
A list of tags to add to the test alias for a bot. You can only add tags
when you create a bot. You can't use the |
botType |
The type of a bot to create. |
botMembers |
The list of bot members in a network to be created. |
Creates an alias for the specified version of a bot
Description
Creates an alias for the specified version of a bot. Use an alias to enable you to change the version of a bot without updating applications that use the bot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_create_bot_alias/ for full documentation.
Usage
lexmodelsv2_create_bot_alias(
botAliasName,
description = NULL,
botVersion = NULL,
botAliasLocaleSettings = NULL,
conversationLogSettings = NULL,
sentimentAnalysisSettings = NULL,
botId,
tags = NULL
)
Arguments
botAliasName |
[required] The alias to create. The name must be unique for the bot. |
description |
A description of the alias. Use this description to help identify the alias. |
botVersion |
The version of the bot that this alias points to. You can use the
|
botAliasLocaleSettings |
Maps configuration information to a specific locale. You can use this parameter to specify a specific Lambda function to run different functions in different locales. |
conversationLogSettings |
Specifies whether Amazon Lex logs text and audio for a conversation with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch Logs. Audio logs store audio input in Amazon S3. |
sentimentAnalysisSettings |
|
botId |
[required] The unique identifier of the bot that the alias applies to. |
tags |
A list of tags to add to the bot alias. You can only add tags when you
create an alias, you can't use the
|
Creates a locale in the bot
Description
Creates a locale in the bot. The locale contains the intents and slot types that the bot uses in conversations with users in the specified language and locale. You must add a locale to a bot before you can add intents and slot types to the bot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_create_bot_locale/ for full documentation.
Usage
lexmodelsv2_create_bot_locale(
botId,
botVersion,
localeId,
description = NULL,
nluIntentConfidenceThreshold,
voiceSettings = NULL,
generativeAISettings = NULL
)
Arguments
botId |
[required] The identifier of the bot to create the locale for. |
botVersion |
[required] The version of the bot to create the locale for. This can only be the draft version of the bot. |
localeId |
[required] The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages. |
description |
A description of the bot locale. Use this to help identify the bot locale in lists. |
nluIntentConfidenceThreshold |
[required] Determines the threshold where Amazon Lex will insert the
For example, suppose a bot is configured with the confidence threshold
of 0.80 and the
|
voiceSettings |
The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. |
generativeAISettings |
Action to create a replication of the source bot in the secondary region
Description
Action to create a replication of the source bot in the secondary region.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_create_bot_replica/ for full documentation.
Usage
lexmodelsv2_create_bot_replica(botId, replicaRegion)
Arguments
botId |
[required] The request for the unique bot ID of the source bot to be replicated in the secondary region. |
replicaRegion |
[required] The request for the secondary region that will be used in the replication of the source bot. |
Creates an immutable version of the bot
Description
Creates an immutable version of the bot. When you create the first version of a bot, Amazon Lex sets the version number to 1. Subsequent bot versions increase in an increment of 1. The version number will always represent the total number of versions created of the bot, not the current number of versions. If a bot version is deleted, that bot version number will not be reused.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_create_bot_version/ for full documentation.
Usage
lexmodelsv2_create_bot_version(
botId,
description = NULL,
botVersionLocaleSpecification
)
Arguments
botId |
[required] The identifier of the bot to create the version for. |
description |
A description of the version. Use the description to help identify the version in lists. |
botVersionLocaleSpecification |
[required] Specifies the locales that Amazon Lex adds to this version. You can
choose the |
Creates a zip archive containing the contents of a bot or a bot locale
Description
Creates a zip archive containing the contents of a bot or a bot locale. The archive contains a directory structure that contains JSON files that define the bot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_create_export/ for full documentation.
Usage
lexmodelsv2_create_export(
resourceSpecification,
fileFormat,
filePassword = NULL
)
Arguments
resourceSpecification |
[required] Specifies the type of resource to export, either a bot or a bot locale. You can only specify one type of resource to export. |
fileFormat |
[required] The file format of the bot or bot locale definition files. |
filePassword |
An password to use to encrypt the exported archive. Using a password is optional, but you should encrypt the archive to protect the data in transit between Amazon Lex and your local computer. |
Creates an intent
Description
Creates an intent.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_create_intent/ for full documentation.
Usage
lexmodelsv2_create_intent(
intentName,
description = NULL,
parentIntentSignature = NULL,
sampleUtterances = NULL,
dialogCodeHook = NULL,
fulfillmentCodeHook = NULL,
intentConfirmationSetting = NULL,
intentClosingSetting = NULL,
inputContexts = NULL,
outputContexts = NULL,
kendraConfiguration = NULL,
botId,
botVersion,
localeId,
initialResponseSetting = NULL,
qnAIntentConfiguration = NULL
)
Arguments
intentName |
[required] The name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent. |
description |
A description of the intent. Use the description to help identify the intent in lists. |
parentIntentSignature |
A unique identifier for the built-in intent to base this intent on. |
sampleUtterances |
An array of strings that a user might say to signal the intent. For example, "I want a pizza", or "I want a {PizzaSize} pizza". In an utterance, slot names are enclosed in curly braces ("{", "}") to indicate where they should be displayed in the utterance shown to the user.. |
dialogCodeHook |
Specifies that Amazon Lex invokes the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. For example, suppose that your bot determines that the user's name is
John. You Lambda function might retrieve John's information from a
backend database and prepopulate some of the values. For example, if you
find that John is gluten intolerant, you might set the corresponding
intent slot, |
fulfillmentCodeHook |
Specifies that Amazon Lex invokes the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user. For example, in a pizza ordering bot, the Lambda function can look up the closest pizza restaurant to the customer's location and then place an order on the customer's behalf. |
intentConfirmationSetting |
Provides prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers "no," the settings contain a statement that is sent to the user to end the intent. |
intentClosingSetting |
Sets the response that Amazon Lex sends to the user when the intent is closed. |
inputContexts |
A list of contexts that must be active for this intent to be considered by Amazon Lex. When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent. A context can be automatically activated using the For example, if there are two intents with different input contexts that respond to the same utterances, only the intent with the active context will respond. An intent may have up to 5 input contexts. If an intent has multiple input contexts, all of the contexts must be active to consider the intent. |
outputContexts |
A lists of contexts that the intent activates when it is fulfilled. You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. When you use the |
kendraConfiguration |
Configuration information required to use the
|
botId |
[required] The identifier of the bot associated with this intent. |
botVersion |
[required] The version of the bot associated with this intent. |
localeId |
[required] The identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale. For more information, see Supported languages. |
initialResponseSetting |
Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values. |
qnAIntentConfiguration |
Specifies the configuration of the built-in |
Creates a new resource policy with the specified policy statements
Description
Creates a new resource policy with the specified policy statements.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_create_resource_policy/ for full documentation.
Usage
lexmodelsv2_create_resource_policy(resourceArn, policy)
Arguments
resourceArn |
[required] The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to. |
policy |
[required] A resource policy to add to the resource. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow the IAM syntax. For more information about the contents of a JSON policy document, see IAM JSON policy reference . If the policy isn't valid, Amazon Lex returns a validation exception. |
Adds a new resource policy statement to a bot or bot alias
Description
Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_create_resource_policy_statement/ for full documentation.
Usage
lexmodelsv2_create_resource_policy_statement(
resourceArn,
statementId,
effect,
principal,
action,
condition = NULL,
expectedRevisionId = NULL
)
Arguments
resourceArn |
[required] The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to. |
statementId |
[required] The name of the statement. The ID is the same as the |
effect |
[required] Determines whether the statement allows or denies access to the resource. |
principal |
[required] An IAM principal, such as an IAM user, IAM role, or Amazon Web Services services that is allowed or denied access to a resource. For more information, see Amazon Web Services JSON policy elements: Principal. |
action |
[required] The Amazon Lex action that this policy either allows or denies. The action must apply to the resource type of the specified ARN. For more information, see Actions, resources, and condition keys for Amazon Lex V2. |
condition |
Specifies a condition when the policy is in effect. If the principal of the policy is a service principal, you must provide two condition blocks, one with a SourceAccount global condition key and one with a SourceArn global condition key. For more information, see IAM JSON policy elements: Condition . |
expectedRevisionId |
The identifier of the revision of the policy to edit. If this revision ID doesn't match the current revision ID, Amazon Lex throws an exception. If you don't specify a revision, Amazon Lex overwrites the contents of the policy with the new values. |
Creates a slot in an intent
Description
Creates a slot in an intent. A slot is a variable needed to fulfill an intent. For example, an OrderPizza
intent might need slots for size, crust, and number of pizzas. For each slot, you define one or more utterances that Amazon Lex uses to elicit a response from the user.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_create_slot/ for full documentation.
Usage
lexmodelsv2_create_slot(
slotName,
description = NULL,
slotTypeId = NULL,
valueElicitationSetting,
obfuscationSetting = NULL,
botId,
botVersion,
localeId,
intentId,
multipleValuesSetting = NULL,
subSlotSetting = NULL
)
Arguments
slotName |
[required] The name of the slot. Slot names must be unique within the bot that contains the slot. |
description |
A description of the slot. Use this to help identify the slot in lists. |
slotTypeId |
The unique identifier for the slot type associated with this slot. The slot type determines the values that can be entered into the slot. |
valueElicitationSetting |
[required] Specifies prompts that Amazon Lex sends to the user to elicit a response that provides the value for the slot. |
obfuscationSetting |
Determines how slot values are used in Amazon CloudWatch logs. If the
value of the The default is to obfuscate values in the CloudWatch logs. |
botId |
[required] The identifier of the bot associated with the slot. |
botVersion |
[required] The version of the bot associated with the slot. |
localeId |
[required] The identifier of the language and locale that the slot will be used in. The string must match one of the supported locales. All of the bots, intents, slot types used by the slot must have the same locale. For more information, see Supported languages. |
intentId |
[required] The identifier of the intent that contains the slot. |
multipleValuesSetting |
Indicates whether the slot returns multiple values in one response.
Multi-value slots are only available in the If the |
subSlotSetting |
Specifications for the constituent sub slots and the expression for the composite slot. |
Creates a custom slot type
Description
Creates a custom slot type
See https://www.paws-r-sdk.com/docs/lexmodelsv2_create_slot_type/ for full documentation.
Usage
lexmodelsv2_create_slot_type(
slotTypeName,
description = NULL,
slotTypeValues = NULL,
valueSelectionSetting = NULL,
parentSlotTypeSignature = NULL,
botId,
botVersion,
localeId,
externalSourceSetting = NULL,
compositeSlotTypeSetting = NULL
)
Arguments
slotTypeName |
[required] The name for the slot. A slot type name must be unique within the intent. |
description |
A description of the slot type. Use the description to help identify the slot type in lists. |
slotTypeValues |
A list of |
valueSelectionSetting |
Determines the strategy that Amazon Lex uses to select a value from the list of possible values. The field can be set to one of the following values:
If you don't specify the |
parentSlotTypeSignature |
The built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent slot type. Only |
botId |
[required] The identifier of the bot associated with this slot type. |
botVersion |
[required] The identifier of the bot version associated with this slot type. |
localeId |
[required] The identifier of the language and locale that the slot type will be used in. The string must match one of the supported locales. All of the bots, intents, and slots used by the slot type must have the same locale. For more information, see Supported languages. |
externalSourceSetting |
Sets the type of external information used to create the slot type. |
compositeSlotTypeSetting |
Specifications for a composite slot type. |
Create a report that describes the differences between the bot and the test set
Description
Create a report that describes the differences between the bot and the test set.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_create_test_set_discrepancy_report/ for full documentation.
Usage
lexmodelsv2_create_test_set_discrepancy_report(testSetId, target)
Arguments
testSetId |
[required] The test set Id for the test set discrepancy report. |
target |
[required] The target bot for the test set discrepancy report. |
Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale
Description
Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_create_upload_url/ for full documentation.
Usage
lexmodelsv2_create_upload_url()
Deletes all versions of a bot, including the Draft version
Description
Deletes all versions of a bot, including the Draft
version. To delete a specific version, use the delete_bot_version
operation.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_delete_bot/ for full documentation.
Usage
lexmodelsv2_delete_bot(botId, skipResourceInUseCheck = NULL)
Arguments
botId |
[required] The identifier of the bot to delete. |
skipResourceInUseCheck |
By default, Amazon Lex checks if any other resource, such as an alias or
bot network, is using the bot version before it is deleted and throws a
|
Deletes the specified bot alias
Description
Deletes the specified bot alias.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_delete_bot_alias/ for full documentation.
Usage
lexmodelsv2_delete_bot_alias(botAliasId, botId, skipResourceInUseCheck = NULL)
Arguments
botAliasId |
[required] The unique identifier of the bot alias to delete. |
botId |
[required] The unique identifier of the bot associated with the alias to delete. |
skipResourceInUseCheck |
By default, Amazon Lex checks if any other resource, such as a bot
network, is using the bot alias before it is deleted and throws a
|
Removes a locale from a bot
Description
Removes a locale from a bot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_delete_bot_locale/ for full documentation.
Usage
lexmodelsv2_delete_bot_locale(botId, botVersion, localeId)
Arguments
botId |
[required] The unique identifier of the bot that contains the locale. |
botVersion |
[required] The version of the bot that contains the locale. |
localeId |
[required] The identifier of the language and locale that will be deleted. The string must match one of the supported locales. For more information, see Supported languages. |
The action to delete the replicated bot in the secondary region
Description
The action to delete the replicated bot in the secondary region.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_delete_bot_replica/ for full documentation.
Usage
lexmodelsv2_delete_bot_replica(botId, replicaRegion)
Arguments
botId |
[required] The unique ID of the replicated bot to be deleted from the secondary region |
replicaRegion |
[required] The secondary region of the replicated bot that will be deleted. |
Deletes a specific version of a bot
Description
Deletes a specific version of a bot. To delete all versions of a bot, use the delete_bot
operation.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_delete_bot_version/ for full documentation.
Usage
lexmodelsv2_delete_bot_version(
botId,
botVersion,
skipResourceInUseCheck = NULL
)
Arguments
botId |
[required] The identifier of the bot that contains the version. |
botVersion |
[required] The version of the bot to delete. |
skipResourceInUseCheck |
By default, Amazon Lex checks if any other resource, such as an alias or
bot network, is using the bot version before it is deleted and throws a
|
Removes a custom vocabulary from the specified locale in the specified bot
Description
Removes a custom vocabulary from the specified locale in the specified bot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_delete_custom_vocabulary/ for full documentation.
Usage
lexmodelsv2_delete_custom_vocabulary(botId, botVersion, localeId)
Arguments
botId |
[required] The unique identifier of the bot to remove the custom vocabulary from. |
botVersion |
[required] The version of the bot to remove the custom vocabulary from. |
localeId |
[required] The locale identifier for the locale that contains the custom vocabulary to remove. |
Removes a previous export and the associated files stored in an S3 bucket
Description
Removes a previous export and the associated files stored in an S3 bucket.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_delete_export/ for full documentation.
Usage
lexmodelsv2_delete_export(exportId)
Arguments
exportId |
[required] The unique identifier of the export to delete. |
Removes a previous import and the associated file stored in an S3 bucket
Description
Removes a previous import and the associated file stored in an S3 bucket.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_delete_import/ for full documentation.
Usage
lexmodelsv2_delete_import(importId)
Arguments
importId |
[required] The unique identifier of the import to delete. |
Removes the specified intent
Description
Removes the specified intent.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_delete_intent/ for full documentation.
Usage
lexmodelsv2_delete_intent(intentId, botId, botVersion, localeId)
Arguments
intentId |
[required] The unique identifier of the intent to delete. |
botId |
[required] The identifier of the bot associated with the intent. |
botVersion |
[required] The version of the bot associated with the intent. |
localeId |
[required] The identifier of the language and locale where the bot will be deleted. The string must match one of the supported locales. For more information, see Supported languages. |
Removes an existing policy from a bot or bot alias
Description
Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex returns an exception.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_delete_resource_policy/ for full documentation.
Usage
lexmodelsv2_delete_resource_policy(resourceArn, expectedRevisionId = NULL)
Arguments
resourceArn |
[required] The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached. |
expectedRevisionId |
The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception If you don't specify a revision ID, Amazon Lex will delete the current policy. |
Deletes a policy statement from a resource policy
Description
Deletes a policy statement from a resource policy. If you delete the last statement from a policy, the policy is deleted. If you specify a statement ID that doesn't exist in the policy, or if the bot or bot alias doesn't have a policy attached, Amazon Lex returns an exception.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_delete_resource_policy_statement/ for full documentation.
Usage
lexmodelsv2_delete_resource_policy_statement(
resourceArn,
statementId,
expectedRevisionId = NULL
)
Arguments
resourceArn |
[required] The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to. |
statementId |
[required] The name of the statement (SID) to delete from the policy. |
expectedRevisionId |
The identifier of the revision of the policy to delete the statement from. If this revision ID doesn't match the current revision ID, Amazon Lex throws an exception. If you don't specify a revision, Amazon Lex removes the current contents of the statement. |
Deletes the specified slot from an intent
Description
Deletes the specified slot from an intent.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_delete_slot/ for full documentation.
Usage
lexmodelsv2_delete_slot(slotId, botId, botVersion, localeId, intentId)
Arguments
slotId |
[required] The identifier of the slot to delete. |
botId |
[required] The identifier of the bot associated with the slot to delete. |
botVersion |
[required] The version of the bot associated with the slot to delete. |
localeId |
[required] The identifier of the language and locale that the slot will be deleted from. The string must match one of the supported locales. For more information, see Supported languages. |
intentId |
[required] The identifier of the intent associated with the slot. |
Deletes a slot type from a bot locale
Description
Deletes a slot type from a bot locale.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_delete_slot_type/ for full documentation.
Usage
lexmodelsv2_delete_slot_type(
slotTypeId,
botId,
botVersion,
localeId,
skipResourceInUseCheck = NULL
)
Arguments
slotTypeId |
[required] The identifier of the slot type to delete. |
botId |
[required] The identifier of the bot associated with the slot type. |
botVersion |
[required] The version of the bot associated with the slot type. |
localeId |
[required] The identifier of the language and locale that the slot type will be deleted from. The string must match one of the supported locales. For more information, see Supported languages. |
skipResourceInUseCheck |
By default, the |
The action to delete the selected test set
Description
The action to delete the selected test set.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_delete_test_set/ for full documentation.
Usage
lexmodelsv2_delete_test_set(testSetId)
Arguments
testSetId |
[required] The test set Id of the test set to be deleted. |
Deletes stored utterances
Description
Deletes stored utterances.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_delete_utterances/ for full documentation.
Usage
lexmodelsv2_delete_utterances(botId, localeId = NULL, sessionId = NULL)
Arguments
botId |
[required] The unique identifier of the bot that contains the utterances. |
localeId |
The identifier of the language and locale where the utterances were collected. The string must match one of the supported locales. For more information, see Supported languages. |
sessionId |
The unique identifier of the session with the user. The ID is returned in the response from the RecognizeText and RecognizeUtterance operations. |
Provides metadata information about a bot
Description
Provides metadata information about a bot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_describe_bot/ for full documentation.
Usage
lexmodelsv2_describe_bot(botId)
Arguments
botId |
[required] The unique identifier of the bot to describe. |
Get information about a specific bot alias
Description
Get information about a specific bot alias.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_describe_bot_alias/ for full documentation.
Usage
lexmodelsv2_describe_bot_alias(botAliasId, botId)
Arguments
botAliasId |
[required] The identifier of the bot alias to describe. |
botId |
[required] The identifier of the bot associated with the bot alias to describe. |
Describes the settings that a bot has for a specific locale
Description
Describes the settings that a bot has for a specific locale.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_describe_bot_locale/ for full documentation.
Usage
lexmodelsv2_describe_bot_locale(botId, botVersion, localeId)
Arguments
botId |
[required] The identifier of the bot associated with the locale. |
botVersion |
[required] The version of the bot associated with the locale. |
localeId |
[required] The unique identifier of the locale to describe. The string must match one of the supported locales. For more information, see Supported languages. |
Provides metadata information about a bot recommendation
Description
Provides metadata information about a bot recommendation. This information will enable you to get a description on the request inputs, to download associated transcripts after processing is complete, and to download intents and slot-types generated by the bot recommendation.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_describe_bot_recommendation/ for full documentation.
Usage
lexmodelsv2_describe_bot_recommendation(
botId,
botVersion,
localeId,
botRecommendationId
)
Arguments
botId |
[required] The unique identifier of the bot associated with the bot recommendation. |
botVersion |
[required] The version of the bot associated with the bot recommendation. |
localeId |
[required] The identifier of the language and locale of the bot recommendation to describe. The string must match one of the supported locales. For more information, see Supported languages. |
botRecommendationId |
[required] The identifier of the bot recommendation to describe. |
Monitors the bot replication status through the UI console
Description
Monitors the bot replication status through the UI console.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_describe_bot_replica/ for full documentation.
Usage
lexmodelsv2_describe_bot_replica(botId, replicaRegion)
Arguments
botId |
[required] The request for the unique bot ID of the replicated bot being monitored. |
replicaRegion |
[required] The request for the region of the replicated bot being monitored. |
Returns information about a request to generate a bot through natural language description, made through the StartBotResource API
Description
Returns information about a request to generate a bot through natural language description, made through the StartBotResource
API. Use the generatedBotLocaleUrl
to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_describe_bot_resource_generation/ for full documentation.
Usage
lexmodelsv2_describe_bot_resource_generation(
botId,
botVersion,
localeId,
generationId
)
Arguments
botId |
[required] The unique identifier of the bot for which to return the generation details. |
botVersion |
[required] The version of the bot for which to return the generation details. |
localeId |
[required] The locale of the bot for which to return the generation details. |
generationId |
[required] The unique identifier of the generation request for which to return the generation details. |
Provides metadata about a version of a bot
Description
Provides metadata about a version of a bot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_describe_bot_version/ for full documentation.
Usage
lexmodelsv2_describe_bot_version(botId, botVersion)
Arguments
botId |
[required] The identifier of the bot containing the version to return metadata for. |
botVersion |
[required] The version of the bot to return metadata for. |
Provides metadata information about a custom vocabulary
Description
Provides metadata information about a custom vocabulary.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_describe_custom_vocabulary_metadata/ for full documentation.
Usage
lexmodelsv2_describe_custom_vocabulary_metadata(botId, botVersion, localeId)
Arguments
botId |
[required] The unique identifier of the bot that contains the custom vocabulary. |
botVersion |
[required] The bot version of the bot to return metadata for. |
localeId |
[required] The locale to return the custom vocabulary information for. The locale
must be |
Gets information about a specific export
Description
Gets information about a specific export.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_describe_export/ for full documentation.
Usage
lexmodelsv2_describe_export(exportId)
Arguments
exportId |
[required] The unique identifier of the export to describe. |
Gets information about a specific import
Description
Gets information about a specific import.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_describe_import/ for full documentation.
Usage
lexmodelsv2_describe_import(importId)
Arguments
importId |
[required] The unique identifier of the import to describe. |
Returns metadata about an intent
Description
Returns metadata about an intent.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_describe_intent/ for full documentation.
Usage
lexmodelsv2_describe_intent(intentId, botId, botVersion, localeId)
Arguments
intentId |
[required] The identifier of the intent to describe. |
botId |
[required] The identifier of the bot associated with the intent. |
botVersion |
[required] The version of the bot associated with the intent. |
localeId |
[required] The identifier of the language and locale of the intent to describe. The string must match one of the supported locales. For more information, see Supported languages. |
Gets the resource policy and policy revision for a bot or bot alias
Description
Gets the resource policy and policy revision for a bot or bot alias.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_describe_resource_policy/ for full documentation.
Usage
lexmodelsv2_describe_resource_policy(resourceArn)
Arguments
resourceArn |
[required] The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to. |
Gets metadata information about a slot
Description
Gets metadata information about a slot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_describe_slot/ for full documentation.
Usage
lexmodelsv2_describe_slot(slotId, botId, botVersion, localeId, intentId)
Arguments
slotId |
[required] The unique identifier for the slot. |
botId |
[required] The identifier of the bot associated with the slot. |
botVersion |
[required] The version of the bot associated with the slot. |
localeId |
[required] The identifier of the language and locale of the slot to describe. The string must match one of the supported locales. For more information, see Supported languages. |
intentId |
[required] The identifier of the intent that contains the slot. |
Gets metadata information about a slot type
Description
Gets metadata information about a slot type.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_describe_slot_type/ for full documentation.
Usage
lexmodelsv2_describe_slot_type(slotTypeId, botId, botVersion, localeId)
Arguments
slotTypeId |
[required] The identifier of the slot type. |
botId |
[required] The identifier of the bot associated with the slot type. |
botVersion |
[required] The version of the bot associated with the slot type. |
localeId |
[required] The identifier of the language and locale of the slot type to describe. The string must match one of the supported locales. For more information, see Supported languages. |
Gets metadata information about the test execution
Description
Gets metadata information about the test execution.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_describe_test_execution/ for full documentation.
Usage
lexmodelsv2_describe_test_execution(testExecutionId)
Arguments
testExecutionId |
[required] The execution Id of the test set execution. |
Gets metadata information about the test set
Description
Gets metadata information about the test set.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_describe_test_set/ for full documentation.
Usage
lexmodelsv2_describe_test_set(testSetId)
Arguments
testSetId |
[required] The test set Id for the test set request. |
Gets metadata information about the test set discrepancy report
Description
Gets metadata information about the test set discrepancy report.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_describe_test_set_discrepancy_report/ for full documentation.
Usage
lexmodelsv2_describe_test_set_discrepancy_report(testSetDiscrepancyReportId)
Arguments
testSetDiscrepancyReportId |
[required] The unique identifier of the test set discrepancy report. |
Gets metadata information about the test set generation
Description
Gets metadata information about the test set generation.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_describe_test_set_generation/ for full documentation.
Usage
lexmodelsv2_describe_test_set_generation(testSetGenerationId)
Arguments
testSetGenerationId |
[required] The unique identifier of the test set generation. |
Generates sample utterances for an intent
Description
Generates sample utterances for an intent.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_generate_bot_element/ for full documentation.
Usage
lexmodelsv2_generate_bot_element(intentId, botId, botVersion, localeId)
Arguments
intentId |
[required] The intent unique Id for the bot request to generate utterances. |
botId |
[required] The bot unique Id for the bot request to generate utterances. |
botVersion |
[required] The bot version for the bot request to generate utterances. |
localeId |
[required] The unique locale Id for the bot request to generate utterances. |
The pre-signed Amazon S3 URL to download the test execution result artifacts
Description
The pre-signed Amazon S3 URL to download the test execution result artifacts.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_get_test_execution_artifacts_url/ for full documentation.
Usage
lexmodelsv2_get_test_execution_artifacts_url(testExecutionId)
Arguments
testExecutionId |
[required] The unique identifier of the completed test execution. |
Provides a list of utterances that users have sent to the bot
Description
Provides a list of utterances that users have sent to the bot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_aggregated_utterances/ for full documentation.
Usage
lexmodelsv2_list_aggregated_utterances(
botId,
botAliasId = NULL,
botVersion = NULL,
localeId,
aggregationDuration,
sortBy = NULL,
filters = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
botId |
[required] The unique identifier of the bot associated with this request. |
botAliasId |
The identifier of the bot alias associated with this request. If you specify the bot alias, you can't specify the bot version. |
botVersion |
The identifier of the bot version associated with this request. If you specify the bot version, you can't specify the bot alias. |
localeId |
[required] The identifier of the language and locale where the utterances were collected. For more information, see Supported languages. |
aggregationDuration |
[required] The time window for aggregating the utterance information. You can specify a time between one hour and two weeks. |
sortBy |
Specifies sorting parameters for the list of utterances. You can sort by the hit count, the missed count, or the number of distinct sessions the utterance appeared in. |
filters |
Provides the specification of a filter used to limit the utterances in the response to only those that match the filter specification. You can only specify one filter and one string to filter on. |
maxResults |
The maximum number of utterances to return in each page of results. If
there are fewer results than the maximum page size, only the actual
number of results are returned. If you don't specify the |
nextToken |
If the response from the
|
The action to list the replicated bots created from the source bot alias
Description
The action to list the replicated bots created from the source bot alias.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_bot_alias_replicas/ for full documentation.
Usage
lexmodelsv2_list_bot_alias_replicas(
botId,
replicaRegion,
maxResults = NULL,
nextToken = NULL
)
Arguments
botId |
[required] The request for the unique bot ID of the replicated bot created from the source bot alias. |
replicaRegion |
[required] The request for the secondary region of the replicated bot created from the source bot alias. |
maxResults |
The request for maximum results to list the replicated bots created from the source bot alias. |
nextToken |
The request for the next token for the replicated bot created from the source bot alias. |
Gets a list of aliases for the specified bot
Description
Gets a list of aliases for the specified bot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_bot_aliases/ for full documentation.
Usage
lexmodelsv2_list_bot_aliases(botId, maxResults = NULL, nextToken = NULL)
Arguments
botId |
[required] The identifier of the bot to list aliases for. |
maxResults |
The maximum number of aliases to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned. |
nextToken |
If the response from the
|
Gets a list of locales for the specified bot
Description
Gets a list of locales for the specified bot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_bot_locales/ for full documentation.
Usage
lexmodelsv2_list_bot_locales(
botId,
botVersion,
sortBy = NULL,
filters = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
botId |
[required] The identifier of the bot to list locales for. |
botVersion |
[required] The version of the bot to list locales for. |
sortBy |
Specifies sorting parameters for the list of locales. You can sort by locale name in ascending or descending order. |
filters |
Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on. |
maxResults |
The maximum number of aliases to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned. |
nextToken |
If the response from the
|
Get a list of bot recommendations that meet the specified criteria
Description
Get a list of bot recommendations that meet the specified criteria.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_bot_recommendations/ for full documentation.
Usage
lexmodelsv2_list_bot_recommendations(
botId,
botVersion,
localeId,
maxResults = NULL,
nextToken = NULL
)
Arguments
botId |
[required] The unique identifier of the bot that contains the bot recommendation list. |
botVersion |
[required] The version of the bot that contains the bot recommendation list. |
localeId |
[required] The identifier of the language and locale of the bot recommendation list. |
maxResults |
The maximum number of bot recommendations to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned. |
nextToken |
If the response from the ListBotRecommendation operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results. |
The action to list the replicated bots
Description
The action to list the replicated bots.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_bot_replicas/ for full documentation.
Usage
lexmodelsv2_list_bot_replicas(botId)
Arguments
botId |
[required] The request for the unique bot IDs in the list of replicated bots. |
Lists the generation requests made for a bot locale
Description
Lists the generation requests made for a bot locale.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_bot_resource_generations/ for full documentation.
Usage
lexmodelsv2_list_bot_resource_generations(
botId,
botVersion,
localeId,
sortBy = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
botId |
[required] The unique identifier of the bot whose generation requests you want to view. |
botVersion |
[required] The version of the bot whose generation requests you want to view. |
localeId |
[required] The locale of the bot whose generation requests you want to view. |
sortBy |
An object containing information about the attribute and the method by which to sort the results |
maxResults |
The maximum number of results to return in the response. |
nextToken |
If the total number of results is greater than the number specified in
the |
Contains information about all the versions replication statuses applicable for Global Resiliency
Description
Contains information about all the versions replication statuses applicable for Global Resiliency.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_bot_version_replicas/ for full documentation.
Usage
lexmodelsv2_list_bot_version_replicas(
botId,
replicaRegion,
maxResults = NULL,
nextToken = NULL,
sortBy = NULL
)
Arguments
botId |
[required] The request for the unique ID in the list of replicated bots. |
replicaRegion |
[required] The request for the region used in the list of replicated bots. |
maxResults |
The maximum results given in the list of replicated bots. |
nextToken |
The next token given in the list of replicated bots. |
sortBy |
The requested sort category for the list of replicated bots. |
Gets information about all of the versions of a bot
Description
Gets information about all of the versions of a bot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_bot_versions/ for full documentation.
Usage
lexmodelsv2_list_bot_versions(
botId,
sortBy = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
botId |
[required] The identifier of the bot to list versions for. |
sortBy |
Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order. |
maxResults |
The maximum number of versions to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned. |
nextToken |
If the response to the |
Gets a list of available bots
Description
Gets a list of available bots.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_bots/ for full documentation.
Usage
lexmodelsv2_list_bots(
sortBy = NULL,
filters = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
sortBy |
Specifies sorting parameters for the list of bots. You can specify that the list be sorted by bot name in ascending or descending order. |
filters |
Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on. |
maxResults |
The maximum number of bots to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned. |
nextToken |
If the response from the Use the returned token in the |
Gets a list of built-in intents provided by Amazon Lex that you can use in your bot
Description
Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_built_in_intents/ for full documentation.
Usage
lexmodelsv2_list_built_in_intents(
localeId,
sortBy = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
localeId |
[required] The identifier of the language and locale of the intents to list. The string must match one of the supported locales. For more information, see Supported languages. |
sortBy |
Specifies sorting parameters for the list of built-in intents. You can specify that the list be sorted by the built-in intent signature in either ascending or descending order. |
maxResults |
The maximum number of built-in intents to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned. |
nextToken |
If the response from the
|
Gets a list of built-in slot types that meet the specified criteria
Description
Gets a list of built-in slot types that meet the specified criteria.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_built_in_slot_types/ for full documentation.
Usage
lexmodelsv2_list_built_in_slot_types(
localeId,
sortBy = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
localeId |
[required] The identifier of the language and locale of the slot types to list. The string must match one of the supported locales. For more information, see Supported languages. |
sortBy |
Determines the sort order for the response from the
|
maxResults |
The maximum number of built-in slot types to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned. |
nextToken |
If the response from the
|
Paginated list of custom vocabulary items for a given bot locale's custom vocabulary
Description
Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_custom_vocabulary_items/ for full documentation.
Usage
lexmodelsv2_list_custom_vocabulary_items(
botId,
botVersion,
localeId,
maxResults = NULL,
nextToken = NULL
)
Arguments
botId |
[required] The identifier of the version of the bot associated with this custom vocabulary. |
botVersion |
[required] The bot version of the bot to the list custom vocabulary request. |
localeId |
[required] The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html). |
maxResults |
The maximum number of items returned by the list operation. |
nextToken |
The nextToken identifier to the list custom vocabulary request. |
Lists the exports for a bot, bot locale, or custom vocabulary
Description
Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in the list for 7 days.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_exports/ for full documentation.
Usage
lexmodelsv2_list_exports(
botId = NULL,
botVersion = NULL,
sortBy = NULL,
filters = NULL,
maxResults = NULL,
nextToken = NULL,
localeId = NULL
)
Arguments
botId |
The unique identifier that Amazon Lex assigned to the bot. |
botVersion |
The version of the bot to list exports for. |
sortBy |
Determines the field that the list of exports is sorted by. You can sort
by the |
filters |
Provides the specification of a filter used to limit the exports in the response to only those that match the filter specification. You can only specify one filter and one string to filter on. |
maxResults |
The maximum number of exports to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned. |
nextToken |
If the response from the Use the returned token in the |
localeId |
Specifies the resources that should be exported. If you don't specify a
resource type in the |
Lists the imports for a bot, bot locale, or custom vocabulary
Description
Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_imports/ for full documentation.
Usage
lexmodelsv2_list_imports(
botId = NULL,
botVersion = NULL,
sortBy = NULL,
filters = NULL,
maxResults = NULL,
nextToken = NULL,
localeId = NULL
)
Arguments
botId |
The unique identifier that Amazon Lex assigned to the bot. |
botVersion |
The version of the bot to list imports for. |
sortBy |
Determines the field that the list of imports is sorted by. You can sort
by the |
filters |
Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on. |
maxResults |
The maximum number of imports to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned. |
nextToken |
If the response from the Use the returned token in the |
localeId |
Specifies the locale that should be present in the list. If you don't
specify a resource type in the |
Retrieves summary metrics for the intents in your bot
Description
Retrieves summary metrics for the intents in your bot. The following fields are required:
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_intent_metrics/ for full documentation.
Usage
lexmodelsv2_list_intent_metrics(
botId,
startDateTime,
endDateTime,
metrics,
binBy = NULL,
groupBy = NULL,
filters = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
botId |
[required] The identifier for the bot for which you want to retrieve intent metrics. |
startDateTime |
[required] The timestamp that marks the beginning of the range of time for which you want to see intent metrics. |
endDateTime |
[required] The date and time that marks the end of the range of time for which you want to see intent metrics. |
metrics |
[required] A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the order by which to organize the results. |
binBy |
A list of objects, each of which contains specifications for organizing the results by time. |
groupBy |
A list of objects, each of which specifies how to group the results. You can group by the following criteria:
|
filters |
A list of objects, each of which describes a condition by which you want to filter the results. |
maxResults |
The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned. |
nextToken |
If the response from the ListIntentMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use the returned token in the nextToken parameter of a ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics operation until the nextToken returned in the response is null. |
Retrieves summary statistics for a path of intents that users take over sessions with your bot
Description
Retrieves summary statistics for a path of intents that users take over sessions with your bot. The following fields are required:
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_intent_paths/ for full documentation.
Usage
lexmodelsv2_list_intent_paths(
botId,
startDateTime,
endDateTime,
intentPath,
filters = NULL
)
Arguments
botId |
[required] The identifier for the bot for which you want to retrieve intent path metrics. |
startDateTime |
[required] The date and time that marks the beginning of the range of time for which you want to see intent path metrics. |
endDateTime |
[required] The date and time that marks the end of the range of time for which you want to see intent path metrics. |
intentPath |
[required] The intent path for which you want to retrieve metrics. Use a forward slash to separate intents in the path. For example:
|
filters |
A list of objects, each describes a condition by which you want to filter the results. |
Retrieves summary metrics for the stages within intents in your bot
Description
Retrieves summary metrics for the stages within intents in your bot. The following fields are required:
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_intent_stage_metrics/ for full documentation.
Usage
lexmodelsv2_list_intent_stage_metrics(
botId,
startDateTime,
endDateTime,
metrics,
binBy = NULL,
groupBy = NULL,
filters = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
botId |
[required] The identifier for the bot for which you want to retrieve intent stage metrics. |
startDateTime |
[required] The date and time that marks the beginning of the range of time for which you want to see intent stage metrics. |
endDateTime |
[required] The date and time that marks the end of the range of time for which you want to see intent stage metrics. |
metrics |
[required] A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results. |
binBy |
A list of objects, each of which contains specifications for organizing the results by time. |
groupBy |
A list of objects, each of which specifies how to group the results. You can group by the following criteria:
|
filters |
A list of objects, each of which describes a condition by which you want to filter the results. |
maxResults |
The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned. |
nextToken |
If the response from the ListIntentStageMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use the returned token in the nextToken parameter of a ListIntentStageMetrics request to return the next page of results. For a complete set of results, call the ListIntentStageMetrics operation until the nextToken returned in the response is null. |
Get a list of intents that meet the specified criteria
Description
Get a list of intents that meet the specified criteria.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_intents/ for full documentation.
Usage
lexmodelsv2_list_intents(
botId,
botVersion,
localeId,
sortBy = NULL,
filters = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
botId |
[required] The unique identifier of the bot that contains the intent. |
botVersion |
[required] The version of the bot that contains the intent. |
localeId |
[required] The identifier of the language and locale of the intents to list. The string must match one of the supported locales. For more information, see Supported languages. |
sortBy |
Determines the sort order for the response from the
|
filters |
Provides the specification of a filter used to limit the intents in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on. |
maxResults |
The maximum number of intents to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned. |
nextToken |
If the response from the Use the returned token in the |
Gets a list of recommended intents provided by the bot recommendation that you can use in your bot
Description
Gets a list of recommended intents provided by the bot recommendation that you can use in your bot. Intents in the response are ordered by relevance.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_recommended_intents/ for full documentation.
Usage
lexmodelsv2_list_recommended_intents(
botId,
botVersion,
localeId,
botRecommendationId,
nextToken = NULL,
maxResults = NULL
)
Arguments
botId |
[required] The unique identifier of the bot associated with the recommended intents. |
botVersion |
[required] The version of the bot that contains the recommended intents. |
localeId |
[required] The identifier of the language and locale of the recommended intents. |
botRecommendationId |
[required] The identifier of the bot recommendation that contains the recommended intents. |
nextToken |
If the response from the ListRecommendedIntents operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results. |
maxResults |
The maximum number of bot recommendations to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned. |
Retrieves a list of metadata for individual user sessions with your bot
Description
Retrieves a list of metadata for individual user sessions with your bot. The startDateTime
and endDateTime
fields are required. These fields define a time range for which you want to retrieve results. Of the optional fields, you can organize the results in the following ways:
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_session_analytics_data/ for full documentation.
Usage
lexmodelsv2_list_session_analytics_data(
botId,
startDateTime,
endDateTime,
sortBy = NULL,
filters = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
botId |
[required] The identifier for the bot for which you want to retrieve session analytics. |
startDateTime |
[required] The date and time that marks the beginning of the range of time for which you want to see session analytics. |
endDateTime |
[required] The date and time that marks the end of the range of time for which you want to see session analytics. |
sortBy |
An object specifying the measure and method by which to sort the session analytics data. |
filters |
A list of objects, each of which describes a condition by which you want to filter the results. |
maxResults |
The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned. |
nextToken |
If the response from the ListSessionAnalyticsData operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use the returned token in the nextToken parameter of a ListSessionAnalyticsData request to return the next page of results. For a complete set of results, call the ListSessionAnalyticsData operation until the nextToken returned in the response is null. |
Retrieves summary metrics for the user sessions with your bot
Description
Retrieves summary metrics for the user sessions with your bot. The following fields are required:
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_session_metrics/ for full documentation.
Usage
lexmodelsv2_list_session_metrics(
botId,
startDateTime,
endDateTime,
metrics,
binBy = NULL,
groupBy = NULL,
filters = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
botId |
[required] The identifier for the bot for which you want to retrieve session metrics. |
startDateTime |
[required] The date and time that marks the beginning of the range of time for which you want to see session metrics. |
endDateTime |
[required] The date and time that marks the end of the range of time for which you want to see session metrics. |
metrics |
[required] A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results. |
binBy |
A list of objects, each of which contains specifications for organizing the results by time. |
groupBy |
A list of objects, each of which specifies how to group the results. You can group by the following criteria:
|
filters |
A list of objects, each of which describes a condition by which you want to filter the results. |
maxResults |
The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned. |
nextToken |
If the response from the ListSessionMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use the returned token in the nextToken parameter of a ListSessionMetrics request to return the next page of results. For a complete set of results, call the ListSessionMetrics operation until the nextToken returned in the response is null. |
Gets a list of slot types that match the specified criteria
Description
Gets a list of slot types that match the specified criteria.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_slot_types/ for full documentation.
Usage
lexmodelsv2_list_slot_types(
botId,
botVersion,
localeId,
sortBy = NULL,
filters = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
botId |
[required] The unique identifier of the bot that contains the slot types. |
botVersion |
[required] The version of the bot that contains the slot type. |
localeId |
[required] The identifier of the language and locale of the slot types to list. The string must match one of the supported locales. For more information, see Supported languages. |
sortBy |
Determines the sort order for the response from the
|
filters |
Provides the specification of a filter used to limit the slot types in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on. |
maxResults |
The maximum number of slot types to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned. |
nextToken |
If the response from the
|
Gets a list of slots that match the specified criteria
Description
Gets a list of slots that match the specified criteria.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_slots/ for full documentation.
Usage
lexmodelsv2_list_slots(
botId,
botVersion,
localeId,
intentId,
sortBy = NULL,
filters = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
botId |
[required] The identifier of the bot that contains the slot. |
botVersion |
[required] The version of the bot that contains the slot. |
localeId |
[required] The identifier of the language and locale of the slots to list. The string must match one of the supported locales. For more information, see Supported languages. |
intentId |
[required] The unique identifier of the intent that contains the slot. |
sortBy |
Determines the sort order for the response from the
|
filters |
Provides the specification of a filter used to limit the slots in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on. |
maxResults |
The maximum number of slots to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned. |
nextToken |
If the response from the |
Gets a list of tags associated with a resource
Description
Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags associated with them.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_tags_for_resource/ for full documentation.
Usage
lexmodelsv2_list_tags_for_resource(resourceARN)
Arguments
resourceARN |
[required] The Amazon Resource Name (ARN) of the resource to get a list of tags for. |
Gets a list of test execution result items
Description
Gets a list of test execution result items.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_test_execution_result_items/ for full documentation.
Usage
lexmodelsv2_list_test_execution_result_items(
testExecutionId,
resultFilterBy,
maxResults = NULL,
nextToken = NULL
)
Arguments
testExecutionId |
[required] The unique identifier of the test execution to list the result items. |
resultFilterBy |
[required] The filter for the list of results from the test set execution. |
maxResults |
The maximum number of test execution result items to return in each page. If there are fewer results than the max page size, only the actual number of results are returned. |
nextToken |
If the response from the
|
The list of test set executions
Description
The list of test set executions.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_test_executions/ for full documentation.
Usage
lexmodelsv2_list_test_executions(
sortBy = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
sortBy |
The sort order of the test set executions. |
maxResults |
The maximum number of test executions to return in each page. If there are fewer results than the max page size, only the actual number of results are returned. |
nextToken |
If the response from the ListTestExecutions operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results. |
The list of test set records
Description
The list of test set records.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_test_set_records/ for full documentation.
Usage
lexmodelsv2_list_test_set_records(
testSetId,
maxResults = NULL,
nextToken = NULL
)
Arguments
testSetId |
[required] The identifier of the test set to list its test set records. |
maxResults |
The maximum number of test set records to return in each page. If there are fewer records than the max page size, only the actual number of records are returned. |
nextToken |
If the response from the ListTestSetRecords operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results. |
The list of the test sets
Description
The list of the test sets
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_test_sets/ for full documentation.
Usage
lexmodelsv2_list_test_sets(sortBy = NULL, maxResults = NULL, nextToken = NULL)
Arguments
sortBy |
The sort order for the list of test sets. |
maxResults |
The maximum number of test sets to return in each page. If there are fewer results than the max page size, only the actual number of results are returned. |
nextToken |
If the response from the ListTestSets operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results. |
To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances operation, which provides access to utterance-related analytics
Description
To use this API operation, your IAM role must have permissions to perform the list_aggregated_utterances
operation, which provides access to utterance-related analytics. See Viewing utterance statistics for the IAM policy to apply to the IAM role.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_utterance_analytics_data/ for full documentation.
Usage
lexmodelsv2_list_utterance_analytics_data(
botId,
startDateTime,
endDateTime,
sortBy = NULL,
filters = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
botId |
[required] The identifier for the bot for which you want to retrieve utterance analytics. |
startDateTime |
[required] The date and time that marks the beginning of the range of time for which you want to see utterance analytics. |
endDateTime |
[required] The date and time that marks the end of the range of time for which you want to see utterance analytics. |
sortBy |
An object specifying the measure and method by which to sort the utterance analytics data. |
filters |
A list of objects, each of which describes a condition by which you want to filter the results. |
maxResults |
The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned. |
nextToken |
If the response from the ListUtteranceAnalyticsData operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use the returned token in the nextToken parameter of a ListUtteranceAnalyticsData request to return the next page of results. For a complete set of results, call the ListUtteranceAnalyticsData operation until the nextToken returned in the response is null. |
To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances operation, which provides access to utterance-related analytics
Description
To use this API operation, your IAM role must have permissions to perform the list_aggregated_utterances
operation, which provides access to utterance-related analytics. See Viewing utterance statistics for the IAM policy to apply to the IAM role.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_utterance_metrics/ for full documentation.
Usage
lexmodelsv2_list_utterance_metrics(
botId,
startDateTime,
endDateTime,
metrics,
binBy = NULL,
groupBy = NULL,
attributes = NULL,
filters = NULL,
maxResults = NULL,
nextToken = NULL
)
Arguments
botId |
[required] The identifier for the bot for which you want to retrieve utterance metrics. |
startDateTime |
[required] The date and time that marks the beginning of the range of time for which you want to see utterance metrics. |
endDateTime |
[required] The date and time that marks the end of the range of time for which you want to see utterance metrics. |
metrics |
[required] A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results. |
binBy |
A list of objects, each of which contains specifications for organizing the results by time. |
groupBy |
A list of objects, each of which specifies how to group the results. You can group by the following criteria:
|
attributes |
A list containing attributes related to the utterance that you want the response to return. The following attributes are possible:
|
filters |
A list of objects, each of which describes a condition by which you want to filter the results. |
maxResults |
The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned. |
nextToken |
If the response from the ListUtteranceMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use the returned token in the nextToken parameter of a ListUtteranceMetrics request to return the next page of results. For a complete set of results, call the ListUtteranceMetrics operation until the nextToken returned in the response is null. |
Search for associated transcripts that meet the specified criteria
Description
Search for associated transcripts that meet the specified criteria.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_search_associated_transcripts/ for full documentation.
Usage
lexmodelsv2_search_associated_transcripts(
botId,
botVersion,
localeId,
botRecommendationId,
searchOrder = NULL,
filters,
maxResults = NULL,
nextIndex = NULL
)
Arguments
botId |
[required] The unique identifier of the bot associated with the transcripts that you are searching. |
botVersion |
[required] The version of the bot containing the transcripts that you are searching. |
localeId |
[required] The identifier of the language and locale of the transcripts to search. The string must match one of the supported locales. For more information, see Supported languages |
botRecommendationId |
[required] The unique identifier of the bot recommendation associated with the transcripts to search. |
searchOrder |
How SearchResults are ordered. Valid values are Ascending or Descending. The default is Descending. |
filters |
[required] A list of filter objects. |
maxResults |
The maximum number of bot recommendations to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned. |
nextIndex |
If the response from the SearchAssociatedTranscriptsRequest operation contains more results than specified in the maxResults parameter, an index is returned in the response. Use that index in the nextIndex parameter to return the next page of results. |
Use this to provide your transcript data, and to start the bot recommendation process
Description
Use this to provide your transcript data, and to start the bot recommendation process.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_start_bot_recommendation/ for full documentation.
Usage
lexmodelsv2_start_bot_recommendation(
botId,
botVersion,
localeId,
transcriptSourceSetting,
encryptionSetting = NULL
)
Arguments
botId |
[required] The unique identifier of the bot containing the bot recommendation. |
botVersion |
[required] The version of the bot containing the bot recommendation. |
localeId |
[required] The identifier of the language and locale of the bot recommendation to start. The string must match one of the supported locales. For more information, see Supported languages |
transcriptSourceSetting |
[required] The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata. |
encryptionSetting |
The object representing the passwords that will be used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata. |
Starts a request for the descriptive bot builder to generate a bot locale configuration based on the prompt you provide it
Description
Starts a request for the descriptive bot builder to generate a bot locale configuration based on the prompt you provide it. After you make this call, use the describe_bot_resource_generation
operation to check on the status of the generation and for the generatedBotLocaleUrl
when the generation is complete. Use that value to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_start_bot_resource_generation/ for full documentation.
Usage
lexmodelsv2_start_bot_resource_generation(
generationInputPrompt,
botId,
botVersion,
localeId
)
Arguments
generationInputPrompt |
[required] The prompt to generate intents and slot types for the bot locale. Your description should be both detailed and precise to help generate appropriate and sufficient intents for your bot. Include a list of actions to improve the intent creation process. |
botId |
[required] The unique identifier of the bot for which to generate intents and slot types. |
botVersion |
[required] The version of the bot for which to generate intents and slot types. |
localeId |
[required] The locale of the bot for which to generate intents and slot types. |
Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket
Description
Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_start_import/ for full documentation.
Usage
lexmodelsv2_start_import(
importId,
resourceSpecification,
mergeStrategy,
filePassword = NULL
)
Arguments
importId |
[required] The unique identifier for the import. It is included in the response
from the |
resourceSpecification |
[required] Parameters for creating the bot, bot locale or custom vocabulary. |
mergeStrategy |
[required] The strategy to use when there is a name conflict between the imported
resource and an existing resource. When the merge strategy is
|
filePassword |
The password used to encrypt the zip archive that contains the resource definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex. |
The action to start test set execution
Description
The action to start test set execution.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_start_test_execution/ for full documentation.
Usage
lexmodelsv2_start_test_execution(
testSetId,
target,
apiMode,
testExecutionModality = NULL
)
Arguments
testSetId |
[required] The test set Id for the test set execution. |
target |
[required] The target bot for the test set execution. |
apiMode |
[required] Indicates whether we use streaming or non-streaming APIs for the test set execution. For streaming, StartConversation Runtime API is used. Whereas, for non-streaming, RecognizeUtterance and RecognizeText Amazon Lex Runtime API are used. |
testExecutionModality |
Indicates whether audio or text is used. |
The action to start the generation of test set
Description
The action to start the generation of test set.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_start_test_set_generation/ for full documentation.
Usage
lexmodelsv2_start_test_set_generation(
testSetName,
description = NULL,
storageLocation,
generationDataSource,
roleArn,
testSetTags = NULL
)
Arguments
testSetName |
[required] The test set name for the test set generation request. |
description |
The test set description for the test set generation request. |
storageLocation |
[required] The Amazon S3 storage location for the test set generation. |
generationDataSource |
[required] The data source for the test set generation. |
roleArn |
[required] The roleARN used for any operation in the test set to access resources in the Amazon Web Services account. |
testSetTags |
A list of tags to add to the test set. You can only add tags when you
import/generate a new test set. You can't use the
|
Stop an already running Bot Recommendation request
Description
Stop an already running Bot Recommendation request.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_stop_bot_recommendation/ for full documentation.
Usage
lexmodelsv2_stop_bot_recommendation(
botId,
botVersion,
localeId,
botRecommendationId
)
Arguments
botId |
[required] The unique identifier of the bot containing the bot recommendation to be stopped. |
botVersion |
[required] The version of the bot containing the bot recommendation. |
localeId |
[required] The identifier of the language and locale of the bot recommendation to stop. The string must match one of the supported locales. For more information, see Supported languages |
botRecommendationId |
[required] The unique identifier of the bot recommendation to be stopped. |
Adds the specified tags to the specified resource
Description
Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced with the new value.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_tag_resource/ for full documentation.
Usage
lexmodelsv2_tag_resource(resourceARN, tags)
Arguments
resourceARN |
[required] The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel to tag. |
tags |
[required] A list of tag keys to add to the resource. If a tag key already exists, the existing value is replaced with the new value. |
Removes tags from a bot, bot alias, or bot channel
Description
Removes tags from a bot, bot alias, or bot channel.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_untag_resource/ for full documentation.
Usage
lexmodelsv2_untag_resource(resourceARN, tagKeys)
Arguments
resourceARN |
[required] The Amazon Resource Name (ARN) of the resource to remove the tags from. |
tagKeys |
[required] A list of tag keys to remove from the resource. If a tag key does not exist on the resource, it is ignored. |
Updates the configuration of an existing bot
Description
Updates the configuration of an existing bot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_update_bot/ for full documentation.
Usage
lexmodelsv2_update_bot(
botId,
botName,
description = NULL,
roleArn,
dataPrivacy,
idleSessionTTLInSeconds,
botType = NULL,
botMembers = NULL
)
Arguments
botId |
[required] The unique identifier of the bot to update. This identifier is returned
by the |
botName |
[required] The new name of the bot. The name must be unique in the account that creates the bot. |
description |
A description of the bot. |
roleArn |
[required] The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot. |
dataPrivacy |
[required] Provides information on additional privacy protections Amazon Lex should use with the bot's data. |
idleSessionTTLInSeconds |
[required] The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout. You can specify between 60 (1 minute) and 86,400 (24 hours) seconds. |
botType |
The type of the bot to be updated. |
botMembers |
The list of bot members in the network associated with the update action. |
Updates the configuration of an existing bot alias
Description
Updates the configuration of an existing bot alias.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_update_bot_alias/ for full documentation.
Usage
lexmodelsv2_update_bot_alias(
botAliasId,
botAliasName,
description = NULL,
botVersion = NULL,
botAliasLocaleSettings = NULL,
conversationLogSettings = NULL,
sentimentAnalysisSettings = NULL,
botId
)
Arguments
botAliasId |
[required] The unique identifier of the bot alias. |
botAliasName |
[required] The new name to assign to the bot alias. |
description |
The new description to assign to the bot alias. |
botVersion |
The new bot version to assign to the bot alias. |
botAliasLocaleSettings |
The new Lambda functions to use in each locale for the bot alias. |
conversationLogSettings |
The new settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets. |
sentimentAnalysisSettings |
|
botId |
[required] The identifier of the bot with the updated alias. |
Updates the settings that a bot has for a specific locale
Description
Updates the settings that a bot has for a specific locale.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_update_bot_locale/ for full documentation.
Usage
lexmodelsv2_update_bot_locale(
botId,
botVersion,
localeId,
description = NULL,
nluIntentConfidenceThreshold,
voiceSettings = NULL,
generativeAISettings = NULL
)
Arguments
botId |
[required] The unique identifier of the bot that contains the locale. |
botVersion |
[required] The version of the bot that contains the locale to be updated. The
version can only be the |
localeId |
[required] The identifier of the language and locale to update. The string must match one of the supported locales. For more information, see Supported languages. |
description |
The new description of the locale. |
nluIntentConfidenceThreshold |
[required] The new confidence threshold where Amazon Lex inserts the
|
voiceSettings |
The new Amazon Polly voice Amazon Lex should use for voice interaction with the user. |
generativeAISettings |
Contains settings for generative AI features powered by Amazon Bedrock for your bot locale. Use this object to turn generative AI features on and off. Pricing may differ if you turn a feature on. For more information, see LINK. |
Updates an existing bot recommendation request
Description
Updates an existing bot recommendation request.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_update_bot_recommendation/ for full documentation.
Usage
lexmodelsv2_update_bot_recommendation(
botId,
botVersion,
localeId,
botRecommendationId,
encryptionSetting
)
Arguments
botId |
[required] The unique identifier of the bot containing the bot recommendation to be updated. |
botVersion |
[required] The version of the bot containing the bot recommendation to be updated. |
localeId |
[required] The identifier of the language and locale of the bot recommendation to update. The string must match one of the supported locales. For more information, see Supported languages |
botRecommendationId |
[required] The unique identifier of the bot recommendation to be updated. |
encryptionSetting |
[required] The object representing the passwords that will be used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata. |
Updates the password used to protect an export zip archive
Description
Updates the password used to protect an export zip archive.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_update_export/ for full documentation.
Usage
lexmodelsv2_update_export(exportId, filePassword = NULL)
Arguments
exportId |
[required] The unique identifier Amazon Lex assigned to the export. |
filePassword |
The new password to use to encrypt the export zip archive. |
Updates the settings for an intent
Description
Updates the settings for an intent.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_update_intent/ for full documentation.
Usage
lexmodelsv2_update_intent(
intentId,
intentName,
description = NULL,
parentIntentSignature = NULL,
sampleUtterances = NULL,
dialogCodeHook = NULL,
fulfillmentCodeHook = NULL,
slotPriorities = NULL,
intentConfirmationSetting = NULL,
intentClosingSetting = NULL,
inputContexts = NULL,
outputContexts = NULL,
kendraConfiguration = NULL,
botId,
botVersion,
localeId,
initialResponseSetting = NULL,
qnAIntentConfiguration = NULL
)
Arguments
intentId |
[required] The unique identifier of the intent to update. |
intentName |
[required] The new name for the intent. |
description |
The new description of the intent. |
parentIntentSignature |
The signature of the new built-in intent to use as the parent of this intent. |
sampleUtterances |
New utterances used to invoke the intent. |
dialogCodeHook |
The new Lambda function to use between each turn of the conversation with the bot. |
fulfillmentCodeHook |
The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment. |
slotPriorities |
A new list of slots and their priorities that are contained by the intent. |
intentConfirmationSetting |
New prompts that Amazon Lex sends to the user to confirm the completion of an intent. |
intentClosingSetting |
The new response that Amazon Lex sends the user when the intent is closed. |
inputContexts |
A new list of contexts that must be active in order for Amazon Lex to consider the intent. |
outputContexts |
A new list of contexts that Amazon Lex activates when the intent is fulfilled. |
kendraConfiguration |
New configuration settings for connecting to an Amazon Kendra index. |
botId |
[required] The identifier of the bot that contains the intent. |
botVersion |
[required] The version of the bot that contains the intent. Must be |
localeId |
[required] The identifier of the language and locale where this intent is used. The string must match one of the supported locales. For more information, see Supported languages. |
initialResponseSetting |
Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots. |
qnAIntentConfiguration |
Specifies the configuration of the built-in |
Replaces the existing resource policy for a bot or bot alias with a new one
Description
Replaces the existing resource policy for a bot or bot alias with a new one. If the policy doesn't exist, Amazon Lex returns an exception.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_update_resource_policy/ for full documentation.
Usage
lexmodelsv2_update_resource_policy(
resourceArn,
policy,
expectedRevisionId = NULL
)
Arguments
resourceArn |
[required] The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to. |
policy |
[required] A resource policy to add to the resource. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow the IAM syntax. For more information about the contents of a JSON policy document, see IAM JSON policy reference . If the policy isn't valid, Amazon Lex returns a validation exception. |
expectedRevisionId |
The identifier of the revision of the policy to update. If this revision ID doesn't match the current revision ID, Amazon Lex throws an exception. If you don't specify a revision, Amazon Lex overwrites the contents of the policy with the new values. |
Updates the settings for a slot
Description
Updates the settings for a slot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_update_slot/ for full documentation.
Usage
lexmodelsv2_update_slot(
slotId,
slotName,
description = NULL,
slotTypeId = NULL,
valueElicitationSetting,
obfuscationSetting = NULL,
botId,
botVersion,
localeId,
intentId,
multipleValuesSetting = NULL,
subSlotSetting = NULL
)
Arguments
slotId |
[required] The unique identifier for the slot to update. |
slotName |
[required] The new name for the slot. |
description |
The new description for the slot. |
slotTypeId |
The unique identifier of the new slot type to associate with this slot. |
valueElicitationSetting |
[required] A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot. |
obfuscationSetting |
New settings that determine how slot values are formatted in Amazon CloudWatch logs. |
botId |
[required] The unique identifier of the bot that contains the slot. |
botVersion |
[required] The version of the bot that contains the slot. Must always be |
localeId |
[required] The identifier of the language and locale that contains the slot. The string must match one of the supported locales. For more information, see Supported languages. |
intentId |
[required] The identifier of the intent that contains the slot. |
multipleValuesSetting |
Determines whether the slot accepts multiple values in one response.
Multiple value slots are only available in the en-US locale. If you set
this value to If the |
subSlotSetting |
Specifications for the constituent sub slots and the expression for the composite slot. |
Updates the configuration of an existing slot type
Description
Updates the configuration of an existing slot type.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_update_slot_type/ for full documentation.
Usage
lexmodelsv2_update_slot_type(
slotTypeId,
slotTypeName,
description = NULL,
slotTypeValues = NULL,
valueSelectionSetting = NULL,
parentSlotTypeSignature = NULL,
botId,
botVersion,
localeId,
externalSourceSetting = NULL,
compositeSlotTypeSetting = NULL
)
Arguments
slotTypeId |
[required] The unique identifier of the slot type to update. |
slotTypeName |
[required] The new name of the slot type. |
description |
The new description of the slot type. |
slotTypeValues |
A new list of values and their optional synonyms that define the values that the slot type can take. |
valueSelectionSetting |
The strategy that Amazon Lex should use when deciding on a value from the list of slot type values. |
parentSlotTypeSignature |
The new built-in slot type that should be used as the parent of this slot type. |
botId |
[required] The identifier of the bot that contains the slot type. |
botVersion |
[required] The version of the bot that contains the slot type. Must be |
localeId |
[required] The identifier of the language and locale that contains the slot type. The string must match one of the supported locales. For more information, see Supported languages. |
externalSourceSetting |
|
compositeSlotTypeSetting |
Specifications for a composite slot type. |
The action to update the test set
Description
The action to update the test set.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_update_test_set/ for full documentation.
Usage
lexmodelsv2_update_test_set(testSetId, testSetName, description = NULL)
Arguments
testSetId |
[required] The test set Id for which update test operation to be performed. |
testSetName |
[required] The new test set name. |
description |
The new test set description. |
Amazon Lex Runtime Service
Description
Amazon Lex provides both build and runtime endpoints. Each endpoint provides a set of operations (API). Your conversational bot uses the runtime API to understand user utterances (user input text or voice). For example, suppose a user says "I want pizza", your bot sends this input to Amazon Lex using the runtime API. Amazon Lex recognizes that the user request is for the OrderPizza intent (one of the intents defined in the bot). Then Amazon Lex engages in user conversation on behalf of the bot to elicit required information (slot values, such as pizza size and crust type), and then performs fulfillment activity (that you configured when you created the bot). You use the build-time API to create and manage your Amazon Lex bot. For a list of build-time operations, see the build-time API, .
Usage
lexruntimeservice(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- lexruntimeservice( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
delete_session | Removes session information for a specified bot, alias, and user ID |
get_session | Returns session information for a specified bot, alias, and user ID |
post_content | Sends user input (text or speech) to Amazon Lex |
post_text | Sends user input to Amazon Lex |
put_session | Creates a new session or modifies an existing session with an Amazon Lex bot |
Examples
## Not run:
svc <- lexruntimeservice()
svc$delete_session(
Foo = 123
)
## End(Not run)
Removes session information for a specified bot, alias, and user ID
Description
Removes session information for a specified bot, alias, and user ID.
See https://www.paws-r-sdk.com/docs/lexruntimeservice_delete_session/ for full documentation.
Usage
lexruntimeservice_delete_session(botName, botAlias, userId)
Arguments
botName |
[required] The name of the bot that contains the session data. |
botAlias |
[required] The alias in use for the bot that contains the session data. |
userId |
[required] The identifier of the user associated with the session data. |
Returns session information for a specified bot, alias, and user ID
Description
Returns session information for a specified bot, alias, and user ID.
See https://www.paws-r-sdk.com/docs/lexruntimeservice_get_session/ for full documentation.
Usage
lexruntimeservice_get_session(
botName,
botAlias,
userId,
checkpointLabelFilter = NULL
)
Arguments
botName |
[required] The name of the bot that contains the session data. |
botAlias |
[required] The alias in use for the bot that contains the session data. |
userId |
[required] The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot. |
checkpointLabelFilter |
A string used to filter the intents returned in the
When you specify a filter, only intents with their |
Sends user input (text or speech) to Amazon Lex
Description
Sends user input (text or speech) to Amazon Lex. Clients use this API to send text and audio requests to Amazon Lex at runtime. Amazon Lex interprets the user input using the machine learning model that it built for the bot.
See https://www.paws-r-sdk.com/docs/lexruntimeservice_post_content/ for full documentation.
Usage
lexruntimeservice_post_content(
botName,
botAlias,
userId,
sessionAttributes = NULL,
requestAttributes = NULL,
contentType,
accept = NULL,
inputStream,
activeContexts = NULL
)
Arguments
botName |
[required] Name of the Amazon Lex bot. |
botAlias |
[required] Alias of the Amazon Lex bot. |
userId |
[required] The ID of the client application user. Amazon Lex uses this to identify
a user's conversation with your bot. At runtime, each request must
contain the To decide the user ID to use for your application, consider the following factors.
|
sessionAttributes |
You pass this value as the Application-specific information passed between Amazon Lex and a client
application. The value must be a JSON serialized and base64 encoded map
with string keys and values. The total size of the For more information, see Setting Session Attributes. |
requestAttributes |
You pass this value as the Request-specific information passed between Amazon Lex and a client
application. The value must be a JSON serialized and base64 encoded map
with string keys and values. The total size of the The namespace For more information, see Setting Request Attributes. |
contentType |
[required] You pass this value as the Indicates the audio format or text. The header value must start with one of the following prefixes:
|
accept |
You pass this value as the The message Amazon Lex returns in the response can be either text or
speech based on the
|
inputStream |
[required] User input in PCM or Opus audio format or text format as described in
the You can stream audio data to Amazon Lex or you can create a local buffer that captures all of the audio data before sending. In general, you get better performance if you stream audio data rather than buffering the data locally. |
activeContexts |
A list of contexts active for the request. A context can be activated when a previous intent is fulfilled, or by including the context in the request, If you don't specify a list of contexts, Amazon Lex will use the current list of contexts for the session. If you specify an empty list, all contexts for the session are cleared. |
Sends user input to Amazon Lex
Description
Sends user input to Amazon Lex. Client applications can use this API to send requests to Amazon Lex at runtime. Amazon Lex then interprets the user input using the machine learning model it built for the bot.
See https://www.paws-r-sdk.com/docs/lexruntimeservice_post_text/ for full documentation.
Usage
lexruntimeservice_post_text(
botName,
botAlias,
userId,
sessionAttributes = NULL,
requestAttributes = NULL,
inputText,
activeContexts = NULL
)
Arguments
botName |
[required] The name of the Amazon Lex bot. |
botAlias |
[required] The alias of the Amazon Lex bot. |
userId |
[required] The ID of the client application user. Amazon Lex uses this to identify
a user's conversation with your bot. At runtime, each request must
contain the To decide the user ID to use for your application, consider the following factors.
|
sessionAttributes |
Application-specific information passed between Amazon Lex and a client application. For more information, see Setting Session Attributes. |
requestAttributes |
Request-specific information passed between Amazon Lex and a client application. The namespace For more information, see Setting Request Attributes. |
inputText |
[required] The text that the user entered (Amazon Lex interprets this text). |
activeContexts |
A list of contexts active for the request. A context can be activated when a previous intent is fulfilled, or by including the context in the request, If you don't specify a list of contexts, Amazon Lex will use the current list of contexts for the session. If you specify an empty list, all contexts for the session are cleared. |
Creates a new session or modifies an existing session with an Amazon Lex bot
Description
Creates a new session or modifies an existing session with an Amazon Lex bot. Use this operation to enable your application to set the state of the bot.
See https://www.paws-r-sdk.com/docs/lexruntimeservice_put_session/ for full documentation.
Usage
lexruntimeservice_put_session(
botName,
botAlias,
userId,
sessionAttributes = NULL,
dialogAction = NULL,
recentIntentSummaryView = NULL,
accept = NULL,
activeContexts = NULL
)
Arguments
botName |
[required] The name of the bot that contains the session data. |
botAlias |
[required] The alias in use for the bot that contains the session data. |
userId |
[required] The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot. |
sessionAttributes |
Map of key/value pairs representing the session-specific context information. It contains application information passed between Amazon Lex and a client application. |
dialogAction |
Sets the next action that the bot should take to fulfill the conversation. |
recentIntentSummaryView |
A summary of the recent intents for the bot. You can use the intent summary view to set a checkpoint label on an intent and modify attributes of intents. You can also use it to remove or add intent summary objects to the list. An intent that you modify or add to the list must make sense for the bot. For example, the intent name must be valid for the bot. You must provide valid values for:
If you send the |
accept |
The message that Amazon Lex returns in the response can be either text or speech based depending on the value of this field.
|
activeContexts |
A list of contexts active for the request. A context can be activated when a previous intent is fulfilled, or by including the context in the request, If you don't specify a list of contexts, Amazon Lex will use the current list of contexts for the session. If you specify an empty list, all contexts for the session are cleared. |
Amazon Lex Runtime V2
Description
This section contains documentation for the Amazon Lex V2 Runtime V2 API operations.
Usage
lexruntimev2(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- lexruntimev2( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
delete_session | Removes session information for a specified bot, alias, and user ID |
get_session | Returns session information for a specified bot, alias, and user |
put_session | Creates a new session or modifies an existing session with an Amazon Lex V2 bot |
recognize_text | Sends user input to Amazon Lex V2 |
recognize_utterance | Sends user input to Amazon Lex V2 |
start_conversation | Starts an HTTP/2 bidirectional event stream that enables you to send audio, text, or DTMF input in real time |
Examples
## Not run:
svc <- lexruntimev2()
svc$delete_session(
Foo = 123
)
## End(Not run)
Removes session information for a specified bot, alias, and user ID
Description
Removes session information for a specified bot, alias, and user ID.
See https://www.paws-r-sdk.com/docs/lexruntimev2_delete_session/ for full documentation.
Usage
lexruntimev2_delete_session(botId, botAliasId, localeId, sessionId)
Arguments
botId |
[required] The identifier of the bot that contains the session data. |
botAliasId |
[required] The alias identifier in use for the bot that contains the session data. |
localeId |
[required] The locale where the session is in use. |
sessionId |
[required] The identifier of the session to delete. |
Returns session information for a specified bot, alias, and user
Description
Returns session information for a specified bot, alias, and user.
See https://www.paws-r-sdk.com/docs/lexruntimev2_get_session/ for full documentation.
Usage
lexruntimev2_get_session(botId, botAliasId, localeId, sessionId)
Arguments
botId |
[required] The identifier of the bot that contains the session data. |
botAliasId |
[required] The alias identifier in use for the bot that contains the session data. |
localeId |
[required] The locale where the session is in use. |
sessionId |
[required] The identifier of the session to return. |
Creates a new session or modifies an existing session with an Amazon Lex V2 bot
Description
Creates a new session or modifies an existing session with an Amazon Lex V2 bot. Use this operation to enable your application to set the state of the bot.
See https://www.paws-r-sdk.com/docs/lexruntimev2_put_session/ for full documentation.
Usage
lexruntimev2_put_session(
botId,
botAliasId,
localeId,
sessionId,
messages = NULL,
sessionState,
requestAttributes = NULL,
responseContentType = NULL
)
Arguments
botId |
[required] The identifier of the bot that receives the session data. |
botAliasId |
[required] The alias identifier of the bot that receives the session data. |
localeId |
[required] The locale where the session is in use. |
sessionId |
[required] The identifier of the session that receives the session data. |
messages |
A list of messages to send to the user. Messages are sent in the order that they are defined in the list. |
sessionState |
[required] Sets the state of the session with the user. You can use this to set the current intent, attributes, context, and dialog action. Use the dialog action to determine the next step that Amazon Lex V2 should use in the conversation with the user. |
requestAttributes |
Request-specific information passed between Amazon Lex V2 and the client application. The namespace |
responseContentType |
The message that Amazon Lex V2 returns in the response can be either text or speech depending on the value of this parameter.
|
Sends user input to Amazon Lex V2
Description
Sends user input to Amazon Lex V2. Client applications use this API to send requests to Amazon Lex V2 at runtime. Amazon Lex V2 then interprets the user input using the machine learning model that it build for the bot.
See https://www.paws-r-sdk.com/docs/lexruntimev2_recognize_text/ for full documentation.
Usage
lexruntimev2_recognize_text(
botId,
botAliasId,
localeId,
sessionId,
text,
sessionState = NULL,
requestAttributes = NULL
)
Arguments
botId |
[required] The identifier of the bot that processes the request. |
botAliasId |
[required] The alias identifier in use for the bot that processes the request. |
localeId |
[required] The locale where the session is in use. |
sessionId |
[required] The identifier of the user session that is having the conversation. |
text |
[required] The text that the user entered. Amazon Lex V2 interprets this text. |
sessionState |
The current state of the dialog between the user and the bot. |
requestAttributes |
Request-specific information passed between the client application and Amazon Lex V2 The namespace |
Sends user input to Amazon Lex V2
Description
Sends user input to Amazon Lex V2. You can send text or speech. Clients use this API to send text and audio requests to Amazon Lex V2 at runtime. Amazon Lex V2 interprets the user input using the machine learning model built for the bot.
See https://www.paws-r-sdk.com/docs/lexruntimev2_recognize_utterance/ for full documentation.
Usage
lexruntimev2_recognize_utterance(
botId,
botAliasId,
localeId,
sessionId,
sessionState = NULL,
requestAttributes = NULL,
requestContentType,
responseContentType = NULL,
inputStream = NULL
)
Arguments
botId |
[required] The identifier of the bot that should receive the request. |
botAliasId |
[required] The alias identifier in use for the bot that should receive the request. |
localeId |
[required] The locale where the session is in use. |
sessionId |
[required] The identifier of the session in use. |
sessionState |
Sets the state of the session with the user. You can use this to set the current intent, attributes, context, and dialog action. Use the dialog action to determine the next step that Amazon Lex V2 should use in the conversation with the user. The |
requestAttributes |
Request-specific information passed between the client application and Amazon Lex V2 The namespace The |
requestContentType |
[required] Indicates the format for audio input or that the content is text. The header must start with one of the following prefixes:
|
responseContentType |
The message that Amazon Lex V2 returns in the response can be either
text or speech based on the
|
inputStream |
User input in PCM or Opus audio format or text format as described in
the |
Starts an HTTP/2 bidirectional event stream that enables you to send audio, text, or DTMF input in real time
Description
Starts an HTTP/2 bidirectional event stream that enables you to send audio, text, or DTMF input in real time. After your application starts a conversation, users send input to Amazon Lex V2 as a stream of events. Amazon Lex V2 processes the incoming events and responds with streaming text or audio events.
See https://www.paws-r-sdk.com/docs/lexruntimev2_start_conversation/ for full documentation.
Usage
lexruntimev2_start_conversation(
botId,
botAliasId,
localeId,
sessionId,
conversationMode = NULL,
requestEventStream
)
Arguments
botId |
[required] The identifier of the bot to process the request. |
botAliasId |
[required] The alias identifier in use for the bot that processes the request. |
localeId |
[required] The locale where the session is in use. |
sessionId |
[required] The identifier of the user session that is having the conversation. |
conversationMode |
The conversation type that you are using the Amazon Lex V2. If the
conversation mode is |
requestEventStream |
[required] Represents the stream of events to Amazon Lex V2 from your application. The events are encoded as HTTP/2 data frames. |
Amazon Lookout for Equipment
Description
Amazon Lookout for Equipment is a machine learning service that uses advanced analytics to identify anomalies in machines from sensor data for use in predictive maintenance.
Usage
lookoutequipment(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- lookoutequipment( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
create_dataset | Creates a container for a collection of data being ingested for analysis |
create_inference_scheduler | Creates a scheduled inference |
create_label | Creates a label for an event |
create_label_group | Creates a group of labels |
create_model | Creates a machine learning model for data inference |
create_retraining_scheduler | Creates a retraining scheduler on the specified model |
delete_dataset | Deletes a dataset and associated artifacts |
delete_inference_scheduler | Deletes an inference scheduler that has been set up |
delete_label | Deletes a label |
delete_label_group | Deletes a group of labels |
delete_model | Deletes a machine learning model currently available for Amazon Lookout for Equipment |
delete_resource_policy | Deletes the resource policy attached to the resource |
delete_retraining_scheduler | Deletes a retraining scheduler from a model |
describe_data_ingestion_job | Provides information on a specific data ingestion job such as creation time, dataset ARN, and status |
describe_dataset | Provides a JSON description of the data in each time series dataset, including names, column names, and data types |
describe_inference_scheduler | Specifies information about the inference scheduler being used, including name, model, status, and associated metadata |
describe_label | Returns the name of the label |
describe_label_group | Returns information about the label group |
describe_model | Provides a JSON containing the overall information about a specific machine learning model, including model name and ARN, dataset, training and evaluation information, status, and so on |
describe_model_version | Retrieves information about a specific machine learning model version |
describe_resource_policy | Provides the details of a resource policy attached to a resource |
describe_retraining_scheduler | Provides a description of the retraining scheduler, including information such as the model name and retraining parameters |
import_dataset | Imports a dataset |
import_model_version | Imports a model that has been trained successfully |
list_data_ingestion_jobs | Provides a list of all data ingestion jobs, including dataset name and ARN, S3 location of the input data, status, and so on |
list_datasets | Lists all datasets currently available in your account, filtering on the dataset name |
list_inference_events | Lists all inference events that have been found for the specified inference scheduler |
list_inference_executions | Lists all inference executions that have been performed by the specified inference scheduler |
list_inference_schedulers | Retrieves a list of all inference schedulers currently available for your account |
list_label_groups | Returns a list of the label groups |
list_labels | Provides a list of labels |
list_models | Generates a list of all models in the account, including model name and ARN, dataset, and status |
list_model_versions | Generates a list of all model versions for a given model, including the model version, model version ARN, and status |
list_retraining_schedulers | Lists all retraining schedulers in your account, filtering by model name prefix and status |
list_sensor_statistics | Lists statistics about the data collected for each of the sensors that have been successfully ingested in the particular dataset |
list_tags_for_resource | Lists all the tags for a specified resource, including key and value |
put_resource_policy | Creates a resource control policy for a given resource |
start_data_ingestion_job | Starts a data ingestion job |
start_inference_scheduler | Starts an inference scheduler |
start_retraining_scheduler | Starts a retraining scheduler |
stop_inference_scheduler | Stops an inference scheduler |
stop_retraining_scheduler | Stops a retraining scheduler |
tag_resource | Associates a given tag to a resource in your account |
untag_resource | Removes a specific tag from a given resource |
update_active_model_version | Sets the active model version for a given machine learning model |
update_inference_scheduler | Updates an inference scheduler |
update_label_group | Updates the label group |
update_model | Updates a model in the account |
update_retraining_scheduler | Updates a retraining scheduler |
Examples
## Not run:
svc <- lookoutequipment()
svc$create_dataset(
Foo = 123
)
## End(Not run)
Creates a container for a collection of data being ingested for analysis
Description
Creates a container for a collection of data being ingested for analysis. The dataset contains the metadata describing where the data is and what the data actually looks like. For example, it contains the location of the data source, the data schema, and other information. A dataset also contains any tags associated with the ingested data.
See https://www.paws-r-sdk.com/docs/lookoutequipment_create_dataset/ for full documentation.
Usage
lookoutequipment_create_dataset(
DatasetName,
DatasetSchema = NULL,
ServerSideKmsKeyId = NULL,
ClientToken,
Tags = NULL
)
Arguments
DatasetName |
[required] The name of the dataset being created. |
DatasetSchema |
A JSON description of the data that is in each time series dataset, including names, column names, and data types. |
ServerSideKmsKeyId |
Provides the identifier of the KMS key used to encrypt dataset data by Amazon Lookout for Equipment. |
ClientToken |
[required] A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one. |
Tags |
Any tags associated with the ingested data described in the dataset. |
Creates a scheduled inference
Description
Creates a scheduled inference. Scheduling an inference is setting up a continuous real-time inference plan to analyze new measurement data. When setting up the schedule, you provide an S3 bucket location for the input data, assign it a delimiter between separate entries in the data, set an offset delay if desired, and set the frequency of inferencing. You must also provide an S3 bucket location for the output data.
See https://www.paws-r-sdk.com/docs/lookoutequipment_create_inference_scheduler/ for full documentation.
Usage
lookoutequipment_create_inference_scheduler(
ModelName,
InferenceSchedulerName,
DataDelayOffsetInMinutes = NULL,
DataUploadFrequency,
DataInputConfiguration,
DataOutputConfiguration,
RoleArn,
ServerSideKmsKeyId = NULL,
ClientToken,
Tags = NULL
)
Arguments
ModelName |
[required] The name of the previously trained machine learning model being used to create the inference scheduler. |
InferenceSchedulerName |
[required] The name of the inference scheduler being created. |
DataDelayOffsetInMinutes |
The interval (in minutes) of planned delay at the start of each inference segment. For example, if inference is set to run every ten minutes, the delay is set to five minutes and the time is 09:08. The inference scheduler will wake up at the configured interval (which, without a delay configured, would be 09:10) plus the additional five minute delay time (so 09:15) to check your Amazon S3 bucket. The delay provides a buffer for you to upload data at the same frequency, so that you don't have to stop and restart the scheduler when uploading new data. For more information, see Understanding the inference process. |
DataUploadFrequency |
[required] How often data is uploaded to the source Amazon S3 bucket for the input data. The value chosen is the length of time between data uploads. For instance, if you select 5 minutes, Amazon Lookout for Equipment will upload the real-time data to the source bucket once every 5 minutes. This frequency also determines how often Amazon Lookout for Equipment runs inference on your data. For more information, see Understanding the inference process. |
DataInputConfiguration |
[required] Specifies configuration information for the input data for the inference scheduler, including delimiter, format, and dataset location. |
DataOutputConfiguration |
[required] Specifies configuration information for the output results for the inference scheduler, including the S3 location for the output. |
RoleArn |
[required] The Amazon Resource Name (ARN) of a role with permission to access the data source being used for the inference. |
ServerSideKmsKeyId |
Provides the identifier of the KMS key used to encrypt inference scheduler data by Amazon Lookout for Equipment. |
ClientToken |
[required] A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one. |
Tags |
Any tags associated with the inference scheduler. |
Creates a label for an event
Description
Creates a label for an event.
See https://www.paws-r-sdk.com/docs/lookoutequipment_create_label/ for full documentation.
Usage
lookoutequipment_create_label(
LabelGroupName,
StartTime,
EndTime,
Rating,
FaultCode = NULL,
Notes = NULL,
Equipment = NULL,
ClientToken
)
Arguments
LabelGroupName |
[required] The name of a group of labels. Data in this field will be retained for service usage. Follow best practices for the security of your data. |
StartTime |
[required] The start time of the labeled event. |
EndTime |
[required] The end time of the labeled event. |
Rating |
[required] Indicates whether a labeled event represents an anomaly. |
FaultCode |
Provides additional information about the label. The fault code must be defined in the FaultCodes attribute of the label group. Data in this field will be retained for service usage. Follow best practices for the security of your data. |
Notes |
Metadata providing additional information about the label. Data in this field will be retained for service usage. Follow best practices for the security of your data. |
Equipment |
Indicates that a label pertains to a particular piece of equipment. Data in this field will be retained for service usage. Follow best practices for the security of your data. |
ClientToken |
[required] A unique identifier for the request to create a label. If you do not set the client request token, Lookout for Equipment generates one. |
Creates a group of labels
Description
Creates a group of labels.
See https://www.paws-r-sdk.com/docs/lookoutequipment_create_label_group/ for full documentation.
Usage
lookoutequipment_create_label_group(
LabelGroupName,
FaultCodes = NULL,
ClientToken,
Tags = NULL
)
Arguments
LabelGroupName |
[required] Names a group of labels. Data in this field will be retained for service usage. Follow best practices for the security of your data. |
FaultCodes |
The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this label group. Data in this field will be retained for service usage. Follow best practices for the security of your data. |
ClientToken |
[required] A unique identifier for the request to create a label group. If you do not set the client request token, Lookout for Equipment generates one. |
Tags |
Tags that provide metadata about the label group you are creating. Data in this field will be retained for service usage. Follow best practices for the security of your data. |
Creates a machine learning model for data inference
Description
Creates a machine learning model for data inference.
See https://www.paws-r-sdk.com/docs/lookoutequipment_create_model/ for full documentation.
Usage
lookoutequipment_create_model(
ModelName,
DatasetName,
DatasetSchema = NULL,
LabelsInputConfiguration = NULL,
ClientToken,
TrainingDataStartTime = NULL,
TrainingDataEndTime = NULL,
EvaluationDataStartTime = NULL,
EvaluationDataEndTime = NULL,
RoleArn = NULL,
DataPreProcessingConfiguration = NULL,
ServerSideKmsKeyId = NULL,
Tags = NULL,
OffCondition = NULL,
ModelDiagnosticsOutputConfiguration = NULL
)
Arguments
ModelName |
[required] The name for the machine learning model to be created. |
DatasetName |
[required] The name of the dataset for the machine learning model being created. |
DatasetSchema |
The data schema for the machine learning model being created. |
LabelsInputConfiguration |
The input configuration for the labels being used for the machine learning model that's being created. |
ClientToken |
[required] A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one. |
TrainingDataStartTime |
Indicates the time reference in the dataset that should be used to begin the subset of training data for the machine learning model. |
TrainingDataEndTime |
Indicates the time reference in the dataset that should be used to end the subset of training data for the machine learning model. |
EvaluationDataStartTime |
Indicates the time reference in the dataset that should be used to begin the subset of evaluation data for the machine learning model. |
EvaluationDataEndTime |
Indicates the time reference in the dataset that should be used to end the subset of evaluation data for the machine learning model. |
RoleArn |
The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the machine learning model. |
DataPreProcessingConfiguration |
The configuration is the When providing a value for the |
ServerSideKmsKeyId |
Provides the identifier of the KMS key used to encrypt model data by Amazon Lookout for Equipment. |
Tags |
Any tags associated with the machine learning model being created. |
OffCondition |
Indicates that the asset associated with this sensor has been shut off. As long as this condition is met, Lookout for Equipment will not use data from this asset for training, evaluation, or inference. |
ModelDiagnosticsOutputConfiguration |
The Amazon S3 location where you want Amazon Lookout for Equipment to
save the pointwise model diagnostics. You must also specify the
|
Creates a retraining scheduler on the specified model
Description
Creates a retraining scheduler on the specified model.
See https://www.paws-r-sdk.com/docs/lookoutequipment_create_retraining_scheduler/ for full documentation.
Usage
lookoutequipment_create_retraining_scheduler(
ModelName,
RetrainingStartDate = NULL,
RetrainingFrequency,
LookbackWindow,
PromoteMode = NULL,
ClientToken
)
Arguments
ModelName |
[required] The name of the model to add the retraining scheduler to. |
RetrainingStartDate |
The start date for the retraining scheduler. Lookout for Equipment truncates the time you provide to the nearest UTC day. |
RetrainingFrequency |
[required] This parameter uses the ISO 8601 standard to set the frequency at which you want retraining to occur in terms of Years, Months, and/or Days (note: other parameters like Time are not currently supported). The minimum value is 30 days (P30D) and the maximum value is 1 year (P1Y). For example, the following values are valid:
|
LookbackWindow |
[required] The number of past days of data that will be used for retraining. |
PromoteMode |
Indicates how the service will use new models. In |
ClientToken |
[required] A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one. |
Deletes a dataset and associated artifacts
Description
Deletes a dataset and associated artifacts. The operation will check to see if any inference scheduler or data ingestion job is currently using the dataset, and if there isn't, the dataset, its metadata, and any associated data stored in S3 will be deleted. This does not affect any models that used this dataset for training and evaluation, but does prevent it from being used in the future.
See https://www.paws-r-sdk.com/docs/lookoutequipment_delete_dataset/ for full documentation.
Usage
lookoutequipment_delete_dataset(DatasetName)
Arguments
DatasetName |
[required] The name of the dataset to be deleted. |
Deletes an inference scheduler that has been set up
Description
Deletes an inference scheduler that has been set up. Prior inference results will not be deleted.
See https://www.paws-r-sdk.com/docs/lookoutequipment_delete_inference_scheduler/ for full documentation.
Usage
lookoutequipment_delete_inference_scheduler(InferenceSchedulerName)
Arguments
InferenceSchedulerName |
[required] The name of the inference scheduler to be deleted. |
Deletes a label
Description
Deletes a label.
See https://www.paws-r-sdk.com/docs/lookoutequipment_delete_label/ for full documentation.
Usage
lookoutequipment_delete_label(LabelGroupName, LabelId)
Arguments
LabelGroupName |
[required] The name of the label group that contains the label that you want to delete. Data in this field will be retained for service usage. Follow best practices for the security of your data. |
LabelId |
[required] The ID of the label that you want to delete. |
Deletes a group of labels
Description
Deletes a group of labels.
See https://www.paws-r-sdk.com/docs/lookoutequipment_delete_label_group/ for full documentation.
Usage
lookoutequipment_delete_label_group(LabelGroupName)
Arguments
LabelGroupName |
[required] The name of the label group that you want to delete. Data in this field will be retained for service usage. Follow best practices for the security of your data. |
Deletes a machine learning model currently available for Amazon Lookout for Equipment
Description
Deletes a machine learning model currently available for Amazon Lookout for Equipment. This will prevent it from being used with an inference scheduler, even one that is already set up.
See https://www.paws-r-sdk.com/docs/lookoutequipment_delete_model/ for full documentation.
Usage
lookoutequipment_delete_model(ModelName)
Arguments
ModelName |
[required] The name of the machine learning model to be deleted. |
Deletes the resource policy attached to the resource
Description
Deletes the resource policy attached to the resource.
See https://www.paws-r-sdk.com/docs/lookoutequipment_delete_resource_policy/ for full documentation.
Usage
lookoutequipment_delete_resource_policy(ResourceArn)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the resource for which the resource policy should be deleted. |
Deletes a retraining scheduler from a model
Description
Deletes a retraining scheduler from a model. The retraining scheduler must be in the STOPPED
status.
See https://www.paws-r-sdk.com/docs/lookoutequipment_delete_retraining_scheduler/ for full documentation.
Usage
lookoutequipment_delete_retraining_scheduler(ModelName)
Arguments
ModelName |
[required] The name of the model whose retraining scheduler you want to delete. |
Provides information on a specific data ingestion job such as creation time, dataset ARN, and status
Description
Provides information on a specific data ingestion job such as creation time, dataset ARN, and status.
See https://www.paws-r-sdk.com/docs/lookoutequipment_describe_data_ingestion_job/ for full documentation.
Usage
lookoutequipment_describe_data_ingestion_job(JobId)
Arguments
JobId |
[required] The job ID of the data ingestion job. |
Provides a JSON description of the data in each time series dataset, including names, column names, and data types
Description
Provides a JSON description of the data in each time series dataset, including names, column names, and data types.
See https://www.paws-r-sdk.com/docs/lookoutequipment_describe_dataset/ for full documentation.
Usage
lookoutequipment_describe_dataset(DatasetName)
Arguments
DatasetName |
[required] The name of the dataset to be described. |
Specifies information about the inference scheduler being used, including name, model, status, and associated metadata
Description
Specifies information about the inference scheduler being used, including name, model, status, and associated metadata
See https://www.paws-r-sdk.com/docs/lookoutequipment_describe_inference_scheduler/ for full documentation.
Usage
lookoutequipment_describe_inference_scheduler(InferenceSchedulerName)
Arguments
InferenceSchedulerName |
[required] The name of the inference scheduler being described. |
Returns the name of the label
Description
Returns the name of the label.
See https://www.paws-r-sdk.com/docs/lookoutequipment_describe_label/ for full documentation.
Usage
lookoutequipment_describe_label(LabelGroupName, LabelId)
Arguments
LabelGroupName |
[required] Returns the name of the group containing the label. |
LabelId |
[required] Returns the ID of the label. |
Returns information about the label group
Description
Returns information about the label group.
See https://www.paws-r-sdk.com/docs/lookoutequipment_describe_label_group/ for full documentation.
Usage
lookoutequipment_describe_label_group(LabelGroupName)
Arguments
LabelGroupName |
[required] Returns the name of the label group. |
Provides a JSON containing the overall information about a specific machine learning model, including model name and ARN, dataset, training and evaluation information, status, and so on
Description
Provides a JSON containing the overall information about a specific machine learning model, including model name and ARN, dataset, training and evaluation information, status, and so on.
See https://www.paws-r-sdk.com/docs/lookoutequipment_describe_model/ for full documentation.
Usage
lookoutequipment_describe_model(ModelName)
Arguments
ModelName |
[required] The name of the machine learning model to be described. |
Retrieves information about a specific machine learning model version
Description
Retrieves information about a specific machine learning model version.
See https://www.paws-r-sdk.com/docs/lookoutequipment_describe_model_version/ for full documentation.
Usage
lookoutequipment_describe_model_version(ModelName, ModelVersion)
Arguments
ModelName |
[required] The name of the machine learning model that this version belongs to. |
ModelVersion |
[required] The version of the machine learning model. |
Provides the details of a resource policy attached to a resource
Description
Provides the details of a resource policy attached to a resource.
See https://www.paws-r-sdk.com/docs/lookoutequipment_describe_resource_policy/ for full documentation.
Usage
lookoutequipment_describe_resource_policy(ResourceArn)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the resource that is associated with the resource policy. |
Provides a description of the retraining scheduler, including information such as the model name and retraining parameters
Description
Provides a description of the retraining scheduler, including information such as the model name and retraining parameters.
See https://www.paws-r-sdk.com/docs/lookoutequipment_describe_retraining_scheduler/ for full documentation.
Usage
lookoutequipment_describe_retraining_scheduler(ModelName)
Arguments
ModelName |
[required] The name of the model that the retraining scheduler is attached to. |
Imports a dataset
Description
Imports a dataset.
See https://www.paws-r-sdk.com/docs/lookoutequipment_import_dataset/ for full documentation.
Usage
lookoutequipment_import_dataset(
SourceDatasetArn,
DatasetName = NULL,
ClientToken,
ServerSideKmsKeyId = NULL,
Tags = NULL
)
Arguments
SourceDatasetArn |
[required] The Amazon Resource Name (ARN) of the dataset to import. |
DatasetName |
The name of the machine learning dataset to be created. If the dataset already exists, Amazon Lookout for Equipment overwrites the existing dataset. If you don't specify this field, it is filled with the name of the source dataset. |
ClientToken |
[required] A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one. |
ServerSideKmsKeyId |
Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment. |
Tags |
Any tags associated with the dataset to be created. |
Imports a model that has been trained successfully
Description
Imports a model that has been trained successfully.
See https://www.paws-r-sdk.com/docs/lookoutequipment_import_model_version/ for full documentation.
Usage
lookoutequipment_import_model_version(
SourceModelVersionArn,
ModelName = NULL,
DatasetName,
LabelsInputConfiguration = NULL,
ClientToken,
RoleArn = NULL,
ServerSideKmsKeyId = NULL,
Tags = NULL,
InferenceDataImportStrategy = NULL
)
Arguments
SourceModelVersionArn |
[required] The Amazon Resource Name (ARN) of the model version to import. |
ModelName |
The name for the machine learning model to be created. If the model already exists, Amazon Lookout for Equipment creates a new version. If you do not specify this field, it is filled with the name of the source model. |
DatasetName |
[required] The name of the dataset for the machine learning model being imported. |
LabelsInputConfiguration |
|
ClientToken |
[required] A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one. |
RoleArn |
The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the machine learning model. |
ServerSideKmsKeyId |
Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment. |
Tags |
The tags associated with the machine learning model to be created. |
InferenceDataImportStrategy |
Indicates how to import the accumulated inference data when a model version is imported. The possible values are as follows:
|
Provides a list of all data ingestion jobs, including dataset name and ARN, S3 location of the input data, status, and so on
Description
Provides a list of all data ingestion jobs, including dataset name and ARN, S3 location of the input data, status, and so on.
See https://www.paws-r-sdk.com/docs/lookoutequipment_list_data_ingestion_jobs/ for full documentation.
Usage
lookoutequipment_list_data_ingestion_jobs(
DatasetName = NULL,
NextToken = NULL,
MaxResults = NULL,
Status = NULL
)
Arguments
DatasetName |
The name of the dataset being used for the data ingestion job. |
NextToken |
An opaque pagination token indicating where to continue the listing of data ingestion jobs. |
MaxResults |
Specifies the maximum number of data ingestion jobs to list. |
Status |
Indicates the status of the data ingestion job. |
Lists all datasets currently available in your account, filtering on the dataset name
Description
Lists all datasets currently available in your account, filtering on the dataset name.
See https://www.paws-r-sdk.com/docs/lookoutequipment_list_datasets/ for full documentation.
Usage
lookoutequipment_list_datasets(
NextToken = NULL,
MaxResults = NULL,
DatasetNameBeginsWith = NULL
)
Arguments
NextToken |
An opaque pagination token indicating where to continue the listing of datasets. |
MaxResults |
Specifies the maximum number of datasets to list. |
DatasetNameBeginsWith |
The beginning of the name of the datasets to be listed. |
Lists all inference events that have been found for the specified inference scheduler
Description
Lists all inference events that have been found for the specified inference scheduler.
See https://www.paws-r-sdk.com/docs/lookoutequipment_list_inference_events/ for full documentation.
Usage
lookoutequipment_list_inference_events(
NextToken = NULL,
MaxResults = NULL,
InferenceSchedulerName,
IntervalStartTime,
IntervalEndTime
)
Arguments
NextToken |
An opaque pagination token indicating where to continue the listing of inference events. |
MaxResults |
Specifies the maximum number of inference events to list. |
InferenceSchedulerName |
[required] The name of the inference scheduler for the inference events listed. |
IntervalStartTime |
[required] Lookout for Equipment will return all the inference events with an end time equal to or greater than the start time given. |
IntervalEndTime |
[required] Returns all the inference events with an end start time equal to or greater than less than the end time given. |
Lists all inference executions that have been performed by the specified inference scheduler
Description
Lists all inference executions that have been performed by the specified inference scheduler.
See https://www.paws-r-sdk.com/docs/lookoutequipment_list_inference_executions/ for full documentation.
Usage
lookoutequipment_list_inference_executions(
NextToken = NULL,
MaxResults = NULL,
InferenceSchedulerName,
DataStartTimeAfter = NULL,
DataEndTimeBefore = NULL,
Status = NULL
)
Arguments
NextToken |
An opaque pagination token indicating where to continue the listing of inference executions. |
MaxResults |
Specifies the maximum number of inference executions to list. |
InferenceSchedulerName |
[required] The name of the inference scheduler for the inference execution listed. |
DataStartTimeAfter |
The time reference in the inferenced dataset after which Amazon Lookout for Equipment started the inference execution. |
DataEndTimeBefore |
The time reference in the inferenced dataset before which Amazon Lookout for Equipment stopped the inference execution. |
Status |
The status of the inference execution. |
Retrieves a list of all inference schedulers currently available for your account
Description
Retrieves a list of all inference schedulers currently available for your account.
See https://www.paws-r-sdk.com/docs/lookoutequipment_list_inference_schedulers/ for full documentation.
Usage
lookoutequipment_list_inference_schedulers(
NextToken = NULL,
MaxResults = NULL,
InferenceSchedulerNameBeginsWith = NULL,
ModelName = NULL,
Status = NULL
)
Arguments
NextToken |
An opaque pagination token indicating where to continue the listing of inference schedulers. |
MaxResults |
Specifies the maximum number of inference schedulers to list. |
InferenceSchedulerNameBeginsWith |
The beginning of the name of the inference schedulers to be listed. |
ModelName |
The name of the machine learning model used by the inference scheduler to be listed. |
Status |
Specifies the current status of the inference schedulers. |
Returns a list of the label groups
Description
Returns a list of the label groups.
See https://www.paws-r-sdk.com/docs/lookoutequipment_list_label_groups/ for full documentation.
Usage
lookoutequipment_list_label_groups(
LabelGroupNameBeginsWith = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
LabelGroupNameBeginsWith |
The beginning of the name of the label groups to be listed. |
NextToken |
An opaque pagination token indicating where to continue the listing of label groups. |
MaxResults |
Specifies the maximum number of label groups to list. |
Provides a list of labels
Description
Provides a list of labels.
See https://www.paws-r-sdk.com/docs/lookoutequipment_list_labels/ for full documentation.
Usage
lookoutequipment_list_labels(
LabelGroupName,
IntervalStartTime = NULL,
IntervalEndTime = NULL,
FaultCode = NULL,
Equipment = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
LabelGroupName |
[required] Returns the name of the label group. |
IntervalStartTime |
Returns all the labels with a end time equal to or later than the start time given. |
IntervalEndTime |
Returns all labels with a start time earlier than the end time given. |
FaultCode |
Returns labels with a particular fault code. |
Equipment |
Lists the labels that pertain to a particular piece of equipment. |
NextToken |
An opaque pagination token indicating where to continue the listing of label groups. |
MaxResults |
Specifies the maximum number of labels to list. |
Generates a list of all model versions for a given model, including the model version, model version ARN, and status
Description
Generates a list of all model versions for a given model, including the model version, model version ARN, and status. To list a subset of versions, use the MaxModelVersion
and MinModelVersion
fields.
See https://www.paws-r-sdk.com/docs/lookoutequipment_list_model_versions/ for full documentation.
Usage
lookoutequipment_list_model_versions(
ModelName,
NextToken = NULL,
MaxResults = NULL,
Status = NULL,
SourceType = NULL,
CreatedAtEndTime = NULL,
CreatedAtStartTime = NULL,
MaxModelVersion = NULL,
MinModelVersion = NULL
)
Arguments
ModelName |
[required] Then name of the machine learning model for which the model versions are to be listed. |
NextToken |
If the total number of results exceeds the limit that the response can
display, the response returns an opaque pagination token indicating
where to continue the listing of machine learning model versions. Use
this token in the |
MaxResults |
Specifies the maximum number of machine learning model versions to list. |
Status |
Filter the results based on the current status of the model version. |
SourceType |
Filter the results based on the way the model version was generated. |
CreatedAtEndTime |
Filter results to return all the model versions created before this time. |
CreatedAtStartTime |
Filter results to return all the model versions created after this time. |
MaxModelVersion |
Specifies the highest version of the model to return in the list. |
MinModelVersion |
Specifies the lowest version of the model to return in the list. |
Generates a list of all models in the account, including model name and ARN, dataset, and status
Description
Generates a list of all models in the account, including model name and ARN, dataset, and status.
See https://www.paws-r-sdk.com/docs/lookoutequipment_list_models/ for full documentation.
Usage
lookoutequipment_list_models(
NextToken = NULL,
MaxResults = NULL,
Status = NULL,
ModelNameBeginsWith = NULL,
DatasetNameBeginsWith = NULL
)
Arguments
NextToken |
An opaque pagination token indicating where to continue the listing of machine learning models. |
MaxResults |
Specifies the maximum number of machine learning models to list. |
Status |
The status of the machine learning model. |
ModelNameBeginsWith |
The beginning of the name of the machine learning models being listed. |
DatasetNameBeginsWith |
The beginning of the name of the dataset of the machine learning models to be listed. |
Lists all retraining schedulers in your account, filtering by model name prefix and status
Description
Lists all retraining schedulers in your account, filtering by model name prefix and status.
See https://www.paws-r-sdk.com/docs/lookoutequipment_list_retraining_schedulers/ for full documentation.
Usage
lookoutequipment_list_retraining_schedulers(
ModelNameBeginsWith = NULL,
Status = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
ModelNameBeginsWith |
Specify this field to only list retraining schedulers whose machine learning models begin with the value you specify. |
Status |
Specify this field to only list retraining schedulers whose status matches the value you specify. |
NextToken |
If the number of results exceeds the maximum, a pagination token is returned. Use the token in the request to show the next page of retraining schedulers. |
MaxResults |
Specifies the maximum number of retraining schedulers to list. |
Lists statistics about the data collected for each of the sensors that have been successfully ingested in the particular dataset
Description
Lists statistics about the data collected for each of the sensors that have been successfully ingested in the particular dataset. Can also be used to retreive Sensor Statistics for a previous ingestion job.
See https://www.paws-r-sdk.com/docs/lookoutequipment_list_sensor_statistics/ for full documentation.
Usage
lookoutequipment_list_sensor_statistics(
DatasetName,
IngestionJobId = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
DatasetName |
[required] The name of the dataset associated with the list of Sensor Statistics. |
IngestionJobId |
The ingestion job id associated with the list of Sensor Statistics. To get sensor statistics for a particular ingestion job id, both dataset name and ingestion job id must be submitted as inputs. |
MaxResults |
Specifies the maximum number of sensors for which to retrieve statistics. |
NextToken |
An opaque pagination token indicating where to continue the listing of sensor statistics. |
Lists all the tags for a specified resource, including key and value
Description
Lists all the tags for a specified resource, including key and value.
See https://www.paws-r-sdk.com/docs/lookoutequipment_list_tags_for_resource/ for full documentation.
Usage
lookoutequipment_list_tags_for_resource(ResourceArn)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the resource (such as the dataset or
model) that is the focus of the
|
Creates a resource control policy for a given resource
Description
Creates a resource control policy for a given resource.
See https://www.paws-r-sdk.com/docs/lookoutequipment_put_resource_policy/ for full documentation.
Usage
lookoutequipment_put_resource_policy(
ResourceArn,
ResourcePolicy,
PolicyRevisionId = NULL,
ClientToken
)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the resource for which the policy is being created. |
ResourcePolicy |
[required] The JSON-formatted resource policy to create. |
PolicyRevisionId |
A unique identifier for a revision of the resource policy. |
ClientToken |
[required] A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one. |
Starts a data ingestion job
Description
Starts a data ingestion job. Amazon Lookout for Equipment returns the job status.
See https://www.paws-r-sdk.com/docs/lookoutequipment_start_data_ingestion_job/ for full documentation.
Usage
lookoutequipment_start_data_ingestion_job(
DatasetName,
IngestionInputConfiguration,
RoleArn,
ClientToken
)
Arguments
DatasetName |
[required] The name of the dataset being used by the data ingestion job. |
IngestionInputConfiguration |
[required] Specifies information for the input data for the data ingestion job, including dataset S3 location. |
RoleArn |
[required] The Amazon Resource Name (ARN) of a role with permission to access the data source for the data ingestion job. |
ClientToken |
[required] A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one. |
Starts an inference scheduler
Description
Starts an inference scheduler.
See https://www.paws-r-sdk.com/docs/lookoutequipment_start_inference_scheduler/ for full documentation.
Usage
lookoutequipment_start_inference_scheduler(InferenceSchedulerName)
Arguments
InferenceSchedulerName |
[required] The name of the inference scheduler to be started. |
Starts a retraining scheduler
Description
Starts a retraining scheduler.
See https://www.paws-r-sdk.com/docs/lookoutequipment_start_retraining_scheduler/ for full documentation.
Usage
lookoutequipment_start_retraining_scheduler(ModelName)
Arguments
ModelName |
[required] The name of the model whose retraining scheduler you want to start. |
Stops an inference scheduler
Description
Stops an inference scheduler.
See https://www.paws-r-sdk.com/docs/lookoutequipment_stop_inference_scheduler/ for full documentation.
Usage
lookoutequipment_stop_inference_scheduler(InferenceSchedulerName)
Arguments
InferenceSchedulerName |
[required] The name of the inference scheduler to be stopped. |
Stops a retraining scheduler
Description
Stops a retraining scheduler.
See https://www.paws-r-sdk.com/docs/lookoutequipment_stop_retraining_scheduler/ for full documentation.
Usage
lookoutequipment_stop_retraining_scheduler(ModelName)
Arguments
ModelName |
[required] The name of the model whose retraining scheduler you want to stop. |
Associates a given tag to a resource in your account
Description
Associates a given tag to a resource in your account. A tag is a key-value pair which can be added to an Amazon Lookout for Equipment resource as metadata. Tags can be used for organizing your resources as well as helping you to search and filter by tag. Multiple tags can be added to a resource, either when you create it, or later. Up to 50 tags can be associated with each resource.
See https://www.paws-r-sdk.com/docs/lookoutequipment_tag_resource/ for full documentation.
Usage
lookoutequipment_tag_resource(ResourceArn, Tags)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the specific resource to which the tag should be associated. |
Tags |
[required] The tag or tags to be associated with a specific resource. Both the tag key and value are specified. |
Removes a specific tag from a given resource
Description
Removes a specific tag from a given resource. The tag is specified by its key.
See https://www.paws-r-sdk.com/docs/lookoutequipment_untag_resource/ for full documentation.
Usage
lookoutequipment_untag_resource(ResourceArn, TagKeys)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the resource to which the tag is currently associated. |
TagKeys |
[required] Specifies the key of the tag to be removed from a specified resource. |
Sets the active model version for a given machine learning model
Description
Sets the active model version for a given machine learning model.
See https://www.paws-r-sdk.com/docs/lookoutequipment_update_active_model_version/ for full documentation.
Usage
lookoutequipment_update_active_model_version(ModelName, ModelVersion)
Arguments
ModelName |
[required] The name of the machine learning model for which the active model version is being set. |
ModelVersion |
[required] The version of the machine learning model for which the active model version is being set. |
Updates an inference scheduler
Description
Updates an inference scheduler.
See https://www.paws-r-sdk.com/docs/lookoutequipment_update_inference_scheduler/ for full documentation.
Usage
lookoutequipment_update_inference_scheduler(
InferenceSchedulerName,
DataDelayOffsetInMinutes = NULL,
DataUploadFrequency = NULL,
DataInputConfiguration = NULL,
DataOutputConfiguration = NULL,
RoleArn = NULL
)
Arguments
InferenceSchedulerName |
[required] The name of the inference scheduler to be updated. |
DataDelayOffsetInMinutes |
A period of time (in minutes) by which inference on the data is delayed after the data starts. For instance, if you select an offset delay time of five minutes, inference will not begin on the data until the first data measurement after the five minute mark. For example, if five minutes is selected, the inference scheduler will wake up at the configured frequency with the additional five minute delay time to check the customer S3 bucket. The customer can upload data at the same frequency and they don't need to stop and restart the scheduler when uploading new data. |
DataUploadFrequency |
How often data is uploaded to the source S3 bucket for the input data. The value chosen is the length of time between data uploads. For instance, if you select 5 minutes, Amazon Lookout for Equipment will upload the real-time data to the source bucket once every 5 minutes. This frequency also determines how often Amazon Lookout for Equipment starts a scheduled inference on your data. In this example, it starts once every 5 minutes. |
DataInputConfiguration |
Specifies information for the input data for the inference scheduler, including delimiter, format, and dataset location. |
DataOutputConfiguration |
Specifies information for the output results from the inference scheduler, including the output S3 location. |
RoleArn |
The Amazon Resource Name (ARN) of a role with permission to access the data source for the inference scheduler. |
Updates the label group
Description
Updates the label group.
See https://www.paws-r-sdk.com/docs/lookoutequipment_update_label_group/ for full documentation.
Usage
lookoutequipment_update_label_group(LabelGroupName, FaultCodes = NULL)
Arguments
LabelGroupName |
[required] The name of the label group to be updated. |
FaultCodes |
Updates the code indicating the type of anomaly associated with the label. Data in this field will be retained for service usage. Follow best practices for the security of your data. |
Updates a model in the account
Description
Updates a model in the account.
See https://www.paws-r-sdk.com/docs/lookoutequipment_update_model/ for full documentation.
Usage
lookoutequipment_update_model(
ModelName,
LabelsInputConfiguration = NULL,
RoleArn = NULL,
ModelDiagnosticsOutputConfiguration = NULL
)
Arguments
ModelName |
[required] The name of the model to update. |
LabelsInputConfiguration |
|
RoleArn |
The ARN of the model to update. |
ModelDiagnosticsOutputConfiguration |
The Amazon S3 location where you want Amazon Lookout for Equipment to
save the pointwise model diagnostics for the model. You must also
specify the |
Updates a retraining scheduler
Description
Updates a retraining scheduler.
See https://www.paws-r-sdk.com/docs/lookoutequipment_update_retraining_scheduler/ for full documentation.
Usage
lookoutequipment_update_retraining_scheduler(
ModelName,
RetrainingStartDate = NULL,
RetrainingFrequency = NULL,
LookbackWindow = NULL,
PromoteMode = NULL
)
Arguments
ModelName |
[required] The name of the model whose retraining scheduler you want to update. |
RetrainingStartDate |
The start date for the retraining scheduler. Lookout for Equipment truncates the time you provide to the nearest UTC day. |
RetrainingFrequency |
This parameter uses the ISO 8601 standard to set the frequency at which you want retraining to occur in terms of Years, Months, and/or Days (note: other parameters like Time are not currently supported). The minimum value is 30 days (P30D) and the maximum value is 1 year (P1Y). For example, the following values are valid:
|
LookbackWindow |
The number of past days of data that will be used for retraining. |
PromoteMode |
Indicates how the service will use new models. In |
Amazon Lookout for Metrics
Description
This is the Amazon Lookout for Metrics API Reference. For an introduction to the service with tutorials for getting started, visit Amazon Lookout for Metrics Developer Guide.
Usage
lookoutmetrics(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- lookoutmetrics( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
activate_anomaly_detector | Activates an anomaly detector |
back_test_anomaly_detector | Runs a backtest for anomaly detection for the specified resource |
create_alert | Creates an alert for an anomaly detector |
create_anomaly_detector | Creates an anomaly detector |
create_metric_set | Creates a dataset |
deactivate_anomaly_detector | Deactivates an anomaly detector |
delete_alert | Deletes an alert |
delete_anomaly_detector | Deletes a detector |
describe_alert | Describes an alert |
describe_anomaly_detection_executions | Returns information about the status of the specified anomaly detection jobs |
describe_anomaly_detector | Describes a detector |
describe_metric_set | Describes a dataset |
detect_metric_set_config | Detects an Amazon S3 dataset's file format, interval, and offset |
get_anomaly_group | Returns details about a group of anomalous metrics |
get_data_quality_metrics | Returns details about the requested data quality metrics |
get_feedback | Get feedback for an anomaly group |
get_sample_data | Returns a selection of sample records from an Amazon S3 datasource |
list_alerts | Lists the alerts attached to a detector |
list_anomaly_detectors | Lists the detectors in the current AWS Region |
list_anomaly_group_related_metrics | Returns a list of measures that are potential causes or effects of an anomaly group |
list_anomaly_group_summaries | Returns a list of anomaly groups |
list_anomaly_group_time_series | Gets a list of anomalous metrics for a measure in an anomaly group |
list_metric_sets | Lists the datasets in the current AWS Region |
list_tags_for_resource | Gets a list of tags for a detector, dataset, or alert |
put_feedback | Add feedback for an anomalous metric |
tag_resource | Adds tags to a detector, dataset, or alert |
untag_resource | Removes tags from a detector, dataset, or alert |
update_alert | Make changes to an existing alert |
update_anomaly_detector | Updates a detector |
update_metric_set | Updates a dataset |
Examples
## Not run:
svc <- lookoutmetrics()
svc$activate_anomaly_detector(
Foo = 123
)
## End(Not run)
Activates an anomaly detector
Description
Activates an anomaly detector.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_activate_anomaly_detector/ for full documentation.
Usage
lookoutmetrics_activate_anomaly_detector(AnomalyDetectorArn)
Arguments
AnomalyDetectorArn |
[required] The ARN of the anomaly detector. |
Runs a backtest for anomaly detection for the specified resource
Description
Runs a backtest for anomaly detection for the specified resource.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_back_test_anomaly_detector/ for full documentation.
Usage
lookoutmetrics_back_test_anomaly_detector(AnomalyDetectorArn)
Arguments
AnomalyDetectorArn |
[required] The Amazon Resource Name (ARN) of the anomaly detector. |
Creates an alert for an anomaly detector
Description
Creates an alert for an anomaly detector.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_create_alert/ for full documentation.
Usage
lookoutmetrics_create_alert(
AlertName,
AlertSensitivityThreshold = NULL,
AlertDescription = NULL,
AnomalyDetectorArn,
Action,
Tags = NULL,
AlertFilters = NULL
)
Arguments
AlertName |
[required] The name of the alert. |
AlertSensitivityThreshold |
An integer from 0 to 100 specifying the alert sensitivity threshold. |
AlertDescription |
A description of the alert. |
AnomalyDetectorArn |
[required] The ARN of the detector to which the alert is attached. |
Action |
[required] Action that will be triggered when there is an alert. |
Tags |
A list of tags to apply to the alert. |
AlertFilters |
The configuration of the alert filters, containing MetricList and DimensionFilterList. |
Creates an anomaly detector
Description
Creates an anomaly detector.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_create_anomaly_detector/ for full documentation.
Usage
lookoutmetrics_create_anomaly_detector(
AnomalyDetectorName,
AnomalyDetectorDescription = NULL,
AnomalyDetectorConfig,
KmsKeyArn = NULL,
Tags = NULL
)
Arguments
AnomalyDetectorName |
[required] The name of the detector. |
AnomalyDetectorDescription |
A description of the detector. |
AnomalyDetectorConfig |
[required] Contains information about the configuration of the anomaly detector. |
KmsKeyArn |
The ARN of the KMS key to use to encrypt your data. |
Tags |
A list of tags to apply to the anomaly detector. |
Creates a dataset
Description
Creates a dataset.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_create_metric_set/ for full documentation.
Usage
lookoutmetrics_create_metric_set(
AnomalyDetectorArn,
MetricSetName,
MetricSetDescription = NULL,
MetricList,
Offset = NULL,
TimestampColumn = NULL,
DimensionList = NULL,
MetricSetFrequency = NULL,
MetricSource,
Timezone = NULL,
Tags = NULL,
DimensionFilterList = NULL
)
Arguments
AnomalyDetectorArn |
[required] The ARN of the anomaly detector that will use the dataset. |
MetricSetName |
[required] The name of the dataset. |
MetricSetDescription |
A description of the dataset you are creating. |
MetricList |
[required] A list of metrics that the dataset will contain. |
Offset |
After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3, Redshift, Athena and datasources. |
TimestampColumn |
Contains information about the column used for tracking time in your source data. |
DimensionList |
A list of the fields you want to treat as dimensions. |
MetricSetFrequency |
The frequency with which the source data will be analyzed for anomalies. |
MetricSource |
[required] Contains information about how the source data should be interpreted. |
Timezone |
The time zone in which your source data was recorded. |
Tags |
A list of tags to apply to the dataset. |
DimensionFilterList |
A list of filters that specify which data is kept for anomaly detection. |
Deactivates an anomaly detector
Description
Deactivates an anomaly detector.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_deactivate_anomaly_detector/ for full documentation.
Usage
lookoutmetrics_deactivate_anomaly_detector(AnomalyDetectorArn)
Arguments
AnomalyDetectorArn |
[required] The Amazon Resource Name (ARN) of the anomaly detector. |
Deletes an alert
Description
Deletes an alert.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_delete_alert/ for full documentation.
Usage
lookoutmetrics_delete_alert(AlertArn)
Arguments
AlertArn |
[required] The ARN of the alert to delete. |
Deletes a detector
Description
Deletes a detector. Deleting an anomaly detector will delete all of its corresponding resources including any configured datasets and alerts.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_delete_anomaly_detector/ for full documentation.
Usage
lookoutmetrics_delete_anomaly_detector(AnomalyDetectorArn)
Arguments
AnomalyDetectorArn |
[required] The ARN of the detector to delete. |
Describes an alert
Description
Describes an alert.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_describe_alert/ for full documentation.
Usage
lookoutmetrics_describe_alert(AlertArn)
Arguments
AlertArn |
[required] The ARN of the alert to describe. |
Returns information about the status of the specified anomaly detection jobs
Description
Returns information about the status of the specified anomaly detection jobs.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_describe_anomaly_detection_executions/ for full documentation.
Usage
lookoutmetrics_describe_anomaly_detection_executions(
AnomalyDetectorArn,
Timestamp = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
AnomalyDetectorArn |
[required] The Amazon Resource Name (ARN) of the anomaly detector. |
Timestamp |
The timestamp of the anomaly detection job. |
MaxResults |
The number of items to return in the response. |
NextToken |
Specify the pagination token that's returned by a previous request to retrieve the next page of results. |
Describes a detector
Description
Describes a detector.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_describe_anomaly_detector/ for full documentation.
Usage
lookoutmetrics_describe_anomaly_detector(AnomalyDetectorArn)
Arguments
AnomalyDetectorArn |
[required] The ARN of the detector to describe. |
Describes a dataset
Description
Describes a dataset.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_describe_metric_set/ for full documentation.
Usage
lookoutmetrics_describe_metric_set(MetricSetArn)
Arguments
MetricSetArn |
[required] The ARN of the dataset. |
Detects an Amazon S3 dataset's file format, interval, and offset
Description
Detects an Amazon S3 dataset's file format, interval, and offset.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_detect_metric_set_config/ for full documentation.
Usage
lookoutmetrics_detect_metric_set_config(
AnomalyDetectorArn,
AutoDetectionMetricSource
)
Arguments
AnomalyDetectorArn |
[required] An anomaly detector ARN. |
AutoDetectionMetricSource |
[required] A data source. |
Returns details about a group of anomalous metrics
Description
Returns details about a group of anomalous metrics.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_get_anomaly_group/ for full documentation.
Usage
lookoutmetrics_get_anomaly_group(AnomalyGroupId, AnomalyDetectorArn)
Arguments
AnomalyGroupId |
[required] The ID of the anomaly group. |
AnomalyDetectorArn |
[required] The Amazon Resource Name (ARN) of the anomaly detector. |
Returns details about the requested data quality metrics
Description
Returns details about the requested data quality metrics.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_get_data_quality_metrics/ for full documentation.
Usage
lookoutmetrics_get_data_quality_metrics(
AnomalyDetectorArn,
MetricSetArn = NULL
)
Arguments
AnomalyDetectorArn |
[required] The Amazon Resource Name (ARN) of the anomaly detector that you want to investigate. |
MetricSetArn |
The Amazon Resource Name (ARN) of a specific data quality metric set. |
Get feedback for an anomaly group
Description
Get feedback for an anomaly group.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_get_feedback/ for full documentation.
Usage
lookoutmetrics_get_feedback(
AnomalyDetectorArn,
AnomalyGroupTimeSeriesFeedback,
MaxResults = NULL,
NextToken = NULL
)
Arguments
AnomalyDetectorArn |
[required] The Amazon Resource Name (ARN) of the anomaly detector. |
AnomalyGroupTimeSeriesFeedback |
[required] The anomalous metric and group ID. |
MaxResults |
The maximum number of results to return. |
NextToken |
Specify the pagination token that's returned by a previous request to retrieve the next page of results. |
Returns a selection of sample records from an Amazon S3 datasource
Description
Returns a selection of sample records from an Amazon S3 datasource.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_get_sample_data/ for full documentation.
Usage
lookoutmetrics_get_sample_data(S3SourceConfig = NULL)
Arguments
S3SourceConfig |
A datasource bucket in Amazon S3. |
Lists the alerts attached to a detector
Description
Lists the alerts attached to a detector.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_list_alerts/ for full documentation.
Usage
lookoutmetrics_list_alerts(
AnomalyDetectorArn = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
AnomalyDetectorArn |
The ARN of the alert's detector. |
NextToken |
If the result of the previous request is truncated, the response
includes a |
MaxResults |
The maximum number of results that will be displayed by the request. |
Lists the detectors in the current AWS Region
Description
Lists the detectors in the current AWS Region.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_list_anomaly_detectors/ for full documentation.
Usage
lookoutmetrics_list_anomaly_detectors(MaxResults = NULL, NextToken = NULL)
Arguments
MaxResults |
The maximum number of results to return. |
NextToken |
If the result of the previous request was truncated, the response
includes a |
Returns a list of measures that are potential causes or effects of an anomaly group
Description
Returns a list of measures that are potential causes or effects of an anomaly group.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_list_anomaly_group_related_metrics/ for full documentation.
Usage
lookoutmetrics_list_anomaly_group_related_metrics(
AnomalyDetectorArn,
AnomalyGroupId,
RelationshipTypeFilter = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
AnomalyDetectorArn |
[required] The Amazon Resource Name (ARN) of the anomaly detector. |
AnomalyGroupId |
[required] The ID of the anomaly group. |
RelationshipTypeFilter |
Filter for potential causes ( |
MaxResults |
The maximum number of results to return. |
NextToken |
Specify the pagination token that's returned by a previous request to retrieve the next page of results. |
Returns a list of anomaly groups
Description
Returns a list of anomaly groups.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_list_anomaly_group_summaries/ for full documentation.
Usage
lookoutmetrics_list_anomaly_group_summaries(
AnomalyDetectorArn,
SensitivityThreshold,
MaxResults = NULL,
NextToken = NULL
)
Arguments
AnomalyDetectorArn |
[required] The Amazon Resource Name (ARN) of the anomaly detector. |
SensitivityThreshold |
[required] The minimum severity score for inclusion in the output. |
MaxResults |
The maximum number of results to return. |
NextToken |
Specify the pagination token that's returned by a previous request to retrieve the next page of results. |
Gets a list of anomalous metrics for a measure in an anomaly group
Description
Gets a list of anomalous metrics for a measure in an anomaly group.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_list_anomaly_group_time_series/ for full documentation.
Usage
lookoutmetrics_list_anomaly_group_time_series(
AnomalyDetectorArn,
AnomalyGroupId,
MetricName,
MaxResults = NULL,
NextToken = NULL
)
Arguments
AnomalyDetectorArn |
[required] The Amazon Resource Name (ARN) of the anomaly detector. |
AnomalyGroupId |
[required] The ID of the anomaly group. |
MetricName |
[required] The name of the measure field. |
MaxResults |
The maximum number of results to return. |
NextToken |
Specify the pagination token that's returned by a previous request to retrieve the next page of results. |
Lists the datasets in the current AWS Region
Description
Lists the datasets in the current AWS Region.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_list_metric_sets/ for full documentation.
Usage
lookoutmetrics_list_metric_sets(
AnomalyDetectorArn = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
AnomalyDetectorArn |
The ARN of the anomaly detector containing the metrics sets to list. |
MaxResults |
The maximum number of results to return. |
NextToken |
If the result of the previous request was truncated, the response
includes a |
Gets a list of tags for a detector, dataset, or alert
Description
Gets a list of tags for a detector, dataset, or alert.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_list_tags_for_resource/ for full documentation.
Usage
lookoutmetrics_list_tags_for_resource(ResourceArn)
Arguments
ResourceArn |
[required] The resource's Amazon Resource Name (ARN). |
Add feedback for an anomalous metric
Description
Add feedback for an anomalous metric.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_put_feedback/ for full documentation.
Usage
lookoutmetrics_put_feedback(AnomalyDetectorArn, AnomalyGroupTimeSeriesFeedback)
Arguments
AnomalyDetectorArn |
[required] The Amazon Resource Name (ARN) of the anomaly detector. |
AnomalyGroupTimeSeriesFeedback |
[required] Feedback for an anomalous metric. |
Adds tags to a detector, dataset, or alert
Description
Adds tags to a detector, dataset, or alert.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_tag_resource/ for full documentation.
Usage
lookoutmetrics_tag_resource(ResourceArn, Tags)
Arguments
ResourceArn |
[required] The resource's Amazon Resource Name (ARN). |
Tags |
[required] Tags to apply to the resource. Tag keys and values can contain letters,
numbers, spaces, and the following symbols: |
Removes tags from a detector, dataset, or alert
Description
Removes tags from a detector, dataset, or alert.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_untag_resource/ for full documentation.
Usage
lookoutmetrics_untag_resource(ResourceArn, TagKeys)
Arguments
ResourceArn |
[required] The resource's Amazon Resource Name (ARN). |
TagKeys |
[required] Keys to remove from the resource's tags. |
Make changes to an existing alert
Description
Make changes to an existing alert.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_update_alert/ for full documentation.
Usage
lookoutmetrics_update_alert(
AlertArn,
AlertDescription = NULL,
AlertSensitivityThreshold = NULL,
Action = NULL,
AlertFilters = NULL
)
Arguments
AlertArn |
[required] The ARN of the alert to update. |
AlertDescription |
A description of the alert. |
AlertSensitivityThreshold |
An integer from 0 to 100 specifying the alert sensitivity threshold. |
Action |
Action that will be triggered when there is an alert. |
AlertFilters |
The configuration of the alert filters, containing MetricList and DimensionFilterList. |
Updates a detector
Description
Updates a detector. After activation, you can only change a detector's ingestion delay and description.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_update_anomaly_detector/ for full documentation.
Usage
lookoutmetrics_update_anomaly_detector(
AnomalyDetectorArn,
KmsKeyArn = NULL,
AnomalyDetectorDescription = NULL,
AnomalyDetectorConfig = NULL
)
Arguments
AnomalyDetectorArn |
[required] The ARN of the detector to update. |
KmsKeyArn |
The Amazon Resource Name (ARN) of an AWS KMS encryption key. |
AnomalyDetectorDescription |
The updated detector description. |
AnomalyDetectorConfig |
Contains information about the configuration to which the detector will be updated. |
Updates a dataset
Description
Updates a dataset.
See https://www.paws-r-sdk.com/docs/lookoutmetrics_update_metric_set/ for full documentation.
Usage
lookoutmetrics_update_metric_set(
MetricSetArn,
MetricSetDescription = NULL,
MetricList = NULL,
Offset = NULL,
TimestampColumn = NULL,
DimensionList = NULL,
MetricSetFrequency = NULL,
MetricSource = NULL,
DimensionFilterList = NULL
)
Arguments
MetricSetArn |
[required] The ARN of the dataset to update. |
MetricSetDescription |
The dataset's description. |
MetricList |
The metric list. |
Offset |
After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3, Redshift, Athena and datasources. |
TimestampColumn |
The timestamp column. |
DimensionList |
The dimension list. |
MetricSetFrequency |
The dataset's interval. |
MetricSource |
|
DimensionFilterList |
Describes a list of filters for choosing specific dimensions and specific values. Each filter consists of the dimension and one of its values that you want to include. When multiple dimensions or values are specified, the dimensions are joined with an AND operation and the values are joined with an OR operation. |
Amazon Machine Learning
Description
Definition of the public APIs exposed by Amazon Machine Learning
Usage
machinelearning(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- machinelearning( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
add_tags | Adds one or more tags to an object, up to a limit of 10 |
create_batch_prediction | Generates predictions for a group of observations |
create_data_source_from_rds | Creates a DataSource object from an Amazon Relational Database Service (Amazon RDS) |
create_data_source_from_redshift | Creates a DataSource from a database hosted on an Amazon Redshift cluster |
create_data_source_from_s3 | Creates a DataSource object |
create_evaluation | Creates a new Evaluation of an MLModel |
create_ml_model | Creates a new MLModel using the DataSource and the recipe as information sources |
create_realtime_endpoint | Creates a real-time endpoint for the MLModel |
delete_batch_prediction | Assigns the DELETED status to a BatchPrediction, rendering it unusable |
delete_data_source | Assigns the DELETED status to a DataSource, rendering it unusable |
delete_evaluation | Assigns the DELETED status to an Evaluation, rendering it unusable |
delete_ml_model | Assigns the DELETED status to an MLModel, rendering it unusable |
delete_realtime_endpoint | Deletes a real time endpoint of an MLModel |
delete_tags | Deletes the specified tags associated with an ML object |
describe_batch_predictions | Returns a list of BatchPrediction operations that match the search criteria in the request |
describe_data_sources | Returns a list of DataSource that match the search criteria in the request |
describe_evaluations | Returns a list of DescribeEvaluations that match the search criteria in the request |
describe_ml_models | Returns a list of MLModel that match the search criteria in the request |
describe_tags | Describes one or more of the tags for your Amazon ML object |
get_batch_prediction | Returns a BatchPrediction that includes detailed metadata, status, and data file information for a Batch Prediction request |
get_data_source | Returns a DataSource that includes metadata and data file information, as well as the current status of the DataSource |
get_evaluation | Returns an Evaluation that includes metadata as well as the current status of the Evaluation |
get_ml_model | Returns an MLModel that includes detailed metadata, data source information, and the current status of the MLModel |
predict | Generates a prediction for the observation using the specified ML Model |
update_batch_prediction | Updates the BatchPredictionName of a BatchPrediction |
update_data_source | Updates the DataSourceName of a DataSource |
update_evaluation | Updates the EvaluationName of an Evaluation |
update_ml_model | Updates the MLModelName and the ScoreThreshold of an MLModel |
Examples
## Not run:
svc <- machinelearning()
svc$add_tags(
Foo = 123
)
## End(Not run)
Adds one or more tags to an object, up to a limit of 10
Description
Adds one or more tags to an object, up to a limit of 10. Each tag consists of a key and an optional value. If you add a tag using a key that is already associated with the ML object, add_tags
updates the tag's value.
See https://www.paws-r-sdk.com/docs/machinelearning_add_tags/ for full documentation.
Usage
machinelearning_add_tags(Tags, ResourceId, ResourceType)
Arguments
Tags |
[required] The key-value pairs to use to create tags. If you specify a key without specifying a value, Amazon ML creates a tag with the specified key and a value of null. |
ResourceId |
[required] The ID of the ML object to tag. For example, |
ResourceType |
[required] The type of the ML object to tag. |
Generates predictions for a group of observations
Description
Generates predictions for a group of observations. The observations to process exist in one or more data files referenced by a DataSource
. This operation creates a new BatchPrediction
, and uses an MLModel
and the data files referenced by the DataSource
as information sources.
See https://www.paws-r-sdk.com/docs/machinelearning_create_batch_prediction/ for full documentation.
Usage
machinelearning_create_batch_prediction(
BatchPredictionId,
BatchPredictionName = NULL,
MLModelId,
BatchPredictionDataSourceId,
OutputUri
)
Arguments
BatchPredictionId |
[required] A user-supplied ID that uniquely identifies the |
BatchPredictionName |
A user-supplied name or description of the |
MLModelId |
[required] The ID of the |
BatchPredictionDataSourceId |
[required] The ID of the |
OutputUri |
[required] The location of an Amazon Simple Storage Service (Amazon S3) bucket or
directory to store the batch prediction results. The following
substrings are not allowed in the Amazon ML needs permissions to store and retrieve the logs on your behalf. For information about how to set permissions, see the Amazon Machine Learning Developer Guide. |
Creates a DataSource object from an Amazon Relational Database Service (Amazon RDS)
Description
Creates a DataSource
object from an Amazon Relational Database Service (Amazon RDS). A DataSource
references data that can be used to perform create_ml_model
, create_evaluation
, or create_batch_prediction
operations.
See https://www.paws-r-sdk.com/docs/machinelearning_create_data_source_from_rds/ for full documentation.
Usage
machinelearning_create_data_source_from_rds(
DataSourceId,
DataSourceName = NULL,
RDSData,
RoleARN,
ComputeStatistics = NULL
)
Arguments
DataSourceId |
[required] A user-supplied ID that uniquely identifies the |
DataSourceName |
A user-supplied name or description of the |
RDSData |
[required] The data specification of an Amazon RDS
|
RoleARN |
[required] The role that Amazon ML assumes on behalf of the user to create and
activate a data pipeline in the user's account and copy data using the
|
ComputeStatistics |
The compute statistics for a |
Creates a DataSource from a database hosted on an Amazon Redshift cluster
Description
Creates a DataSource
from a database hosted on an Amazon Redshift cluster. A DataSource
references data that can be used to perform either create_ml_model
, create_evaluation
, or create_batch_prediction
operations.
See https://www.paws-r-sdk.com/docs/machinelearning_create_data_source_from_redshift/ for full documentation.
Usage
machinelearning_create_data_source_from_redshift(
DataSourceId,
DataSourceName = NULL,
DataSpec,
RoleARN,
ComputeStatistics = NULL
)
Arguments
DataSourceId |
[required] A user-supplied ID that uniquely identifies the |
DataSourceName |
A user-supplied name or description of the |
DataSpec |
[required] The data specification of an Amazon Redshift
|
RoleARN |
[required] A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the role on behalf of the user to create the following:
|
ComputeStatistics |
The compute statistics for a |
Creates a DataSource object
Description
Creates a DataSource
object. A DataSource
references data that can be used to perform create_ml_model
, create_evaluation
, or create_batch_prediction
operations.
See https://www.paws-r-sdk.com/docs/machinelearning_create_data_source_from_s3/ for full documentation.
Usage
machinelearning_create_data_source_from_s3(
DataSourceId,
DataSourceName = NULL,
DataSpec,
ComputeStatistics = NULL
)
Arguments
DataSourceId |
[required] A user-supplied identifier that uniquely identifies the |
DataSourceName |
A user-supplied name or description of the |
DataSpec |
[required] The data specification of a
|
ComputeStatistics |
The compute statistics for a |
Creates a new Evaluation of an MLModel
Description
Creates a new Evaluation
of an MLModel
. An MLModel
is evaluated on a set of observations associated to a DataSource
. Like a DataSource
for an MLModel
, the DataSource
for an Evaluation
contains values for the Target Variable
. The Evaluation
compares the predicted result for each observation to the actual outcome and provides a summary so that you know how effective the MLModel
functions on the test data. Evaluation generates a relevant performance metric, such as BinaryAUC, RegressionRMSE or MulticlassAvgFScore based on the corresponding MLModelType
: BINARY
, REGRESSION
or MULTICLASS
.
See https://www.paws-r-sdk.com/docs/machinelearning_create_evaluation/ for full documentation.
Usage
machinelearning_create_evaluation(
EvaluationId,
EvaluationName = NULL,
MLModelId,
EvaluationDataSourceId
)
Arguments
EvaluationId |
[required] A user-supplied ID that uniquely identifies the |
EvaluationName |
A user-supplied name or description of the |
MLModelId |
[required] The ID of the The schema used in creating the |
EvaluationDataSourceId |
[required] The ID of the |
Creates a new MLModel using the DataSource and the recipe as information sources
Description
Creates a new MLModel
using the DataSource
and the recipe as information sources.
See https://www.paws-r-sdk.com/docs/machinelearning_create_ml_model/ for full documentation.
Usage
machinelearning_create_ml_model(
MLModelId,
MLModelName = NULL,
MLModelType,
Parameters = NULL,
TrainingDataSourceId,
Recipe = NULL,
RecipeUri = NULL
)
Arguments
MLModelId |
[required] A user-supplied ID that uniquely identifies the |
MLModelName |
A user-supplied name or description of the |
MLModelType |
[required] The category of supervised learning that this
For more information, see the Amazon Machine Learning Developer Guide. |
Parameters |
A list of the training parameters in the The following is the current set of training parameters:
|
TrainingDataSourceId |
[required] The |
Recipe |
The data recipe for creating the |
RecipeUri |
The Amazon Simple Storage Service (Amazon S3) location and file name
that contains the |
Creates a real-time endpoint for the MLModel
Description
Creates a real-time endpoint for the MLModel
. The endpoint contains the URI of the MLModel
; that is, the location to send real-time prediction requests for the specified MLModel
.
See https://www.paws-r-sdk.com/docs/machinelearning_create_realtime_endpoint/ for full documentation.
Usage
machinelearning_create_realtime_endpoint(MLModelId)
Arguments
MLModelId |
[required] The ID assigned to the |
Assigns the DELETED status to a BatchPrediction, rendering it unusable
Description
Assigns the DELETED status to a BatchPrediction
, rendering it unusable.
See https://www.paws-r-sdk.com/docs/machinelearning_delete_batch_prediction/ for full documentation.
Usage
machinelearning_delete_batch_prediction(BatchPredictionId)
Arguments
BatchPredictionId |
[required] A user-supplied ID that uniquely identifies the |
Assigns the DELETED status to a DataSource, rendering it unusable
Description
Assigns the DELETED status to a DataSource
, rendering it unusable.
See https://www.paws-r-sdk.com/docs/machinelearning_delete_data_source/ for full documentation.
Usage
machinelearning_delete_data_source(DataSourceId)
Arguments
DataSourceId |
[required] A user-supplied ID that uniquely identifies the |
Assigns the DELETED status to an Evaluation, rendering it unusable
Description
Assigns the DELETED
status to an Evaluation
, rendering it unusable.
See https://www.paws-r-sdk.com/docs/machinelearning_delete_evaluation/ for full documentation.
Usage
machinelearning_delete_evaluation(EvaluationId)
Arguments
EvaluationId |
[required] A user-supplied ID that uniquely identifies the |
Assigns the DELETED status to an MLModel, rendering it unusable
Description
Assigns the DELETED
status to an MLModel
, rendering it unusable.
See https://www.paws-r-sdk.com/docs/machinelearning_delete_ml_model/ for full documentation.
Usage
machinelearning_delete_ml_model(MLModelId)
Arguments
MLModelId |
[required] A user-supplied ID that uniquely identifies the |
Deletes a real time endpoint of an MLModel
Description
Deletes a real time endpoint of an MLModel
.
See https://www.paws-r-sdk.com/docs/machinelearning_delete_realtime_endpoint/ for full documentation.
Usage
machinelearning_delete_realtime_endpoint(MLModelId)
Arguments
MLModelId |
[required] The ID assigned to the |
Deletes the specified tags associated with an ML object
Description
Deletes the specified tags associated with an ML object. After this operation is complete, you can't recover deleted tags.
See https://www.paws-r-sdk.com/docs/machinelearning_delete_tags/ for full documentation.
Usage
machinelearning_delete_tags(TagKeys, ResourceId, ResourceType)
Arguments
TagKeys |
[required] One or more tags to delete. |
ResourceId |
[required] The ID of the tagged ML object. For example, |
ResourceType |
[required] The type of the tagged ML object. |
Returns a list of BatchPrediction operations that match the search criteria in the request
Description
Returns a list of BatchPrediction
operations that match the search criteria in the request.
See https://www.paws-r-sdk.com/docs/machinelearning_describe_batch_predictions/ for full documentation.
Usage
machinelearning_describe_batch_predictions(
FilterVariable = NULL,
EQ = NULL,
GT = NULL,
LT = NULL,
GE = NULL,
LE = NULL,
NE = NULL,
Prefix = NULL,
SortOrder = NULL,
NextToken = NULL,
Limit = NULL
)
Arguments
FilterVariable |
Use one of the following variables to filter a list of
|
EQ |
The equal to operator. The |
GT |
The greater than operator. The |
LT |
The less than operator. The |
GE |
The greater than or equal to operator. The |
LE |
The less than or equal to operator. The |
NE |
The not equal to operator. The |
Prefix |
A string that is found at the beginning of a variable, such as For example, a
|
SortOrder |
A two-value parameter that determines the sequence of the resulting list
of
Results are sorted by |
NextToken |
An ID of the page in the paginated results. |
Limit |
The number of pages of information to include in the result. The range
of acceptable values is |
Returns a list of DataSource that match the search criteria in the request
Description
Returns a list of DataSource
that match the search criteria in the request.
See https://www.paws-r-sdk.com/docs/machinelearning_describe_data_sources/ for full documentation.
Usage
machinelearning_describe_data_sources(
FilterVariable = NULL,
EQ = NULL,
GT = NULL,
LT = NULL,
GE = NULL,
LE = NULL,
NE = NULL,
Prefix = NULL,
SortOrder = NULL,
NextToken = NULL,
Limit = NULL
)
Arguments
FilterVariable |
Use one of the following variables to filter a list of
|
EQ |
The equal to operator. The |
GT |
The greater than operator. The |
LT |
The less than operator. The |
GE |
The greater than or equal to operator. The |
LE |
The less than or equal to operator. The |
NE |
The not equal to operator. The |
Prefix |
A string that is found at the beginning of a variable, such as For example, a
|
SortOrder |
A two-value parameter that determines the sequence of the resulting list
of
Results are sorted by |
NextToken |
The ID of the page in the paginated results. |
Limit |
The maximum number of |
Returns a list of DescribeEvaluations that match the search criteria in the request
Description
Returns a list of describe_evaluations
that match the search criteria in the request.
See https://www.paws-r-sdk.com/docs/machinelearning_describe_evaluations/ for full documentation.
Usage
machinelearning_describe_evaluations(
FilterVariable = NULL,
EQ = NULL,
GT = NULL,
LT = NULL,
GE = NULL,
LE = NULL,
NE = NULL,
Prefix = NULL,
SortOrder = NULL,
NextToken = NULL,
Limit = NULL
)
Arguments
FilterVariable |
Use one of the following variable to filter a list of
|
EQ |
The equal to operator. The |
GT |
The greater than operator. The |
LT |
The less than operator. The |
GE |
The greater than or equal to operator. The |
LE |
The less than or equal to operator. The |
NE |
The not equal to operator. The |
Prefix |
A string that is found at the beginning of a variable, such as For example, an
|
SortOrder |
A two-value parameter that determines the sequence of the resulting list
of
Results are sorted by |
NextToken |
The ID of the page in the paginated results. |
Limit |
The maximum number of |
Returns a list of MLModel that match the search criteria in the request
Description
Returns a list of MLModel
that match the search criteria in the request.
See https://www.paws-r-sdk.com/docs/machinelearning_describe_ml_models/ for full documentation.
Usage
machinelearning_describe_ml_models(
FilterVariable = NULL,
EQ = NULL,
GT = NULL,
LT = NULL,
GE = NULL,
LE = NULL,
NE = NULL,
Prefix = NULL,
SortOrder = NULL,
NextToken = NULL,
Limit = NULL
)
Arguments
FilterVariable |
Use one of the following variables to filter a list of
|
EQ |
The equal to operator. The |
GT |
The greater than operator. The |
LT |
The less than operator. The |
GE |
The greater than or equal to operator. The |
LE |
The less than or equal to operator. The |
NE |
The not equal to operator. The |
Prefix |
A string that is found at the beginning of a variable, such as For example, an
|
SortOrder |
A two-value parameter that determines the sequence of the resulting list
of
Results are sorted by |
NextToken |
The ID of the page in the paginated results. |
Limit |
The number of pages of information to include in the result. The range
of acceptable values is |
Describes one or more of the tags for your Amazon ML object
Description
Describes one or more of the tags for your Amazon ML object.
See https://www.paws-r-sdk.com/docs/machinelearning_describe_tags/ for full documentation.
Usage
machinelearning_describe_tags(ResourceId, ResourceType)
Arguments
ResourceId |
[required] The ID of the ML object. For example, |
ResourceType |
[required] The type of the ML object. |
Returns a BatchPrediction that includes detailed metadata, status, and data file information for a Batch Prediction request
Description
Returns a BatchPrediction
that includes detailed metadata, status, and data file information for a Batch Prediction
request.
See https://www.paws-r-sdk.com/docs/machinelearning_get_batch_prediction/ for full documentation.
Usage
machinelearning_get_batch_prediction(BatchPredictionId)
Arguments
BatchPredictionId |
[required] An ID assigned to the |
Returns a DataSource that includes metadata and data file information, as well as the current status of the DataSource
Description
Returns a DataSource
that includes metadata and data file information, as well as the current status of the DataSource
.
See https://www.paws-r-sdk.com/docs/machinelearning_get_data_source/ for full documentation.
Usage
machinelearning_get_data_source(DataSourceId, Verbose = NULL)
Arguments
DataSourceId |
[required] The ID assigned to the |
Verbose |
Specifies whether the
If true, If false, |
Returns an Evaluation that includes metadata as well as the current status of the Evaluation
Description
Returns an Evaluation
that includes metadata as well as the current status of the Evaluation
.
See https://www.paws-r-sdk.com/docs/machinelearning_get_evaluation/ for full documentation.
Usage
machinelearning_get_evaluation(EvaluationId)
Arguments
EvaluationId |
[required] The ID of the |
Returns an MLModel that includes detailed metadata, data source information, and the current status of the MLModel
Description
Returns an MLModel
that includes detailed metadata, data source information, and the current status of the MLModel
.
See https://www.paws-r-sdk.com/docs/machinelearning_get_ml_model/ for full documentation.
Usage
machinelearning_get_ml_model(MLModelId, Verbose = NULL)
Arguments
MLModelId |
[required] The ID assigned to the |
Verbose |
Specifies whether the If true, If false, |
Generates a prediction for the observation using the specified ML Model
Description
Generates a prediction for the observation using the specified ML Model
.
See https://www.paws-r-sdk.com/docs/machinelearning_predict/ for full documentation.
Usage
machinelearning_predict(MLModelId, Record, PredictEndpoint)
Arguments
MLModelId |
[required] A unique identifier of the |
Record |
[required] |
PredictEndpoint |
[required] |
Updates the BatchPredictionName of a BatchPrediction
Description
Updates the BatchPredictionName
of a BatchPrediction
.
See https://www.paws-r-sdk.com/docs/machinelearning_update_batch_prediction/ for full documentation.
Usage
machinelearning_update_batch_prediction(BatchPredictionId, BatchPredictionName)
Arguments
BatchPredictionId |
[required] The ID assigned to the |
BatchPredictionName |
[required] A new user-supplied name or description of the |
Updates the DataSourceName of a DataSource
Description
Updates the DataSourceName
of a DataSource
.
See https://www.paws-r-sdk.com/docs/machinelearning_update_data_source/ for full documentation.
Usage
machinelearning_update_data_source(DataSourceId, DataSourceName)
Arguments
DataSourceId |
[required] The ID assigned to the |
DataSourceName |
[required] A new user-supplied name or description of the |
Updates the EvaluationName of an Evaluation
Description
Updates the EvaluationName
of an Evaluation
.
See https://www.paws-r-sdk.com/docs/machinelearning_update_evaluation/ for full documentation.
Usage
machinelearning_update_evaluation(EvaluationId, EvaluationName)
Arguments
EvaluationId |
[required] The ID assigned to the |
EvaluationName |
[required] A new user-supplied name or description of the |
Updates the MLModelName and the ScoreThreshold of an MLModel
Description
Updates the MLModelName
and the ScoreThreshold
of an MLModel
.
See https://www.paws-r-sdk.com/docs/machinelearning_update_ml_model/ for full documentation.
Usage
machinelearning_update_ml_model(
MLModelId,
MLModelName = NULL,
ScoreThreshold = NULL
)
Arguments
MLModelId |
[required] The ID assigned to the |
MLModelName |
A user-supplied name or description of the |
ScoreThreshold |
The Output values greater than or equal to the |
AWS Panorama
Description
Overview
This is the AWS Panorama API Reference. For an introduction to the service, see What is AWS Panorama? in the AWS Panorama Developer Guide.
Usage
panorama(config = list(), credentials = list(), endpoint = NULL, region = NULL)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- panorama( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
create_application_instance | Creates an application instance and deploys it to a device |
create_job_for_devices | Creates a job to run on a device |
create_node_from_template_job | Creates a camera stream node |
create_package | Creates a package and storage location in an Amazon S3 access point |
create_package_import_job | Imports a node package |
delete_device | Deletes a device |
delete_package | Deletes a package |
deregister_package_version | Deregisters a package version |
describe_application_instance | Returns information about an application instance on a device |
describe_application_instance_details | Returns information about an application instance's configuration manifest |
describe_device | Returns information about a device |
describe_device_job | Returns information about a device job |
describe_node | Returns information about a node |
describe_node_from_template_job | Returns information about a job to create a camera stream node |
describe_package | Returns information about a package |
describe_package_import_job | Returns information about a package import job |
describe_package_version | Returns information about a package version |
list_application_instance_dependencies | Returns a list of application instance dependencies |
list_application_instance_node_instances | Returns a list of application node instances |
list_application_instances | Returns a list of application instances |
list_devices | Returns a list of devices |
list_devices_jobs | Returns a list of jobs |
list_node_from_template_jobs | Returns a list of camera stream node jobs |
list_nodes | Returns a list of nodes |
list_package_import_jobs | Returns a list of package import jobs |
list_packages | Returns a list of packages |
list_tags_for_resource | Returns a list of tags for a resource |
provision_device | Creates a device and returns a configuration archive |
register_package_version | Registers a package version |
remove_application_instance | Removes an application instance |
signal_application_instance_node_instances | Signal camera nodes to stop or resume |
tag_resource | Tags a resource |
untag_resource | Removes tags from a resource |
update_device_metadata | Updates a device's metadata |
Examples
## Not run:
svc <- panorama()
svc$create_application_instance(
Foo = 123
)
## End(Not run)
Creates an application instance and deploys it to a device
Description
Creates an application instance and deploys it to a device.
See https://www.paws-r-sdk.com/docs/panorama_create_application_instance/ for full documentation.
Usage
panorama_create_application_instance(
ApplicationInstanceIdToReplace = NULL,
DefaultRuntimeContextDevice,
Description = NULL,
ManifestOverridesPayload = NULL,
ManifestPayload,
Name = NULL,
RuntimeRoleArn = NULL,
Tags = NULL
)
Arguments
ApplicationInstanceIdToReplace |
The ID of an application instance to replace with the new instance. |
DefaultRuntimeContextDevice |
[required] A device's ID. |
Description |
A description for the application instance. |
ManifestOverridesPayload |
Setting overrides for the application manifest. |
ManifestPayload |
[required] The application's manifest document. |
Name |
A name for the application instance. |
RuntimeRoleArn |
The ARN of a runtime role for the application instance. |
Tags |
Tags for the application instance. |
Creates a job to run on a device
Description
Creates a job to run on a device. A job can update a device's software or reboot it.
See https://www.paws-r-sdk.com/docs/panorama_create_job_for_devices/ for full documentation.
Usage
panorama_create_job_for_devices(DeviceIds, DeviceJobConfig = NULL, JobType)
Arguments
DeviceIds |
[required] ID of target device. |
DeviceJobConfig |
Configuration settings for a software update job. |
JobType |
[required] The type of job to run. |
Creates a camera stream node
Description
Creates a camera stream node.
See https://www.paws-r-sdk.com/docs/panorama_create_node_from_template_job/ for full documentation.
Usage
panorama_create_node_from_template_job(
JobTags = NULL,
NodeDescription = NULL,
NodeName,
OutputPackageName,
OutputPackageVersion,
TemplateParameters,
TemplateType
)
Arguments
JobTags |
Tags for the job. |
NodeDescription |
A description for the node. |
NodeName |
[required] A name for the node. |
OutputPackageName |
[required] An output package name for the node. |
OutputPackageVersion |
[required] An output package version for the node. |
TemplateParameters |
[required] Template parameters for the node. |
TemplateType |
[required] The type of node. |
Creates a package and storage location in an Amazon S3 access point
Description
Creates a package and storage location in an Amazon S3 access point.
See https://www.paws-r-sdk.com/docs/panorama_create_package/ for full documentation.
Usage
panorama_create_package(PackageName, Tags = NULL)
Arguments
PackageName |
[required] A name for the package. |
Tags |
Tags for the package. |
Imports a node package
Description
Imports a node package.
See https://www.paws-r-sdk.com/docs/panorama_create_package_import_job/ for full documentation.
Usage
panorama_create_package_import_job(
ClientToken,
InputConfig,
JobTags = NULL,
JobType,
OutputConfig
)
Arguments
ClientToken |
[required] A client token for the package import job. |
InputConfig |
[required] An input config for the package import job. |
JobTags |
Tags for the package import job. |
JobType |
[required] A job type for the package import job. |
OutputConfig |
[required] An output config for the package import job. |
Deletes a device
Description
Deletes a device.
See https://www.paws-r-sdk.com/docs/panorama_delete_device/ for full documentation.
Usage
panorama_delete_device(DeviceId)
Arguments
DeviceId |
[required] The device's ID. |
Deletes a package
Description
Deletes a package.
See https://www.paws-r-sdk.com/docs/panorama_delete_package/ for full documentation.
Usage
panorama_delete_package(ForceDelete = NULL, PackageId)
Arguments
ForceDelete |
Delete the package even if it has artifacts stored in its access point. Deletes the package's artifacts from Amazon S3. |
PackageId |
[required] The package's ID. |
Deregisters a package version
Description
Deregisters a package version.
See https://www.paws-r-sdk.com/docs/panorama_deregister_package_version/ for full documentation.
Usage
panorama_deregister_package_version(
OwnerAccount = NULL,
PackageId,
PackageVersion,
PatchVersion,
UpdatedLatestPatchVersion = NULL
)
Arguments
OwnerAccount |
An owner account. |
PackageId |
[required] A package ID. |
PackageVersion |
[required] A package version. |
PatchVersion |
[required] A patch version. |
UpdatedLatestPatchVersion |
If the version was marked latest, the new version to maker as latest. |
Returns information about an application instance on a device
Description
Returns information about an application instance on a device.
See https://www.paws-r-sdk.com/docs/panorama_describe_application_instance/ for full documentation.
Usage
panorama_describe_application_instance(ApplicationInstanceId)
Arguments
ApplicationInstanceId |
[required] The application instance's ID. |
Returns information about an application instance's configuration manifest
Description
Returns information about an application instance's configuration manifest.
See https://www.paws-r-sdk.com/docs/panorama_describe_application_instance_details/ for full documentation.
Usage
panorama_describe_application_instance_details(ApplicationInstanceId)
Arguments
ApplicationInstanceId |
[required] The application instance's ID. |
Returns information about a device
Description
Returns information about a device.
See https://www.paws-r-sdk.com/docs/panorama_describe_device/ for full documentation.
Usage
panorama_describe_device(DeviceId)
Arguments
DeviceId |
[required] The device's ID. |
Returns information about a device job
Description
Returns information about a device job.
See https://www.paws-r-sdk.com/docs/panorama_describe_device_job/ for full documentation.
Usage
panorama_describe_device_job(JobId)
Arguments
JobId |
[required] The job's ID. |
Returns information about a node
Description
Returns information about a node.
See https://www.paws-r-sdk.com/docs/panorama_describe_node/ for full documentation.
Usage
panorama_describe_node(NodeId, OwnerAccount = NULL)
Arguments
NodeId |
[required] The node's ID. |
OwnerAccount |
The account ID of the node's owner. |
Returns information about a job to create a camera stream node
Description
Returns information about a job to create a camera stream node.
See https://www.paws-r-sdk.com/docs/panorama_describe_node_from_template_job/ for full documentation.
Usage
panorama_describe_node_from_template_job(JobId)
Arguments
JobId |
[required] The job's ID. |
Returns information about a package
Description
Returns information about a package.
See https://www.paws-r-sdk.com/docs/panorama_describe_package/ for full documentation.
Usage
panorama_describe_package(PackageId)
Arguments
PackageId |
[required] The package's ID. |
Returns information about a package import job
Description
Returns information about a package import job.
See https://www.paws-r-sdk.com/docs/panorama_describe_package_import_job/ for full documentation.
Usage
panorama_describe_package_import_job(JobId)
Arguments
JobId |
[required] The job's ID. |
Returns information about a package version
Description
Returns information about a package version.
See https://www.paws-r-sdk.com/docs/panorama_describe_package_version/ for full documentation.
Usage
panorama_describe_package_version(
OwnerAccount = NULL,
PackageId,
PackageVersion,
PatchVersion = NULL
)
Arguments
OwnerAccount |
The version's owner account. |
PackageId |
[required] The version's ID. |
PackageVersion |
[required] The version's version. |
PatchVersion |
The version's patch version. |
Returns a list of application instance dependencies
Description
Returns a list of application instance dependencies.
See https://www.paws-r-sdk.com/docs/panorama_list_application_instance_dependencies/ for full documentation.
Usage
panorama_list_application_instance_dependencies(
ApplicationInstanceId,
MaxResults = NULL,
NextToken = NULL
)
Arguments
ApplicationInstanceId |
[required] The application instance's ID. |
MaxResults |
The maximum number of application instance dependencies to return in one page of results. |
NextToken |
Specify the pagination token from a previous request to retrieve the next page of results. |
Returns a list of application node instances
Description
Returns a list of application node instances.
See https://www.paws-r-sdk.com/docs/panorama_list_application_instance_node_instances/ for full documentation.
Usage
panorama_list_application_instance_node_instances(
ApplicationInstanceId,
MaxResults = NULL,
NextToken = NULL
)
Arguments
ApplicationInstanceId |
[required] The node instances' application instance ID. |
MaxResults |
The maximum number of node instances to return in one page of results. |
NextToken |
Specify the pagination token from a previous request to retrieve the next page of results. |
Returns a list of application instances
Description
Returns a list of application instances.
See https://www.paws-r-sdk.com/docs/panorama_list_application_instances/ for full documentation.
Usage
panorama_list_application_instances(
DeviceId = NULL,
MaxResults = NULL,
NextToken = NULL,
StatusFilter = NULL
)
Arguments
DeviceId |
The application instances' device ID. |
MaxResults |
The maximum number of application instances to return in one page of results. |
NextToken |
Specify the pagination token from a previous request to retrieve the next page of results. |
StatusFilter |
Only include instances with a specific status. |
Returns a list of devices
Description
Returns a list of devices.
See https://www.paws-r-sdk.com/docs/panorama_list_devices/ for full documentation.
Usage
panorama_list_devices(
DeviceAggregatedStatusFilter = NULL,
MaxResults = NULL,
NameFilter = NULL,
NextToken = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
DeviceAggregatedStatusFilter |
Filter based on a device's status. |
MaxResults |
The maximum number of devices to return in one page of results. |
NameFilter |
Filter based on device's name. Prefixes supported. |
NextToken |
Specify the pagination token from a previous request to retrieve the next page of results. |
SortBy |
The target column to be sorted on. Default column sort is CREATED_TIME. |
SortOrder |
The sorting order for the returned list. SortOrder is DESCENDING by default based on CREATED_TIME. Otherwise, SortOrder is ASCENDING. |
Returns a list of jobs
Description
Returns a list of jobs.
See https://www.paws-r-sdk.com/docs/panorama_list_devices_jobs/ for full documentation.
Usage
panorama_list_devices_jobs(
DeviceId = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
DeviceId |
Filter results by the job's target device ID. |
MaxResults |
The maximum number of device jobs to return in one page of results. |
NextToken |
Specify the pagination token from a previous request to retrieve the next page of results. |
Returns a list of camera stream node jobs
Description
Returns a list of camera stream node jobs.
See https://www.paws-r-sdk.com/docs/panorama_list_node_from_template_jobs/ for full documentation.
Usage
panorama_list_node_from_template_jobs(MaxResults = NULL, NextToken = NULL)
Arguments
MaxResults |
The maximum number of node from template jobs to return in one page of results. |
NextToken |
Specify the pagination token from a previous request to retrieve the next page of results. |
Returns a list of nodes
Description
Returns a list of nodes.
See https://www.paws-r-sdk.com/docs/panorama_list_nodes/ for full documentation.
Usage
panorama_list_nodes(
Category = NULL,
MaxResults = NULL,
NextToken = NULL,
OwnerAccount = NULL,
PackageName = NULL,
PackageVersion = NULL,
PatchVersion = NULL
)
Arguments
Category |
Search for nodes by category. |
MaxResults |
The maximum number of nodes to return in one page of results. |
NextToken |
Specify the pagination token from a previous request to retrieve the next page of results. |
OwnerAccount |
Search for nodes by the account ID of the nodes' owner. |
PackageName |
Search for nodes by name. |
PackageVersion |
Search for nodes by version. |
PatchVersion |
Search for nodes by patch version. |
Returns a list of package import jobs
Description
Returns a list of package import jobs.
See https://www.paws-r-sdk.com/docs/panorama_list_package_import_jobs/ for full documentation.
Usage
panorama_list_package_import_jobs(MaxResults = NULL, NextToken = NULL)
Arguments
MaxResults |
The maximum number of package import jobs to return in one page of results. |
NextToken |
Specify the pagination token from a previous request to retrieve the next page of results. |
Returns a list of packages
Description
Returns a list of packages.
See https://www.paws-r-sdk.com/docs/panorama_list_packages/ for full documentation.
Usage
panorama_list_packages(MaxResults = NULL, NextToken = NULL)
Arguments
MaxResults |
The maximum number of packages to return in one page of results. |
NextToken |
Specify the pagination token from a previous request to retrieve the next page of results. |
Returns a list of tags for a resource
Description
Returns a list of tags for a resource.
See https://www.paws-r-sdk.com/docs/panorama_list_tags_for_resource/ for full documentation.
Usage
panorama_list_tags_for_resource(ResourceArn)
Arguments
ResourceArn |
[required] The resource's ARN. |
Creates a device and returns a configuration archive
Description
Creates a device and returns a configuration archive. The configuration archive is a ZIP file that contains a provisioning certificate that is valid for 5 minutes. Name the configuration archive certificates-omni_device-name.zip
and transfer it to the device within 5 minutes. Use the included USB storage device and connect it to the USB 3.0 port next to the HDMI output.
See https://www.paws-r-sdk.com/docs/panorama_provision_device/ for full documentation.
Usage
panorama_provision_device(
Description = NULL,
Name,
NetworkingConfiguration = NULL,
Tags = NULL
)
Arguments
Description |
A description for the device. |
Name |
[required] A name for the device. |
NetworkingConfiguration |
A networking configuration for the device. |
Tags |
Tags for the device. |
Registers a package version
Description
Registers a package version.
See https://www.paws-r-sdk.com/docs/panorama_register_package_version/ for full documentation.
Usage
panorama_register_package_version(
MarkLatest = NULL,
OwnerAccount = NULL,
PackageId,
PackageVersion,
PatchVersion
)
Arguments
MarkLatest |
Whether to mark the new version as the latest version. |
OwnerAccount |
An owner account. |
PackageId |
[required] A package ID. |
PackageVersion |
[required] A package version. |
PatchVersion |
[required] A patch version. |
Removes an application instance
Description
Removes an application instance.
See https://www.paws-r-sdk.com/docs/panorama_remove_application_instance/ for full documentation.
Usage
panorama_remove_application_instance(ApplicationInstanceId)
Arguments
ApplicationInstanceId |
[required] An application instance ID. |
Signal camera nodes to stop or resume
Description
Signal camera nodes to stop or resume.
See https://www.paws-r-sdk.com/docs/panorama_signal_application_instance_node_instances/ for full documentation.
Usage
panorama_signal_application_instance_node_instances(
ApplicationInstanceId,
NodeSignals
)
Arguments
ApplicationInstanceId |
[required] An application instance ID. |
NodeSignals |
[required] A list of signals. |
Tags a resource
Description
Tags a resource.
See https://www.paws-r-sdk.com/docs/panorama_tag_resource/ for full documentation.
Usage
panorama_tag_resource(ResourceArn, Tags)
Arguments
ResourceArn |
[required] The resource's ARN. |
Tags |
[required] Tags for the resource. |
Removes tags from a resource
Description
Removes tags from a resource.
See https://www.paws-r-sdk.com/docs/panorama_untag_resource/ for full documentation.
Usage
panorama_untag_resource(ResourceArn, TagKeys)
Arguments
ResourceArn |
[required] The resource's ARN. |
TagKeys |
[required] Tag keys to remove. |
Updates a device's metadata
Description
Updates a device's metadata.
See https://www.paws-r-sdk.com/docs/panorama_update_device_metadata/ for full documentation.
Usage
panorama_update_device_metadata(Description = NULL, DeviceId)
Arguments
Description |
A description for the device. |
DeviceId |
[required] The device's ID. |
Amazon Personalize
Description
Amazon Personalize is a machine learning service that makes it easy to add individualized recommendations to customers.
Usage
personalize(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- personalize( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
create_batch_inference_job | Generates batch recommendations based on a list of items or users stored in Amazon S3 and exports the recommendations to an Amazon S3 bucket |
create_batch_segment_job | Creates a batch segment job |
create_campaign | You incur campaign costs while it is active |
create_data_deletion_job | Creates a batch job that deletes all references to specific users from an Amazon Personalize dataset group in batches |
create_dataset | Creates an empty dataset and adds it to the specified dataset group |
create_dataset_export_job | Creates a job that exports data from your dataset to an Amazon S3 bucket |
create_dataset_group | Creates an empty dataset group |
create_dataset_import_job | Creates a job that imports training data from your data source (an Amazon S3 bucket) to an Amazon Personalize dataset |
create_event_tracker | Creates an event tracker that you use when adding event data to a specified dataset group using the PutEvents API |
create_filter | Creates a recommendation filter |
create_metric_attribution | Creates a metric attribution |
create_recommender | Creates a recommender with the recipe (a Domain dataset group use case) you specify |
create_schema | Creates an Amazon Personalize schema from the specified schema string |
create_solution | By default, all new solutions use automatic training |
create_solution_version | Trains or retrains an active solution in a Custom dataset group |
delete_campaign | Removes a campaign by deleting the solution deployment |
delete_dataset | Deletes a dataset |
delete_dataset_group | Deletes a dataset group |
delete_event_tracker | Deletes the event tracker |
delete_filter | Deletes a filter |
delete_metric_attribution | Deletes a metric attribution |
delete_recommender | Deactivates and removes a recommender |
delete_schema | Deletes a schema |
delete_solution | Deletes all versions of a solution and the Solution object itself |
describe_algorithm | Describes the given algorithm |
describe_batch_inference_job | Gets the properties of a batch inference job including name, Amazon Resource Name (ARN), status, input and output configurations, and the ARN of the solution version used to generate the recommendations |
describe_batch_segment_job | Gets the properties of a batch segment job including name, Amazon Resource Name (ARN), status, input and output configurations, and the ARN of the solution version used to generate segments |
describe_campaign | Describes the given campaign, including its status |
describe_data_deletion_job | Describes the data deletion job created by CreateDataDeletionJob, including the job status |
describe_dataset | Describes the given dataset |
describe_dataset_export_job | Describes the dataset export job created by CreateDatasetExportJob, including the export job status |
describe_dataset_group | Describes the given dataset group |
describe_dataset_import_job | Describes the dataset import job created by CreateDatasetImportJob, including the import job status |
describe_event_tracker | Describes an event tracker |
describe_feature_transformation | Describes the given feature transformation |
describe_filter | Describes a filter's properties |
describe_metric_attribution | Describes a metric attribution |
describe_recipe | Describes a recipe |
describe_recommender | Describes the given recommender, including its status |
describe_schema | Describes a schema |
describe_solution | Describes a solution |
describe_solution_version | Describes a specific version of a solution |
get_solution_metrics | Gets the metrics for the specified solution version |
list_batch_inference_jobs | Gets a list of the batch inference jobs that have been performed off of a solution version |
list_batch_segment_jobs | Gets a list of the batch segment jobs that have been performed off of a solution version that you specify |
list_campaigns | Returns a list of campaigns that use the given solution |
list_data_deletion_jobs | Returns a list of data deletion jobs for a dataset group ordered by creation time, with the most recent first |
list_dataset_export_jobs | Returns a list of dataset export jobs that use the given dataset |
list_dataset_groups | Returns a list of dataset groups |
list_dataset_import_jobs | Returns a list of dataset import jobs that use the given dataset |
list_datasets | Returns the list of datasets contained in the given dataset group |
list_event_trackers | Returns the list of event trackers associated with the account |
list_filters | Lists all filters that belong to a given dataset group |
list_metric_attribution_metrics | Lists the metrics for the metric attribution |
list_metric_attributions | Lists metric attributions |
list_recipes | Returns a list of available recipes |
list_recommenders | Returns a list of recommenders in a given Domain dataset group |
list_schemas | Returns the list of schemas associated with the account |
list_solutions | Returns a list of solutions in a given dataset group |
list_solution_versions | Returns a list of solution versions for the given solution |
list_tags_for_resource | Get a list of tags attached to a resource |
start_recommender | Starts a recommender that is INACTIVE |
stop_recommender | Stops a recommender that is ACTIVE |
stop_solution_version_creation | Stops creating a solution version that is in a state of CREATE_PENDING or CREATE IN_PROGRESS |
tag_resource | Add a list of tags to a resource |
untag_resource | Removes the specified tags that are attached to a resource |
update_campaign | Updates a campaign to deploy a retrained solution version with an existing campaign, change your campaign's minProvisionedTPS, or modify your campaign's configuration |
update_dataset | Update a dataset to replace its schema with a new or existing one |
update_metric_attribution | Updates a metric attribution |
update_recommender | Updates the recommender to modify the recommender configuration |
update_solution | Updates an Amazon Personalize solution to use a different automatic training configuration |
Examples
## Not run:
svc <- personalize()
svc$create_batch_inference_job(
Foo = 123
)
## End(Not run)
Generates batch recommendations based on a list of items or users stored in Amazon S3 and exports the recommendations to an Amazon S3 bucket
Description
Generates batch recommendations based on a list of items or users stored in Amazon S3 and exports the recommendations to an Amazon S3 bucket.
See https://www.paws-r-sdk.com/docs/personalize_create_batch_inference_job/ for full documentation.
Usage
personalize_create_batch_inference_job(
jobName,
solutionVersionArn,
filterArn = NULL,
numResults = NULL,
jobInput,
jobOutput,
roleArn,
batchInferenceJobConfig = NULL,
tags = NULL,
batchInferenceJobMode = NULL,
themeGenerationConfig = NULL
)
Arguments
jobName |
[required] The name of the batch inference job to create. |
solutionVersionArn |
[required] The Amazon Resource Name (ARN) of the solution version that will be used to generate the batch inference recommendations. |
filterArn |
The ARN of the filter to apply to the batch inference job. For more information on using filters, see Filtering batch recommendations. |
numResults |
The number of recommendations to retrieve. |
jobInput |
[required] The Amazon S3 path that leads to the input file to base your recommendations on. The input material must be in JSON format. |
jobOutput |
[required] The path to the Amazon S3 bucket where the job's output will be stored. |
roleArn |
[required] The ARN of the Amazon Identity and Access Management role that has permissions to read and write to your input and output Amazon S3 buckets respectively. |
batchInferenceJobConfig |
The configuration details of a batch inference job. |
tags |
A list of tags to apply to the batch inference job. |
batchInferenceJobMode |
The mode of the batch inference job. To generate descriptive themes for
groups of similar items, set the job mode to When you get batch recommendations with themes, you will incur additional costs. For more information, see Amazon Personalize pricing. |
themeGenerationConfig |
For theme generation jobs, specify the name of the column in your Items dataset that contains each item's name. |
Creates a batch segment job
Description
Creates a batch segment job. The operation can handle up to 50 million records and the input file must be in JSON format. For more information, see Getting batch recommendations and user segments.
See https://www.paws-r-sdk.com/docs/personalize_create_batch_segment_job/ for full documentation.
Usage
personalize_create_batch_segment_job(
jobName,
solutionVersionArn,
filterArn = NULL,
numResults = NULL,
jobInput,
jobOutput,
roleArn,
tags = NULL
)
Arguments
jobName |
[required] The name of the batch segment job to create. |
solutionVersionArn |
[required] The Amazon Resource Name (ARN) of the solution version you want the batch segment job to use to generate batch segments. |
filterArn |
The ARN of the filter to apply to the batch segment job. For more information on using filters, see Filtering batch recommendations. |
numResults |
The number of predicted users generated by the batch segment job for each line of input data. The maximum number of users per segment is 5 million. |
jobInput |
[required] The Amazon S3 path for the input data used to generate the batch segment job. |
jobOutput |
[required] The Amazon S3 path for the bucket where the job's output will be stored. |
roleArn |
[required] The ARN of the Amazon Identity and Access Management role that has permissions to read and write to your input and output Amazon S3 buckets respectively. |
tags |
A list of tags to apply to the batch segment job. |
You incur campaign costs while it is active
Description
You incur campaign costs while it is active. To avoid unnecessary costs, make sure to delete the campaign when you are finished. For information about campaign costs, see Amazon Personalize pricing.
See https://www.paws-r-sdk.com/docs/personalize_create_campaign/ for full documentation.
Usage
personalize_create_campaign(
name,
solutionVersionArn,
minProvisionedTPS = NULL,
campaignConfig = NULL,
tags = NULL
)
Arguments
name |
[required] A name for the new campaign. The campaign name must be unique within your account. |
solutionVersionArn |
[required] The Amazon Resource Name (ARN) of the trained model to deploy with the
campaign. To specify the latest solution version of your solution,
specify the ARN of your solution in To deploy a model that isn't the latest solution version of your solution, specify the ARN of the solution version. For more information about automatic campaign updates, see Enabling automatic campaign updates. |
minProvisionedTPS |
Specifies the requested minimum provisioned transactions
(recommendations) per second that Amazon Personalize will support. A
high |
campaignConfig |
The configuration details of a campaign. |
tags |
A list of tags to apply to the campaign. |
Creates a batch job that deletes all references to specific users from an Amazon Personalize dataset group in batches
Description
Creates a batch job that deletes all references to specific users from an Amazon Personalize dataset group in batches. You specify the users to delete in a CSV file of userIds in an Amazon S3 bucket. After a job completes, Amazon Personalize no longer trains on the users’ data and no longer considers the users when generating user segments. For more information about creating a data deletion job, see Deleting users.
See https://www.paws-r-sdk.com/docs/personalize_create_data_deletion_job/ for full documentation.
Usage
personalize_create_data_deletion_job(
jobName,
datasetGroupArn,
dataSource,
roleArn,
tags = NULL
)
Arguments
jobName |
[required] The name for the data deletion job. |
datasetGroupArn |
[required] The Amazon Resource Name (ARN) of the dataset group that has the datasets you want to delete records from. |
dataSource |
[required] The Amazon S3 bucket that contains the list of userIds of the users to delete. |
roleArn |
[required] The Amazon Resource Name (ARN) of the IAM role that has permissions to read from the Amazon S3 data source. |
tags |
A list of tags to apply to the data deletion job. |
Creates an empty dataset and adds it to the specified dataset group
Description
Creates an empty dataset and adds it to the specified dataset group. Use create_dataset_import_job
to import your training data to a dataset.
See https://www.paws-r-sdk.com/docs/personalize_create_dataset/ for full documentation.
Usage
personalize_create_dataset(
name,
schemaArn,
datasetGroupArn,
datasetType,
tags = NULL
)
Arguments
name |
[required] The name for the dataset. |
schemaArn |
[required] The ARN of the schema to associate with the dataset. The schema defines the dataset fields. |
datasetGroupArn |
[required] The Amazon Resource Name (ARN) of the dataset group to add the dataset to. |
datasetType |
[required] The type of dataset. One of the following (case insensitive) values:
|
tags |
A list of tags to apply to the dataset. |
Creates a job that exports data from your dataset to an Amazon S3 bucket
Description
Creates a job that exports data from your dataset to an Amazon S3 bucket. To allow Amazon Personalize to export the training data, you must specify an service-linked IAM role that gives Amazon Personalize PutObject
permissions for your Amazon S3 bucket. For information, see Exporting a dataset in the Amazon Personalize developer guide.
See https://www.paws-r-sdk.com/docs/personalize_create_dataset_export_job/ for full documentation.
Usage
personalize_create_dataset_export_job(
jobName,
datasetArn,
ingestionMode = NULL,
roleArn,
jobOutput,
tags = NULL
)
Arguments
jobName |
[required] The name for the dataset export job. |
datasetArn |
[required] The Amazon Resource Name (ARN) of the dataset that contains the data to export. |
ingestionMode |
The data to export, based on how you imported the data. You can choose
to export only |
roleArn |
[required] The Amazon Resource Name (ARN) of the IAM service role that has permissions to add data to your output Amazon S3 bucket. |
jobOutput |
[required] The path to the Amazon S3 bucket where the job's output is stored. |
tags |
A list of tags to apply to the dataset export job. |
Creates an empty dataset group
Description
Creates an empty dataset group. A dataset group is a container for Amazon Personalize resources. A dataset group can contain at most three datasets, one for each type of dataset:
See https://www.paws-r-sdk.com/docs/personalize_create_dataset_group/ for full documentation.
Usage
personalize_create_dataset_group(
name,
roleArn = NULL,
kmsKeyArn = NULL,
domain = NULL,
tags = NULL
)
Arguments
name |
[required] The name for the new dataset group. |
roleArn |
The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key. |
kmsKeyArn |
The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets. |
domain |
The domain of the dataset group. Specify a domain to create a Domain dataset group. The domain you specify determines the default schemas for datasets and the use cases available for recommenders. If you don't specify a domain, you create a Custom dataset group with solution versions that you deploy with a campaign. |
tags |
A list of tags to apply to the dataset group. |
Creates a job that imports training data from your data source (an Amazon S3 bucket) to an Amazon Personalize dataset
Description
Creates a job that imports training data from your data source (an Amazon S3 bucket) to an Amazon Personalize dataset. To allow Amazon Personalize to import the training data, you must specify an IAM service role that has permission to read from the data source, as Amazon Personalize makes a copy of your data and processes it internally. For information on granting access to your Amazon S3 bucket, see Giving Amazon Personalize Access to Amazon S3 Resources.
See https://www.paws-r-sdk.com/docs/personalize_create_dataset_import_job/ for full documentation.
Usage
personalize_create_dataset_import_job(
jobName,
datasetArn,
dataSource,
roleArn,
tags = NULL,
importMode = NULL,
publishAttributionMetricsToS3 = NULL
)
Arguments
jobName |
[required] The name for the dataset import job. |
datasetArn |
[required] The ARN of the dataset that receives the imported data. |
dataSource |
[required] The Amazon S3 bucket that contains the training data to import. |
roleArn |
[required] The ARN of the IAM role that has permissions to read from the Amazon S3 data source. |
tags |
A list of tags to apply to the dataset import job. |
importMode |
Specify how to add the new records to an existing dataset. The default
import mode is
|
publishAttributionMetricsToS3 |
If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3 |
Creates an event tracker that you use when adding event data to a specified dataset group using the PutEvents API
Description
Creates an event tracker that you use when adding event data to a specified dataset group using the PutEvents API.
See https://www.paws-r-sdk.com/docs/personalize_create_event_tracker/ for full documentation.
Usage
personalize_create_event_tracker(name, datasetGroupArn, tags = NULL)
Arguments
name |
[required] The name for the event tracker. |
datasetGroupArn |
[required] The Amazon Resource Name (ARN) of the dataset group that receives the event data. |
tags |
A list of tags to apply to the event tracker. |
Creates a recommendation filter
Description
Creates a recommendation filter. For more information, see Filtering recommendations and user segments.
See https://www.paws-r-sdk.com/docs/personalize_create_filter/ for full documentation.
Usage
personalize_create_filter(name, datasetGroupArn, filterExpression, tags = NULL)
Arguments
name |
[required] The name of the filter to create. |
datasetGroupArn |
[required] The ARN of the dataset group that the filter will belong to. |
filterExpression |
[required] The filter expression defines which items are included or excluded from recommendations. Filter expression must follow specific format rules. For information about filter expression structure and syntax, see Filter expressions. |
tags |
A list of tags to apply to the filter. |
Creates a metric attribution
Description
Creates a metric attribution. A metric attribution creates reports on the data that you import into Amazon Personalize. Depending on how you imported the data, you can view reports in Amazon CloudWatch or Amazon S3. For more information, see Measuring impact of recommendations.
See https://www.paws-r-sdk.com/docs/personalize_create_metric_attribution/ for full documentation.
Usage
personalize_create_metric_attribution(
name,
datasetGroupArn,
metrics,
metricsOutputConfig
)
Arguments
name |
[required] A name for the metric attribution. |
datasetGroupArn |
[required] The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution. |
metrics |
[required] A list of metric attributes for the metric attribution. Each metric
attribute specifies an event type to track and a function. Available
functions are |
metricsOutputConfig |
[required] The output configuration details for the metric attribution. |
Creates a recommender with the recipe (a Domain dataset group use case) you specify
Description
Creates a recommender with the recipe (a Domain dataset group use case) you specify. You create recommenders for a Domain dataset group and specify the recommender's Amazon Resource Name (ARN) when you make a GetRecommendations request.
See https://www.paws-r-sdk.com/docs/personalize_create_recommender/ for full documentation.
Usage
personalize_create_recommender(
name,
datasetGroupArn,
recipeArn,
recommenderConfig = NULL,
tags = NULL
)
Arguments
name |
[required] The name of the recommender. |
datasetGroupArn |
[required] The Amazon Resource Name (ARN) of the destination domain dataset group for the recommender. |
recipeArn |
[required] The Amazon Resource Name (ARN) of the recipe that the recommender will use. For a recommender, a recipe is a Domain dataset group use case. Only Domain dataset group use cases can be used to create a recommender. For information about use cases see Choosing recommender use cases. |
recommenderConfig |
The configuration details of the recommender. |
tags |
A list of tags to apply to the recommender. |
Creates an Amazon Personalize schema from the specified schema string
Description
Creates an Amazon Personalize schema from the specified schema string. The schema you create must be in Avro JSON format.
See https://www.paws-r-sdk.com/docs/personalize_create_schema/ for full documentation.
Usage
personalize_create_schema(name, schema, domain = NULL)
Arguments
name |
[required] The name for the schema. |
schema |
[required] A schema in Avro JSON format. |
domain |
The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify the domain you chose when you created the Domain dataset group. |
By default, all new solutions use automatic training
Description
By default, all new solutions use automatic training. With automatic training, you incur training costs while your solution is active. To avoid unnecessary costs, when you are finished you can update the solution to turn off automatic training. For information about training costs, see Amazon Personalize pricing.
See https://www.paws-r-sdk.com/docs/personalize_create_solution/ for full documentation.
Usage
personalize_create_solution(
name,
performHPO = NULL,
performAutoML = NULL,
performAutoTraining = NULL,
recipeArn = NULL,
datasetGroupArn,
eventType = NULL,
solutionConfig = NULL,
tags = NULL
)
Arguments
name |
[required] The name for the solution. |
performHPO |
Whether to perform hyperparameter optimization (HPO) on the specified or
selected recipe. The default is When performing AutoML, this parameter is always |
performAutoML |
We don't recommend enabling automated machine learning. Instead, match your use case to the available Amazon Personalize recipes. For more information, see Choosing a recipe. Whether to perform automated machine learning (AutoML). The default is
When set to |
performAutoTraining |
Whether the solution uses automatic training to create new solution
versions (trained models). The default is Automatic solution version creation starts within one hour after the solution is ACTIVE. If you manually create a solution version within the hour, the solution skips the first automatic training. After training starts, you can get the solution version's Amazon
Resource Name (ARN) with the
|
recipeArn |
The Amazon Resource Name (ARN) of the recipe to use for model training.
This is required when |
datasetGroupArn |
[required] The Amazon Resource Name (ARN) of the dataset group that provides the training data. |
eventType |
When your have multiple event types (using an If you do not provide an |
solutionConfig |
The configuration properties for the solution. When Amazon Personalize doesn't support configuring the |
tags |
A list of tags to apply to the solution. |
Trains or retrains an active solution in a Custom dataset group
Description
Trains or retrains an active solution in a Custom dataset group. A solution is created using the create_solution
operation and must be in the ACTIVE state before calling create_solution_version
. A new version of the solution is created every time you call this operation.
See https://www.paws-r-sdk.com/docs/personalize_create_solution_version/ for full documentation.
Usage
personalize_create_solution_version(
name = NULL,
solutionArn,
trainingMode = NULL,
tags = NULL
)
Arguments
name |
The name of the solution version. |
solutionArn |
[required] The Amazon Resource Name (ARN) of the solution containing the training configuration information. |
trainingMode |
The scope of training to be performed when creating the solution
version. The default is If you use
User-Personalization,
you can specify a training mode of The |
tags |
A list of tags to apply to the solution version. |
Removes a campaign by deleting the solution deployment
Description
Removes a campaign by deleting the solution deployment. The solution that the campaign is based on is not deleted and can be redeployed when needed. A deleted campaign can no longer be specified in a GetRecommendations request. For information on creating campaigns, see create_campaign
.
See https://www.paws-r-sdk.com/docs/personalize_delete_campaign/ for full documentation.
Usage
personalize_delete_campaign(campaignArn)
Arguments
campaignArn |
[required] The Amazon Resource Name (ARN) of the campaign to delete. |
Deletes a dataset
Description
Deletes a dataset. You can't delete a dataset if an associated DatasetImportJob
or SolutionVersion
is in the CREATE PENDING or IN PROGRESS state. For more information on datasets, see create_dataset
.
See https://www.paws-r-sdk.com/docs/personalize_delete_dataset/ for full documentation.
Usage
personalize_delete_dataset(datasetArn)
Arguments
datasetArn |
[required] The Amazon Resource Name (ARN) of the dataset to delete. |
Deletes a dataset group
Description
Deletes a dataset group. Before you delete a dataset group, you must delete the following:
See https://www.paws-r-sdk.com/docs/personalize_delete_dataset_group/ for full documentation.
Usage
personalize_delete_dataset_group(datasetGroupArn)
Arguments
datasetGroupArn |
[required] The ARN of the dataset group to delete. |
Deletes the event tracker
Description
Deletes the event tracker. Does not delete the dataset from the dataset group. For more information on event trackers, see create_event_tracker
.
See https://www.paws-r-sdk.com/docs/personalize_delete_event_tracker/ for full documentation.
Usage
personalize_delete_event_tracker(eventTrackerArn)
Arguments
eventTrackerArn |
[required] The Amazon Resource Name (ARN) of the event tracker to delete. |
Deletes a filter
Description
Deletes a filter.
See https://www.paws-r-sdk.com/docs/personalize_delete_filter/ for full documentation.
Usage
personalize_delete_filter(filterArn)
Arguments
filterArn |
[required] The ARN of the filter to delete. |
Deletes a metric attribution
Description
Deletes a metric attribution.
See https://www.paws-r-sdk.com/docs/personalize_delete_metric_attribution/ for full documentation.
Usage
personalize_delete_metric_attribution(metricAttributionArn)
Arguments
metricAttributionArn |
[required] The metric attribution's Amazon Resource Name (ARN). |
Deactivates and removes a recommender
Description
Deactivates and removes a recommender. A deleted recommender can no longer be specified in a GetRecommendations request.
See https://www.paws-r-sdk.com/docs/personalize_delete_recommender/ for full documentation.
Usage
personalize_delete_recommender(recommenderArn)
Arguments
recommenderArn |
[required] The Amazon Resource Name (ARN) of the recommender to delete. |
Deletes a schema
Description
Deletes a schema. Before deleting a schema, you must delete all datasets referencing the schema. For more information on schemas, see create_schema
.
See https://www.paws-r-sdk.com/docs/personalize_delete_schema/ for full documentation.
Usage
personalize_delete_schema(schemaArn)
Arguments
schemaArn |
[required] The Amazon Resource Name (ARN) of the schema to delete. |
Deletes all versions of a solution and the Solution object itself
Description
Deletes all versions of a solution and the Solution
object itself. Before deleting a solution, you must delete all campaigns based on the solution. To determine what campaigns are using the solution, call list_campaigns
and supply the Amazon Resource Name (ARN) of the solution. You can't delete a solution if an associated SolutionVersion
is in the CREATE PENDING or IN PROGRESS state. For more information on solutions, see create_solution
.
See https://www.paws-r-sdk.com/docs/personalize_delete_solution/ for full documentation.
Usage
personalize_delete_solution(solutionArn)
Arguments
solutionArn |
[required] The ARN of the solution to delete. |
Describes the given algorithm
Description
Describes the given algorithm.
See https://www.paws-r-sdk.com/docs/personalize_describe_algorithm/ for full documentation.
Usage
personalize_describe_algorithm(algorithmArn)
Arguments
algorithmArn |
[required] The Amazon Resource Name (ARN) of the algorithm to describe. |
Gets the properties of a batch inference job including name, Amazon Resource Name (ARN), status, input and output configurations, and the ARN of the solution version used to generate the recommendations
Description
Gets the properties of a batch inference job including name, Amazon Resource Name (ARN), status, input and output configurations, and the ARN of the solution version used to generate the recommendations.
See https://www.paws-r-sdk.com/docs/personalize_describe_batch_inference_job/ for full documentation.
Usage
personalize_describe_batch_inference_job(batchInferenceJobArn)
Arguments
batchInferenceJobArn |
[required] The ARN of the batch inference job to describe. |
Gets the properties of a batch segment job including name, Amazon Resource Name (ARN), status, input and output configurations, and the ARN of the solution version used to generate segments
Description
Gets the properties of a batch segment job including name, Amazon Resource Name (ARN), status, input and output configurations, and the ARN of the solution version used to generate segments.
See https://www.paws-r-sdk.com/docs/personalize_describe_batch_segment_job/ for full documentation.
Usage
personalize_describe_batch_segment_job(batchSegmentJobArn)
Arguments
batchSegmentJobArn |
[required] The ARN of the batch segment job to describe. |
Describes the given campaign, including its status
Description
Describes the given campaign, including its status.
See https://www.paws-r-sdk.com/docs/personalize_describe_campaign/ for full documentation.
Usage
personalize_describe_campaign(campaignArn)
Arguments
campaignArn |
[required] The Amazon Resource Name (ARN) of the campaign. |
Describes the data deletion job created by CreateDataDeletionJob, including the job status
Description
Describes the data deletion job created by create_data_deletion_job
, including the job status.
See https://www.paws-r-sdk.com/docs/personalize_describe_data_deletion_job/ for full documentation.
Usage
personalize_describe_data_deletion_job(dataDeletionJobArn)
Arguments
dataDeletionJobArn |
[required] The Amazon Resource Name (ARN) of the data deletion job. |
Describes the given dataset
Description
Describes the given dataset. For more information on datasets, see create_dataset
.
See https://www.paws-r-sdk.com/docs/personalize_describe_dataset/ for full documentation.
Usage
personalize_describe_dataset(datasetArn)
Arguments
datasetArn |
[required] The Amazon Resource Name (ARN) of the dataset to describe. |
Describes the dataset export job created by CreateDatasetExportJob, including the export job status
Description
Describes the dataset export job created by create_dataset_export_job
, including the export job status.
See https://www.paws-r-sdk.com/docs/personalize_describe_dataset_export_job/ for full documentation.
Usage
personalize_describe_dataset_export_job(datasetExportJobArn)
Arguments
datasetExportJobArn |
[required] The Amazon Resource Name (ARN) of the dataset export job to describe. |
Describes the given dataset group
Description
Describes the given dataset group. For more information on dataset groups, see create_dataset_group
.
See https://www.paws-r-sdk.com/docs/personalize_describe_dataset_group/ for full documentation.
Usage
personalize_describe_dataset_group(datasetGroupArn)
Arguments
datasetGroupArn |
[required] The Amazon Resource Name (ARN) of the dataset group to describe. |
Describes the dataset import job created by CreateDatasetImportJob, including the import job status
Description
Describes the dataset import job created by create_dataset_import_job
, including the import job status.
See https://www.paws-r-sdk.com/docs/personalize_describe_dataset_import_job/ for full documentation.
Usage
personalize_describe_dataset_import_job(datasetImportJobArn)
Arguments
datasetImportJobArn |
[required] The Amazon Resource Name (ARN) of the dataset import job to describe. |
Describes an event tracker
Description
Describes an event tracker. The response includes the trackingId
and status
of the event tracker. For more information on event trackers, see create_event_tracker
.
See https://www.paws-r-sdk.com/docs/personalize_describe_event_tracker/ for full documentation.
Usage
personalize_describe_event_tracker(eventTrackerArn)
Arguments
eventTrackerArn |
[required] The Amazon Resource Name (ARN) of the event tracker to describe. |
Describes the given feature transformation
Description
Describes the given feature transformation.
See https://www.paws-r-sdk.com/docs/personalize_describe_feature_transformation/ for full documentation.
Usage
personalize_describe_feature_transformation(featureTransformationArn)
Arguments
featureTransformationArn |
[required] The Amazon Resource Name (ARN) of the feature transformation to describe. |
Describes a filter's properties
Description
Describes a filter's properties.
See https://www.paws-r-sdk.com/docs/personalize_describe_filter/ for full documentation.
Usage
personalize_describe_filter(filterArn)
Arguments
filterArn |
[required] The ARN of the filter to describe. |
Describes a metric attribution
Description
Describes a metric attribution.
See https://www.paws-r-sdk.com/docs/personalize_describe_metric_attribution/ for full documentation.
Usage
personalize_describe_metric_attribution(metricAttributionArn)
Arguments
metricAttributionArn |
[required] The metric attribution's Amazon Resource Name (ARN). |
Describes a recipe
Description
Describes a recipe.
See https://www.paws-r-sdk.com/docs/personalize_describe_recipe/ for full documentation.
Usage
personalize_describe_recipe(recipeArn)
Arguments
recipeArn |
[required] The Amazon Resource Name (ARN) of the recipe to describe. |
Describes the given recommender, including its status
Description
Describes the given recommender, including its status.
See https://www.paws-r-sdk.com/docs/personalize_describe_recommender/ for full documentation.
Usage
personalize_describe_recommender(recommenderArn)
Arguments
recommenderArn |
[required] The Amazon Resource Name (ARN) of the recommender to describe. |
Describes a schema
Description
Describes a schema. For more information on schemas, see create_schema
.
See https://www.paws-r-sdk.com/docs/personalize_describe_schema/ for full documentation.
Usage
personalize_describe_schema(schemaArn)
Arguments
schemaArn |
[required] The Amazon Resource Name (ARN) of the schema to retrieve. |
Describes a solution
Description
Describes a solution. For more information on solutions, see create_solution
.
See https://www.paws-r-sdk.com/docs/personalize_describe_solution/ for full documentation.
Usage
personalize_describe_solution(solutionArn)
Arguments
solutionArn |
[required] The Amazon Resource Name (ARN) of the solution to describe. |
Describes a specific version of a solution
Description
Describes a specific version of a solution. For more information on solutions, see create_solution
See https://www.paws-r-sdk.com/docs/personalize_describe_solution_version/ for full documentation.
Usage
personalize_describe_solution_version(solutionVersionArn)
Arguments
solutionVersionArn |
[required] The Amazon Resource Name (ARN) of the solution version. |
Gets the metrics for the specified solution version
Description
Gets the metrics for the specified solution version.
See https://www.paws-r-sdk.com/docs/personalize_get_solution_metrics/ for full documentation.
Usage
personalize_get_solution_metrics(solutionVersionArn)
Arguments
solutionVersionArn |
[required] The Amazon Resource Name (ARN) of the solution version for which to get metrics. |
Gets a list of the batch inference jobs that have been performed off of a solution version
Description
Gets a list of the batch inference jobs that have been performed off of a solution version.
See https://www.paws-r-sdk.com/docs/personalize_list_batch_inference_jobs/ for full documentation.
Usage
personalize_list_batch_inference_jobs(
solutionVersionArn = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
solutionVersionArn |
The Amazon Resource Name (ARN) of the solution version from which the batch inference jobs were created. |
nextToken |
The token to request the next page of results. |
maxResults |
The maximum number of batch inference job results to return in each page. The default value is 100. |
Gets a list of the batch segment jobs that have been performed off of a solution version that you specify
Description
Gets a list of the batch segment jobs that have been performed off of a solution version that you specify.
See https://www.paws-r-sdk.com/docs/personalize_list_batch_segment_jobs/ for full documentation.
Usage
personalize_list_batch_segment_jobs(
solutionVersionArn = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
solutionVersionArn |
The Amazon Resource Name (ARN) of the solution version that the batch segment jobs used to generate batch segments. |
nextToken |
The token to request the next page of results. |
maxResults |
The maximum number of batch segment job results to return in each page. The default value is 100. |
Returns a list of campaigns that use the given solution
Description
Returns a list of campaigns that use the given solution. When a solution is not specified, all the campaigns associated with the account are listed. The response provides the properties for each campaign, including the Amazon Resource Name (ARN). For more information on campaigns, see create_campaign
.
See https://www.paws-r-sdk.com/docs/personalize_list_campaigns/ for full documentation.
Usage
personalize_list_campaigns(
solutionArn = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
solutionArn |
The Amazon Resource Name (ARN) of the solution to list the campaigns for. When a solution is not specified, all the campaigns associated with the account are listed. |
nextToken |
A token returned from the previous call to
|
maxResults |
The maximum number of campaigns to return. |
Returns a list of data deletion jobs for a dataset group ordered by creation time, with the most recent first
Description
Returns a list of data deletion jobs for a dataset group ordered by creation time, with the most recent first. When a dataset group is not specified, all the data deletion jobs associated with the account are listed. The response provides the properties for each job, including the Amazon Resource Name (ARN). For more information on data deletion jobs, see Deleting users.
See https://www.paws-r-sdk.com/docs/personalize_list_data_deletion_jobs/ for full documentation.
Usage
personalize_list_data_deletion_jobs(
datasetGroupArn = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
datasetGroupArn |
The Amazon Resource Name (ARN) of the dataset group to list data deletion jobs for. |
nextToken |
A token returned from the previous call to
|
maxResults |
The maximum number of data deletion jobs to return. |
Returns a list of dataset export jobs that use the given dataset
Description
Returns a list of dataset export jobs that use the given dataset. When a dataset is not specified, all the dataset export jobs associated with the account are listed. The response provides the properties for each dataset export job, including the Amazon Resource Name (ARN). For more information on dataset export jobs, see create_dataset_export_job
. For more information on datasets, see create_dataset
.
See https://www.paws-r-sdk.com/docs/personalize_list_dataset_export_jobs/ for full documentation.
Usage
personalize_list_dataset_export_jobs(
datasetArn = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
datasetArn |
The Amazon Resource Name (ARN) of the dataset to list the dataset export jobs for. |
nextToken |
A token returned from the previous call to
|
maxResults |
The maximum number of dataset export jobs to return. |
Returns a list of dataset groups
Description
Returns a list of dataset groups. The response provides the properties for each dataset group, including the Amazon Resource Name (ARN). For more information on dataset groups, see create_dataset_group
.
See https://www.paws-r-sdk.com/docs/personalize_list_dataset_groups/ for full documentation.
Usage
personalize_list_dataset_groups(nextToken = NULL, maxResults = NULL)
Arguments
nextToken |
A token returned from the previous call to
|
maxResults |
The maximum number of dataset groups to return. |
Returns a list of dataset import jobs that use the given dataset
Description
Returns a list of dataset import jobs that use the given dataset. When a dataset is not specified, all the dataset import jobs associated with the account are listed. The response provides the properties for each dataset import job, including the Amazon Resource Name (ARN). For more information on dataset import jobs, see create_dataset_import_job
. For more information on datasets, see create_dataset
.
See https://www.paws-r-sdk.com/docs/personalize_list_dataset_import_jobs/ for full documentation.
Usage
personalize_list_dataset_import_jobs(
datasetArn = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
datasetArn |
The Amazon Resource Name (ARN) of the dataset to list the dataset import jobs for. |
nextToken |
A token returned from the previous call to
|
maxResults |
The maximum number of dataset import jobs to return. |
Returns the list of datasets contained in the given dataset group
Description
Returns the list of datasets contained in the given dataset group. The response provides the properties for each dataset, including the Amazon Resource Name (ARN). For more information on datasets, see create_dataset
.
See https://www.paws-r-sdk.com/docs/personalize_list_datasets/ for full documentation.
Usage
personalize_list_datasets(
datasetGroupArn = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
datasetGroupArn |
The Amazon Resource Name (ARN) of the dataset group that contains the datasets to list. |
nextToken |
A token returned from the previous call to
|
maxResults |
The maximum number of datasets to return. |
Returns the list of event trackers associated with the account
Description
Returns the list of event trackers associated with the account. The response provides the properties for each event tracker, including the Amazon Resource Name (ARN) and tracking ID. For more information on event trackers, see create_event_tracker
.
See https://www.paws-r-sdk.com/docs/personalize_list_event_trackers/ for full documentation.
Usage
personalize_list_event_trackers(
datasetGroupArn = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
datasetGroupArn |
The ARN of a dataset group used to filter the response. |
nextToken |
A token returned from the previous call to
|
maxResults |
The maximum number of event trackers to return. |
Lists all filters that belong to a given dataset group
Description
Lists all filters that belong to a given dataset group.
See https://www.paws-r-sdk.com/docs/personalize_list_filters/ for full documentation.
Usage
personalize_list_filters(
datasetGroupArn = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
datasetGroupArn |
The ARN of the dataset group that contains the filters. |
nextToken |
A token returned from the previous call to
|
maxResults |
The maximum number of filters to return. |
Lists the metrics for the metric attribution
Description
Lists the metrics for the metric attribution.
See https://www.paws-r-sdk.com/docs/personalize_list_metric_attribution_metrics/ for full documentation.
Usage
personalize_list_metric_attribution_metrics(
metricAttributionArn = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
metricAttributionArn |
The Amazon Resource Name (ARN) of the metric attribution to retrieve attributes for. |
nextToken |
Specify the pagination token from a previous request to retrieve the next page of results. |
maxResults |
The maximum number of metrics to return in one page of results. |
Lists metric attributions
Description
Lists metric attributions.
See https://www.paws-r-sdk.com/docs/personalize_list_metric_attributions/ for full documentation.
Usage
personalize_list_metric_attributions(
datasetGroupArn = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
datasetGroupArn |
The metric attributions' dataset group Amazon Resource Name (ARN). |
nextToken |
Specify the pagination token from a previous request to retrieve the next page of results. |
maxResults |
The maximum number of metric attributions to return in one page of results. |
Returns a list of available recipes
Description
Returns a list of available recipes. The response provides the properties for each recipe, including the recipe's Amazon Resource Name (ARN).
See https://www.paws-r-sdk.com/docs/personalize_list_recipes/ for full documentation.
Usage
personalize_list_recipes(
recipeProvider = NULL,
nextToken = NULL,
maxResults = NULL,
domain = NULL
)
Arguments
recipeProvider |
The default is |
nextToken |
A token returned from the previous call to
|
maxResults |
The maximum number of recipes to return. |
domain |
Filters returned recipes by domain for a Domain dataset group. Only recipes (Domain dataset group use cases) for this domain are included in the response. If you don't specify a domain, all recipes are returned. |
Returns a list of recommenders in a given Domain dataset group
Description
Returns a list of recommenders in a given Domain dataset group. When a Domain dataset group is not specified, all the recommenders associated with the account are listed. The response provides the properties for each recommender, including the Amazon Resource Name (ARN). For more information on recommenders, see create_recommender
.
See https://www.paws-r-sdk.com/docs/personalize_list_recommenders/ for full documentation.
Usage
personalize_list_recommenders(
datasetGroupArn = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
datasetGroupArn |
The Amazon Resource Name (ARN) of the Domain dataset group to list the recommenders for. When a Domain dataset group is not specified, all the recommenders associated with the account are listed. |
nextToken |
A token returned from the previous call to
|
maxResults |
The maximum number of recommenders to return. |
Returns the list of schemas associated with the account
Description
Returns the list of schemas associated with the account. The response provides the properties for each schema, including the Amazon Resource Name (ARN). For more information on schemas, see create_schema
.
See https://www.paws-r-sdk.com/docs/personalize_list_schemas/ for full documentation.
Usage
personalize_list_schemas(nextToken = NULL, maxResults = NULL)
Arguments
nextToken |
A token returned from the previous call to
|
maxResults |
The maximum number of schemas to return. |
Returns a list of solution versions for the given solution
Description
Returns a list of solution versions for the given solution. When a solution is not specified, all the solution versions associated with the account are listed. The response provides the properties for each solution version, including the Amazon Resource Name (ARN).
See https://www.paws-r-sdk.com/docs/personalize_list_solution_versions/ for full documentation.
Usage
personalize_list_solution_versions(
solutionArn = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
solutionArn |
The Amazon Resource Name (ARN) of the solution. |
nextToken |
A token returned from the previous call to
|
maxResults |
The maximum number of solution versions to return. |
Returns a list of solutions in a given dataset group
Description
Returns a list of solutions in a given dataset group. When a dataset group is not specified, all the solutions associated with the account are listed. The response provides the properties for each solution, including the Amazon Resource Name (ARN). For more information on solutions, see create_solution
.
See https://www.paws-r-sdk.com/docs/personalize_list_solutions/ for full documentation.
Usage
personalize_list_solutions(
datasetGroupArn = NULL,
nextToken = NULL,
maxResults = NULL
)
Arguments
datasetGroupArn |
The Amazon Resource Name (ARN) of the dataset group. |
nextToken |
A token returned from the previous call to
|
maxResults |
The maximum number of solutions to return. |
Get a list of tags attached to a resource
Description
Get a list of tags attached to a resource.
See https://www.paws-r-sdk.com/docs/personalize_list_tags_for_resource/ for full documentation.
Usage
personalize_list_tags_for_resource(resourceArn)
Arguments
resourceArn |
[required] The resource's Amazon Resource Name (ARN). |
Starts a recommender that is INACTIVE
Description
Starts a recommender that is INACTIVE. Starting a recommender does not create any new models, but resumes billing and automatic retraining for the recommender.
See https://www.paws-r-sdk.com/docs/personalize_start_recommender/ for full documentation.
Usage
personalize_start_recommender(recommenderArn)
Arguments
recommenderArn |
[required] The Amazon Resource Name (ARN) of the recommender to start. |
Stops a recommender that is ACTIVE
Description
Stops a recommender that is ACTIVE. Stopping a recommender halts billing and automatic retraining for the recommender.
See https://www.paws-r-sdk.com/docs/personalize_stop_recommender/ for full documentation.
Usage
personalize_stop_recommender(recommenderArn)
Arguments
recommenderArn |
[required] The Amazon Resource Name (ARN) of the recommender to stop. |
Stops creating a solution version that is in a state of CREATE_PENDING or CREATE IN_PROGRESS
Description
Stops creating a solution version that is in a state of CREATE_PENDING or CREATE IN_PROGRESS.
See https://www.paws-r-sdk.com/docs/personalize_stop_solution_version_creation/ for full documentation.
Usage
personalize_stop_solution_version_creation(solutionVersionArn)
Arguments
solutionVersionArn |
[required] The Amazon Resource Name (ARN) of the solution version you want to stop creating. |
Add a list of tags to a resource
Description
Add a list of tags to a resource.
See https://www.paws-r-sdk.com/docs/personalize_tag_resource/ for full documentation.
Usage
personalize_tag_resource(resourceArn, tags)
Arguments
resourceArn |
[required] The resource's Amazon Resource Name (ARN). |
tags |
[required] Tags to apply to the resource. For more information see Tagging Amazon Personalize resources. |
Removes the specified tags that are attached to a resource
Description
Removes the specified tags that are attached to a resource. For more information, see Removing tags from Amazon Personalize resources.
See https://www.paws-r-sdk.com/docs/personalize_untag_resource/ for full documentation.
Usage
personalize_untag_resource(resourceArn, tagKeys)
Arguments
resourceArn |
[required] The resource's Amazon Resource Name (ARN). |
tagKeys |
[required] The keys of the tags to be removed. |
Updates a campaign to deploy a retrained solution version with an existing campaign, change your campaign's minProvisionedTPS, or modify your campaign's configuration
Description
Updates a campaign to deploy a retrained solution version with an existing campaign, change your campaign's minProvisionedTPS
, or modify your campaign's configuration. For example, you can set enableMetadataWithRecommendations
to true for an existing campaign.
See https://www.paws-r-sdk.com/docs/personalize_update_campaign/ for full documentation.
Usage
personalize_update_campaign(
campaignArn,
solutionVersionArn = NULL,
minProvisionedTPS = NULL,
campaignConfig = NULL
)
Arguments
campaignArn |
[required] The Amazon Resource Name (ARN) of the campaign. |
solutionVersionArn |
The Amazon Resource Name (ARN) of a new model to deploy. To specify the
latest solution version of your solution, specify the ARN of your
solution in To deploy a model that isn't the latest solution version of your solution, specify the ARN of the solution version. For more information about automatic campaign updates, see Enabling automatic campaign updates. |
minProvisionedTPS |
Specifies the requested minimum provisioned transactions
(recommendations) per second that Amazon Personalize will support. A
high |
campaignConfig |
The configuration details of a campaign. |
Update a dataset to replace its schema with a new or existing one
Description
Update a dataset to replace its schema with a new or existing one. For more information, see Replacing a dataset's schema.
See https://www.paws-r-sdk.com/docs/personalize_update_dataset/ for full documentation.
Usage
personalize_update_dataset(datasetArn, schemaArn)
Arguments
datasetArn |
[required] The Amazon Resource Name (ARN) of the dataset that you want to update. |
schemaArn |
[required] The Amazon Resource Name (ARN) of the new schema you want use. |
Updates a metric attribution
Description
Updates a metric attribution.
See https://www.paws-r-sdk.com/docs/personalize_update_metric_attribution/ for full documentation.
Usage
personalize_update_metric_attribution(
addMetrics = NULL,
removeMetrics = NULL,
metricsOutputConfig = NULL,
metricAttributionArn = NULL
)
Arguments
addMetrics |
Add new metric attributes to the metric attribution. |
removeMetrics |
Remove metric attributes from the metric attribution. |
metricsOutputConfig |
An output config for the metric attribution. |
metricAttributionArn |
The Amazon Resource Name (ARN) for the metric attribution to update. |
Updates the recommender to modify the recommender configuration
Description
Updates the recommender to modify the recommender configuration. If you update the recommender to modify the columns used in training, Amazon Personalize automatically starts a full retraining of the models backing your recommender. While the update completes, you can still get recommendations from the recommender. The recommender uses the previous configuration until the update completes. To track the status of this update, use the latestRecommenderUpdate
returned in the describe_recommender
operation.
See https://www.paws-r-sdk.com/docs/personalize_update_recommender/ for full documentation.
Usage
personalize_update_recommender(recommenderArn, recommenderConfig)
Arguments
recommenderArn |
[required] The Amazon Resource Name (ARN) of the recommender to modify. |
recommenderConfig |
[required] The configuration details of the recommender. |
Updates an Amazon Personalize solution to use a different automatic training configuration
Description
Updates an Amazon Personalize solution to use a different automatic training configuration. When you update a solution, you can change whether the solution uses automatic training, and you can change the training frequency. For more information about updating a solution, see Updating a solution.
See https://www.paws-r-sdk.com/docs/personalize_update_solution/ for full documentation.
Usage
personalize_update_solution(
solutionArn,
performAutoTraining = NULL,
solutionUpdateConfig = NULL
)
Arguments
solutionArn |
[required] The Amazon Resource Name (ARN) of the solution to update. |
performAutoTraining |
Whether the solution uses automatic training to create new solution
versions (trained models). You can change the training frequency by
specifying a If you turn on automatic training, the first automatic training starts within one hour after the solution update completes. If you manually create a solution version within the hour, the solution skips the first automatic training. For more information about automatic training, see Configuring automatic training. After training starts, you can get the solution version's Amazon
Resource Name (ARN) with the
|
solutionUpdateConfig |
The new configuration details of the solution. |
Amazon Personalize Events
Description
Amazon Personalize can consume real-time user event data, such as stream or click data, and use it for model training either alone or combined with historical data. For more information see Recording item interaction events.
Usage
personalizeevents(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- personalizeevents( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
put_action_interactions | Records action interaction event data |
put_actions | Adds one or more actions to an Actions dataset |
put_events | Records item interaction event data |
put_items | Adds one or more items to an Items dataset |
put_users | Adds one or more users to a Users dataset |
Examples
## Not run:
svc <- personalizeevents()
svc$put_action_interactions(
Foo = 123
)
## End(Not run)
Records action interaction event data
Description
Records action interaction event data. An action interaction event is an interaction between a user and an action. For example, a user taking an action, such a enrolling in a membership program or downloading your app.
See https://www.paws-r-sdk.com/docs/personalizeevents_put_action_interactions/ for full documentation.
Usage
personalizeevents_put_action_interactions(trackingId, actionInteractions)
Arguments
trackingId |
[required] The ID of your action interaction event tracker. When you create an Action interactions dataset, Amazon Personalize creates an action interaction event tracker for you. For more information, see Action interaction event tracker ID. |
actionInteractions |
[required] A list of action interaction events from the session. |
Adds one or more actions to an Actions dataset
Description
Adds one or more actions to an Actions dataset. For more information see Importing actions individually.
See https://www.paws-r-sdk.com/docs/personalizeevents_put_actions/ for full documentation.
Usage
personalizeevents_put_actions(datasetArn, actions)
Arguments
datasetArn |
[required] The Amazon Resource Name (ARN) of the Actions dataset you are adding the action or actions to. |
actions |
[required] A list of action data. |
Records item interaction event data
Description
Records item interaction event data. For more information see Recording item interaction events.
See https://www.paws-r-sdk.com/docs/personalizeevents_put_events/ for full documentation.
Usage
personalizeevents_put_events(trackingId, userId = NULL, sessionId, eventList)
Arguments
trackingId |
[required] The tracking ID for the event. The ID is generated by a call to the CreateEventTracker API. |
userId |
The user associated with the event. |
sessionId |
[required] The session ID associated with the user's visit. Your application generates the sessionId when a user first visits your website or uses your application. Amazon Personalize uses the sessionId to associate events with the user before they log in. For more information, see Recording item interaction events. |
eventList |
[required] A list of event data from the session. |
Adds one or more items to an Items dataset
Description
Adds one or more items to an Items dataset. For more information see Importing items individually.
See https://www.paws-r-sdk.com/docs/personalizeevents_put_items/ for full documentation.
Usage
personalizeevents_put_items(datasetArn, items)
Arguments
datasetArn |
[required] The Amazon Resource Name (ARN) of the Items dataset you are adding the item or items to. |
items |
[required] A list of item data. |
Adds one or more users to a Users dataset
Description
Adds one or more users to a Users dataset. For more information see Importing users individually.
See https://www.paws-r-sdk.com/docs/personalizeevents_put_users/ for full documentation.
Usage
personalizeevents_put_users(datasetArn, users)
Arguments
datasetArn |
[required] The Amazon Resource Name (ARN) of the Users dataset you are adding the user or users to. |
users |
[required] A list of user data. |
Amazon Personalize Runtime
Description
Amazon Personalize Runtime
Usage
personalizeruntime(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- personalizeruntime( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
get_action_recommendations | Returns a list of recommended actions in sorted in descending order by prediction score |
get_personalized_ranking | Re-ranks a list of recommended items for the given user |
get_recommendations | Returns a list of recommended items |
Examples
## Not run:
svc <- personalizeruntime()
svc$get_action_recommendations(
Foo = 123
)
## End(Not run)
Returns a list of recommended actions in sorted in descending order by prediction score
Description
Returns a list of recommended actions in sorted in descending order by prediction score. Use the get_action_recommendations
API if you have a custom campaign that deploys a solution version trained with a PERSONALIZED_ACTIONS recipe.
See https://www.paws-r-sdk.com/docs/personalizeruntime_get_action_recommendations/ for full documentation.
Usage
personalizeruntime_get_action_recommendations(
campaignArn = NULL,
userId = NULL,
numResults = NULL,
filterArn = NULL,
filterValues = NULL
)
Arguments
campaignArn |
The Amazon Resource Name (ARN) of the campaign to use for getting action recommendations. This campaign must deploy a solution version trained with a PERSONALIZED_ACTIONS recipe. |
userId |
The user ID of the user to provide action recommendations for. |
numResults |
The number of results to return. The default is 5. The maximum is 100. |
filterArn |
The ARN of the filter to apply to the returned recommendations. For more information, see Filtering Recommendations. When using this parameter, be sure the filter resource is |
filterValues |
The values to use when filtering recommendations. For each placeholder parameter in your filter expression, provide the parameter name (in matching case) as a key and the filter value(s) as the corresponding value. Separate multiple values for one parameter with a comma. For filter expressions that use an For more information, see Filtering recommendations and user segments. |
Re-ranks a list of recommended items for the given user
Description
Re-ranks a list of recommended items for the given user. The first item in the list is deemed the most likely item to be of interest to the user.
See https://www.paws-r-sdk.com/docs/personalizeruntime_get_personalized_ranking/ for full documentation.
Usage
personalizeruntime_get_personalized_ranking(
campaignArn,
inputList,
userId,
context = NULL,
filterArn = NULL,
filterValues = NULL,
metadataColumns = NULL
)
Arguments
campaignArn |
[required] The Amazon Resource Name (ARN) of the campaign to use for generating the personalized ranking. |
inputList |
[required] A list of items (by |
userId |
[required] The user for which you want the campaign to provide a personalized ranking. |
context |
The contextual metadata to use when getting recommendations. Contextual metadata includes any interaction information that might be relevant when getting a user's recommendations, such as the user's current location or device type. |
filterArn |
The Amazon Resource Name (ARN) of a filter you created to include items or exclude items from recommendations for a given user. For more information, see Filtering Recommendations. |
filterValues |
The values to use when filtering recommendations. For each placeholder parameter in your filter expression, provide the parameter name (in matching case) as a key and the filter value(s) as the corresponding value. Separate multiple values for one parameter with a comma. For filter expressions that use an For more information, see Filtering Recommendations. |
metadataColumns |
If you enabled metadata in recommendations when you created or updated
the campaign, specify metadata columns from your Items dataset to
include in the personalized ranking. The map key is For information about enabling metadata for a campaign, see Enabling metadata in recommendations for a campaign. |
Returns a list of recommended items
Description
Returns a list of recommended items. For campaigns, the campaign's Amazon Resource Name (ARN) is required and the required user and item input depends on the recipe type used to create the solution backing the campaign as follows:
See https://www.paws-r-sdk.com/docs/personalizeruntime_get_recommendations/ for full documentation.
Usage
personalizeruntime_get_recommendations(
campaignArn = NULL,
itemId = NULL,
userId = NULL,
numResults = NULL,
context = NULL,
filterArn = NULL,
filterValues = NULL,
recommenderArn = NULL,
promotions = NULL,
metadataColumns = NULL
)
Arguments
campaignArn |
The Amazon Resource Name (ARN) of the campaign to use for getting recommendations. |
itemId |
The item ID to provide recommendations for. Required for |
userId |
The user ID to provide recommendations for. Required for |
numResults |
The number of results to return. The default is 25. If you are including metadata in recommendations, the maximum is 50. Otherwise, the maximum is 500. |
context |
The contextual metadata to use when getting recommendations. Contextual metadata includes any interaction information that might be relevant when getting a user's recommendations, such as the user's current location or device type. |
filterArn |
The ARN of the filter to apply to the returned recommendations. For more information, see Filtering Recommendations. When using this parameter, be sure the filter resource is |
filterValues |
The values to use when filtering recommendations. For each placeholder parameter in your filter expression, provide the parameter name (in matching case) as a key and the filter value(s) as the corresponding value. Separate multiple values for one parameter with a comma. For filter expressions that use an For more information, see Filtering recommendations and user segments. |
recommenderArn |
The Amazon Resource Name (ARN) of the recommender to use to get recommendations. Provide a recommender ARN if you created a Domain dataset group with a recommender for a domain use case. |
promotions |
The promotions to apply to the recommendation request. A promotion defines additional business rules that apply to a configurable subset of recommended items. |
metadataColumns |
If you enabled metadata in recommendations when you created or updated
the campaign or recommender, specify the metadata columns from your
Items dataset to include in item recommendations. The map key is For information about enabling metadata for a campaign, see Enabling metadata in recommendations for a campaign. For information about enabling metadata for a recommender, see Enabling metadata in recommendations for a recommender. |
Amazon Polly
Description
Amazon Polly is a web service that makes it easy to synthesize speech from text.
The Amazon Polly service provides API operations for synthesizing high-quality speech from plain text and Speech Synthesis Markup Language (SSML), along with managing pronunciations lexicons that enable you to get the best results for your application domain.
Usage
polly(config = list(), credentials = list(), endpoint = NULL, region = NULL)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- polly( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
delete_lexicon | Deletes the specified pronunciation lexicon stored in an Amazon Web Services Region |
describe_voices | Returns the list of voices that are available for use when requesting speech synthesis |
get_lexicon | Returns the content of the specified pronunciation lexicon stored in an Amazon Web Services Region |
get_speech_synthesis_task | Retrieves a specific SpeechSynthesisTask object based on its TaskID |
list_lexicons | Returns a list of pronunciation lexicons stored in an Amazon Web Services Region |
list_speech_synthesis_tasks | Returns a list of SpeechSynthesisTask objects ordered by their creation date |
put_lexicon | Stores a pronunciation lexicon in an Amazon Web Services Region |
start_speech_synthesis_task | Allows the creation of an asynchronous synthesis task, by starting a new SpeechSynthesisTask |
synthesize_speech | Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes |
Examples
## Not run:
svc <- polly()
# Deletes a specified pronunciation lexicon stored in an AWS Region.
svc$delete_lexicon(
Name = "example"
)
## End(Not run)
Deletes the specified pronunciation lexicon stored in an Amazon Web Services Region
Description
Deletes the specified pronunciation lexicon stored in an Amazon Web Services Region. A lexicon which has been deleted is not available for speech synthesis, nor is it possible to retrieve it using either the get_lexicon
or ListLexicon
APIs.
See https://www.paws-r-sdk.com/docs/polly_delete_lexicon/ for full documentation.
Usage
polly_delete_lexicon(Name)
Arguments
Name |
[required] The name of the lexicon to delete. Must be an existing lexicon in the region. |
Returns the list of voices that are available for use when requesting speech synthesis
Description
Returns the list of voices that are available for use when requesting speech synthesis. Each voice speaks a specified language, is either male or female, and is identified by an ID, which is the ASCII version of the voice name.
See https://www.paws-r-sdk.com/docs/polly_describe_voices/ for full documentation.
Usage
polly_describe_voices(
Engine = NULL,
LanguageCode = NULL,
IncludeAdditionalLanguageCodes = NULL,
NextToken = NULL
)
Arguments
Engine |
Specifies the engine ( |
LanguageCode |
The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list of voices returned. If you don't specify this optional parameter, all available voices are returned. |
IncludeAdditionalLanguageCodes |
Boolean value indicating whether to return any bilingual voices that use
the specified language as an additional language. For instance, if you
request all languages that use US English (es-US), and there is an
Italian voice that speaks both Italian (it-IT) and US English, that
voice will be included if you specify |
NextToken |
An opaque pagination token returned from the previous
|
Returns the content of the specified pronunciation lexicon stored in an Amazon Web Services Region
Description
Returns the content of the specified pronunciation lexicon stored in an Amazon Web Services Region. For more information, see Managing Lexicons.
See https://www.paws-r-sdk.com/docs/polly_get_lexicon/ for full documentation.
Usage
polly_get_lexicon(Name)
Arguments
Name |
[required] Name of the lexicon. |
Retrieves a specific SpeechSynthesisTask object based on its TaskID
Description
Retrieves a specific SpeechSynthesisTask object based on its TaskID. This object contains information about the given speech synthesis task, including the status of the task, and a link to the S3 bucket containing the output of the task.
See https://www.paws-r-sdk.com/docs/polly_get_speech_synthesis_task/ for full documentation.
Usage
polly_get_speech_synthesis_task(TaskId)
Arguments
TaskId |
[required] The Amazon Polly generated identifier for a speech synthesis task. |
Returns a list of pronunciation lexicons stored in an Amazon Web Services Region
Description
Returns a list of pronunciation lexicons stored in an Amazon Web Services Region. For more information, see Managing Lexicons.
See https://www.paws-r-sdk.com/docs/polly_list_lexicons/ for full documentation.
Usage
polly_list_lexicons(NextToken = NULL)
Arguments
NextToken |
An opaque pagination token returned from previous
|
Returns a list of SpeechSynthesisTask objects ordered by their creation date
Description
Returns a list of SpeechSynthesisTask objects ordered by their creation date. This operation can filter the tasks by their status, for example, allowing users to list only tasks that are completed.
See https://www.paws-r-sdk.com/docs/polly_list_speech_synthesis_tasks/ for full documentation.
Usage
polly_list_speech_synthesis_tasks(
MaxResults = NULL,
NextToken = NULL,
Status = NULL
)
Arguments
MaxResults |
Maximum number of speech synthesis tasks returned in a List operation. |
NextToken |
The pagination token to use in the next request to continue the listing of speech synthesis tasks. |
Status |
Status of the speech synthesis tasks returned in a List operation |
Stores a pronunciation lexicon in an Amazon Web Services Region
Description
Stores a pronunciation lexicon in an Amazon Web Services Region. If a lexicon with the same name already exists in the region, it is overwritten by the new lexicon. Lexicon operations have eventual consistency, therefore, it might take some time before the lexicon is available to the SynthesizeSpeech operation.
See https://www.paws-r-sdk.com/docs/polly_put_lexicon/ for full documentation.
Usage
polly_put_lexicon(Name, Content)
Arguments
Name |
[required] Name of the lexicon. The name must follow the regular express format [0-9A-Za-z]{1,20}. That is, the name is a case-sensitive alphanumeric string up to 20 characters long. |
Content |
[required] Content of the PLS lexicon as string data. |
Allows the creation of an asynchronous synthesis task, by starting a new SpeechSynthesisTask
Description
Allows the creation of an asynchronous synthesis task, by starting a new SpeechSynthesisTask
. This operation requires all the standard information needed for speech synthesis, plus the name of an Amazon S3 bucket for the service to store the output of the synthesis task and two optional parameters (OutputS3KeyPrefix
and SnsTopicArn
). Once the synthesis task is created, this operation will return a SpeechSynthesisTask
object, which will include an identifier of this task as well as the current status. The SpeechSynthesisTask
object is available for 72 hours after starting the asynchronous synthesis task.
See https://www.paws-r-sdk.com/docs/polly_start_speech_synthesis_task/ for full documentation.
Usage
polly_start_speech_synthesis_task(
Engine = NULL,
LanguageCode = NULL,
LexiconNames = NULL,
OutputFormat,
OutputS3BucketName,
OutputS3KeyPrefix = NULL,
SampleRate = NULL,
SnsTopicArn = NULL,
SpeechMarkTypes = NULL,
Text,
TextType = NULL,
VoiceId
)
Arguments
Engine |
Specifies the engine ( |
LanguageCode |
Optional language code for the Speech Synthesis request. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN). If a bilingual voice is used and no language code is specified, Amazon
Polly uses the default language of the bilingual voice. The default
language for any voice is the one returned by the
|
LexiconNames |
List of one or more pronunciation lexicon names you want the service to apply during synthesis. Lexicons are applied only if the language of the lexicon is the same as the language of the voice. |
OutputFormat |
[required] The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json. |
OutputS3BucketName |
[required] Amazon S3 bucket name to which the output file will be saved. |
OutputS3KeyPrefix |
The Amazon S3 key prefix for the output speech file. |
SampleRate |
The audio frequency specified in Hz. The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000". The default value for long-form voices is "24000". The default value for generative voices is "24000". Valid values for pcm are "8000" and "16000" The default value is "16000". |
SnsTopicArn |
ARN for the SNS topic optionally used for providing status notification for a speech synthesis task. |
SpeechMarkTypes |
The type of speech marks returned for the input text. |
Text |
[required] The input text to synthesize. If you specify ssml as the TextType, follow the SSML format for the input text. |
TextType |
Specifies whether the input text is plain text or SSML. The default value is plain text. |
VoiceId |
[required] Voice ID to use for the synthesis. |
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes
Description
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes. SSML input must be valid, well-formed SSML. Some alphabets might not be available with all the voices (for example, Cyrillic might not be read at all by English voices) unless phoneme mapping is used. For more information, see How it Works.
See https://www.paws-r-sdk.com/docs/polly_synthesize_speech/ for full documentation.
Usage
polly_synthesize_speech(
Engine = NULL,
LanguageCode = NULL,
LexiconNames = NULL,
OutputFormat,
SampleRate = NULL,
SpeechMarkTypes = NULL,
Text,
TextType = NULL,
VoiceId
)
Arguments
Engine |
Specifies the engine ( Type: String Valid Values: Required: Yes |
LanguageCode |
Optional language code for the Synthesize Speech request. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN). If a bilingual voice is used and no language code is specified, Amazon
Polly uses the default language of the bilingual voice. The default
language for any voice is the one returned by the
|
LexiconNames |
List of one or more pronunciation lexicon names you want the service to
apply during synthesis. Lexicons are applied only if the language of the
lexicon is the same as the language of the voice. For information about
storing lexicons, see |
OutputFormat |
[required] The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json. When pcm is used, the content returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format. |
SampleRate |
The audio frequency specified in Hz. The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000". The default value for long-form voices is "24000". The default value for generative voices is "24000". Valid values for pcm are "8000" and "16000" The default value is "16000". |
SpeechMarkTypes |
The type of speech marks returned for the input text. |
Text |
[required] Input text to synthesize. If you specify |
TextType |
Specifies whether the input text is plain text or SSML. The default value is plain text. For more information, see Using SSML. |
VoiceId |
[required] Voice ID to use for the synthesis. You can get a list of available voice
IDs by calling the |
Objects exported from other packages
Description
These objects are imported from other packages. Follow the links below to see their documentation.
- paws.common
config
,credentials
,creds
,list_paginators
,paginate
,paginate_lapply
,paginate_sapply
,paws_stream_parser
Amazon Rekognition
Description
This is the API Reference for Amazon Rekognition Image, Amazon Rekognition Custom Labels, Amazon Rekognition Stored Video, Amazon Rekognition Streaming Video. It provides descriptions of actions, data types, common parameters, and common errors.
Amazon Rekognition Image
Amazon Rekognition Custom Labels
Amazon Rekognition Video Stored Video
Amazon Rekognition Video Streaming Video
Usage
rekognition(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- rekognition( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
associate_faces | Associates one or more faces with an existing UserID |
compare_faces | Compares a face in the source input image with each of the 100 largest faces detected in the target input image |
copy_project_version | This operation applies only to Amazon Rekognition Custom Labels |
create_collection | Creates a collection in an AWS Region |
create_dataset | This operation applies only to Amazon Rekognition Custom Labels |
create_face_liveness_session | This API operation initiates a Face Liveness session |
create_project | Creates a new Amazon Rekognition project |
create_project_version | Creates a new version of Amazon Rekognition project (like a Custom Labels model or a custom adapter) and begins training |
create_stream_processor | Creates an Amazon Rekognition stream processor that you can use to detect and recognize faces or to detect labels in a streaming video |
create_user | Creates a new User within a collection specified by CollectionId |
delete_collection | Deletes the specified collection |
delete_dataset | This operation applies only to Amazon Rekognition Custom Labels |
delete_faces | Deletes faces from a collection |
delete_project | Deletes a Amazon Rekognition project |
delete_project_policy | This operation applies only to Amazon Rekognition Custom Labels |
delete_project_version | Deletes a Rekognition project model or project version, like a Amazon Rekognition Custom Labels model or a custom adapter |
delete_stream_processor | Deletes the stream processor identified by Name |
delete_user | Deletes the specified UserID within the collection |
describe_collection | Describes the specified collection |
describe_dataset | This operation applies only to Amazon Rekognition Custom Labels |
describe_projects | Gets information about your Rekognition projects |
describe_project_versions | Lists and describes the versions of an Amazon Rekognition project |
describe_stream_processor | Provides information about a stream processor created by CreateStreamProcessor |
detect_custom_labels | This operation applies only to Amazon Rekognition Custom Labels |
detect_faces | Detects faces within an image that is provided as input |
detect_labels | Detects instances of real-world entities within an image (JPEG or PNG) provided as input |
detect_moderation_labels | Detects unsafe content in a specified JPEG or PNG format image |
detect_protective_equipment | Detects Personal Protective Equipment (PPE) worn by people detected in an image |
detect_text | Detects text in the input image and converts it into machine-readable text |
disassociate_faces | Removes the association between a Face supplied in an array of FaceIds and the User |
distribute_dataset_entries | This operation applies only to Amazon Rekognition Custom Labels |
get_celebrity_info | Gets the name and additional information about a celebrity based on their Amazon Rekognition ID |
get_celebrity_recognition | Gets the celebrity recognition results for a Amazon Rekognition Video analysis started by StartCelebrityRecognition |
get_content_moderation | Gets the inappropriate, unwanted, or offensive content analysis results for a Amazon Rekognition Video analysis started by StartContentModeration |
get_face_detection | Gets face detection results for a Amazon Rekognition Video analysis started by StartFaceDetection |
get_face_liveness_session_results | Retrieves the results of a specific Face Liveness session |
get_face_search | Gets the face search results for Amazon Rekognition Video face search started by StartFaceSearch |
get_label_detection | Gets the label detection results of a Amazon Rekognition Video analysis started by StartLabelDetection |
get_media_analysis_job | Retrieves the results for a given media analysis job |
get_person_tracking | Gets the path tracking results of a Amazon Rekognition Video analysis started by StartPersonTracking |
get_segment_detection | Gets the segment detection results of a Amazon Rekognition Video analysis started by StartSegmentDetection |
get_text_detection | Gets the text detection results of a Amazon Rekognition Video analysis started by StartTextDetection |
index_faces | Detects faces in the input image and adds them to the specified collection |
list_collections | Returns list of collection IDs in your account |
list_dataset_entries | This operation applies only to Amazon Rekognition Custom Labels |
list_dataset_labels | This operation applies only to Amazon Rekognition Custom Labels |
list_faces | Returns metadata for faces in the specified collection |
list_media_analysis_jobs | Returns a list of media analysis jobs |
list_project_policies | This operation applies only to Amazon Rekognition Custom Labels |
list_stream_processors | Gets a list of stream processors that you have created with CreateStreamProcessor |
list_tags_for_resource | Returns a list of tags in an Amazon Rekognition collection, stream processor, or Custom Labels model |
list_users | Returns metadata of the User such as UserID in the specified collection |
put_project_policy | This operation applies only to Amazon Rekognition Custom Labels |
recognize_celebrities | Returns an array of celebrities recognized in the input image |
search_faces | For a given input face ID, searches for matching faces in the collection the face belongs to |
search_faces_by_image | For a given input image, first detects the largest face in the image, and then searches the specified collection for matching faces |
search_users | Searches for UserIDs within a collection based on a FaceId or UserId |
search_users_by_image | Searches for UserIDs using a supplied image |
start_celebrity_recognition | Starts asynchronous recognition of celebrities in a stored video |
start_content_moderation | Starts asynchronous detection of inappropriate, unwanted, or offensive content in a stored video |
start_face_detection | Starts asynchronous detection of faces in a stored video |
start_face_search | Starts the asynchronous search for faces in a collection that match the faces of persons detected in a stored video |
start_label_detection | Starts asynchronous detection of labels in a stored video |
start_media_analysis_job | Initiates a new media analysis job |
start_person_tracking | Starts the asynchronous tracking of a person's path in a stored video |
start_project_version | This operation applies only to Amazon Rekognition Custom Labels |
start_segment_detection | Starts asynchronous detection of segment detection in a stored video |
start_stream_processor | Starts processing a stream processor |
start_text_detection | Starts asynchronous detection of text in a stored video |
stop_project_version | This operation applies only to Amazon Rekognition Custom Labels |
stop_stream_processor | Stops a running stream processor that was created by CreateStreamProcessor |
tag_resource | Adds one or more key-value tags to an Amazon Rekognition collection, stream processor, or Custom Labels model |
untag_resource | Removes one or more tags from an Amazon Rekognition collection, stream processor, or Custom Labels model |
update_dataset_entries | This operation applies only to Amazon Rekognition Custom Labels |
update_stream_processor | Allows you to update a stream processor |
Examples
## Not run:
svc <- rekognition()
# This operation compares the largest face detected in the source image
# with each face detected in the target image.
svc$compare_faces(
SimilarityThreshold = 90L,
SourceImage = list(
S3Object = list(
Bucket = "mybucket",
Name = "mysourceimage"
)
),
TargetImage = list(
S3Object = list(
Bucket = "mybucket",
Name = "mytargetimage"
)
)
)
## End(Not run)
Associates one or more faces with an existing UserID
Description
Associates one or more faces with an existing UserID. Takes an array of FaceIds
. Each FaceId
that are present in the FaceIds
list is associated with the provided UserID. The maximum number of total FaceIds
per UserID is 100.
See https://www.paws-r-sdk.com/docs/rekognition_associate_faces/ for full documentation.
Usage
rekognition_associate_faces(
CollectionId,
UserId,
FaceIds,
UserMatchThreshold = NULL,
ClientRequestToken = NULL
)
Arguments
CollectionId |
[required] The ID of an existing collection containing the UserID. |
UserId |
[required] The ID for the existing UserID. |
FaceIds |
[required] An array of FaceIDs to associate with the UserID. |
UserMatchThreshold |
An optional value specifying the minimum confidence in the UserID match to return. The default value is 75. |
ClientRequestToken |
Idempotent token used to identify the request to
|
Compares a face in the source input image with each of the 100 largest faces detected in the target input image
Description
Compares a face in the source input image with each of the 100 largest faces detected in the target input image.
See https://www.paws-r-sdk.com/docs/rekognition_compare_faces/ for full documentation.
Usage
rekognition_compare_faces(
SourceImage,
TargetImage,
SimilarityThreshold = NULL,
QualityFilter = NULL
)
Arguments
SourceImage |
[required] The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported. If you are using an AWS SDK to call Amazon Rekognition, you might not
need to base64-encode image bytes passed using the |
TargetImage |
[required] The target image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported. If you are using an AWS SDK to call Amazon Rekognition, you might not
need to base64-encode image bytes passed using the |
SimilarityThreshold |
The minimum level of confidence in the face matches that a match must
meet to be included in the |
QualityFilter |
A filter that specifies a quality bar for how much filtering is done to
identify faces. Filtered faces aren't compared. If you specify To use quality filtering, the collection you are using must be associated with version 3 of the face model or higher. |
This operation applies only to Amazon Rekognition Custom Labels
Description
This operation applies only to Amazon Rekognition Custom Labels.
See https://www.paws-r-sdk.com/docs/rekognition_copy_project_version/ for full documentation.
Usage
rekognition_copy_project_version(
SourceProjectArn,
SourceProjectVersionArn,
DestinationProjectArn,
VersionName,
OutputConfig,
Tags = NULL,
KmsKeyId = NULL
)
Arguments
SourceProjectArn |
[required] The ARN of the source project in the trusting AWS account. |
SourceProjectVersionArn |
[required] The ARN of the model version in the source project that you want to copy to a destination project. |
DestinationProjectArn |
[required] The ARN of the project in the trusted AWS account that you want to copy the model version to. |
VersionName |
[required] A name for the version of the model that's copied to the destination project. |
OutputConfig |
[required] The S3 bucket and folder location where the training output for the source model version is placed. |
Tags |
The key-value tags to assign to the model version. |
KmsKeyId |
The identifier for your AWS Key Management Service key (AWS KMS key).
You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of
your KMS key, an alias for your KMS key, or an alias ARN. The key is
used to encrypt training results and manifest files written to the
output Amazon S3 bucket ( If you choose to use your own KMS key, you need the following permissions on the KMS key.
If you don't specify a value for |
Creates a collection in an AWS Region
Description
Creates a collection in an AWS Region. You can add faces to the collection using the index_faces
operation.
See https://www.paws-r-sdk.com/docs/rekognition_create_collection/ for full documentation.
Usage
rekognition_create_collection(CollectionId, Tags = NULL)
Arguments
CollectionId |
[required] ID for the collection that you are creating. |
Tags |
A set of tags (key-value pairs) that you want to attach to the collection. |
This operation applies only to Amazon Rekognition Custom Labels
Description
This operation applies only to Amazon Rekognition Custom Labels.
See https://www.paws-r-sdk.com/docs/rekognition_create_dataset/ for full documentation.
Usage
rekognition_create_dataset(
DatasetSource = NULL,
DatasetType,
ProjectArn,
Tags = NULL
)
Arguments
DatasetSource |
The source files for the dataset. You can specify the ARN of an existing
dataset or specify the Amazon S3 bucket location of an Amazon Sagemaker
format manifest file. If you don't specify |
DatasetType |
[required] The type of the dataset. Specify |
ProjectArn |
[required] The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset. |
Tags |
A set of tags (key-value pairs) that you want to attach to the dataset. |
This API operation initiates a Face Liveness session
Description
This API operation initiates a Face Liveness session. It returns a SessionId
, which you can use to start streaming Face Liveness video and get the results for a Face Liveness session.
See https://www.paws-r-sdk.com/docs/rekognition_create_face_liveness_session/ for full documentation.
Usage
rekognition_create_face_liveness_session(
KmsKeyId = NULL,
Settings = NULL,
ClientRequestToken = NULL
)
Arguments
KmsKeyId |
The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt audit images and reference images. |
Settings |
A session settings object. It contains settings for the operation to be
performed. For Face Liveness, it accepts |
ClientRequestToken |
Idempotent token is used to recognize the Face Liveness request. If the
same token is used with multiple
|
Creates a new Amazon Rekognition project
Description
Creates a new Amazon Rekognition project. A project is a group of resources (datasets, model versions) that you use to create and manage a Amazon Rekognition Custom Labels Model or custom adapter. You can specify a feature to create the project with, if no feature is specified then Custom Labels is used by default. For adapters, you can also choose whether or not to have the project auto update by using the AutoUpdate argument. This operation requires permissions to perform the rekognition:CreateProject
action.
See https://www.paws-r-sdk.com/docs/rekognition_create_project/ for full documentation.
Usage
rekognition_create_project(
ProjectName,
Feature = NULL,
AutoUpdate = NULL,
Tags = NULL
)
Arguments
ProjectName |
[required] The name of the project to create. |
Feature |
Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default. |
AutoUpdate |
Specifies whether automatic retraining should be attempted for the versions of the project. Automatic retraining is done as a best effort. Required argument for Content Moderation. Applicable only to adapters. |
Tags |
A set of tags (key-value pairs) that you want to attach to the project. |
Creates a new version of Amazon Rekognition project (like a Custom Labels model or a custom adapter) and begins training
Description
Creates a new version of Amazon Rekognition project (like a Custom Labels model or a custom adapter) and begins training. Models and adapters are managed as part of a Rekognition project. The response from create_project_version
is an Amazon Resource Name (ARN) for the project version.
See https://www.paws-r-sdk.com/docs/rekognition_create_project_version/ for full documentation.
Usage
rekognition_create_project_version(
ProjectArn,
VersionName,
OutputConfig,
TrainingData = NULL,
TestingData = NULL,
Tags = NULL,
KmsKeyId = NULL,
VersionDescription = NULL,
FeatureConfig = NULL
)
Arguments
ProjectArn |
[required] The ARN of the Amazon Rekognition project that will manage the project version you want to train. |
VersionName |
[required] A name for the version of the project version. This value must be unique. |
OutputConfig |
[required] The Amazon S3 bucket location to store the results of training. The
bucket can be any S3 bucket in your AWS account. You need |
TrainingData |
Specifies an external manifest that the services uses to train the
project version. If you specify |
TestingData |
Specifies an external manifest that the service uses to test the project
version. If you specify |
Tags |
A set of tags (key-value pairs) that you want to attach to the project version. |
KmsKeyId |
The identifier for your AWS Key Management Service key (AWS KMS key).
You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of
your KMS key, an alias for your KMS key, or an alias ARN. The key is
used to encrypt training images, test images, and manifest files copied
into the service for the project version. Your source images are
unaffected. The key is also used to encrypt training results and
manifest files written to the output Amazon S3 bucket ( If you choose to use your own KMS key, you need the following permissions on the KMS key.
If you don't specify a value for |
VersionDescription |
A description applied to the project version being created. |
FeatureConfig |
Feature-specific configuration of the training job. If the job configuration does not match the feature type associated with the project, an InvalidParameterException is returned. |
Creates an Amazon Rekognition stream processor that you can use to detect and recognize faces or to detect labels in a streaming video
Description
Creates an Amazon Rekognition stream processor that you can use to detect and recognize faces or to detect labels in a streaming video.
See https://www.paws-r-sdk.com/docs/rekognition_create_stream_processor/ for full documentation.
Usage
rekognition_create_stream_processor(
Input,
Output,
Name,
Settings,
RoleArn,
Tags = NULL,
NotificationChannel = NULL,
KmsKeyId = NULL,
RegionsOfInterest = NULL,
DataSharingPreference = NULL
)
Arguments
Input |
[required] Kinesis video stream stream that provides the source streaming video. If
you are using the AWS CLI, the parameter name is |
Output |
[required] Kinesis data stream stream or Amazon S3 bucket location to which Amazon
Rekognition Video puts the analysis results. If you are using the AWS
CLI, the parameter name is |
Name |
[required] An identifier you assign to the stream processor. You can use |
Settings |
[required] Input parameters used in a streaming video analyzed by a stream
processor. You can use |
RoleArn |
[required] The Amazon Resource Number (ARN) of the IAM role that allows access to the stream processor. The IAM role provides Rekognition read permissions for a Kinesis stream. It also provides write permissions to an Amazon S3 bucket and Amazon Simple Notification Service topic for a label detection stream processor. This is required for both face search and label detection stream processors. |
Tags |
A set of tags (key-value pairs) that you want to attach to the stream processor. |
NotificationChannel |
|
KmsKeyId |
The identifier for your AWS Key Management Service key (AWS KMS key). This is an optional parameter for label detection stream processors and should not be used to create a face search stream processor. You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key, or an alias ARN. The key is used to encrypt results and data published to your Amazon S3 bucket, which includes image frames and hero images. Your source images are unaffected. |
RegionsOfInterest |
Specifies locations in the frames where Amazon Rekognition checks for objects or people. You can specify up to 10 regions of interest, and each region has either a polygon or a bounding box. This is an optional parameter for label detection stream processors and should not be used to create a face search stream processor. |
DataSharingPreference |
Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams. |
Creates a new User within a collection specified by CollectionId
Description
Creates a new User within a collection specified by CollectionId
. Takes UserId
as a parameter, which is a user provided ID which should be unique within the collection. The provided UserId
will alias the system generated UUID to make the UserId
more user friendly.
See https://www.paws-r-sdk.com/docs/rekognition_create_user/ for full documentation.
Usage
rekognition_create_user(CollectionId, UserId, ClientRequestToken = NULL)
Arguments
CollectionId |
[required] The ID of an existing collection to which the new UserID needs to be created. |
UserId |
[required] ID for the UserID to be created. This ID needs to be unique within the collection. |
ClientRequestToken |
Idempotent token used to identify the request to
|
Deletes the specified collection
Description
Deletes the specified collection. Note that this operation removes all faces in the collection. For an example, see Deleting a collection.
See https://www.paws-r-sdk.com/docs/rekognition_delete_collection/ for full documentation.
Usage
rekognition_delete_collection(CollectionId)
Arguments
CollectionId |
[required] ID of the collection to delete. |
This operation applies only to Amazon Rekognition Custom Labels
Description
This operation applies only to Amazon Rekognition Custom Labels.
See https://www.paws-r-sdk.com/docs/rekognition_delete_dataset/ for full documentation.
Usage
rekognition_delete_dataset(DatasetArn)
Arguments
DatasetArn |
[required] The ARN of the Amazon Rekognition Custom Labels dataset that you want to delete. |
Deletes faces from a collection
Description
Deletes faces from a collection. You specify a collection ID and an array of face IDs to remove from the collection.
See https://www.paws-r-sdk.com/docs/rekognition_delete_faces/ for full documentation.
Usage
rekognition_delete_faces(CollectionId, FaceIds)
Arguments
CollectionId |
[required] Collection from which to remove the specific faces. |
FaceIds |
[required] An array of face IDs to delete. |
Deletes a Amazon Rekognition project
Description
Deletes a Amazon Rekognition project. To delete a project you must first delete all models or adapters associated with the project. To delete a model or adapter, see delete_project_version
.
See https://www.paws-r-sdk.com/docs/rekognition_delete_project/ for full documentation.
Usage
rekognition_delete_project(ProjectArn)
Arguments
ProjectArn |
[required] The Amazon Resource Name (ARN) of the project that you want to delete. |
This operation applies only to Amazon Rekognition Custom Labels
Description
This operation applies only to Amazon Rekognition Custom Labels.
See https://www.paws-r-sdk.com/docs/rekognition_delete_project_policy/ for full documentation.
Usage
rekognition_delete_project_policy(
ProjectArn,
PolicyName,
PolicyRevisionId = NULL
)
Arguments
ProjectArn |
[required] The Amazon Resource Name (ARN) of the project that the project policy you want to delete is attached to. |
PolicyName |
[required] The name of the policy that you want to delete. |
PolicyRevisionId |
The ID of the project policy revision that you want to delete. |
Deletes a Rekognition project model or project version, like a Amazon Rekognition Custom Labels model or a custom adapter
Description
Deletes a Rekognition project model or project version, like a Amazon Rekognition Custom Labels model or a custom adapter.
See https://www.paws-r-sdk.com/docs/rekognition_delete_project_version/ for full documentation.
Usage
rekognition_delete_project_version(ProjectVersionArn)
Arguments
ProjectVersionArn |
[required] The Amazon Resource Name (ARN) of the project version that you want to delete. |
Deletes the stream processor identified by Name
Description
Deletes the stream processor identified by Name
. You assign the value for Name
when you create the stream processor with create_stream_processor
. You might not be able to use the same name for a stream processor for a few seconds after calling delete_stream_processor
.
See https://www.paws-r-sdk.com/docs/rekognition_delete_stream_processor/ for full documentation.
Usage
rekognition_delete_stream_processor(Name)
Arguments
Name |
[required] The name of the stream processor you want to delete. |
Deletes the specified UserID within the collection
Description
Deletes the specified UserID within the collection. Faces that are associated with the UserID are disassociated from the UserID before deleting the specified UserID. If the specified Collection
or UserID
is already deleted or not found, a ResourceNotFoundException
will be thrown. If the action is successful with a 200 response, an empty HTTP body is returned.
See https://www.paws-r-sdk.com/docs/rekognition_delete_user/ for full documentation.
Usage
rekognition_delete_user(CollectionId, UserId, ClientRequestToken = NULL)
Arguments
CollectionId |
[required] The ID of an existing collection from which the UserID needs to be deleted. |
UserId |
[required] ID for the UserID to be deleted. |
ClientRequestToken |
Idempotent token used to identify the request to
|
Describes the specified collection
Description
Describes the specified collection. You can use describe_collection
to get information, such as the number of faces indexed into a collection and the version of the model used by the collection for face detection.
See https://www.paws-r-sdk.com/docs/rekognition_describe_collection/ for full documentation.
Usage
rekognition_describe_collection(CollectionId)
Arguments
CollectionId |
[required] The ID of the collection to describe. |
This operation applies only to Amazon Rekognition Custom Labels
Description
This operation applies only to Amazon Rekognition Custom Labels.
See https://www.paws-r-sdk.com/docs/rekognition_describe_dataset/ for full documentation.
Usage
rekognition_describe_dataset(DatasetArn)
Arguments
DatasetArn |
[required] The Amazon Resource Name (ARN) of the dataset that you want to describe. |
Lists and describes the versions of an Amazon Rekognition project
Description
Lists and describes the versions of an Amazon Rekognition project. You can specify up to 10 model or adapter versions in ProjectVersionArns
. If you don't specify a value, descriptions for all model/adapter versions in the project are returned.
See https://www.paws-r-sdk.com/docs/rekognition_describe_project_versions/ for full documentation.
Usage
rekognition_describe_project_versions(
ProjectArn,
VersionNames = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
ProjectArn |
[required] The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe. |
VersionNames |
A list of model or project version names that you want to describe. You
can add up to 10 model or project version names to the list. If you
don't specify a value, all project version descriptions are returned. A
version name is part of a project version ARN. For example,
|
NextToken |
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results. |
MaxResults |
The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100. |
Gets information about your Rekognition projects
Description
Gets information about your Rekognition projects.
See https://www.paws-r-sdk.com/docs/rekognition_describe_projects/ for full documentation.
Usage
rekognition_describe_projects(
NextToken = NULL,
MaxResults = NULL,
ProjectNames = NULL,
Features = NULL
)
Arguments
NextToken |
If the previous response was incomplete (because there is more results to retrieve), Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results. |
MaxResults |
The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100. |
ProjectNames |
A list of the projects that you want Rekognition to describe. If you don't specify a value, the response includes descriptions for all the projects in your AWS account. |
Features |
Specifies the type of customization to filter projects by. If no value is specified, CUSTOM_LABELS is used as a default. |
Provides information about a stream processor created by CreateStreamProcessor
Description
Provides information about a stream processor created by create_stream_processor
. You can get information about the input and output streams, the input parameters for the face recognition being performed, and the current status of the stream processor.
See https://www.paws-r-sdk.com/docs/rekognition_describe_stream_processor/ for full documentation.
Usage
rekognition_describe_stream_processor(Name)
Arguments
Name |
[required] Name of the stream processor for which you want information. |
This operation applies only to Amazon Rekognition Custom Labels
Description
This operation applies only to Amazon Rekognition Custom Labels.
See https://www.paws-r-sdk.com/docs/rekognition_detect_custom_labels/ for full documentation.
Usage
rekognition_detect_custom_labels(
ProjectVersionArn,
Image,
MaxResults = NULL,
MinConfidence = NULL
)
Arguments
ProjectVersionArn |
[required] The ARN of the model version that you want to use. Only models associated with Custom Labels projects accepted by the operation. If a provided ARN refers to a model version associated with a project for a different feature type, then an InvalidParameterException is returned. |
Image |
[required] |
MaxResults |
Maximum number of results you want the service to return in the response. The service returns the specified number of highest confidence labels ranked from highest confidence to lowest. |
MinConfidence |
Specifies the minimum confidence level for the labels to return.
|
Detects faces within an image that is provided as input
Description
Detects faces within an image that is provided as input.
See https://www.paws-r-sdk.com/docs/rekognition_detect_faces/ for full documentation.
Usage
rekognition_detect_faces(Image, Attributes = NULL)
Arguments
Image |
[required] The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported. If you are using an AWS SDK to call Amazon Rekognition, you might not
need to base64-encode image bytes passed using the |
Attributes |
An array of facial attributes you want to be returned. A If you provide both, Note that while the FaceOccluded and EyeDirection attributes are
supported when using |
Detects instances of real-world entities within an image (JPEG or PNG) provided as input
Description
Detects instances of real-world entities within an image (JPEG or PNG) provided as input. This includes objects like flower, tree, and table; events like wedding, graduation, and birthday party; and concepts like landscape, evening, and nature.
See https://www.paws-r-sdk.com/docs/rekognition_detect_labels/ for full documentation.
Usage
rekognition_detect_labels(
Image,
MaxLabels = NULL,
MinConfidence = NULL,
Features = NULL,
Settings = NULL
)
Arguments
Image |
[required] The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. Images stored in an S3 Bucket do not need to be base64-encoded. If you are using an AWS SDK to call Amazon Rekognition, you might not
need to base64-encode image bytes passed using the |
MaxLabels |
Maximum number of labels you want the service to return in the response. The service returns the specified number of highest confidence labels. Only valid when GENERAL_LABELS is specified as a feature type in the Feature input parameter. |
MinConfidence |
Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with confidence lower than this specified value. If |
Features |
A list of the types of analysis to perform. Specifying GENERAL_LABELS uses the label detection feature, while specifying IMAGE_PROPERTIES returns information regarding image color and quality. If no option is specified GENERAL_LABELS is used by default. |
Settings |
A list of the filters to be applied to returned detected labels and image properties. Specified filters can be inclusive, exclusive, or a combination of both. Filters can be used for individual labels or label categories. The exact label names or label categories must be supplied. For a full list of labels and label categories, see Detecting labels. |
Detects unsafe content in a specified JPEG or PNG format image
Description
Detects unsafe content in a specified JPEG or PNG format image. Use detect_moderation_labels
to moderate images depending on your requirements. For example, you might want to filter images that contain nudity, but not images containing suggestive content.
See https://www.paws-r-sdk.com/docs/rekognition_detect_moderation_labels/ for full documentation.
Usage
rekognition_detect_moderation_labels(
Image,
MinConfidence = NULL,
HumanLoopConfig = NULL,
ProjectVersion = NULL
)
Arguments
Image |
[required] The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported. If you are using an AWS SDK to call Amazon Rekognition, you might not
need to base64-encode image bytes passed using the |
MinConfidence |
Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with a confidence level lower than this specified value. If you don't specify |
HumanLoopConfig |
Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to. |
ProjectVersion |
Identifier for the custom adapter. Expects the ProjectVersionArn as a value. Use the CreateProject or CreateProjectVersion APIs to create a custom adapter. |
Detects Personal Protective Equipment (PPE) worn by people detected in an image
Description
Detects Personal Protective Equipment (PPE) worn by people detected in an image. Amazon Rekognition can detect the following types of PPE.
See https://www.paws-r-sdk.com/docs/rekognition_detect_protective_equipment/ for full documentation.
Usage
rekognition_detect_protective_equipment(Image, SummarizationAttributes = NULL)
Arguments
Image |
[required] The image in which you want to detect PPE on detected persons. The image can be passed as image bytes or you can reference an image stored in an Amazon S3 bucket. |
SummarizationAttributes |
An array of PPE types that you want to summarize. |
Detects text in the input image and converts it into machine-readable text
Description
Detects text in the input image and converts it into machine-readable text.
See https://www.paws-r-sdk.com/docs/rekognition_detect_text/ for full documentation.
Usage
rekognition_detect_text(Image, Filters = NULL)
Arguments
Image |
[required] The input image as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Rekognition operations, you can't pass image bytes. If you are using an AWS SDK to call Amazon Rekognition, you might not
need to base64-encode image bytes passed using the |
Filters |
Optional parameters that let you set the criteria that the text must meet to be included in your response. |
Removes the association between a Face supplied in an array of FaceIds and the User
Description
Removes the association between a Face
supplied in an array of FaceIds
and the User. If the User is not present already, then a ResourceNotFound
exception is thrown. If successful, an array of faces that are disassociated from the User is returned. If a given face is already disassociated from the given UserID, it will be ignored and not be returned in the response. If a given face is already associated with a different User or not found in the collection it will be returned as part of UnsuccessfulDisassociations
. You can remove 1 - 100 face IDs from a user at one time.
See https://www.paws-r-sdk.com/docs/rekognition_disassociate_faces/ for full documentation.
Usage
rekognition_disassociate_faces(
CollectionId,
UserId,
ClientRequestToken = NULL,
FaceIds
)
Arguments
CollectionId |
[required] The ID of an existing collection containing the UserID. |
UserId |
[required] ID for the existing UserID. |
ClientRequestToken |
Idempotent token used to identify the request to
|
FaceIds |
[required] An array of face IDs to disassociate from the UserID. |
This operation applies only to Amazon Rekognition Custom Labels
Description
This operation applies only to Amazon Rekognition Custom Labels.
See https://www.paws-r-sdk.com/docs/rekognition_distribute_dataset_entries/ for full documentation.
Usage
rekognition_distribute_dataset_entries(Datasets)
Arguments
Datasets |
[required] The ARNS for the training dataset and test dataset that you want to use. The datasets must belong to the same project. The test dataset must be empty. |
Gets the name and additional information about a celebrity based on their Amazon Rekognition ID
Description
Gets the name and additional information about a celebrity based on their Amazon Rekognition ID. The additional information is returned as an array of URLs. If there is no additional information about the celebrity, this list is empty.
See https://www.paws-r-sdk.com/docs/rekognition_get_celebrity_info/ for full documentation.
Usage
rekognition_get_celebrity_info(Id)
Arguments
Id |
[required] The ID for the celebrity. You get the celebrity ID from a call to the
|
Gets the celebrity recognition results for a Amazon Rekognition Video analysis started by StartCelebrityRecognition
Description
Gets the celebrity recognition results for a Amazon Rekognition Video analysis started by start_celebrity_recognition
.
See https://www.paws-r-sdk.com/docs/rekognition_get_celebrity_recognition/ for full documentation.
Usage
rekognition_get_celebrity_recognition(
JobId,
MaxResults = NULL,
NextToken = NULL,
SortBy = NULL
)
Arguments
JobId |
[required] Job identifier for the required celebrity recognition analysis. You can
get the job identifer from a call to
|
MaxResults |
Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000. |
NextToken |
If the previous response was incomplete (because there is more recognized celebrities to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of celebrities. |
SortBy |
Sort to use for celebrities returned in |
Gets the inappropriate, unwanted, or offensive content analysis results for a Amazon Rekognition Video analysis started by StartContentModeration
Description
Gets the inappropriate, unwanted, or offensive content analysis results for a Amazon Rekognition Video analysis started by start_content_moderation
. For a list of moderation labels in Amazon Rekognition, see Using the image and video moderation APIs.
See https://www.paws-r-sdk.com/docs/rekognition_get_content_moderation/ for full documentation.
Usage
rekognition_get_content_moderation(
JobId,
MaxResults = NULL,
NextToken = NULL,
SortBy = NULL,
AggregateBy = NULL
)
Arguments
JobId |
[required] The identifier for the inappropriate, unwanted, or offensive content
moderation job. Use |
MaxResults |
Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000. |
NextToken |
If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of content moderation labels. |
SortBy |
Sort to use for elements in the |
AggregateBy |
Defines how to aggregate results of the StartContentModeration request. Default aggregation option is TIMESTAMPS. SEGMENTS mode aggregates moderation labels over time. |
Gets face detection results for a Amazon Rekognition Video analysis started by StartFaceDetection
Description
Gets face detection results for a Amazon Rekognition Video analysis started by start_face_detection
.
See https://www.paws-r-sdk.com/docs/rekognition_get_face_detection/ for full documentation.
Usage
rekognition_get_face_detection(JobId, MaxResults = NULL, NextToken = NULL)
Arguments
JobId |
[required] Unique identifier for the face detection job. The |
MaxResults |
Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000. |
NextToken |
If the previous response was incomplete (because there are more faces to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of faces. |
Retrieves the results of a specific Face Liveness session
Description
Retrieves the results of a specific Face Liveness session. It requires the sessionId
as input, which was created using create_face_liveness_session
. Returns the corresponding Face Liveness confidence score, a reference image that includes a face bounding box, and audit images that also contain face bounding boxes. The Face Liveness confidence score ranges from 0 to 100.
See https://www.paws-r-sdk.com/docs/rekognition_get_face_liveness_session_results/ for full documentation.
Usage
rekognition_get_face_liveness_session_results(SessionId)
Arguments
SessionId |
[required] A unique 128-bit UUID. This is used to uniquely identify the session and also acts as an idempotency token for all operations associated with the session. |
Gets the face search results for Amazon Rekognition Video face search started by StartFaceSearch
Description
Gets the face search results for Amazon Rekognition Video face search started by start_face_search
. The search returns faces in a collection that match the faces of persons detected in a video. It also includes the time(s) that faces are matched in the video.
See https://www.paws-r-sdk.com/docs/rekognition_get_face_search/ for full documentation.
Usage
rekognition_get_face_search(
JobId,
MaxResults = NULL,
NextToken = NULL,
SortBy = NULL
)
Arguments
JobId |
[required] The job identifer for the search request. You get the job identifier
from an initial call to
|
MaxResults |
Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000. |
NextToken |
If the previous response was incomplete (because there is more search results to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of search results. |
SortBy |
Sort to use for grouping faces in the response. Use |
Gets the label detection results of a Amazon Rekognition Video analysis started by StartLabelDetection
Description
Gets the label detection results of a Amazon Rekognition Video analysis started by start_label_detection
.
See https://www.paws-r-sdk.com/docs/rekognition_get_label_detection/ for full documentation.
Usage
rekognition_get_label_detection(
JobId,
MaxResults = NULL,
NextToken = NULL,
SortBy = NULL,
AggregateBy = NULL
)
Arguments
JobId |
[required] Job identifier for the label detection operation for which you want
results returned. You get the job identifer from an initial call to
|
MaxResults |
Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000. |
NextToken |
If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of labels. |
SortBy |
Sort to use for elements in the |
AggregateBy |
Defines how to aggregate the returned results. Results can be aggregated by timestamps or segments. |
Retrieves the results for a given media analysis job
Description
Retrieves the results for a given media analysis job. Takes a JobId
returned by StartMediaAnalysisJob.
See https://www.paws-r-sdk.com/docs/rekognition_get_media_analysis_job/ for full documentation.
Usage
rekognition_get_media_analysis_job(JobId)
Arguments
JobId |
[required] Unique identifier for the media analysis job for which you want to retrieve results. |
Gets the path tracking results of a Amazon Rekognition Video analysis started by StartPersonTracking
Description
Gets the path tracking results of a Amazon Rekognition Video analysis started by start_person_tracking
.
See https://www.paws-r-sdk.com/docs/rekognition_get_person_tracking/ for full documentation.
Usage
rekognition_get_person_tracking(
JobId,
MaxResults = NULL,
NextToken = NULL,
SortBy = NULL
)
Arguments
JobId |
[required] The identifier for a job that tracks persons in a video. You get the
|
MaxResults |
Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000. |
NextToken |
If the previous response was incomplete (because there are more persons to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of persons. |
SortBy |
Sort to use for elements in the |
Gets the segment detection results of a Amazon Rekognition Video analysis started by StartSegmentDetection
Description
Gets the segment detection results of a Amazon Rekognition Video analysis started by start_segment_detection
.
See https://www.paws-r-sdk.com/docs/rekognition_get_segment_detection/ for full documentation.
Usage
rekognition_get_segment_detection(JobId, MaxResults = NULL, NextToken = NULL)
Arguments
JobId |
[required] Job identifier for the text detection operation for which you want
results returned. You get the job identifer from an initial call to
|
MaxResults |
Maximum number of results to return per paginated call. The largest value you can specify is 1000. |
NextToken |
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of text. |
Gets the text detection results of a Amazon Rekognition Video analysis started by StartTextDetection
Description
Gets the text detection results of a Amazon Rekognition Video analysis started by start_text_detection
.
See https://www.paws-r-sdk.com/docs/rekognition_get_text_detection/ for full documentation.
Usage
rekognition_get_text_detection(JobId, MaxResults = NULL, NextToken = NULL)
Arguments
JobId |
[required] Job identifier for the text detection operation for which you want
results returned. You get the job identifer from an initial call to
|
MaxResults |
Maximum number of results to return per paginated call. The largest value you can specify is 1000. |
NextToken |
If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of text. |
Detects faces in the input image and adds them to the specified collection
Description
Detects faces in the input image and adds them to the specified collection.
See https://www.paws-r-sdk.com/docs/rekognition_index_faces/ for full documentation.
Usage
rekognition_index_faces(
CollectionId,
Image,
ExternalImageId = NULL,
DetectionAttributes = NULL,
MaxFaces = NULL,
QualityFilter = NULL
)
Arguments
CollectionId |
[required] The ID of an existing collection to which you want to add the faces that are detected in the input images. |
Image |
[required] The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes isn't supported. If you are using an AWS SDK to call Amazon Rekognition, you might not
need to base64-encode image bytes passed using the |
ExternalImageId |
The ID you want to assign to all the faces detected in the image. |
DetectionAttributes |
An array of facial attributes you want to be returned. A If you provide both, |
MaxFaces |
The maximum number of faces to index. The value of If The faces that are returned by
|
QualityFilter |
A filter that specifies a quality bar for how much filtering is done to
identify faces. Filtered faces aren't indexed. If you specify To use quality filtering, the collection you are using must be associated with version 3 of the face model or higher. |
Returns list of collection IDs in your account
Description
Returns list of collection IDs in your account. If the result is truncated, the response also provides a NextToken
that you can use in the subsequent request to fetch the next set of collection IDs.
See https://www.paws-r-sdk.com/docs/rekognition_list_collections/ for full documentation.
Usage
rekognition_list_collections(NextToken = NULL, MaxResults = NULL)
Arguments
NextToken |
Pagination token from the previous response. |
MaxResults |
Maximum number of collection IDs to return. |
This operation applies only to Amazon Rekognition Custom Labels
Description
This operation applies only to Amazon Rekognition Custom Labels.
See https://www.paws-r-sdk.com/docs/rekognition_list_dataset_entries/ for full documentation.
Usage
rekognition_list_dataset_entries(
DatasetArn,
ContainsLabels = NULL,
Labeled = NULL,
SourceRefContains = NULL,
HasErrors = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
DatasetArn |
[required] The Amazon Resource Name (ARN) for the dataset that you want to use. |
ContainsLabels |
Specifies a label filter for the response. The response includes an
entry only if one or more of the labels in |
Labeled |
Specify |
SourceRefContains |
If specified, |
HasErrors |
Specifies an error filter for the response. Specify |
NextToken |
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results. |
MaxResults |
The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100. |
This operation applies only to Amazon Rekognition Custom Labels
Description
This operation applies only to Amazon Rekognition Custom Labels.
See https://www.paws-r-sdk.com/docs/rekognition_list_dataset_labels/ for full documentation.
Usage
rekognition_list_dataset_labels(
DatasetArn,
NextToken = NULL,
MaxResults = NULL
)
Arguments
DatasetArn |
[required] The Amazon Resource Name (ARN) of the dataset that you want to use. |
NextToken |
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results. |
MaxResults |
The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100. |
Returns metadata for faces in the specified collection
Description
Returns metadata for faces in the specified collection. This metadata includes information such as the bounding box coordinates, the confidence (that the bounding box contains a face), and face ID. For an example, see Listing Faces in a Collection in the Amazon Rekognition Developer Guide.
See https://www.paws-r-sdk.com/docs/rekognition_list_faces/ for full documentation.
Usage
rekognition_list_faces(
CollectionId,
NextToken = NULL,
MaxResults = NULL,
UserId = NULL,
FaceIds = NULL
)
Arguments
CollectionId |
[required] ID of the collection from which to list the faces. |
NextToken |
If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of faces. |
MaxResults |
Maximum number of faces to return. |
UserId |
An array of user IDs to filter results with when listing faces in a collection. |
FaceIds |
An array of face IDs to filter results with when listing faces in a collection. |
Returns a list of media analysis jobs
Description
Returns a list of media analysis jobs. Results are sorted by CreationTimestamp
in descending order.
See https://www.paws-r-sdk.com/docs/rekognition_list_media_analysis_jobs/ for full documentation.
Usage
rekognition_list_media_analysis_jobs(NextToken = NULL, MaxResults = NULL)
Arguments
NextToken |
Pagination token, if the previous response was incomplete. |
MaxResults |
The maximum number of results to return per paginated call. The largest
value user can specify is 100. If user specifies a value greater than
100, an |
This operation applies only to Amazon Rekognition Custom Labels
Description
This operation applies only to Amazon Rekognition Custom Labels.
See https://www.paws-r-sdk.com/docs/rekognition_list_project_policies/ for full documentation.
Usage
rekognition_list_project_policies(
ProjectArn,
NextToken = NULL,
MaxResults = NULL
)
Arguments
ProjectArn |
[required] The ARN of the project for which you want to list the project policies. |
NextToken |
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results. |
MaxResults |
The maximum number of results to return per paginated call. The largest value you can specify is 5. If you specify a value greater than 5, a ValidationException error occurs. The default value is 5. |
Gets a list of stream processors that you have created with CreateStreamProcessor
Description
Gets a list of stream processors that you have created with create_stream_processor
.
See https://www.paws-r-sdk.com/docs/rekognition_list_stream_processors/ for full documentation.
Usage
rekognition_list_stream_processors(NextToken = NULL, MaxResults = NULL)
Arguments
NextToken |
If the previous response was incomplete (because there are more stream processors to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of stream processors. |
MaxResults |
Maximum number of stream processors you want Amazon Rekognition Video to return in the response. The default is 1000. |
Returns a list of tags in an Amazon Rekognition collection, stream processor, or Custom Labels model
Description
Returns a list of tags in an Amazon Rekognition collection, stream processor, or Custom Labels model.
See https://www.paws-r-sdk.com/docs/rekognition_list_tags_for_resource/ for full documentation.
Usage
rekognition_list_tags_for_resource(ResourceArn)
Arguments
ResourceArn |
[required] Amazon Resource Name (ARN) of the model, collection, or stream processor that contains the tags that you want a list of. |
Returns metadata of the User such as UserID in the specified collection
Description
Returns metadata of the User such as UserID
in the specified collection. Anonymous User (to reserve faces without any identity) is not returned as part of this request. The results are sorted by system generated primary key ID. If the response is truncated, NextToken
is returned in the response that can be used in the subsequent request to retrieve the next set of identities.
See https://www.paws-r-sdk.com/docs/rekognition_list_users/ for full documentation.
Usage
rekognition_list_users(CollectionId, MaxResults = NULL, NextToken = NULL)
Arguments
CollectionId |
[required] The ID of an existing collection. |
MaxResults |
Maximum number of UsersID to return. |
NextToken |
Pagingation token to receive the next set of UsersID. |
This operation applies only to Amazon Rekognition Custom Labels
Description
This operation applies only to Amazon Rekognition Custom Labels.
See https://www.paws-r-sdk.com/docs/rekognition_put_project_policy/ for full documentation.
Usage
rekognition_put_project_policy(
ProjectArn,
PolicyName,
PolicyRevisionId = NULL,
PolicyDocument
)
Arguments
ProjectArn |
[required] The Amazon Resource Name (ARN) of the project that the project policy is attached to. |
PolicyName |
[required] A name for the policy. |
PolicyRevisionId |
The revision ID for the Project Policy. Each time you modify a policy,
Amazon Rekognition Custom Labels generates and assigns a new
|
PolicyDocument |
[required] A resource policy to add to the model. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow the IAM syntax. For more information about the contents of a JSON policy document, see IAM JSON policy reference. |
Returns an array of celebrities recognized in the input image
Description
Returns an array of celebrities recognized in the input image. For more information, see Recognizing celebrities in the Amazon Rekognition Developer Guide.
See https://www.paws-r-sdk.com/docs/rekognition_recognize_celebrities/ for full documentation.
Usage
rekognition_recognize_celebrities(Image)
Arguments
Image |
[required] The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported. If you are using an AWS SDK to call Amazon Rekognition, you might not
need to base64-encode image bytes passed using the |
For a given input face ID, searches for matching faces in the collection the face belongs to
Description
For a given input face ID, searches for matching faces in the collection the face belongs to. You get a face ID when you add a face to the collection using the index_faces
operation. The operation compares the features of the input face with faces in the specified collection.
See https://www.paws-r-sdk.com/docs/rekognition_search_faces/ for full documentation.
Usage
rekognition_search_faces(
CollectionId,
FaceId,
MaxFaces = NULL,
FaceMatchThreshold = NULL
)
Arguments
CollectionId |
[required] ID of the collection the face belongs to. |
FaceId |
[required] ID of a face to find matches for in the collection. |
MaxFaces |
Maximum number of faces to return. The operation returns the maximum number of faces with the highest confidence in the match. |
FaceMatchThreshold |
Optional value specifying the minimum confidence in the face match to return. For example, don't return any matches where confidence in matches is less than 70%. The default value is 80%. |
For a given input image, first detects the largest face in the image, and then searches the specified collection for matching faces
Description
For a given input image, first detects the largest face in the image, and then searches the specified collection for matching faces. The operation compares the features of the input face with faces in the specified collection.
See https://www.paws-r-sdk.com/docs/rekognition_search_faces_by_image/ for full documentation.
Usage
rekognition_search_faces_by_image(
CollectionId,
Image,
MaxFaces = NULL,
FaceMatchThreshold = NULL,
QualityFilter = NULL
)
Arguments
CollectionId |
[required] ID of the collection to search. |
Image |
[required] The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported. If you are using an AWS SDK to call Amazon Rekognition, you might not
need to base64-encode image bytes passed using the |
MaxFaces |
Maximum number of faces to return. The operation returns the maximum number of faces with the highest confidence in the match. |
FaceMatchThreshold |
(Optional) Specifies the minimum confidence in the face match to return. For example, don't return any matches where confidence in matches is less than 70%. The default value is 80%. |
QualityFilter |
A filter that specifies a quality bar for how much filtering is done to
identify faces. Filtered faces aren't searched for in the collection. If
you specify To use quality filtering, the collection you are using must be associated with version 3 of the face model or higher. |
Searches for UserIDs within a collection based on a FaceId or UserId
Description
Searches for UserIDs within a collection based on a FaceId
or UserId
. This API can be used to find the closest UserID (with a highest similarity) to associate a face. The request must be provided with either FaceId
or UserId
. The operation returns an array of UserID that match the FaceId
or UserId
, ordered by similarity score with the highest similarity first.
See https://www.paws-r-sdk.com/docs/rekognition_search_users/ for full documentation.
Usage
rekognition_search_users(
CollectionId,
UserId = NULL,
FaceId = NULL,
UserMatchThreshold = NULL,
MaxUsers = NULL
)
Arguments
CollectionId |
[required] The ID of an existing collection containing the UserID, used with a UserId or FaceId. If a FaceId is provided, UserId isn’t required to be present in the Collection. |
UserId |
ID for the existing User. |
FaceId |
ID for the existing face. |
UserMatchThreshold |
Optional value that specifies the minimum confidence in the matched UserID to return. Default value of 80. |
MaxUsers |
Maximum number of identities to return. |
Searches for UserIDs using a supplied image
Description
Searches for UserIDs using a supplied image. It first detects the largest face in the image, and then searches a specified collection for matching UserIDs.
See https://www.paws-r-sdk.com/docs/rekognition_search_users_by_image/ for full documentation.
Usage
rekognition_search_users_by_image(
CollectionId,
Image,
UserMatchThreshold = NULL,
MaxUsers = NULL,
QualityFilter = NULL
)
Arguments
CollectionId |
[required] The ID of an existing collection containing the UserID. |
Image |
[required] |
UserMatchThreshold |
Specifies the minimum confidence in the UserID match to return. Default value is 80. |
MaxUsers |
Maximum number of UserIDs to return. |
QualityFilter |
A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces aren't searched for in the collection. The default value is NONE. |
Starts asynchronous recognition of celebrities in a stored video
Description
Starts asynchronous recognition of celebrities in a stored video.
See https://www.paws-r-sdk.com/docs/rekognition_start_celebrity_recognition/ for full documentation.
Usage
rekognition_start_celebrity_recognition(
Video,
ClientRequestToken = NULL,
NotificationChannel = NULL,
JobTag = NULL
)
Arguments
Video |
[required] The video in which you want to recognize celebrities. The video must be stored in an Amazon S3 bucket. |
ClientRequestToken |
Idempotent token used to identify the start request. If you use the same
token with multiple
|
NotificationChannel |
The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the celebrity recognition analysis to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy. |
JobTag |
An identifier you specify that's returned in the completion notification
that's published to your Amazon Simple Notification Service topic. For
example, you can use |
Starts asynchronous detection of inappropriate, unwanted, or offensive content in a stored video
Description
Starts asynchronous detection of inappropriate, unwanted, or offensive content in a stored video. For a list of moderation labels in Amazon Rekognition, see Using the image and video moderation APIs.
See https://www.paws-r-sdk.com/docs/rekognition_start_content_moderation/ for full documentation.
Usage
rekognition_start_content_moderation(
Video,
MinConfidence = NULL,
ClientRequestToken = NULL,
NotificationChannel = NULL,
JobTag = NULL
)
Arguments
Video |
[required] The video in which you want to detect inappropriate, unwanted, or offensive content. The video must be stored in an Amazon S3 bucket. |
MinConfidence |
Specifies the minimum confidence that Amazon Rekognition must have in
order to return a moderated content label. Confidence represents how
certain Amazon Rekognition is that the moderated content is correctly
identified. 0 is the lowest confidence. 100 is the highest confidence.
Amazon Rekognition doesn't return any moderated content labels with a
confidence level lower than this specified value. If you don't specify
|
ClientRequestToken |
Idempotent token used to identify the start request. If you use the same
token with multiple
|
NotificationChannel |
The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the content analysis to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic. |
JobTag |
An identifier you specify that's returned in the completion notification
that's published to your Amazon Simple Notification Service topic. For
example, you can use |
Starts asynchronous detection of faces in a stored video
Description
Starts asynchronous detection of faces in a stored video.
See https://www.paws-r-sdk.com/docs/rekognition_start_face_detection/ for full documentation.
Usage
rekognition_start_face_detection(
Video,
ClientRequestToken = NULL,
NotificationChannel = NULL,
FaceAttributes = NULL,
JobTag = NULL
)
Arguments
Video |
[required] The video in which you want to detect faces. The video must be stored in an Amazon S3 bucket. |
ClientRequestToken |
Idempotent token used to identify the start request. If you use the same
token with multiple
|
NotificationChannel |
The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the face detection operation. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy. |
FaceAttributes |
The face attributes you want returned.
|
JobTag |
An identifier you specify that's returned in the completion notification
that's published to your Amazon Simple Notification Service topic. For
example, you can use |
Starts the asynchronous search for faces in a collection that match the faces of persons detected in a stored video
Description
Starts the asynchronous search for faces in a collection that match the faces of persons detected in a stored video.
See https://www.paws-r-sdk.com/docs/rekognition_start_face_search/ for full documentation.
Usage
rekognition_start_face_search(
Video,
ClientRequestToken = NULL,
FaceMatchThreshold = NULL,
CollectionId,
NotificationChannel = NULL,
JobTag = NULL
)
Arguments
Video |
[required] The video you want to search. The video must be stored in an Amazon S3 bucket. |
ClientRequestToken |
Idempotent token used to identify the start request. If you use the same
token with multiple |
FaceMatchThreshold |
The minimum confidence in the person match to return. For example, don't return any matches where confidence in matches is less than 70%. The default value is 80%. |
CollectionId |
[required] ID of the collection that contains the faces you want to search for. |
NotificationChannel |
The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the search. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic. |
JobTag |
An identifier you specify that's returned in the completion notification
that's published to your Amazon Simple Notification Service topic. For
example, you can use |
Starts asynchronous detection of labels in a stored video
Description
Starts asynchronous detection of labels in a stored video.
See https://www.paws-r-sdk.com/docs/rekognition_start_label_detection/ for full documentation.
Usage
rekognition_start_label_detection(
Video,
ClientRequestToken = NULL,
MinConfidence = NULL,
NotificationChannel = NULL,
JobTag = NULL,
Features = NULL,
Settings = NULL
)
Arguments
Video |
[required] The video in which you want to detect labels. The video must be stored in an Amazon S3 bucket. |
ClientRequestToken |
Idempotent token used to identify the start request. If you use the same
token with multiple
|
MinConfidence |
Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected label. Confidence represents how certain Amazon Rekognition is that a label is correctly identified.0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition Video doesn't return any labels with a confidence level lower than this specified value. If you don't specify |
NotificationChannel |
The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the label detection operation to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy. |
JobTag |
An identifier you specify that's returned in the completion notification
that's published to your Amazon Simple Notification Service topic. For
example, you can use |
Features |
The features to return after video analysis. You can specify that GENERAL_LABELS are returned. |
Settings |
The settings for a StartLabelDetection request.Contains the specified parameters for the label detection request of an asynchronous label analysis operation. Settings can include filters for GENERAL_LABELS. |
Initiates a new media analysis job
Description
Initiates a new media analysis job. Accepts a manifest file in an Amazon S3 bucket. The output is a manifest file and a summary of the manifest stored in the Amazon S3 bucket.
See https://www.paws-r-sdk.com/docs/rekognition_start_media_analysis_job/ for full documentation.
Usage
rekognition_start_media_analysis_job(
ClientRequestToken = NULL,
JobName = NULL,
OperationsConfig,
Input,
OutputConfig,
KmsKeyId = NULL
)
Arguments
ClientRequestToken |
Idempotency token used to prevent the accidental creation of duplicate
versions. If you use the same token with multiple
|
JobName |
The name of the job. Does not have to be unique. |
OperationsConfig |
[required] Configuration options for the media analysis job to be created. |
Input |
[required] Input data to be analyzed by the job. |
OutputConfig |
[required] The Amazon S3 bucket location to store the results. |
KmsKeyId |
The identifier of customer managed AWS KMS key (name or ARN). The key is used to encrypt images copied into the service. The key is also used to encrypt results and manifest files written to the output Amazon S3 bucket. |
Starts the asynchronous tracking of a person's path in a stored video
Description
Starts the asynchronous tracking of a person's path in a stored video.
See https://www.paws-r-sdk.com/docs/rekognition_start_person_tracking/ for full documentation.
Usage
rekognition_start_person_tracking(
Video,
ClientRequestToken = NULL,
NotificationChannel = NULL,
JobTag = NULL
)
Arguments
Video |
[required] The video in which you want to detect people. The video must be stored in an Amazon S3 bucket. |
ClientRequestToken |
Idempotent token used to identify the start request. If you use the same
token with multiple
|
NotificationChannel |
The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the people detection operation to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy. |
JobTag |
An identifier you specify that's returned in the completion notification
that's published to your Amazon Simple Notification Service topic. For
example, you can use |
This operation applies only to Amazon Rekognition Custom Labels
Description
This operation applies only to Amazon Rekognition Custom Labels.
See https://www.paws-r-sdk.com/docs/rekognition_start_project_version/ for full documentation.
Usage
rekognition_start_project_version(
ProjectVersionArn,
MinInferenceUnits,
MaxInferenceUnits = NULL
)
Arguments
ProjectVersionArn |
[required] The Amazon Resource Name(ARN) of the model version that you want to start. |
MinInferenceUnits |
[required] The minimum number of inference units to use. A single inference unit represents 1 hour of processing. Use a higher number to increase the TPS throughput of your model. You are charged for the number of inference units that you use. |
MaxInferenceUnits |
The maximum number of inference units to use for auto-scaling the model. If you don't specify a value, Amazon Rekognition Custom Labels doesn't auto-scale the model. |
Starts asynchronous detection of segment detection in a stored video
Description
Starts asynchronous detection of segment detection in a stored video.
See https://www.paws-r-sdk.com/docs/rekognition_start_segment_detection/ for full documentation.
Usage
rekognition_start_segment_detection(
Video,
ClientRequestToken = NULL,
NotificationChannel = NULL,
JobTag = NULL,
Filters = NULL,
SegmentTypes
)
Arguments
Video |
[required] |
ClientRequestToken |
Idempotent token used to identify the start request. If you use the same
token with multiple
|
NotificationChannel |
The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the segment detection operation. Note that the Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic. |
JobTag |
An identifier you specify that's returned in the completion notification
that's published to your Amazon Simple Notification Service topic. For
example, you can use |
Filters |
Filters for technical cue or shot detection. |
SegmentTypes |
[required] An array of segment types to detect in the video. Valid values are TECHNICAL_CUE and SHOT. |
Starts processing a stream processor
Description
Starts processing a stream processor. You create a stream processor by calling create_stream_processor
. To tell start_stream_processor
which stream processor to start, use the value of the Name
field specified in the call to create_stream_processor
.
See https://www.paws-r-sdk.com/docs/rekognition_start_stream_processor/ for full documentation.
Usage
rekognition_start_stream_processor(
Name,
StartSelector = NULL,
StopSelector = NULL
)
Arguments
Name |
[required] The name of the stream processor to start processing. |
StartSelector |
Specifies the starting point in the Kinesis stream to start processing. You can use the producer timestamp or the fragment number. If you use the producer timestamp, you must put the time in milliseconds. For more information about fragment numbers, see Fragment. This is a required parameter for label detection stream processors and should not be used to start a face search stream processor. |
StopSelector |
Specifies when to stop processing the stream. You can specify a maximum amount of time to process the video. This is a required parameter for label detection stream processors and should not be used to start a face search stream processor. |
Starts asynchronous detection of text in a stored video
Description
Starts asynchronous detection of text in a stored video.
See https://www.paws-r-sdk.com/docs/rekognition_start_text_detection/ for full documentation.
Usage
rekognition_start_text_detection(
Video,
ClientRequestToken = NULL,
NotificationChannel = NULL,
JobTag = NULL,
Filters = NULL
)
Arguments
Video |
[required] |
ClientRequestToken |
Idempotent token used to identify the start request. If you use the same
token with multiple
|
NotificationChannel |
|
JobTag |
An identifier returned in the completion status published by your Amazon
Simple Notification Service topic. For example, you can use |
Filters |
Optional parameters that let you set criteria the text must meet to be included in your response. |
This operation applies only to Amazon Rekognition Custom Labels
Description
This operation applies only to Amazon Rekognition Custom Labels.
See https://www.paws-r-sdk.com/docs/rekognition_stop_project_version/ for full documentation.
Usage
rekognition_stop_project_version(ProjectVersionArn)
Arguments
ProjectVersionArn |
[required] The Amazon Resource Name (ARN) of the model version that you want to stop. This operation requires permissions to perform the
|
Stops a running stream processor that was created by CreateStreamProcessor
Description
Stops a running stream processor that was created by create_stream_processor
.
See https://www.paws-r-sdk.com/docs/rekognition_stop_stream_processor/ for full documentation.
Usage
rekognition_stop_stream_processor(Name)
Arguments
Name |
[required] The name of a stream processor created by
|
Adds one or more key-value tags to an Amazon Rekognition collection, stream processor, or Custom Labels model
Description
Adds one or more key-value tags to an Amazon Rekognition collection, stream processor, or Custom Labels model. For more information, see Tagging AWS Resources.
See https://www.paws-r-sdk.com/docs/rekognition_tag_resource/ for full documentation.
Usage
rekognition_tag_resource(ResourceArn, Tags)
Arguments
ResourceArn |
[required] Amazon Resource Name (ARN) of the model, collection, or stream processor that you want to assign the tags to. |
Tags |
[required] The key-value tags to assign to the resource. |
Removes one or more tags from an Amazon Rekognition collection, stream processor, or Custom Labels model
Description
Removes one or more tags from an Amazon Rekognition collection, stream processor, or Custom Labels model.
See https://www.paws-r-sdk.com/docs/rekognition_untag_resource/ for full documentation.
Usage
rekognition_untag_resource(ResourceArn, TagKeys)
Arguments
ResourceArn |
[required] Amazon Resource Name (ARN) of the model, collection, or stream processor that you want to remove the tags from. |
TagKeys |
[required] A list of the tags that you want to remove. |
This operation applies only to Amazon Rekognition Custom Labels
Description
This operation applies only to Amazon Rekognition Custom Labels.
See https://www.paws-r-sdk.com/docs/rekognition_update_dataset_entries/ for full documentation.
Usage
rekognition_update_dataset_entries(DatasetArn, Changes)
Arguments
DatasetArn |
[required] The Amazon Resource Name (ARN) of the dataset that you want to update. |
Changes |
[required] The changes that you want to make to the dataset. |
Allows you to update a stream processor
Description
Allows you to update a stream processor. You can change some settings and regions of interest and delete certain parameters.
See https://www.paws-r-sdk.com/docs/rekognition_update_stream_processor/ for full documentation.
Usage
rekognition_update_stream_processor(
Name,
SettingsForUpdate = NULL,
RegionsOfInterestForUpdate = NULL,
DataSharingPreferenceForUpdate = NULL,
ParametersToDelete = NULL
)
Arguments
Name |
[required] Name of the stream processor that you want to update. |
SettingsForUpdate |
The stream processor settings that you want to update. Label detection settings can be updated to detect different labels with a different minimum confidence. |
RegionsOfInterestForUpdate |
Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors. |
DataSharingPreferenceForUpdate |
Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams. |
ParametersToDelete |
A list of parameters you want to delete from the stream processor. |
Amazon SageMaker Service
Description
Provides APIs for creating and managing SageMaker resources.
Other Resources:
Usage
sagemaker(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- sagemaker( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
add_association | Creates an association between the source and the destination |
add_tags | Adds or overwrites one or more tags for the specified SageMaker resource |
associate_trial_component | Associates a trial component with a trial |
batch_delete_cluster_nodes | Deletes specific nodes within a SageMaker HyperPod cluster |
batch_describe_model_package | This action batch describes a list of versioned model packages |
create_action | Creates an action |
create_algorithm | Create a machine learning algorithm that you can use in SageMaker and list in the Amazon Web Services Marketplace |
create_app | Creates a running app for the specified UserProfile |
create_app_image_config | Creates a configuration for running a SageMaker AI image as a KernelGateway app |
create_artifact | Creates an artifact |
create_auto_ml_job | Creates an Autopilot job also referred to as Autopilot experiment or AutoML job |
create_auto_ml_job_v2 | Creates an Autopilot job also referred to as Autopilot experiment or AutoML job V2 |
create_cluster | Creates a SageMaker HyperPod cluster |
create_cluster_scheduler_config | Create cluster policy configuration |
create_code_repository | Creates a Git repository as a resource in your SageMaker AI account |
create_compilation_job | Starts a model compilation job |
create_compute_quota | Create compute allocation definition |
create_context | Creates a context |
create_data_quality_job_definition | Creates a definition for a job that monitors data quality and drift |
create_device_fleet | Creates a device fleet |
create_domain | Creates a Domain |
create_edge_deployment_plan | Creates an edge deployment plan, consisting of multiple stages |
create_edge_deployment_stage | Creates a new stage in an existing edge deployment plan |
create_edge_packaging_job | Starts a SageMaker Edge Manager model packaging job |
create_endpoint | Creates an endpoint using the endpoint configuration specified in the request |
create_endpoint_config | Creates an endpoint configuration that SageMaker hosting services uses to deploy models |
create_experiment | Creates a SageMaker experiment |
create_feature_group | Create a new FeatureGroup |
create_flow_definition | Creates a flow definition |
create_hub | Create a hub |
create_hub_content_reference | Create a hub content reference in order to add a model in the JumpStart public hub to a private hub |
create_human_task_ui | Defines the settings you will use for the human review workflow user interface |
create_hyper_parameter_tuning_job | Starts a hyperparameter tuning job |
create_image | Creates a custom SageMaker AI image |
create_image_version | Creates a version of the SageMaker AI image specified by ImageName |
create_inference_component | Creates an inference component, which is a SageMaker AI hosting object that you can use to deploy a model to an endpoint |
create_inference_experiment | Creates an inference experiment using the configurations specified in the request |
create_inference_recommendations_job | Starts a recommendation job |
create_labeling_job | Creates a job that uses workers to label the data objects in your input dataset |
create_mlflow_tracking_server | Creates an MLflow Tracking Server using a general purpose Amazon S3 bucket as the artifact store |
create_model | Creates a model in SageMaker |
create_model_bias_job_definition | Creates the definition for a model bias job |
create_model_card | Creates an Amazon SageMaker Model Card |
create_model_card_export_job | Creates an Amazon SageMaker Model Card export job |
create_model_explainability_job_definition | Creates the definition for a model explainability job |
create_model_package | Creates a model package that you can use to create SageMaker models or list on Amazon Web Services Marketplace, or a versioned model that is part of a model group |
create_model_package_group | Creates a model group |
create_model_quality_job_definition | Creates a definition for a job that monitors model quality and drift |
create_monitoring_schedule | Creates a schedule that regularly starts Amazon SageMaker AI Processing Jobs to monitor the data captured for an Amazon SageMaker AI Endpoint |
create_notebook_instance | Creates an SageMaker AI notebook instance |
create_notebook_instance_lifecycle_config | Creates a lifecycle configuration that you can associate with a notebook instance |
create_optimization_job | Creates a job that optimizes a model for inference performance |
create_partner_app | Creates an Amazon SageMaker Partner AI App |
create_partner_app_presigned_url | Creates a presigned URL to access an Amazon SageMaker Partner AI App |
create_pipeline | Creates a pipeline using a JSON pipeline definition |
create_presigned_domain_url | Creates a URL for a specified UserProfile in a Domain |
create_presigned_mlflow_tracking_server_url | Returns a presigned URL that you can use to connect to the MLflow UI attached to your tracking server |
create_presigned_notebook_instance_url | Returns a URL that you can use to connect to the Jupyter server from a notebook instance |
create_processing_job | Creates a processing job |
create_project | Creates a machine learning (ML) project that can contain one or more templates that set up an ML pipeline from training to deploying an approved model |
create_space | Creates a private space or a space used for real time collaboration in a domain |
create_studio_lifecycle_config | Creates a new Amazon SageMaker AI Studio Lifecycle Configuration |
create_training_job | Starts a model training job |
create_training_plan | Creates a new training plan in SageMaker to reserve compute capacity |
create_transform_job | Starts a transform job |
create_trial | Creates an SageMaker trial |
create_trial_component | Creates a trial component, which is a stage of a machine learning trial |
create_user_profile | Creates a user profile |
create_workforce | Use this operation to create a workforce |
create_workteam | Creates a new work team for labeling your data |
delete_action | Deletes an action |
delete_algorithm | Removes the specified algorithm from your account |
delete_app | Used to stop and delete an app |
delete_app_image_config | Deletes an AppImageConfig |
delete_artifact | Deletes an artifact |
delete_association | Deletes an association |
delete_cluster | Delete a SageMaker HyperPod cluster |
delete_cluster_scheduler_config | Deletes the cluster policy of the cluster |
delete_code_repository | Deletes the specified Git repository from your account |
delete_compilation_job | Deletes the specified compilation job |
delete_compute_quota | Deletes the compute allocation from the cluster |
delete_context | Deletes an context |
delete_data_quality_job_definition | Deletes a data quality monitoring job definition |
delete_device_fleet | Deletes a fleet |
delete_domain | Used to delete a domain |
delete_edge_deployment_plan | Deletes an edge deployment plan if (and only if) all the stages in the plan are inactive or there are no stages in the plan |
delete_edge_deployment_stage | Delete a stage in an edge deployment plan if (and only if) the stage is inactive |
delete_endpoint | Deletes an endpoint |
delete_endpoint_config | Deletes an endpoint configuration |
delete_experiment | Deletes an SageMaker experiment |
delete_feature_group | Delete the FeatureGroup and any data that was written to the OnlineStore of the FeatureGroup |
delete_flow_definition | Deletes the specified flow definition |
delete_hub | Delete a hub |
delete_hub_content | Delete the contents of a hub |
delete_hub_content_reference | Delete a hub content reference in order to remove a model from a private hub |
delete_human_task_ui | Use this operation to delete a human task user interface (worker task template) |
delete_hyper_parameter_tuning_job | Deletes a hyperparameter tuning job |
delete_image | Deletes a SageMaker AI image and all versions of the image |
delete_image_version | Deletes a version of a SageMaker AI image |
delete_inference_component | Deletes an inference component |
delete_inference_experiment | Deletes an inference experiment |
delete_mlflow_tracking_server | Deletes an MLflow Tracking Server |
delete_model | Deletes a model |
delete_model_bias_job_definition | Deletes an Amazon SageMaker AI model bias job definition |
delete_model_card | Deletes an Amazon SageMaker Model Card |
delete_model_explainability_job_definition | Deletes an Amazon SageMaker AI model explainability job definition |
delete_model_package | Deletes a model package |
delete_model_package_group | Deletes the specified model group |
delete_model_package_group_policy | Deletes a model group resource policy |
delete_model_quality_job_definition | Deletes the secified model quality monitoring job definition |
delete_monitoring_schedule | Deletes a monitoring schedule |
delete_notebook_instance | Deletes an SageMaker AI notebook instance |
delete_notebook_instance_lifecycle_config | Deletes a notebook instance lifecycle configuration |
delete_optimization_job | Deletes an optimization job |
delete_partner_app | Deletes a SageMaker Partner AI App |
delete_pipeline | Deletes a pipeline if there are no running instances of the pipeline |
delete_project | Delete the specified project |
delete_space | Used to delete a space |
delete_studio_lifecycle_config | Deletes the Amazon SageMaker AI Studio Lifecycle Configuration |
delete_tags | Deletes the specified tags from an SageMaker resource |
delete_trial | Deletes the specified trial |
delete_trial_component | Deletes the specified trial component |
delete_user_profile | Deletes a user profile |
delete_workforce | Use this operation to delete a workforce |
delete_workteam | Deletes an existing work team |
deregister_devices | Deregisters the specified devices |
describe_action | Describes an action |
describe_algorithm | Returns a description of the specified algorithm that is in your account |
describe_app | Describes the app |
describe_app_image_config | Describes an AppImageConfig |
describe_artifact | Describes an artifact |
describe_auto_ml_job | Returns information about an AutoML job created by calling CreateAutoMLJob |
describe_auto_ml_job_v2 | Returns information about an AutoML job created by calling CreateAutoMLJobV2 or CreateAutoMLJob |
describe_cluster | Retrieves information of a SageMaker HyperPod cluster |
describe_cluster_node | Retrieves information of a node (also called a instance interchangeably) of a SageMaker HyperPod cluster |
describe_cluster_scheduler_config | Description of the cluster policy |
describe_code_repository | Gets details about the specified Git repository |
describe_compilation_job | Returns information about a model compilation job |
describe_compute_quota | Description of the compute allocation definition |
describe_context | Describes a context |
describe_data_quality_job_definition | Gets the details of a data quality monitoring job definition |
describe_device | Describes the device |
describe_device_fleet | A description of the fleet the device belongs to |
describe_domain | The description of the domain |
describe_edge_deployment_plan | Describes an edge deployment plan with deployment status per stage |
describe_edge_packaging_job | A description of edge packaging jobs |
describe_endpoint | Returns the description of an endpoint |
describe_endpoint_config | Returns the description of an endpoint configuration created using the CreateEndpointConfig API |
describe_experiment | Provides a list of an experiment's properties |
describe_feature_group | Use this operation to describe a FeatureGroup |
describe_feature_metadata | Shows the metadata for a feature within a feature group |
describe_flow_definition | Returns information about the specified flow definition |
describe_hub | Describes a hub |
describe_hub_content | Describe the content of a hub |
describe_human_task_ui | Returns information about the requested human task user interface (worker task template) |
describe_hyper_parameter_tuning_job | Returns a description of a hyperparameter tuning job, depending on the fields selected |
describe_image | Describes a SageMaker AI image |
describe_image_version | Describes a version of a SageMaker AI image |
describe_inference_component | Returns information about an inference component |
describe_inference_experiment | Returns details about an inference experiment |
describe_inference_recommendations_job | Provides the results of the Inference Recommender job |
describe_labeling_job | Gets information about a labeling job |
describe_lineage_group | Provides a list of properties for the requested lineage group |
describe_mlflow_tracking_server | Returns information about an MLflow Tracking Server |
describe_model | Describes a model that you created using the CreateModel API |
describe_model_bias_job_definition | Returns a description of a model bias job definition |
describe_model_card | Describes the content, creation time, and security configuration of an Amazon SageMaker Model Card |
describe_model_card_export_job | Describes an Amazon SageMaker Model Card export job |
describe_model_explainability_job_definition | Returns a description of a model explainability job definition |
describe_model_package | Returns a description of the specified model package, which is used to create SageMaker models or list them on Amazon Web Services Marketplace |
describe_model_package_group | Gets a description for the specified model group |
describe_model_quality_job_definition | Returns a description of a model quality job definition |
describe_monitoring_schedule | Describes the schedule for a monitoring job |
describe_notebook_instance | Returns information about a notebook instance |
describe_notebook_instance_lifecycle_config | Returns a description of a notebook instance lifecycle configuration |
describe_optimization_job | Provides the properties of the specified optimization job |
describe_partner_app | Gets information about a SageMaker Partner AI App |
describe_pipeline | Describes the details of a pipeline |
describe_pipeline_definition_for_execution | Describes the details of an execution's pipeline definition |
describe_pipeline_execution | Describes the details of a pipeline execution |
describe_processing_job | Returns a description of a processing job |
describe_project | Describes the details of a project |
describe_space | Describes the space |
describe_studio_lifecycle_config | Describes the Amazon SageMaker AI Studio Lifecycle Configuration |
describe_subscribed_workteam | Gets information about a work team provided by a vendor |
describe_training_job | Returns information about a training job |
describe_training_plan | Retrieves detailed information about a specific training plan |
describe_transform_job | Returns information about a transform job |
describe_trial | Provides a list of a trial's properties |
describe_trial_component | Provides a list of a trials component's properties |
describe_user_profile | Describes a user profile |
describe_workforce | Lists private workforce information, including workforce name, Amazon Resource Name (ARN), and, if applicable, allowed IP address ranges (CIDRs) |
describe_workteam | Gets information about a specific work team |
disable_sagemaker_servicecatalog_portfolio | Disables using Service Catalog in SageMaker |
disassociate_trial_component | Disassociates a trial component from a trial |
enable_sagemaker_servicecatalog_portfolio | Enables using Service Catalog in SageMaker |
get_device_fleet_report | Describes a fleet |
get_lineage_group_policy | The resource policy for the lineage group |
get_model_package_group_policy | Gets a resource policy that manages access for a model group |
get_sagemaker_servicecatalog_portfolio_status | Gets the status of Service Catalog in SageMaker |
get_scaling_configuration_recommendation | Starts an Amazon SageMaker Inference Recommender autoscaling recommendation job |
get_search_suggestions | An auto-complete API for the search functionality in the SageMaker console |
import_hub_content | Import hub content |
list_actions | Lists the actions in your account and their properties |
list_algorithms | Lists the machine learning algorithms that have been created |
list_aliases | Lists the aliases of a specified image or image version |
list_app_image_configs | Lists the AppImageConfigs in your account and their properties |
list_apps | Lists apps |
list_artifacts | Lists the artifacts in your account and their properties |
list_associations | Lists the associations in your account and their properties |
list_auto_ml_jobs | Request a list of jobs |
list_candidates_for_auto_ml_job | List the candidates created for the job |
list_cluster_nodes | Retrieves the list of instances (also called nodes interchangeably) in a SageMaker HyperPod cluster |
list_clusters | Retrieves the list of SageMaker HyperPod clusters |
list_cluster_scheduler_configs | List the cluster policy configurations |
list_code_repositories | Gets a list of the Git repositories in your account |
list_compilation_jobs | Lists model compilation jobs that satisfy various filters |
list_compute_quotas | List the resource allocation definitions |
list_contexts | Lists the contexts in your account and their properties |
list_data_quality_job_definitions | Lists the data quality job definitions in your account |
list_device_fleets | Returns a list of devices in the fleet |
list_devices | A list of devices |
list_domains | Lists the domains |
list_edge_deployment_plans | Lists all edge deployment plans |
list_edge_packaging_jobs | Returns a list of edge packaging jobs |
list_endpoint_configs | Lists endpoint configurations |
list_endpoints | Lists endpoints |
list_experiments | Lists all the experiments in your account |
list_feature_groups | List FeatureGroups based on given filter and order |
list_flow_definitions | Returns information about the flow definitions in your account |
list_hub_contents | List the contents of a hub |
list_hub_content_versions | List hub content versions |
list_hubs | List all existing hubs |
list_human_task_uis | Returns information about the human task user interfaces in your account |
list_hyper_parameter_tuning_jobs | Gets a list of HyperParameterTuningJobSummary objects that describe the hyperparameter tuning jobs launched in your account |
list_images | Lists the images in your account and their properties |
list_image_versions | Lists the versions of a specified image and their properties |
list_inference_components | Lists the inference components in your account and their properties |
list_inference_experiments | Returns the list of all inference experiments |
list_inference_recommendations_jobs | Lists recommendation jobs that satisfy various filters |
list_inference_recommendations_job_steps | Returns a list of the subtasks for an Inference Recommender job |
list_labeling_jobs | Gets a list of labeling jobs |
list_labeling_jobs_for_workteam | Gets a list of labeling jobs assigned to a specified work team |
list_lineage_groups | A list of lineage groups shared with your Amazon Web Services account |
list_mlflow_tracking_servers | Lists all MLflow Tracking Servers |
list_model_bias_job_definitions | Lists model bias jobs definitions that satisfy various filters |
list_model_card_export_jobs | List the export jobs for the Amazon SageMaker Model Card |
list_model_cards | List existing model cards |
list_model_card_versions | List existing versions of an Amazon SageMaker Model Card |
list_model_explainability_job_definitions | Lists model explainability job definitions that satisfy various filters |
list_model_metadata | Lists the domain, framework, task, and model name of standard machine learning models found in common model zoos |
list_model_package_groups | Gets a list of the model groups in your Amazon Web Services account |
list_model_packages | Lists the model packages that have been created |
list_model_quality_job_definitions | Gets a list of model quality monitoring job definitions in your account |
list_models | Lists models created with the CreateModel API |
list_monitoring_alert_history | Gets a list of past alerts in a model monitoring schedule |
list_monitoring_alerts | Gets the alerts for a single monitoring schedule |
list_monitoring_executions | Returns list of all monitoring job executions |
list_monitoring_schedules | Returns list of all monitoring schedules |
list_notebook_instance_lifecycle_configs | Lists notebook instance lifestyle configurations created with the CreateNotebookInstanceLifecycleConfig API |
list_notebook_instances | Returns a list of the SageMaker AI notebook instances in the requester's account in an Amazon Web Services Region |
list_optimization_jobs | Lists the optimization jobs in your account and their properties |
list_partner_apps | Lists all of the SageMaker Partner AI Apps in an account |
list_pipeline_executions | Gets a list of the pipeline executions |
list_pipeline_execution_steps | Gets a list of PipeLineExecutionStep objects |
list_pipeline_parameters_for_execution | Gets a list of parameters for a pipeline execution |
list_pipelines | Gets a list of pipelines |
list_processing_jobs | Lists processing jobs that satisfy various filters |
list_projects | Gets a list of the projects in an Amazon Web Services account |
list_resource_catalogs | Lists Amazon SageMaker Catalogs based on given filters and orders |
list_spaces | Lists spaces |
list_stage_devices | Lists devices allocated to the stage, containing detailed device information and deployment status |
list_studio_lifecycle_configs | Lists the Amazon SageMaker AI Studio Lifecycle Configurations in your Amazon Web Services Account |
list_subscribed_workteams | Gets a list of the work teams that you are subscribed to in the Amazon Web Services Marketplace |
list_tags | Returns the tags for the specified SageMaker resource |
list_training_jobs | Lists training jobs |
list_training_jobs_for_hyper_parameter_tuning_job | Gets a list of TrainingJobSummary objects that describe the training jobs that a hyperparameter tuning job launched |
list_training_plans | Retrieves a list of training plans for the current account |
list_transform_jobs | Lists transform jobs |
list_trial_components | Lists the trial components in your account |
list_trials | Lists the trials in your account |
list_user_profiles | Lists user profiles |
list_workforces | Use this operation to list all private and vendor workforces in an Amazon Web Services Region |
list_workteams | Gets a list of private work teams that you have defined in a region |
put_model_package_group_policy | Adds a resouce policy to control access to a model group |
query_lineage | Use this action to inspect your lineage and discover relationships between entities |
register_devices | Register devices |
render_ui_template | Renders the UI template so that you can preview the worker's experience |
retry_pipeline_execution | Retry the execution of the pipeline |
search | Finds SageMaker resources that match a search query |
search_training_plan_offerings | Searches for available training plan offerings based on specified criteria |
send_pipeline_execution_step_failure | Notifies the pipeline that the execution of a callback step failed, along with a message describing why |
send_pipeline_execution_step_success | Notifies the pipeline that the execution of a callback step succeeded and provides a list of the step's output parameters |
start_edge_deployment_stage | Starts a stage in an edge deployment plan |
start_inference_experiment | Starts an inference experiment |
start_mlflow_tracking_server | Programmatically start an MLflow Tracking Server |
start_monitoring_schedule | Starts a previously stopped monitoring schedule |
start_notebook_instance | Launches an ML compute instance with the latest version of the libraries and attaches your ML storage volume |
start_pipeline_execution | Starts a pipeline execution |
stop_auto_ml_job | A method for forcing a running job to shut down |
stop_compilation_job | Stops a model compilation job |
stop_edge_deployment_stage | Stops a stage in an edge deployment plan |
stop_edge_packaging_job | Request to stop an edge packaging job |
stop_hyper_parameter_tuning_job | Stops a running hyperparameter tuning job and all running training jobs that the tuning job launched |
stop_inference_experiment | Stops an inference experiment |
stop_inference_recommendations_job | Stops an Inference Recommender job |
stop_labeling_job | Stops a running labeling job |
stop_mlflow_tracking_server | Programmatically stop an MLflow Tracking Server |
stop_monitoring_schedule | Stops a previously started monitoring schedule |
stop_notebook_instance | Terminates the ML compute instance |
stop_optimization_job | Ends a running inference optimization job |
stop_pipeline_execution | Stops a pipeline execution |
stop_processing_job | Stops a processing job |
stop_training_job | Stops a training job |
stop_transform_job | Stops a batch transform job |
update_action | Updates an action |
update_app_image_config | Updates the properties of an AppImageConfig |
update_artifact | Updates an artifact |
update_cluster | Updates a SageMaker HyperPod cluster |
update_cluster_scheduler_config | Update the cluster policy configuration |
update_cluster_software | Updates the platform software of a SageMaker HyperPod cluster for security patching |
update_code_repository | Updates the specified Git repository with the specified values |
update_compute_quota | Update the compute allocation definition |
update_context | Updates a context |
update_device_fleet | Updates a fleet of devices |
update_devices | Updates one or more devices in a fleet |
update_domain | Updates the default settings for new user profiles in the domain |
update_endpoint | Deploys the EndpointConfig specified in the request to a new fleet of instances |
update_endpoint_weights_and_capacities | Updates variant weight of one or more variants associated with an existing endpoint, or capacity of one variant associated with an existing endpoint |
update_experiment | Adds, updates, or removes the description of an experiment |
update_feature_group | Updates the feature group by either adding features or updating the online store configuration |
update_feature_metadata | Updates the description and parameters of the feature group |
update_hub | Update a hub |
update_image | Updates the properties of a SageMaker AI image |
update_image_version | Updates the properties of a SageMaker AI image version |
update_inference_component | Updates an inference component |
update_inference_component_runtime_config | Runtime settings for a model that is deployed with an inference component |
update_inference_experiment | Updates an inference experiment that you created |
update_mlflow_tracking_server | Updates properties of an existing MLflow Tracking Server |
update_model_card | Update an Amazon SageMaker Model Card |
update_model_package | Updates a versioned model |
update_monitoring_alert | Update the parameters of a model monitor alert |
update_monitoring_schedule | Updates a previously created schedule |
update_notebook_instance | Updates a notebook instance |
update_notebook_instance_lifecycle_config | Updates a notebook instance lifecycle configuration created with the CreateNotebookInstanceLifecycleConfig API |
update_partner_app | Updates all of the SageMaker Partner AI Apps in an account |
update_pipeline | Updates a pipeline |
update_pipeline_execution | Updates a pipeline execution |
update_project | Updates a machine learning (ML) project that is created from a template that sets up an ML pipeline from training to deploying an approved model |
update_space | Updates the settings of a space |
update_training_job | Update a model training job to request a new Debugger profiling configuration or to change warm pool retention length |
update_trial | Updates the display name of a trial |
update_trial_component | Updates one or more properties of a trial component |
update_user_profile | Updates a user profile |
update_workforce | Use this operation to update your workforce |
update_workteam | Updates an existing work team with new member definitions or description |
Examples
## Not run:
svc <- sagemaker()
svc$add_association(
Foo = 123
)
## End(Not run)
Creates an association between the source and the destination
Description
Creates an association between the source and the destination. A source can be associated with multiple destinations, and a destination can be associated with multiple sources. An association is a lineage tracking entity. For more information, see Amazon SageMaker ML Lineage Tracking.
See https://www.paws-r-sdk.com/docs/sagemaker_add_association/ for full documentation.
Usage
sagemaker_add_association(SourceArn, DestinationArn, AssociationType = NULL)
Arguments
SourceArn |
[required] The ARN of the source. |
DestinationArn |
[required] The Amazon Resource Name (ARN) of the destination. |
AssociationType |
The type of association. The following are suggested uses for each type. Amazon SageMaker places no restrictions on their use.
|
Adds or overwrites one or more tags for the specified SageMaker resource
Description
Adds or overwrites one or more tags for the specified SageMaker resource. You can add tags to notebook instances, training jobs, hyperparameter tuning jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and endpoints.
See https://www.paws-r-sdk.com/docs/sagemaker_add_tags/ for full documentation.
Usage
sagemaker_add_tags(ResourceArn, Tags)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the resource that you want to tag. |
Tags |
[required] An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources. |
Associates a trial component with a trial
Description
Associates a trial component with a trial. A trial component can be associated with multiple trials. To disassociate a trial component from a trial, call the disassociate_trial_component
API.
See https://www.paws-r-sdk.com/docs/sagemaker_associate_trial_component/ for full documentation.
Usage
sagemaker_associate_trial_component(TrialComponentName, TrialName)
Arguments
TrialComponentName |
[required] The name of the component to associated with the trial. |
TrialName |
[required] The name of the trial to associate with. |
Deletes specific nodes within a SageMaker HyperPod cluster
Description
Deletes specific nodes within a SageMaker HyperPod cluster. batch_delete_cluster_nodes
accepts a cluster name and a list of node IDs.
See https://www.paws-r-sdk.com/docs/sagemaker_batch_delete_cluster_nodes/ for full documentation.
Usage
sagemaker_batch_delete_cluster_nodes(ClusterName, NodeIds)
Arguments
ClusterName |
[required] The name of the SageMaker HyperPod cluster from which to delete the specified nodes. |
NodeIds |
[required] A list of node IDs to be deleted from the specified cluster. For SageMaker HyperPod clusters using the Slurm workload manager, you cannot remove instances that are configured as Slurm controller nodes. |
This action batch describes a list of versioned model packages
Description
This action batch describes a list of versioned model packages
See https://www.paws-r-sdk.com/docs/sagemaker_batch_describe_model_package/ for full documentation.
Usage
sagemaker_batch_describe_model_package(ModelPackageArnList)
Arguments
ModelPackageArnList |
[required] The list of Amazon Resource Name (ARN) of the model package groups. |
Creates an action
Description
Creates an action. An action is a lineage tracking entity that represents an action or activity. For example, a model deployment or an HPO job. Generally, an action involves at least one input or output artifact. For more information, see Amazon SageMaker ML Lineage Tracking.
See https://www.paws-r-sdk.com/docs/sagemaker_create_action/ for full documentation.
Usage
sagemaker_create_action(
ActionName,
Source,
ActionType,
Description = NULL,
Status = NULL,
Properties = NULL,
MetadataProperties = NULL,
Tags = NULL
)
Arguments
ActionName |
[required] The name of the action. Must be unique to your account in an Amazon Web Services Region. |
Source |
[required] The source type, ID, and URI. |
ActionType |
[required] The action type. |
Description |
The description of the action. |
Status |
The status of the action. |
Properties |
A list of properties to add to the action. |
MetadataProperties |
|
Tags |
A list of tags to apply to the action. |
Create a machine learning algorithm that you can use in SageMaker and list in the Amazon Web Services Marketplace
Description
Create a machine learning algorithm that you can use in SageMaker and list in the Amazon Web Services Marketplace.
See https://www.paws-r-sdk.com/docs/sagemaker_create_algorithm/ for full documentation.
Usage
sagemaker_create_algorithm(
AlgorithmName,
AlgorithmDescription = NULL,
TrainingSpecification,
InferenceSpecification = NULL,
ValidationSpecification = NULL,
CertifyForMarketplace = NULL,
Tags = NULL
)
Arguments
AlgorithmName |
[required] The name of the algorithm. |
AlgorithmDescription |
A description of the algorithm. |
TrainingSpecification |
[required] Specifies details about training jobs run by this algorithm, including the following:
|
InferenceSpecification |
Specifies details about inference jobs that the algorithm runs, including the following:
|
ValidationSpecification |
Specifies configurations for one or more training jobs and that SageMaker runs to test the algorithm's training code and, optionally, one or more batch transform jobs that SageMaker runs to test the algorithm's inference code. |
CertifyForMarketplace |
Whether to certify the algorithm so that it can be listed in Amazon Web Services Marketplace. |
Tags |
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources. |
Creates a running app for the specified UserProfile
Description
Creates a running app for the specified UserProfile. This operation is automatically invoked by Amazon SageMaker AI upon access to the associated Domain, and when new kernel configurations are selected by the user. A user may have multiple Apps active simultaneously.
See https://www.paws-r-sdk.com/docs/sagemaker_create_app/ for full documentation.
Usage
sagemaker_create_app(
DomainId,
UserProfileName = NULL,
SpaceName = NULL,
AppType,
AppName,
Tags = NULL,
ResourceSpec = NULL
)
Arguments
DomainId |
[required] The domain ID. |
UserProfileName |
The user profile name. If this value is not set, then |
SpaceName |
The name of the space. If this value is not set, then |
AppType |
[required] The type of app. |
AppName |
[required] The name of the app. |
Tags |
Each tag consists of a key and an optional value. Tag keys must be unique per resource. |
ResourceSpec |
The instance type and the Amazon Resource Name (ARN) of the SageMaker AI image created on the instance. The value of |
Creates a configuration for running a SageMaker AI image as a KernelGateway app
Description
Creates a configuration for running a SageMaker AI image as a KernelGateway app. The configuration specifies the Amazon Elastic File System storage volume on the image, and a list of the kernels in the image.
See https://www.paws-r-sdk.com/docs/sagemaker_create_app_image_config/ for full documentation.
Usage
sagemaker_create_app_image_config(
AppImageConfigName,
Tags = NULL,
KernelGatewayImageConfig = NULL,
JupyterLabAppImageConfig = NULL,
CodeEditorAppImageConfig = NULL
)
Arguments
AppImageConfigName |
[required] The name of the AppImageConfig. Must be unique to your account. |
Tags |
A list of tags to apply to the AppImageConfig. |
KernelGatewayImageConfig |
The KernelGatewayImageConfig. You can only specify one image kernel in the AppImageConfig API. This kernel will be shown to users before the image starts. Once the image runs, all kernels are visible in JupyterLab. |
JupyterLabAppImageConfig |
The |
CodeEditorAppImageConfig |
The |
Creates an artifact
Description
Creates an artifact. An artifact is a lineage tracking entity that represents a URI addressable object or data. Some examples are the S3 URI of a dataset and the ECR registry path of an image. For more information, see Amazon SageMaker ML Lineage Tracking.
See https://www.paws-r-sdk.com/docs/sagemaker_create_artifact/ for full documentation.
Usage
sagemaker_create_artifact(
ArtifactName = NULL,
Source,
ArtifactType,
Properties = NULL,
MetadataProperties = NULL,
Tags = NULL
)
Arguments
ArtifactName |
The name of the artifact. Must be unique to your account in an Amazon Web Services Region. |
Source |
[required] The ID, ID type, and URI of the source. |
ArtifactType |
[required] The artifact type. |
Properties |
A list of properties to add to the artifact. |
MetadataProperties |
|
Tags |
A list of tags to apply to the artifact. |
Creates an Autopilot job also referred to as Autopilot experiment or AutoML job
Description
Creates an Autopilot job also referred to as Autopilot experiment or AutoML job.
See https://www.paws-r-sdk.com/docs/sagemaker_create_auto_ml_job/ for full documentation.
Usage
sagemaker_create_auto_ml_job(
AutoMLJobName,
InputDataConfig,
OutputDataConfig,
ProblemType = NULL,
AutoMLJobObjective = NULL,
AutoMLJobConfig = NULL,
RoleArn,
GenerateCandidateDefinitionsOnly = NULL,
Tags = NULL,
ModelDeployConfig = NULL
)
Arguments
AutoMLJobName |
[required] Identifies an Autopilot job. The name must be unique to your account and is case insensitive. |
InputDataConfig |
[required] An array of channel objects that describes the input data and its
location. Each channel is a named input source. Similar to
|
OutputDataConfig |
[required] Provides information about encryption and the Amazon S3 output path needed to store artifacts from an AutoML job. Format(s) supported: CSV. |
ProblemType |
Defines the type of supervised learning problem available for the candidates. For more information, see SageMaker Autopilot problem types. |
AutoMLJobObjective |
Specifies a metric to minimize or maximize as the objective of a job. If not specified, the default objective metric depends on the problem type. See AutoMLJobObjective for the default values. |
AutoMLJobConfig |
A collection of settings used to configure an AutoML job. |
RoleArn |
[required] The ARN of the role that is used to access the data. |
GenerateCandidateDefinitionsOnly |
Generates possible candidates without training the models. A candidate is a combination of data preprocessors, algorithms, and algorithm parameter settings. |
Tags |
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web ServicesResources. Tag keys must be unique per resource. |
ModelDeployConfig |
Specifies how to generate the endpoint name for an automatic one-click Autopilot model deployment. |
Creates an Autopilot job also referred to as Autopilot experiment or AutoML job V2
Description
Creates an Autopilot job also referred to as Autopilot experiment or AutoML job V2.
See https://www.paws-r-sdk.com/docs/sagemaker_create_auto_ml_job_v2/ for full documentation.
Usage
sagemaker_create_auto_ml_job_v2(
AutoMLJobName,
AutoMLJobInputDataConfig,
OutputDataConfig,
AutoMLProblemTypeConfig,
RoleArn,
Tags = NULL,
SecurityConfig = NULL,
AutoMLJobObjective = NULL,
ModelDeployConfig = NULL,
DataSplitConfig = NULL,
AutoMLComputeConfig = NULL
)
Arguments
AutoMLJobName |
[required] Identifies an Autopilot job. The name must be unique to your account and is case insensitive. |
AutoMLJobInputDataConfig |
[required] An array of channel objects describing the input data and their
location. Each channel is a named input source. Similar to the
InputDataConfig
attribute in the
|
OutputDataConfig |
[required] Provides information about encryption and the Amazon S3 output path needed to store artifacts from an AutoML job. |
AutoMLProblemTypeConfig |
[required] Defines the configuration settings of one of the supported problem types. |
RoleArn |
[required] The ARN of the role that is used to access the data. |
Tags |
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, such as by purpose, owner, or environment. For more information, see Tagging Amazon Web ServicesResources. Tag keys must be unique per resource. |
SecurityConfig |
The security configuration for traffic encryption or Amazon VPC settings. |
AutoMLJobObjective |
Specifies a metric to minimize or maximize as the objective of a job. If not specified, the default objective metric depends on the problem type. For the list of default values per problem type, see AutoMLJobObjective.
|
ModelDeployConfig |
Specifies how to generate the endpoint name for an automatic one-click Autopilot model deployment. |
DataSplitConfig |
This structure specifies how to split the data into train and validation datasets. The validation and training datasets must contain the same headers. For
jobs created by calling
This attribute must not be set for the time-series forecasting problem type, as Autopilot automatically splits the input dataset into training and validation sets. |
AutoMLComputeConfig |
Specifies the compute configuration for the AutoML job V2. |
Creates a SageMaker HyperPod cluster
Description
Creates a SageMaker HyperPod cluster. SageMaker HyperPod is a capability of SageMaker for creating and managing persistent clusters for developing large machine learning models, such as large language models (LLMs) and diffusion models. To learn more, see Amazon SageMaker HyperPod in the Amazon SageMaker Developer Guide.
See https://www.paws-r-sdk.com/docs/sagemaker_create_cluster/ for full documentation.
Usage
sagemaker_create_cluster(
ClusterName,
InstanceGroups,
VpcConfig = NULL,
Tags = NULL,
Orchestrator = NULL,
NodeRecovery = NULL
)
Arguments
ClusterName |
[required] The name for the new SageMaker HyperPod cluster. |
InstanceGroups |
[required] The instance groups to be created in the SageMaker HyperPod cluster. |
VpcConfig |
Specifies the Amazon Virtual Private Cloud (VPC) that is associated with the Amazon SageMaker HyperPod cluster. You can control access to and from your resources by configuring your VPC. For more information, see Give SageMaker access to resources in your Amazon VPC. When your Amazon VPC and subnets support IPv6, network communications differ based on the cluster orchestration platform:
Additional resources for IPv6 configuration:
|
Tags |
Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource. You can add tags to your cluster in the same way you add them in other Amazon Web Services services that support tagging. To learn more about tagging Amazon Web Services resources in general, see Tagging Amazon Web Services Resources User Guide. |
Orchestrator |
The type of orchestrator to use for the SageMaker HyperPod cluster.
Currently, the only supported value is |
NodeRecovery |
The node recovery mode for the SageMaker HyperPod cluster. When set to
|
Create cluster policy configuration
Description
Create cluster policy configuration. This policy is used for task prioritization and fair-share allocation of idle compute. This helps prioritize critical workloads and distributes idle compute across entities.
See https://www.paws-r-sdk.com/docs/sagemaker_create_cluster_scheduler_config/ for full documentation.
Usage
sagemaker_create_cluster_scheduler_config(
Name,
ClusterArn,
SchedulerConfig,
Description = NULL,
Tags = NULL
)
Arguments
Name |
[required] Name for the cluster policy. |
ClusterArn |
[required] ARN of the cluster. |
SchedulerConfig |
[required] Configuration about the monitoring schedule. |
Description |
Description of the cluster policy. |
Tags |
Tags of the cluster policy. |
Creates a Git repository as a resource in your SageMaker AI account
Description
Creates a Git repository as a resource in your SageMaker AI account. You can associate the repository with notebook instances so that you can use Git source control for the notebooks you create. The Git repository is a resource in your SageMaker AI account, so it can be associated with more than one notebook instance, and it persists independently from the lifecycle of any notebook instances it is associated with.
See https://www.paws-r-sdk.com/docs/sagemaker_create_code_repository/ for full documentation.
Usage
sagemaker_create_code_repository(CodeRepositoryName, GitConfig, Tags = NULL)
Arguments
CodeRepositoryName |
[required] The name of the Git repository. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen). |
GitConfig |
[required] Specifies details about the repository, including the URL where the repository is located, the default branch, and credentials to use to access the repository. |
Tags |
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources. |
Starts a model compilation job
Description
Starts a model compilation job. After the model has been compiled, Amazon SageMaker AI saves the resulting model artifacts to an Amazon Simple Storage Service (Amazon S3) bucket that you specify.
See https://www.paws-r-sdk.com/docs/sagemaker_create_compilation_job/ for full documentation.
Usage
sagemaker_create_compilation_job(
CompilationJobName,
RoleArn,
ModelPackageVersionArn = NULL,
InputConfig = NULL,
OutputConfig,
VpcConfig = NULL,
StoppingCondition,
Tags = NULL
)
Arguments
CompilationJobName |
[required] A name for the model compilation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account. |
RoleArn |
[required] The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker AI to perform tasks on your behalf. During model compilation, Amazon SageMaker AI needs your permission to:
You grant permissions for all of these tasks to an IAM role. To pass
this role to Amazon SageMaker AI, the caller of this API must have the
|
ModelPackageVersionArn |
The Amazon Resource Name (ARN) of a versioned model package. Provide
either a |
InputConfig |
Provides information about the location of input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained. |
OutputConfig |
[required] Provides information about the output location for the compiled model and the target device the model runs on. |
VpcConfig |
A VpcConfig object that specifies the VPC that you want your compilation job to connect to. Control access to your models by configuring the VPC. For more information, see Protect Compilation Jobs by Using an Amazon Virtual Private Cloud. |
StoppingCondition |
[required] Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon SageMaker AI ends the compilation job. Use this API to cap model training costs. |
Tags |
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources. |
Create compute allocation definition
Description
Create compute allocation definition. This defines how compute is allocated, shared, and borrowed for specified entities. Specifically, how to lend and borrow idle compute and assign a fair-share weight to the specified entities.
See https://www.paws-r-sdk.com/docs/sagemaker_create_compute_quota/ for full documentation.
Usage
sagemaker_create_compute_quota(
Name,
Description = NULL,
ClusterArn,
ComputeQuotaConfig,
ComputeQuotaTarget,
ActivationState = NULL,
Tags = NULL
)
Arguments
Name |
[required] Name to the compute allocation definition. |
Description |
Description of the compute allocation definition. |
ClusterArn |
[required] ARN of the cluster. |
ComputeQuotaConfig |
[required] Configuration of the compute allocation definition. This includes the resource sharing option, and the setting to preempt low priority tasks. |
ComputeQuotaTarget |
[required] The target entity to allocate compute resources to. |
ActivationState |
The state of the compute allocation being described. Use to enable or disable compute allocation. Default is |
Tags |
Tags of the compute allocation definition. |
Creates a context
Description
Creates a context. A context is a lineage tracking entity that represents a logical grouping of other tracking or experiment entities. Some examples are an endpoint and a model package. For more information, see Amazon SageMaker ML Lineage Tracking.
See https://www.paws-r-sdk.com/docs/sagemaker_create_context/ for full documentation.
Usage
sagemaker_create_context(
ContextName,
Source,
ContextType,
Description = NULL,
Properties = NULL,
Tags = NULL
)
Arguments
ContextName |
[required] The name of the context. Must be unique to your account in an Amazon Web Services Region. |
Source |
[required] The source type, ID, and URI. |
ContextType |
[required] The context type. |
Description |
The description of the context. |
Properties |
A list of properties to add to the context. |
Tags |
A list of tags to apply to the context. |
Creates a definition for a job that monitors data quality and drift
Description
Creates a definition for a job that monitors data quality and drift. For information about model monitor, see Amazon SageMaker AI Model Monitor.
See https://www.paws-r-sdk.com/docs/sagemaker_create_data_quality_job_definition/ for full documentation.
Usage
sagemaker_create_data_quality_job_definition(
JobDefinitionName,
DataQualityBaselineConfig = NULL,
DataQualityAppSpecification,
DataQualityJobInput,
DataQualityJobOutputConfig,
JobResources,
NetworkConfig = NULL,
RoleArn,
StoppingCondition = NULL,
Tags = NULL
)
Arguments
JobDefinitionName |
[required] The name for the monitoring job definition. |
DataQualityBaselineConfig |
Configures the constraints and baselines for the monitoring job. |
DataQualityAppSpecification |
[required] Specifies the container that runs the monitoring job. |
DataQualityJobInput |
[required] A list of inputs for the monitoring job. Currently endpoints are supported as monitoring inputs. |
DataQualityJobOutputConfig |
[required] |
JobResources |
[required] |
NetworkConfig |
Specifies networking configuration for the monitoring job. |
RoleArn |
[required] The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker AI can assume to perform tasks on your behalf. |
StoppingCondition |
|
Tags |
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide. |
Creates a device fleet
Description
Creates a device fleet.
See https://www.paws-r-sdk.com/docs/sagemaker_create_device_fleet/ for full documentation.
Usage
sagemaker_create_device_fleet(
DeviceFleetName,
RoleArn = NULL,
Description = NULL,
OutputConfig,
Tags = NULL,
EnableIotRoleAlias = NULL
)
Arguments
DeviceFleetName |
[required] The name of the fleet that the device belongs to. |
RoleArn |
The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT). |
Description |
A description of the fleet. |
OutputConfig |
[required] The output configuration for storing sample data collected by the fleet. |
Tags |
Creates tags for the specified fleet. |
EnableIotRoleAlias |
Whether to create an Amazon Web Services IoT Role Alias during device fleet creation. The name of the role alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}". For example, if your device fleet is called "demo-fleet", the name of the role alias will be "SageMakerEdge-demo-fleet". |
Creates a Domain
Description
Creates a Domain
. A domain consists of an associated Amazon Elastic File System volume, a list of authorized users, and a variety of security, application, policy, and Amazon Virtual Private Cloud (VPC) configurations. Users within a domain can share notebook files and other artifacts with each other.
See https://www.paws-r-sdk.com/docs/sagemaker_create_domain/ for full documentation.
Usage
sagemaker_create_domain(
DomainName,
AuthMode,
DefaultUserSettings,
DomainSettings = NULL,
SubnetIds,
VpcId,
Tags = NULL,
AppNetworkAccessType = NULL,
HomeEfsFileSystemKmsKeyId = NULL,
KmsKeyId = NULL,
AppSecurityGroupManagement = NULL,
TagPropagation = NULL,
DefaultSpaceSettings = NULL
)
Arguments
DomainName |
[required] A name for the domain. |
AuthMode |
[required] The mode of authentication that members use to access the domain. |
DefaultUserSettings |
[required] The default settings to use to create a user profile when
|
DomainSettings |
A collection of |
SubnetIds |
[required] The VPC subnets that the domain uses for communication. |
VpcId |
[required] The ID of the Amazon Virtual Private Cloud (VPC) that the domain uses for communication. |
Tags |
Tags to associated with the Domain. Each tag consists of a key and an
optional value. Tag keys must be unique per resource. Tags are
searchable using the Tags that you specify for the Domain are also added to all Apps that the Domain launches. |
AppNetworkAccessType |
Specifies the VPC used for non-EFS traffic. The default value is
|
HomeEfsFileSystemKmsKeyId |
Use |
KmsKeyId |
SageMaker AI uses Amazon Web Services KMS to encrypt EFS and EBS volumes attached to the domain with an Amazon Web Services managed key by default. For more control, specify a customer managed key. |
AppSecurityGroupManagement |
The entity that creates and manages the required security groups for
inter-app communication in |
TagPropagation |
Indicates whether custom tag propagation is supported for the domain.
Defaults to |
DefaultSpaceSettings |
The default settings for shared spaces that users create in the domain. |
Creates an edge deployment plan, consisting of multiple stages
Description
Creates an edge deployment plan, consisting of multiple stages. Each stage may have a different deployment configuration and devices.
See https://www.paws-r-sdk.com/docs/sagemaker_create_edge_deployment_plan/ for full documentation.
Usage
sagemaker_create_edge_deployment_plan(
EdgeDeploymentPlanName,
ModelConfigs,
DeviceFleetName,
Stages = NULL,
Tags = NULL
)
Arguments
EdgeDeploymentPlanName |
[required] The name of the edge deployment plan. |
ModelConfigs |
[required] List of models associated with the edge deployment plan. |
DeviceFleetName |
[required] The device fleet used for this edge deployment plan. |
Stages |
List of stages of the edge deployment plan. The number of stages is limited to 10 per deployment. |
Tags |
List of tags with which to tag the edge deployment plan. |
Creates a new stage in an existing edge deployment plan
Description
Creates a new stage in an existing edge deployment plan.
See https://www.paws-r-sdk.com/docs/sagemaker_create_edge_deployment_stage/ for full documentation.
Usage
sagemaker_create_edge_deployment_stage(EdgeDeploymentPlanName, Stages)
Arguments
EdgeDeploymentPlanName |
[required] The name of the edge deployment plan. |
Stages |
[required] List of stages to be added to the edge deployment plan. |
Starts a SageMaker Edge Manager model packaging job
Description
Starts a SageMaker Edge Manager model packaging job. Edge Manager will use the model artifacts from the Amazon Simple Storage Service bucket that you specify. After the model has been packaged, Amazon SageMaker saves the resulting artifacts to an S3 bucket that you specify.
See https://www.paws-r-sdk.com/docs/sagemaker_create_edge_packaging_job/ for full documentation.
Usage
sagemaker_create_edge_packaging_job(
EdgePackagingJobName,
CompilationJobName,
ModelName,
ModelVersion,
RoleArn,
OutputConfig,
ResourceKey = NULL,
Tags = NULL
)
Arguments
EdgePackagingJobName |
[required] The name of the edge packaging job. |
CompilationJobName |
[required] The name of the SageMaker Neo compilation job that will be used to locate model artifacts for packaging. |
ModelName |
[required] The name of the model. |
ModelVersion |
[required] The version of the model. |
RoleArn |
[required] The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to download and upload the model, and to contact SageMaker Neo. |
OutputConfig |
[required] Provides information about the output location for the packaged model. |
ResourceKey |
The Amazon Web Services KMS key to use when encrypting the EBS volume the edge packaging job runs on. |
Tags |
Creates tags for the packaging job. |
Creates an endpoint using the endpoint configuration specified in the request
Description
Creates an endpoint using the endpoint configuration specified in the request. SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the create_endpoint_config
API.
See https://www.paws-r-sdk.com/docs/sagemaker_create_endpoint/ for full documentation.
Usage
sagemaker_create_endpoint(
EndpointName,
EndpointConfigName,
DeploymentConfig = NULL,
Tags = NULL
)
Arguments
EndpointName |
[required] The name of the endpoint.The name must be unique within an Amazon Web
Services Region in your Amazon Web Services account. The name is
case-insensitive in |
EndpointConfigName |
[required] The name of an endpoint configuration. For more information, see
|
DeploymentConfig |
|
Tags |
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources. |
Creates an endpoint configuration that SageMaker hosting services uses to deploy models
Description
Creates an endpoint configuration that SageMaker hosting services uses to deploy models. In the configuration, you identify one or more models, created using the create_model
API, to deploy and the resources that you want SageMaker to provision. Then you call the create_endpoint
API.
See https://www.paws-r-sdk.com/docs/sagemaker_create_endpoint_config/ for full documentation.
Usage
sagemaker_create_endpoint_config(
EndpointConfigName,
ProductionVariants,
DataCaptureConfig = NULL,
Tags = NULL,
KmsKeyId = NULL,
AsyncInferenceConfig = NULL,
ExplainerConfig = NULL,
ShadowProductionVariants = NULL,
ExecutionRoleArn = NULL,
VpcConfig = NULL,
EnableNetworkIsolation = NULL
)
Arguments
EndpointConfigName |
[required] The name of the endpoint configuration. You specify this name in a
|
ProductionVariants |
[required] An array of |
DataCaptureConfig |
|
Tags |
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources. |
KmsKeyId |
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. The KmsKeyId can be any of the following formats:
The KMS key policy must grant permission to the IAM role that you
specify in your Certain Nitro-based instances include local storage, dependent on the
instance type. Local storage volumes are encrypted using a hardware
module on the instance. You can't request a For a list of instance types that support local instance storage, see Instance Store Volumes. For more information about local instance storage encryption, see SSD Instance Store Volumes. |
AsyncInferenceConfig |
Specifies configuration for how an endpoint performs asynchronous inference. This is a required field in order for your Endpoint to be invoked using InvokeEndpointAsync. |
ExplainerConfig |
A member of |
ShadowProductionVariants |
An array of |
ExecutionRoleArn |
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker AI can assume to perform actions on your behalf. For more information, see SageMaker AI Roles. To be able to pass this role to Amazon SageMaker AI, the caller of this
action must have the |
VpcConfig |
|
EnableNetworkIsolation |
Sets whether all model containers deployed to the endpoint are isolated. If they are, no inbound or outbound network calls can be made to or from the model containers. |
Creates a SageMaker experiment
Description
Creates a SageMaker experiment. An experiment is a collection of trials that are observed, compared and evaluated as a group. A trial is a set of steps, called trial components, that produce a machine learning model.
See https://www.paws-r-sdk.com/docs/sagemaker_create_experiment/ for full documentation.
Usage
sagemaker_create_experiment(
ExperimentName,
DisplayName = NULL,
Description = NULL,
Tags = NULL
)
Arguments
ExperimentName |
[required] The name of the experiment. The name must be unique in your Amazon Web Services account and is not case-sensitive. |
DisplayName |
The name of the experiment as displayed. The name doesn't need to be
unique. If you don't specify |
Description |
The description of the experiment. |
Tags |
A list of tags to associate with the experiment. You can use
|
Create a new FeatureGroup
Description
Create a new FeatureGroup
. A FeatureGroup
is a group of Features
defined in the FeatureStore
to describe a Record
.
See https://www.paws-r-sdk.com/docs/sagemaker_create_feature_group/ for full documentation.
Usage
sagemaker_create_feature_group(
FeatureGroupName,
RecordIdentifierFeatureName,
EventTimeFeatureName,
FeatureDefinitions,
OnlineStoreConfig = NULL,
OfflineStoreConfig = NULL,
ThroughputConfig = NULL,
RoleArn = NULL,
Description = NULL,
Tags = NULL
)
Arguments
FeatureGroupName |
[required] The name of the The name:
|
RecordIdentifierFeatureName |
[required] The name of the You use the This name:
|
EventTimeFeatureName |
[required] The name of the feature that stores the An An
|
FeatureDefinitions |
[required] A list of Valid feature
You can create up to 2,500 |
OnlineStoreConfig |
You can turn the You can also include an Amazon Web Services KMS key ID ( The default value is |
OfflineStoreConfig |
Use this to configure an
To learn more about this parameter, see OfflineStoreConfig. |
ThroughputConfig |
|
RoleArn |
The Amazon Resource Name (ARN) of the IAM execution role used to persist
data into the |
Description |
A free-form description of a |
Tags |
Tags used to identify |
Creates a flow definition
Description
Creates a flow definition.
See https://www.paws-r-sdk.com/docs/sagemaker_create_flow_definition/ for full documentation.
Usage
sagemaker_create_flow_definition(
FlowDefinitionName,
HumanLoopRequestSource = NULL,
HumanLoopActivationConfig = NULL,
HumanLoopConfig = NULL,
OutputConfig,
RoleArn,
Tags = NULL
)
Arguments
FlowDefinitionName |
[required] The name of your flow definition. |
HumanLoopRequestSource |
Container for configuring the source of human task requests. Use to specify if Amazon Rekognition or Amazon Textract is used as an integration source. |
HumanLoopActivationConfig |
An object containing information about the events that trigger a human workflow. |
HumanLoopConfig |
An object containing information about the tasks the human reviewers will perform. |
OutputConfig |
[required] An object containing information about where the human review results will be uploaded. |
RoleArn |
[required] The Amazon Resource Name (ARN) of the role needed to call other services
on your behalf. For example,
|
Tags |
An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define. |
Create a hub
Description
Create a hub.
See https://www.paws-r-sdk.com/docs/sagemaker_create_hub/ for full documentation.
Usage
sagemaker_create_hub(
HubName,
HubDescription,
HubDisplayName = NULL,
HubSearchKeywords = NULL,
S3StorageConfig = NULL,
Tags = NULL
)
Arguments
HubName |
[required] The name of the hub to create. |
HubDescription |
[required] A description of the hub. |
HubDisplayName |
The display name of the hub. |
HubSearchKeywords |
The searchable keywords for the hub. |
S3StorageConfig |
The Amazon S3 storage configuration for the hub. |
Tags |
Any tags to associate with the hub. |
Create a hub content reference in order to add a model in the JumpStart public hub to a private hub
Description
Create a hub content reference in order to add a model in the JumpStart public hub to a private hub.
See https://www.paws-r-sdk.com/docs/sagemaker_create_hub_content_reference/ for full documentation.
Usage
sagemaker_create_hub_content_reference(
HubName,
SageMakerPublicHubContentArn,
HubContentName = NULL,
MinVersion = NULL,
Tags = NULL
)
Arguments
HubName |
[required] The name of the hub to add the hub content reference to. |
SageMakerPublicHubContentArn |
[required] The ARN of the public hub content to reference. |
HubContentName |
The name of the hub content to reference. |
MinVersion |
The minimum version of the hub content to reference. |
Tags |
Any tags associated with the hub content to reference. |
Defines the settings you will use for the human review workflow user interface
Description
Defines the settings you will use for the human review workflow user interface. Reviewers will see a three-panel interface with an instruction area, the item to review, and an input area.
See https://www.paws-r-sdk.com/docs/sagemaker_create_human_task_ui/ for full documentation.
Usage
sagemaker_create_human_task_ui(HumanTaskUiName, UiTemplate, Tags = NULL)
Arguments
HumanTaskUiName |
[required] The name of the user interface you are creating. |
UiTemplate |
[required] |
Tags |
An array of key-value pairs that contain metadata to help you categorize and organize a human review workflow user interface. Each tag consists of a key and a value, both of which you define. |
Starts a hyperparameter tuning job
Description
Starts a hyperparameter tuning job. A hyperparameter tuning job finds the best version of a model by running many training jobs on your dataset using the algorithm you choose and values for hyperparameters within ranges that you specify. It then chooses the hyperparameter values that result in a model that performs the best, as measured by an objective metric that you choose.
See https://www.paws-r-sdk.com/docs/sagemaker_create_hyper_parameter_tuning_job/ for full documentation.
Usage
sagemaker_create_hyper_parameter_tuning_job(
HyperParameterTuningJobName,
HyperParameterTuningJobConfig,
TrainingJobDefinition = NULL,
TrainingJobDefinitions = NULL,
WarmStartConfig = NULL,
Tags = NULL,
Autotune = NULL
)
Arguments
HyperParameterTuningJobName |
[required] The name of the tuning job. This name is the prefix for the names of all training jobs that this tuning job launches. The name must be unique within the same Amazon Web Services account and Amazon Web Services Region. The name must have 1 to 32 characters. Valid characters are a-z, A-Z, 0-9, and : + = @ _ % - (hyphen). The name is not case sensitive. |
HyperParameterTuningJobConfig |
[required] The HyperParameterTuningJobConfig object that describes the tuning job, including the search strategy, the objective metric used to evaluate training jobs, ranges of parameters to search, and resource limits for the tuning job. For more information, see How Hyperparameter Tuning Works. |
TrainingJobDefinition |
The HyperParameterTrainingJobDefinition object that describes the training jobs that this tuning job launches, including static hyperparameters, input data configuration, output data configuration, resource configuration, and stopping condition. |
TrainingJobDefinitions |
A list of the HyperParameterTrainingJobDefinition objects launched for this tuning job. |
WarmStartConfig |
Specifies the configuration for starting the hyperparameter tuning job using one or more previous tuning jobs as a starting point. The results of previous tuning jobs are used to inform which combinations of hyperparameters to search over in the new tuning job. All training jobs launched by the new hyperparameter tuning job are
evaluated by using the objective metric. If you specify
All training jobs launched by parent hyperparameter tuning jobs and the new hyperparameter tuning jobs count against the limit of training jobs for the tuning job. |
Tags |
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources. Tags that you specify for the tuning job are also added to all training jobs that the tuning job launches. |
Autotune |
Configures SageMaker Automatic model tuning (AMT) to automatically find optimal parameters for the following fields:
|
Creates a custom SageMaker AI image
Description
Creates a custom SageMaker AI image. A SageMaker AI image is a set of image versions. Each image version represents a container image stored in Amazon ECR. For more information, see Bring your own SageMaker AI image.
See https://www.paws-r-sdk.com/docs/sagemaker_create_image/ for full documentation.
Usage
sagemaker_create_image(
Description = NULL,
DisplayName = NULL,
ImageName,
RoleArn,
Tags = NULL
)
Arguments
Description |
The description of the image. |
DisplayName |
The display name of the image. If not provided, |
ImageName |
[required] The name of the image. Must be unique to your account. |
RoleArn |
[required] The ARN of an IAM role that enables Amazon SageMaker AI to perform tasks on your behalf. |
Tags |
A list of tags to apply to the image. |
Creates a version of the SageMaker AI image specified by ImageName
Description
Creates a version of the SageMaker AI image specified by ImageName
. The version represents the Amazon ECR container image specified by BaseImage
.
See https://www.paws-r-sdk.com/docs/sagemaker_create_image_version/ for full documentation.
Usage
sagemaker_create_image_version(
BaseImage,
ClientToken,
ImageName,
Aliases = NULL,
VendorGuidance = NULL,
JobType = NULL,
MLFramework = NULL,
ProgrammingLang = NULL,
Processor = NULL,
Horovod = NULL,
ReleaseNotes = NULL
)
Arguments
BaseImage |
[required] The registry path of the container image to use as the starting point for this version. The path is an Amazon ECR URI in the following format:
|
ClientToken |
[required] A unique ID. If not specified, the Amazon Web Services CLI and Amazon Web Services SDKs, such as the SDK for Python (Boto3), add a unique value to the call. |
ImageName |
[required] The |
Aliases |
A list of aliases created with the image version. |
VendorGuidance |
The stability of the image version, specified by the maintainer.
|
JobType |
Indicates SageMaker AI job type compatibility.
|
MLFramework |
The machine learning framework vended in the image version. |
ProgrammingLang |
The supported programming language and its version. |
Processor |
Indicates CPU or GPU compatibility.
|
Horovod |
Indicates Horovod compatibility. |
ReleaseNotes |
The maintainer description of the image version. |
Creates an inference component, which is a SageMaker AI hosting object that you can use to deploy a model to an endpoint
Description
Creates an inference component, which is a SageMaker AI hosting object that you can use to deploy a model to an endpoint. In the inference component settings, you specify the model, the endpoint, and how the model utilizes the resources that the endpoint hosts. You can optimize resource utilization by tailoring how the required CPU cores, accelerators, and memory are allocated. You can deploy multiple inference components to an endpoint, where each inference component contains one model and the resource utilization needs for that individual model. After you deploy an inference component, you can directly invoke the associated model when you use the InvokeEndpoint API action.
See https://www.paws-r-sdk.com/docs/sagemaker_create_inference_component/ for full documentation.
Usage
sagemaker_create_inference_component(
InferenceComponentName,
EndpointName,
VariantName = NULL,
Specification,
RuntimeConfig = NULL,
Tags = NULL
)
Arguments
InferenceComponentName |
[required] A unique name to assign to the inference component. |
EndpointName |
[required] The name of an existing endpoint where you host the inference component. |
VariantName |
The name of an existing production variant where you host the inference component. |
Specification |
[required] Details about the resources to deploy with this inference component, including the model, container, and compute resources. |
RuntimeConfig |
Runtime settings for a model that is deployed with an inference component. |
Tags |
A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference. |
Creates an inference experiment using the configurations specified in the request
Description
Creates an inference experiment using the configurations specified in the request.
See https://www.paws-r-sdk.com/docs/sagemaker_create_inference_experiment/ for full documentation.
Usage
sagemaker_create_inference_experiment(
Name,
Type,
Schedule = NULL,
Description = NULL,
RoleArn,
EndpointName,
ModelVariants,
DataStorageConfig = NULL,
ShadowModeConfig,
KmsKey = NULL,
Tags = NULL
)
Arguments
Name |
[required] The name for the inference experiment. |
Type |
[required] The type of the inference experiment that you want to run. The following types of experiments are possible:
|
Schedule |
The duration for which you want the inference experiment to run. If you don't specify this field, the experiment automatically starts immediately upon creation and concludes after 7 days. |
Description |
A description for the inference experiment. |
RoleArn |
[required] The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage Amazon SageMaker Inference endpoints for model deployment. |
EndpointName |
[required] The name of the Amazon SageMaker endpoint on which you want to run the inference experiment. |
ModelVariants |
[required] An array of |
DataStorageConfig |
The Amazon S3 location and configuration for storing inference request and response data. This is an optional parameter that you can use for data capture. For more information, see Capture data. |
ShadowModeConfig |
[required] The configuration of |
KmsKey |
The Amazon Web Services Key Management Service (Amazon Web Services KMS)
key that Amazon SageMaker uses to encrypt data on the storage volume
attached to the ML compute instance that hosts the endpoint. The
If you use a KMS key ID or an alias of your KMS key, the Amazon
SageMaker execution role must include permissions to call The KMS key policy must grant permission to the IAM role that you
specify in your |
Tags |
Array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging your Amazon Web Services Resources. |
Starts a recommendation job
Description
Starts a recommendation job. You can create either an instance recommendation or load test job.
See https://www.paws-r-sdk.com/docs/sagemaker_create_inference_recommendations_job/ for full documentation.
Usage
sagemaker_create_inference_recommendations_job(
JobName,
JobType,
RoleArn,
InputConfig,
JobDescription = NULL,
StoppingConditions = NULL,
OutputConfig = NULL,
Tags = NULL
)
Arguments
JobName |
[required] A name for the recommendation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account. The job name is passed down to the resources created by the recommendation job. The names of resources (such as the model, endpoint configuration, endpoint, and compilation) that are prefixed with the job name are truncated at 40 characters. |
JobType |
[required] Defines the type of recommendation job. Specify |
RoleArn |
[required] The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf. |
InputConfig |
[required] Provides information about the versioned model package Amazon Resource Name (ARN), the traffic pattern, and endpoint configurations. |
JobDescription |
Description of the recommendation job. |
StoppingConditions |
A set of conditions for stopping a recommendation job. If any of the conditions are met, the job is automatically stopped. |
OutputConfig |
Provides information about the output artifacts and the KMS key to use for Amazon S3 server-side encryption. |
Tags |
The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. |
Creates a job that uses workers to label the data objects in your input dataset
Description
Creates a job that uses workers to label the data objects in your input dataset. You can use the labeled data to train machine learning models.
See https://www.paws-r-sdk.com/docs/sagemaker_create_labeling_job/ for full documentation.
Usage
sagemaker_create_labeling_job(
LabelingJobName,
LabelAttributeName,
InputConfig,
OutputConfig,
RoleArn,
LabelCategoryConfigS3Uri = NULL,
StoppingConditions = NULL,
LabelingJobAlgorithmsConfig = NULL,
HumanTaskConfig,
Tags = NULL
)
Arguments
LabelingJobName |
[required] The name of the labeling job. This name is used to identify the job in a
list of labeling jobs. Labeling job names must be unique within an
Amazon Web Services account and region. |
LabelAttributeName |
[required] The attribute name to use for the label in the output manifest file.
This is the key for the key/value pair formed with the label that a
worker assigns to the object. The
If you are creating an adjustment or verification labeling job, you must
use a different |
InputConfig |
[required] Input data for the labeling job, such as the Amazon S3 location of the data objects and the location of the manifest file that describes the data objects. You must specify at least one of the following:
If you use the Amazon Mechanical Turk workforce, your input data should
not include confidential information, personal information or protected
health information. Use |
OutputConfig |
[required] The location of the output data and the Amazon Web Services Key Management Service key ID for the key used to encrypt the output data, if any. |
RoleArn |
[required] The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during data labeling. You must grant this role the necessary permissions so that Amazon SageMaker can successfully complete data labeling. |
LabelCategoryConfigS3Uri |
The S3 URI of the file, referred to as a label category configuration file, that defines the categories used to label the data objects. For 3D point cloud and video frame task types, you can add label category attributes and frame attributes to your label category configuration file. To learn how, see Create a Labeling Category Configuration File for 3D Point Cloud Labeling Jobs. For named entity recognition jobs, in addition to For all other built-in task types
and custom tasks,
your label category configuration file must be a JSON file in the
following format. Identify the labels you want to use by replacing
Note the following about the label category configuration file:
|
StoppingConditions |
A set of conditions for stopping the labeling job. If any of the conditions are met, the job is automatically stopped. You can use these conditions to control the cost of data labeling. |
LabelingJobAlgorithmsConfig |
Configures the information required to perform automated data labeling. |
HumanTaskConfig |
[required] Configures the labeling task and how it is presented to workers; including, but not limited to price, keywords, and batch size (task count). |
Tags |
An array of key/value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide. |
Creates an MLflow Tracking Server using a general purpose Amazon S3 bucket as the artifact store
Description
Creates an MLflow Tracking Server using a general purpose Amazon S3 bucket as the artifact store. For more information, see Create an MLflow Tracking Server.
See https://www.paws-r-sdk.com/docs/sagemaker_create_mlflow_tracking_server/ for full documentation.
Usage
sagemaker_create_mlflow_tracking_server(
TrackingServerName,
ArtifactStoreUri,
TrackingServerSize = NULL,
MlflowVersion = NULL,
RoleArn,
AutomaticModelRegistration = NULL,
WeeklyMaintenanceWindowStart = NULL,
Tags = NULL
)
Arguments
TrackingServerName |
[required] A unique string identifying the tracking server name. This string is part of the tracking server ARN. |
ArtifactStoreUri |
[required] The S3 URI for a general purpose bucket to use as the MLflow Tracking Server artifact store. |
TrackingServerSize |
The size of the tracking server you want to create. You can choose
between We recommend using a small tracking server for teams of up to 25 users, a medium tracking server for teams of up to 50 users, and a large tracking server for teams of up to 100 users. |
MlflowVersion |
The version of MLflow that the tracking server uses. To see which MLflow versions are available to use, see How it works. |
RoleArn |
[required] The Amazon Resource Name (ARN) for an IAM role in your account that the
MLflow Tracking Server uses to access the artifact store in Amazon S3.
The role should have |
AutomaticModelRegistration |
Whether to enable or disable automatic registration of new MLflow models
to the SageMaker Model Registry. To enable automatic model registration,
set this value to |
WeeklyMaintenanceWindowStart |
The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time that weekly maintenance updates are scheduled. For example: TUE:03:30. |
Tags |
Tags consisting of key-value pairs used to manage metadata for the tracking server. |
Creates a model in SageMaker
Description
Creates a model in SageMaker. In the request, you name the model and describe a primary container. For the primary container, you specify the Docker image that contains inference code, artifacts (from prior training), and a custom environment map that the inference code uses when you deploy the model for predictions.
See https://www.paws-r-sdk.com/docs/sagemaker_create_model/ for full documentation.
Usage
sagemaker_create_model(
ModelName,
PrimaryContainer = NULL,
Containers = NULL,
InferenceExecutionConfig = NULL,
ExecutionRoleArn = NULL,
Tags = NULL,
VpcConfig = NULL,
EnableNetworkIsolation = NULL
)
Arguments
ModelName |
[required] The name of the new model. |
PrimaryContainer |
The location of the primary docker image containing inference code, associated artifacts, and custom environment map that the inference code uses when the model is deployed for predictions. |
Containers |
Specifies the containers in the inference pipeline. |
InferenceExecutionConfig |
Specifies details of how containers in a multi-container endpoint are called. |
ExecutionRoleArn |
The Amazon Resource Name (ARN) of the IAM role that SageMaker can assume to access model artifacts and docker image for deployment on ML compute instances or for batch transform jobs. Deploying on ML compute instances is part of model hosting. For more information, see SageMaker Roles. To be able to pass this role to SageMaker, the caller of this API must
have the |
Tags |
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources. |
VpcConfig |
A
VpcConfig
object that specifies the VPC that you want your model to connect to.
Control access to and from your model container by configuring the VPC.
|
EnableNetworkIsolation |
Isolates the model container. No inbound or outbound network calls can be made to or from the model container. |
Creates the definition for a model bias job
Description
Creates the definition for a model bias job.
See https://www.paws-r-sdk.com/docs/sagemaker_create_model_bias_job_definition/ for full documentation.
Usage
sagemaker_create_model_bias_job_definition(
JobDefinitionName,
ModelBiasBaselineConfig = NULL,
ModelBiasAppSpecification,
ModelBiasJobInput,
ModelBiasJobOutputConfig,
JobResources,
NetworkConfig = NULL,
RoleArn,
StoppingCondition = NULL,
Tags = NULL
)
Arguments
JobDefinitionName |
[required] The name of the bias job definition. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account. |
ModelBiasBaselineConfig |
The baseline configuration for a model bias job. |
ModelBiasAppSpecification |
[required] Configures the model bias job to run a specified Docker container image. |
ModelBiasJobInput |
[required] Inputs for the model bias job. |
ModelBiasJobOutputConfig |
[required] |
JobResources |
[required] |
NetworkConfig |
Networking options for a model bias job. |
RoleArn |
[required] The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker AI can assume to perform tasks on your behalf. |
StoppingCondition |
|
Tags |
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide. |
Creates an Amazon SageMaker Model Card
Description
Creates an Amazon SageMaker Model Card.
See https://www.paws-r-sdk.com/docs/sagemaker_create_model_card/ for full documentation.
Usage
sagemaker_create_model_card(
ModelCardName,
SecurityConfig = NULL,
Content,
ModelCardStatus,
Tags = NULL
)
Arguments
ModelCardName |
[required] The unique name of the model card. |
SecurityConfig |
An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated workloads with highly sensitive data. |
Content |
[required] The content of the model card. Content must be in model card JSON schema and provided as a string. |
ModelCardStatus |
[required] The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.
|
Tags |
Key-value pairs used to manage metadata for model cards. |
Creates an Amazon SageMaker Model Card export job
Description
Creates an Amazon SageMaker Model Card export job.
See https://www.paws-r-sdk.com/docs/sagemaker_create_model_card_export_job/ for full documentation.
Usage
sagemaker_create_model_card_export_job(
ModelCardName,
ModelCardVersion = NULL,
ModelCardExportJobName,
OutputConfig
)
Arguments
ModelCardName |
[required] The name or Amazon Resource Name (ARN) of the model card to export. |
ModelCardVersion |
The version of the model card to export. If a version is not provided, then the latest version of the model card is exported. |
ModelCardExportJobName |
[required] The name of the model card export job. |
OutputConfig |
[required] The model card output configuration that specifies the Amazon S3 path for exporting. |
Creates the definition for a model explainability job
Description
Creates the definition for a model explainability job.
See https://www.paws-r-sdk.com/docs/sagemaker_create_model_explainability_job_definition/ for full documentation.
Usage
sagemaker_create_model_explainability_job_definition(
JobDefinitionName,
ModelExplainabilityBaselineConfig = NULL,
ModelExplainabilityAppSpecification,
ModelExplainabilityJobInput,
ModelExplainabilityJobOutputConfig,
JobResources,
NetworkConfig = NULL,
RoleArn,
StoppingCondition = NULL,
Tags = NULL
)
Arguments
JobDefinitionName |
[required] The name of the model explainability job definition. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account. |
ModelExplainabilityBaselineConfig |
The baseline configuration for a model explainability job. |
ModelExplainabilityAppSpecification |
[required] Configures the model explainability job to run a specified Docker container image. |
ModelExplainabilityJobInput |
[required] Inputs for the model explainability job. |
ModelExplainabilityJobOutputConfig |
[required] |
JobResources |
[required] |
NetworkConfig |
Networking options for a model explainability job. |
RoleArn |
[required] The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker AI can assume to perform tasks on your behalf. |
StoppingCondition |
|
Tags |
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide. |
Creates a model package that you can use to create SageMaker models or list on Amazon Web Services Marketplace, or a versioned model that is part of a model group
Description
Creates a model package that you can use to create SageMaker models or list on Amazon Web Services Marketplace, or a versioned model that is part of a model group. Buyers can subscribe to model packages listed on Amazon Web Services Marketplace to create models in SageMaker.
See https://www.paws-r-sdk.com/docs/sagemaker_create_model_package/ for full documentation.
Usage
sagemaker_create_model_package(
ModelPackageName = NULL,
ModelPackageGroupName = NULL,
ModelPackageDescription = NULL,
InferenceSpecification = NULL,
ValidationSpecification = NULL,
SourceAlgorithmSpecification = NULL,
CertifyForMarketplace = NULL,
Tags = NULL,
ModelApprovalStatus = NULL,
MetadataProperties = NULL,
ModelMetrics = NULL,
ClientToken = NULL,
Domain = NULL,
Task = NULL,
SamplePayloadUrl = NULL,
CustomerMetadataProperties = NULL,
DriftCheckBaselines = NULL,
AdditionalInferenceSpecifications = NULL,
SkipModelValidation = NULL,
SourceUri = NULL,
SecurityConfig = NULL,
ModelCard = NULL,
ModelLifeCycle = NULL
)
Arguments
ModelPackageName |
The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen). This parameter is required for unversioned models. It is not applicable to versioned models. |
ModelPackageGroupName |
The name or Amazon Resource Name (ARN) of the model package group that this model version belongs to. This parameter is required for versioned models, and does not apply to unversioned models. |
ModelPackageDescription |
A description of the model package. |
InferenceSpecification |
Specifies details about inference jobs that you can run with models based on this model package, including the following information:
|
ValidationSpecification |
Specifies configurations for one or more transform jobs that SageMaker runs to test the model package. |
SourceAlgorithmSpecification |
Details about the algorithm that was used to create the model package. |
CertifyForMarketplace |
Whether to certify the model package for listing on Amazon Web Services Marketplace. This parameter is optional for unversioned models, and does not apply to versioned models. |
Tags |
A list of key value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide. If you supply |
ModelApprovalStatus |
Whether the model is approved for deployment. This parameter is optional for versioned models, and does not apply to unversioned models. For versioned models, the value of this parameter must be set to
|
MetadataProperties |
|
ModelMetrics |
A structure that contains model metrics reports. |
ClientToken |
A unique token that guarantees that the call to this API is idempotent. |
Domain |
The machine learning domain of your model package and its components. Common machine learning domains include computer vision and natural language processing. |
Task |
The machine learning task your model package accomplishes. Common
machine learning tasks include object detection and image
classification. The following tasks are supported by Inference
Recommender: Specify "OTHER" if none of the tasks listed fit your use case. |
SamplePayloadUrl |
The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix). This archive can hold multiple files that are all equally used in the load test. Each file in the archive must satisfy the size constraints of the InvokeEndpoint call. |
CustomerMetadataProperties |
The metadata properties associated with the model package versions. |
DriftCheckBaselines |
Represents the drift check baselines that can be used when the model monitor is set using the model package. For more information, see the topic on Drift Detection against Previous Baselines in SageMaker Pipelines in the Amazon SageMaker Developer Guide. |
AdditionalInferenceSpecifications |
An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts. |
SkipModelValidation |
Indicates if you want to skip model validation. |
SourceUri |
The URI of the source for the model package. If you want to clone a model package, set it to the model package Amazon Resource Name (ARN). If you want to register a model, set it to the model ARN. |
SecurityConfig |
The KMS Key ID ( |
ModelCard |
The model card associated with the model package. Since
|
ModelLifeCycle |
A structure describing the current state of the model in its life cycle. |
Creates a model group
Description
Creates a model group. A model group contains a group of model versions.
See https://www.paws-r-sdk.com/docs/sagemaker_create_model_package_group/ for full documentation.
Usage
sagemaker_create_model_package_group(
ModelPackageGroupName,
ModelPackageGroupDescription = NULL,
Tags = NULL
)
Arguments
ModelPackageGroupName |
[required] The name of the model group. |
ModelPackageGroupDescription |
A description for the model group. |
Tags |
A list of key value pairs associated with the model group. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide. |
Creates a definition for a job that monitors model quality and drift
Description
Creates a definition for a job that monitors model quality and drift. For information about model monitor, see Amazon SageMaker AI Model Monitor.
See https://www.paws-r-sdk.com/docs/sagemaker_create_model_quality_job_definition/ for full documentation.
Usage
sagemaker_create_model_quality_job_definition(
JobDefinitionName,
ModelQualityBaselineConfig = NULL,
ModelQualityAppSpecification,
ModelQualityJobInput,
ModelQualityJobOutputConfig,
JobResources,
NetworkConfig = NULL,
RoleArn,
StoppingCondition = NULL,
Tags = NULL
)
Arguments
JobDefinitionName |
[required] The name of the monitoring job definition. |
ModelQualityBaselineConfig |
Specifies the constraints and baselines for the monitoring job. |
ModelQualityAppSpecification |
[required] The container that runs the monitoring job. |
ModelQualityJobInput |
[required] A list of the inputs that are monitored. Currently endpoints are supported. |
ModelQualityJobOutputConfig |
[required] |
JobResources |
[required] |
NetworkConfig |
Specifies the network configuration for the monitoring job. |
RoleArn |
[required] The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker AI can assume to perform tasks on your behalf. |
StoppingCondition |
|
Tags |
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide. |
Creates a schedule that regularly starts Amazon SageMaker AI Processing Jobs to monitor the data captured for an Amazon SageMaker AI Endpoint
Description
Creates a schedule that regularly starts Amazon SageMaker AI Processing Jobs to monitor the data captured for an Amazon SageMaker AI Endpoint.
See https://www.paws-r-sdk.com/docs/sagemaker_create_monitoring_schedule/ for full documentation.
Usage
sagemaker_create_monitoring_schedule(
MonitoringScheduleName,
MonitoringScheduleConfig,
Tags = NULL
)
Arguments
MonitoringScheduleName |
[required] The name of the monitoring schedule. The name must be unique within an Amazon Web Services Region within an Amazon Web Services account. |
MonitoringScheduleConfig |
[required] The configuration object that specifies the monitoring schedule and defines the monitoring job. |
Tags |
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide. |
Creates an SageMaker AI notebook instance
Description
Creates an SageMaker AI notebook instance. A notebook instance is a machine learning (ML) compute instance running on a Jupyter notebook.
See https://www.paws-r-sdk.com/docs/sagemaker_create_notebook_instance/ for full documentation.
Usage
sagemaker_create_notebook_instance(
NotebookInstanceName,
InstanceType,
SubnetId = NULL,
SecurityGroupIds = NULL,
RoleArn,
KmsKeyId = NULL,
Tags = NULL,
LifecycleConfigName = NULL,
DirectInternetAccess = NULL,
VolumeSizeInGB = NULL,
AcceleratorTypes = NULL,
DefaultCodeRepository = NULL,
AdditionalCodeRepositories = NULL,
RootAccess = NULL,
PlatformIdentifier = NULL,
InstanceMetadataServiceConfiguration = NULL
)
Arguments
NotebookInstanceName |
[required] The name of the new notebook instance. |
InstanceType |
[required] The type of ML compute instance to launch for the notebook instance. |
SubnetId |
The ID of the subnet in a VPC to which you would like to have a connectivity from your ML compute instance. |
SecurityGroupIds |
The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet. |
RoleArn |
[required] When you send any requests to Amazon Web Services resources from the notebook instance, SageMaker AI assumes this role to perform tasks on your behalf. You must grant this role necessary permissions so SageMaker AI can perform these tasks. The policy must allow the SageMaker AI service principal (sagemaker.amazonaws.com) permissions to assume this role. For more information, see SageMaker AI Roles. To be able to pass this role to SageMaker AI, the caller of this API
must have the |
KmsKeyId |
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that SageMaker AI uses to encrypt data on the storage volume attached to your notebook instance. The KMS key you provide must be enabled. For information, see Enabling and Disabling Keys in the Amazon Web Services Key Management Service Developer Guide. |
Tags |
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources. |
LifecycleConfigName |
The name of a lifecycle configuration to associate with the notebook instance. For information about lifestyle configurations, see Step 2.1: (Optional) Customize a Notebook Instance. |
DirectInternetAccess |
Sets whether SageMaker AI provides internet access to the notebook
instance. If you set this to For more information, see Notebook Instances Are Internet-Enabled by Default.
You can set the value of this parameter to |
VolumeSizeInGB |
The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB. |
AcceleratorTypes |
This parameter is no longer supported. Elastic Inference (EI) is no longer available. This parameter was used to specify a list of EI instance types to associate with this notebook instance. |
DefaultCodeRepository |
A Git repository to associate with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in Amazon Web Services CodeCommit or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see Associating Git Repositories with SageMaker AI Notebook Instances. |
AdditionalCodeRepositories |
An array of up to three Git repositories to associate with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in Amazon Web Services CodeCommit or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see Associating Git Repositories with SageMaker AI Notebook Instances. |
RootAccess |
Whether root access is enabled or disabled for users of the notebook
instance. The default value is Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users. |
PlatformIdentifier |
The platform identifier of the notebook instance runtime environment. |
InstanceMetadataServiceConfiguration |
Information on the IMDS configuration of the notebook instance |
Creates a lifecycle configuration that you can associate with a notebook instance
Description
Creates a lifecycle configuration that you can associate with a notebook instance. A lifecycle configuration is a collection of shell scripts that run when you create or start a notebook instance.
See https://www.paws-r-sdk.com/docs/sagemaker_create_notebook_instance_lifecycle_config/ for full documentation.
Usage
sagemaker_create_notebook_instance_lifecycle_config(
NotebookInstanceLifecycleConfigName,
OnCreate = NULL,
OnStart = NULL
)
Arguments
NotebookInstanceLifecycleConfigName |
[required] The name of the lifecycle configuration. |
OnCreate |
A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string. |
OnStart |
A shell script that runs every time you start a notebook instance, including when you create the notebook instance. The shell script must be a base64-encoded string. |
Creates a job that optimizes a model for inference performance
Description
Creates a job that optimizes a model for inference performance. To create the job, you provide the location of a source model, and you provide the settings for the optimization techniques that you want the job to apply. When the job completes successfully, SageMaker uploads the new optimized model to the output destination that you specify.
See https://www.paws-r-sdk.com/docs/sagemaker_create_optimization_job/ for full documentation.
Usage
sagemaker_create_optimization_job(
OptimizationJobName,
RoleArn,
ModelSource,
DeploymentInstanceType,
OptimizationEnvironment = NULL,
OptimizationConfigs,
OutputConfig,
StoppingCondition,
Tags = NULL,
VpcConfig = NULL
)
Arguments
OptimizationJobName |
[required] A custom name for the new optimization job. |
RoleArn |
[required] The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker AI to perform tasks on your behalf. During model optimization, Amazon SageMaker AI needs your permission to:
You grant permissions for all of these tasks to an IAM role. To pass
this role to Amazon SageMaker AI, the caller of this API must have the
|
ModelSource |
[required] The location of the source model to optimize with an optimization job. |
DeploymentInstanceType |
[required] The type of instance that hosts the optimized model that you create with the optimization job. |
OptimizationEnvironment |
The environment variables to set in the model container. |
OptimizationConfigs |
[required] Settings for each of the optimization techniques that the job applies. |
OutputConfig |
[required] Details for where to store the optimized model that you create with the optimization job. |
StoppingCondition |
[required] |
Tags |
A list of key-value pairs associated with the optimization job. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide. |
VpcConfig |
A VPC in Amazon VPC that your optimized model has access to. |
Creates an Amazon SageMaker Partner AI App
Description
Creates an Amazon SageMaker Partner AI App.
See https://www.paws-r-sdk.com/docs/sagemaker_create_partner_app/ for full documentation.
Usage
sagemaker_create_partner_app(
Name,
Type,
ExecutionRoleArn,
MaintenanceConfig = NULL,
Tier,
ApplicationConfig = NULL,
AuthType,
EnableIamSessionBasedIdentity = NULL,
ClientToken = NULL,
Tags = NULL
)
Arguments
Name |
[required] The name to give the SageMaker Partner AI App. |
Type |
[required] The type of SageMaker Partner AI App to create. Must be one of the
following: |
ExecutionRoleArn |
[required] The ARN of the IAM role that the partner application uses. |
MaintenanceConfig |
Maintenance configuration settings for the SageMaker Partner AI App. |
Tier |
[required] Indicates the instance type and size of the cluster attached to the SageMaker Partner AI App. |
ApplicationConfig |
Configuration settings for the SageMaker Partner AI App. |
AuthType |
[required] The authorization type that users use to access the SageMaker Partner AI App. |
EnableIamSessionBasedIdentity |
When set to |
ClientToken |
A unique token that guarantees that the call to this API is idempotent. |
Tags |
Each tag consists of a key and an optional value. Tag keys must be unique per resource. |
Creates a presigned URL to access an Amazon SageMaker Partner AI App
Description
Creates a presigned URL to access an Amazon SageMaker Partner AI App.
See https://www.paws-r-sdk.com/docs/sagemaker_create_partner_app_presigned_url/ for full documentation.
Usage
sagemaker_create_partner_app_presigned_url(
Arn,
ExpiresInSeconds = NULL,
SessionExpirationDurationInSeconds = NULL
)
Arguments
Arn |
[required] The ARN of the SageMaker Partner AI App to create the presigned URL for. |
ExpiresInSeconds |
The time that will pass before the presigned URL expires. |
SessionExpirationDurationInSeconds |
Indicates how long the Amazon SageMaker Partner AI App session can be accessed for after logging in. |
Creates a pipeline using a JSON pipeline definition
Description
Creates a pipeline using a JSON pipeline definition.
See https://www.paws-r-sdk.com/docs/sagemaker_create_pipeline/ for full documentation.
Usage
sagemaker_create_pipeline(
PipelineName,
PipelineDisplayName = NULL,
PipelineDefinition = NULL,
PipelineDefinitionS3Location = NULL,
PipelineDescription = NULL,
ClientRequestToken,
RoleArn,
Tags = NULL,
ParallelismConfiguration = NULL
)
Arguments
PipelineName |
[required] The name of the pipeline. |
PipelineDisplayName |
The display name of the pipeline. |
PipelineDefinition |
The JSON pipeline definition of the pipeline. |
PipelineDefinitionS3Location |
The location of the pipeline definition stored in Amazon S3. If specified, SageMaker will retrieve the pipeline definition from this location. |
PipelineDescription |
A description of the pipeline. |
ClientRequestToken |
[required] A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. |
RoleArn |
[required] The Amazon Resource Name (ARN) of the role used by the pipeline to access and create resources. |
Tags |
A list of tags to apply to the created pipeline. |
ParallelismConfiguration |
This is the configuration that controls the parallelism of the pipeline. If specified, it applies to all runs of this pipeline by default. |
Creates a URL for a specified UserProfile in a Domain
Description
Creates a URL for a specified UserProfile in a Domain. When accessed in a web browser, the user will be automatically signed in to the domain, and granted access to all of the Apps and files associated with the Domain's Amazon Elastic File System volume. This operation can only be called when the authentication mode equals IAM.
See https://www.paws-r-sdk.com/docs/sagemaker_create_presigned_domain_url/ for full documentation.
Usage
sagemaker_create_presigned_domain_url(
DomainId,
UserProfileName,
SessionExpirationDurationInSeconds = NULL,
ExpiresInSeconds = NULL,
SpaceName = NULL,
LandingUri = NULL
)
Arguments
DomainId |
[required] The domain ID. |
UserProfileName |
[required] The name of the UserProfile to sign-in as. |
SessionExpirationDurationInSeconds |
The session expiration duration in seconds. This value defaults to 43200. |
ExpiresInSeconds |
The number of seconds until the pre-signed URL expires. This value defaults to 300. |
SpaceName |
The name of the space. |
LandingUri |
The landing page that the user is directed to when accessing the presigned URL. Using this value, users can access Studio or Studio Classic, even if it is not the default experience for the domain. The supported values are:
|
Returns a presigned URL that you can use to connect to the MLflow UI attached to your tracking server
Description
Returns a presigned URL that you can use to connect to the MLflow UI attached to your tracking server. For more information, see Launch the MLflow UI using a presigned URL.
See https://www.paws-r-sdk.com/docs/sagemaker_create_presigned_mlflow_tracking_server_url/ for full documentation.
Usage
sagemaker_create_presigned_mlflow_tracking_server_url(
TrackingServerName,
ExpiresInSeconds = NULL,
SessionExpirationDurationInSeconds = NULL
)
Arguments
TrackingServerName |
[required] The name of the tracking server to connect to your MLflow UI. |
ExpiresInSeconds |
The duration in seconds that your presigned URL is valid. The presigned URL can be used only once. |
SessionExpirationDurationInSeconds |
The duration in seconds that your MLflow UI session is valid. |
Returns a URL that you can use to connect to the Jupyter server from a notebook instance
Description
Returns a URL that you can use to connect to the Jupyter server from a notebook instance. In the SageMaker AI console, when you choose Open
next to a notebook instance, SageMaker AI opens a new tab showing the Jupyter server home page from the notebook instance. The console uses this API to get the URL and show the page.
See https://www.paws-r-sdk.com/docs/sagemaker_create_presigned_notebook_instance_url/ for full documentation.
Usage
sagemaker_create_presigned_notebook_instance_url(
NotebookInstanceName,
SessionExpirationDurationInSeconds = NULL
)
Arguments
NotebookInstanceName |
[required] The name of the notebook instance. |
SessionExpirationDurationInSeconds |
The duration of the session, in seconds. The default is 12 hours. |
Creates a processing job
Description
Creates a processing job.
See https://www.paws-r-sdk.com/docs/sagemaker_create_processing_job/ for full documentation.
Usage
sagemaker_create_processing_job(
ProcessingInputs = NULL,
ProcessingOutputConfig = NULL,
ProcessingJobName,
ProcessingResources,
StoppingCondition = NULL,
AppSpecification,
Environment = NULL,
NetworkConfig = NULL,
RoleArn,
Tags = NULL,
ExperimentConfig = NULL
)
Arguments
ProcessingInputs |
An array of inputs configuring the data to download into the processing container. |
ProcessingOutputConfig |
Output configuration for the processing job. |
ProcessingJobName |
[required] The name of the processing job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account. |
ProcessingResources |
[required] Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. In distributed training, you specify more than one instance. |
StoppingCondition |
The time limit for how long the processing job is allowed to run. |
AppSpecification |
[required] Configures the processing job to run a specified Docker container image. |
Environment |
The environment variables to set in the Docker container. Up to 100 key and values entries in the map are supported. |
NetworkConfig |
Networking options for a processing job, such as whether to allow inbound and outbound network calls to and from processing containers, and the VPC subnets and security groups to use for VPC-enabled processing jobs. |
RoleArn |
[required] The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf. |
Tags |
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide. |
ExperimentConfig |
Creates a machine learning (ML) project that can contain one or more templates that set up an ML pipeline from training to deploying an approved model
Description
Creates a machine learning (ML) project that can contain one or more templates that set up an ML pipeline from training to deploying an approved model.
See https://www.paws-r-sdk.com/docs/sagemaker_create_project/ for full documentation.
Usage
sagemaker_create_project(
ProjectName,
ProjectDescription = NULL,
ServiceCatalogProvisioningDetails,
Tags = NULL
)
Arguments
ProjectName |
[required] The name of the project. |
ProjectDescription |
A description for the project. |
ServiceCatalogProvisioningDetails |
[required] The product ID and provisioning artifact ID to provision a service catalog. The provisioning artifact ID will default to the latest provisioning artifact ID of the product, if you don't provide the provisioning artifact ID. For more information, see What is Amazon Web Services Service Catalog. |
Tags |
An array of key-value pairs that you want to use to organize and track your Amazon Web Services resource costs. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide. |
Creates a private space or a space used for real time collaboration in a domain
Description
Creates a private space or a space used for real time collaboration in a domain.
See https://www.paws-r-sdk.com/docs/sagemaker_create_space/ for full documentation.
Usage
sagemaker_create_space(
DomainId,
SpaceName,
Tags = NULL,
SpaceSettings = NULL,
OwnershipSettings = NULL,
SpaceSharingSettings = NULL,
SpaceDisplayName = NULL
)
Arguments
DomainId |
[required] The ID of the associated domain. |
SpaceName |
[required] The name of the space. |
Tags |
Tags to associated with the space. Each tag consists of a key and an
optional value. Tag keys must be unique for each resource. Tags are
searchable using the |
SpaceSettings |
A collection of space settings. |
OwnershipSettings |
A collection of ownership settings. |
SpaceSharingSettings |
A collection of space sharing settings. |
SpaceDisplayName |
The name of the space that appears in the SageMaker Studio UI. |
Creates a new Amazon SageMaker AI Studio Lifecycle Configuration
Description
Creates a new Amazon SageMaker AI Studio Lifecycle Configuration.
See https://www.paws-r-sdk.com/docs/sagemaker_create_studio_lifecycle_config/ for full documentation.
Usage
sagemaker_create_studio_lifecycle_config(
StudioLifecycleConfigName,
StudioLifecycleConfigContent,
StudioLifecycleConfigAppType,
Tags = NULL
)
Arguments
StudioLifecycleConfigName |
[required] The name of the Amazon SageMaker AI Studio Lifecycle Configuration to create. |
StudioLifecycleConfigContent |
[required] The content of your Amazon SageMaker AI Studio Lifecycle Configuration script. This content must be base64 encoded. |
StudioLifecycleConfigAppType |
[required] The App type that the Lifecycle Configuration is attached to. |
Tags |
Tags to be associated with the Lifecycle Configuration. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API. |
Starts a model training job
Description
Starts a model training job. After training completes, SageMaker saves the resulting model artifacts to an Amazon S3 location that you specify.
See https://www.paws-r-sdk.com/docs/sagemaker_create_training_job/ for full documentation.
Usage
sagemaker_create_training_job(
TrainingJobName,
HyperParameters = NULL,
AlgorithmSpecification,
RoleArn,
InputDataConfig = NULL,
OutputDataConfig,
ResourceConfig,
VpcConfig = NULL,
StoppingCondition,
Tags = NULL,
EnableNetworkIsolation = NULL,
EnableInterContainerTrafficEncryption = NULL,
EnableManagedSpotTraining = NULL,
CheckpointConfig = NULL,
DebugHookConfig = NULL,
DebugRuleConfigurations = NULL,
TensorBoardOutputConfig = NULL,
ExperimentConfig = NULL,
ProfilerConfig = NULL,
ProfilerRuleConfigurations = NULL,
Environment = NULL,
RetryStrategy = NULL,
RemoteDebugConfig = NULL,
InfraCheckConfig = NULL,
SessionChainingConfig = NULL
)
Arguments
TrainingJobName |
[required] The name of the training job. The name must be unique within an Amazon Web Services Region in an Amazon Web Services account. |
HyperParameters |
Algorithm-specific parameters that influence the quality of the model. You set hyperparameters before you start the learning process. For a list of hyperparameters for each training algorithm provided by SageMaker, see Algorithms. You can specify a maximum of 100 hyperparameters. Each hyperparameter is
a key-value pair. Each key and value is limited to 256 characters, as
specified by the Do not include any security-sensitive information including account access IDs, secrets or tokens in any hyperparameter field. If the use of security-sensitive credentials are detected, SageMaker will reject your training job request and return an exception error. |
AlgorithmSpecification |
[required] The registry path of the Docker image that contains the training algorithm and algorithm-specific metadata, including the input mode. For more information about algorithms provided by SageMaker, see Algorithms. For information about providing your own algorithms, see Using Your Own Algorithms with Amazon SageMaker. |
RoleArn |
[required] The Amazon Resource Name (ARN) of an IAM role that SageMaker can assume to perform tasks on your behalf. During model training, SageMaker needs your permission to read input data from an S3 bucket, download a Docker image that contains training code, write model artifacts to an S3 bucket, write logs to Amazon CloudWatch Logs, and publish metrics to Amazon CloudWatch. You grant permissions for all of these tasks to an IAM role. For more information, see SageMaker Roles. To be able to pass this role to SageMaker, the caller of this API must
have the |
InputDataConfig |
An array of Algorithms can accept input data from one or more channels. For example,
an algorithm might have two channels of input data, Depending on the input mode that the algorithm supports, SageMaker either copies input data files from an S3 bucket to a local directory in the Docker container, or makes it available as input streams. For example, if you specify an EFS location, input data files are available as input streams. They do not need to be downloaded. Your input must be in the same Amazon Web Services region as your training job. |
OutputDataConfig |
[required] Specifies the path to the S3 location where you want to store model artifacts. SageMaker creates subfolders for the artifacts. |
ResourceConfig |
[required] The resources, including the ML compute instances and ML storage volumes, to use for model training. ML storage volumes store model artifacts and incremental states.
Training algorithms might also use ML storage volumes for scratch space.
If you want SageMaker to use the ML storage volume to store the training
data, choose |
VpcConfig |
A VpcConfig object that specifies the VPC that you want your training job to connect to. Control access to and from your training container by configuring the VPC. For more information, see Protect Training Jobs by Using an Amazon Virtual Private Cloud. |
StoppingCondition |
[required] Specifies a limit to how long a model training job can run. It also specifies how long a managed Spot training job has to complete. When the job reaches the time limit, SageMaker ends the training job. Use this API to cap model training costs. To stop a job, SageMaker sends the algorithm the |
Tags |
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources. |
EnableNetworkIsolation |
Isolates the training container. No inbound or outbound network calls can be made, except for calls between peers within a training cluster for distributed training. If you enable network isolation for training jobs that are configured to use a VPC, SageMaker downloads and uploads customer data and model artifacts through the specified VPC, but the training container does not have network access. |
EnableInterContainerTrafficEncryption |
To encrypt all communications between ML compute instances in
distributed training, choose |
EnableManagedSpotTraining |
To train models using managed spot training, choose The complete and intermediate results of jobs are stored in an Amazon S3 bucket, and can be used as a starting point to train models incrementally. Amazon SageMaker provides metrics and logs in CloudWatch. They can be used to see when managed spot training jobs are running, interrupted, resumed, or completed. |
CheckpointConfig |
Contains information about the output location for managed spot training checkpoint data. |
DebugHookConfig |
|
DebugRuleConfigurations |
Configuration information for Amazon SageMaker Debugger rules for debugging output tensors. |
TensorBoardOutputConfig |
|
ExperimentConfig |
|
ProfilerConfig |
|
ProfilerRuleConfigurations |
Configuration information for Amazon SageMaker Debugger rules for profiling system and framework metrics. |
Environment |
The environment variables to set in the Docker container. |
RetryStrategy |
The number of times to retry the job when the job fails due to an
|
RemoteDebugConfig |
Configuration for remote debugging. To learn more about the remote debugging functionality of SageMaker, see Access a training container through Amazon Web Services Systems Manager (SSM) for remote debugging. |
InfraCheckConfig |
Contains information about the infrastructure health check configuration for the training job. |
SessionChainingConfig |
Contains information about attribute-based access control (ABAC) for the training job. |
Creates a new training plan in SageMaker to reserve compute capacity
Description
Creates a new training plan in SageMaker to reserve compute capacity.
See https://www.paws-r-sdk.com/docs/sagemaker_create_training_plan/ for full documentation.
Usage
sagemaker_create_training_plan(
TrainingPlanName,
TrainingPlanOfferingId,
Tags = NULL
)
Arguments
TrainingPlanName |
[required] The name of the training plan to create. |
TrainingPlanOfferingId |
[required] The unique identifier of the training plan offering to use for creating this plan. |
Tags |
An array of key-value pairs to apply to this training plan. |
Starts a transform job
Description
Starts a transform job. A transform job uses a trained model to get inferences on a dataset and saves these results to an Amazon S3 location that you specify.
See https://www.paws-r-sdk.com/docs/sagemaker_create_transform_job/ for full documentation.
Usage
sagemaker_create_transform_job(
TransformJobName,
ModelName,
MaxConcurrentTransforms = NULL,
ModelClientConfig = NULL,
MaxPayloadInMB = NULL,
BatchStrategy = NULL,
Environment = NULL,
TransformInput,
TransformOutput,
DataCaptureConfig = NULL,
TransformResources,
DataProcessing = NULL,
Tags = NULL,
ExperimentConfig = NULL
)
Arguments
TransformJobName |
[required] The name of the transform job. The name must be unique within an Amazon Web Services Region in an Amazon Web Services account. |
ModelName |
[required] The name of the model that you want to use for the transform job.
|
MaxConcurrentTransforms |
The maximum number of parallel requests that can be sent to each
instance in a transform job. If |
ModelClientConfig |
Configures the timeout and maximum number of retries for processing a transform job invocation. |
MaxPayloadInMB |
The maximum allowed size of the payload, in MB. A payload is the data
portion of a record (without metadata). The value in The value of For cases where the payload might be arbitrarily large and is
transmitted using HTTP chunked encoding, set the value to |
BatchStrategy |
Specifies the number of records to include in a mini-batch for an HTTP inference request. A record is a single unit of input data that inference can be made on. For example, a single line in a CSV file is a record. To enable the batch strategy, you must set the To use only one record when making an HTTP invocation request to a
container, set To fit as many records in a mini-batch as can fit within the
|
Environment |
The environment variables to set in the Docker container. Don't include any sensitive data in your environment variables. We support up to 16 key and values entries in the map. |
TransformInput |
[required] Describes the input source and the way the transform job consumes it. |
TransformOutput |
[required] Describes the results of the transform job. |
DataCaptureConfig |
Configuration to control how SageMaker captures inference data. |
TransformResources |
[required] Describes the resources, including ML instance types and ML instance count, to use for the transform job. |
DataProcessing |
The data structure used to specify the data to be used for inference in a batch transform job and to associate the data that is relevant to the prediction results in the output. The input filter provided allows you to exclude input data that is not needed for inference in a batch transform job. The output filter provided allows you to include input data relevant to interpreting the predictions in the output from the job. For more information, see Associate Prediction Results with their Corresponding Input Records. |
Tags |
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide. |
ExperimentConfig |
Creates an SageMaker trial
Description
Creates an SageMaker trial. A trial is a set of steps called trial components that produce a machine learning model. A trial is part of a single SageMaker experiment.
See https://www.paws-r-sdk.com/docs/sagemaker_create_trial/ for full documentation.
Usage
sagemaker_create_trial(
TrialName,
DisplayName = NULL,
ExperimentName,
MetadataProperties = NULL,
Tags = NULL
)
Arguments
TrialName |
[required] The name of the trial. The name must be unique in your Amazon Web Services account and is not case-sensitive. |
DisplayName |
The name of the trial as displayed. The name doesn't need to be unique.
If |
ExperimentName |
[required] The name of the experiment to associate the trial with. |
MetadataProperties |
|
Tags |
A list of tags to associate with the trial. You can use
|
Creates a trial component, which is a stage of a machine learning trial
Description
Creates a trial component, which is a stage of a machine learning trial. A trial is composed of one or more trial components. A trial component can be used in multiple trials.
See https://www.paws-r-sdk.com/docs/sagemaker_create_trial_component/ for full documentation.
Usage
sagemaker_create_trial_component(
TrialComponentName,
DisplayName = NULL,
Status = NULL,
StartTime = NULL,
EndTime = NULL,
Parameters = NULL,
InputArtifacts = NULL,
OutputArtifacts = NULL,
MetadataProperties = NULL,
Tags = NULL
)
Arguments
TrialComponentName |
[required] The name of the component. The name must be unique in your Amazon Web Services account and is not case-sensitive. |
DisplayName |
The name of the component as displayed. The name doesn't need to be
unique. If |
Status |
The status of the component. States include:
|
StartTime |
When the component started. |
EndTime |
When the component ended. |
Parameters |
The hyperparameters for the component. |
InputArtifacts |
The input artifacts for the component. Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types. |
OutputArtifacts |
The output artifacts for the component. Examples of output artifacts are metrics, snapshots, logs, and images. |
MetadataProperties |
|
Tags |
A list of tags to associate with the component. You can use
|
Creates a user profile
Description
Creates a user profile. A user profile represents a single user within a domain, and is the main way to reference a "person" for the purposes of sharing, reporting, and other user-oriented features. This entity is created when a user onboards to a domain. If an administrator invites a person by email or imports them from IAM Identity Center, a user profile is automatically created. A user profile is the primary holder of settings for an individual user and has a reference to the user's private Amazon Elastic File System home directory.
See https://www.paws-r-sdk.com/docs/sagemaker_create_user_profile/ for full documentation.
Usage
sagemaker_create_user_profile(
DomainId,
UserProfileName,
SingleSignOnUserIdentifier = NULL,
SingleSignOnUserValue = NULL,
Tags = NULL,
UserSettings = NULL
)
Arguments
DomainId |
[required] The ID of the associated Domain. |
UserProfileName |
[required] A name for the UserProfile. This value is not case sensitive. |
SingleSignOnUserIdentifier |
A specifier for the type of value specified in SingleSignOnUserValue. Currently, the only supported value is "UserName". If the Domain's AuthMode is IAM Identity Center, this field is required. If the Domain's AuthMode is not IAM Identity Center, this field cannot be specified. |
SingleSignOnUserValue |
The username of the associated Amazon Web Services Single Sign-On User for this UserProfile. If the Domain's AuthMode is IAM Identity Center, this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not IAM Identity Center, this field cannot be specified. |
Tags |
Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags that you specify for the User Profile are also added to all Apps that the User Profile launches. |
UserSettings |
A collection of settings. |
Use this operation to create a workforce
Description
Use this operation to create a workforce. This operation will return an error if a workforce already exists in the Amazon Web Services Region that you specify. You can only create one workforce in each Amazon Web Services Region per Amazon Web Services account.
See https://www.paws-r-sdk.com/docs/sagemaker_create_workforce/ for full documentation.
Usage
sagemaker_create_workforce(
CognitoConfig = NULL,
OidcConfig = NULL,
SourceIpConfig = NULL,
WorkforceName,
Tags = NULL,
WorkforceVpcConfig = NULL
)
Arguments
CognitoConfig |
Use this parameter to configure an Amazon Cognito private workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool. Do not use |
OidcConfig |
Use this parameter to configure a private workforce using your own OIDC Identity Provider. Do not use |
SourceIpConfig |
|
WorkforceName |
[required] The name of the private workforce. |
Tags |
An array of key-value pairs that contain metadata to help you categorize and organize our workforce. Each tag consists of a key and a value, both of which you define. |
WorkforceVpcConfig |
Use this parameter to configure a workforce using VPC. |
Creates a new work team for labeling your data
Description
Creates a new work team for labeling your data. A work team is defined by one or more Amazon Cognito user pools. You must first create the user pools before you can create a work team.
See https://www.paws-r-sdk.com/docs/sagemaker_create_workteam/ for full documentation.
Usage
sagemaker_create_workteam(
WorkteamName,
WorkforceName = NULL,
MemberDefinitions,
Description,
NotificationConfiguration = NULL,
WorkerAccessConfiguration = NULL,
Tags = NULL
)
Arguments
WorkteamName |
[required] The name of the work team. Use this name to identify the work team. |
WorkforceName |
The name of the workforce. |
MemberDefinitions |
[required] A list of Workforces can be created using Amazon Cognito or your own OIDC Identity
Provider (IdP). For private workforces created using Amazon Cognito use
For workforces created using Amazon Cognito, private work teams
correspond to Amazon Cognito user groups within the user pool used to
create a workforce. All of the For workforces created using your own OIDC IdP, specify the user groups
that you want to include in your private work team in
|
Description |
[required] A description of the work team. |
NotificationConfiguration |
Configures notification of workers regarding available or expiring work items. |
WorkerAccessConfiguration |
Use this optional parameter to constrain access to an Amazon S3 resource based on the IP address using supported IAM global condition keys. The Amazon S3 resource is accessed in the worker portal using a Amazon S3 presigned URL. |
Tags |
An array of key-value pairs. For more information, see Resource Tag and Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide. |
Deletes an action
Description
Deletes an action.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_action/ for full documentation.
Usage
sagemaker_delete_action(ActionName)
Arguments
ActionName |
[required] The name of the action to delete. |
Removes the specified algorithm from your account
Description
Removes the specified algorithm from your account.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_algorithm/ for full documentation.
Usage
sagemaker_delete_algorithm(AlgorithmName)
Arguments
AlgorithmName |
[required] The name of the algorithm to delete. |
Used to stop and delete an app
Description
Used to stop and delete an app.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_app/ for full documentation.
Usage
sagemaker_delete_app(
DomainId,
UserProfileName = NULL,
SpaceName = NULL,
AppType,
AppName
)
Arguments
DomainId |
[required] The domain ID. |
UserProfileName |
The user profile name. If this value is not set, then |
SpaceName |
The name of the space. If this value is not set, then |
AppType |
[required] The type of app. |
AppName |
[required] The name of the app. |
Deletes an AppImageConfig
Description
Deletes an AppImageConfig.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_app_image_config/ for full documentation.
Usage
sagemaker_delete_app_image_config(AppImageConfigName)
Arguments
AppImageConfigName |
[required] The name of the AppImageConfig to delete. |
Deletes an artifact
Description
Deletes an artifact. Either ArtifactArn
or Source
must be specified.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_artifact/ for full documentation.
Usage
sagemaker_delete_artifact(ArtifactArn = NULL, Source = NULL)
Arguments
ArtifactArn |
The Amazon Resource Name (ARN) of the artifact to delete. |
Source |
The URI of the source. |
Deletes an association
Description
Deletes an association.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_association/ for full documentation.
Usage
sagemaker_delete_association(SourceArn, DestinationArn)
Arguments
SourceArn |
[required] The ARN of the source. |
DestinationArn |
[required] The Amazon Resource Name (ARN) of the destination. |
Delete a SageMaker HyperPod cluster
Description
Delete a SageMaker HyperPod cluster.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_cluster/ for full documentation.
Usage
sagemaker_delete_cluster(ClusterName)
Arguments
ClusterName |
[required] The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster to delete. |
Deletes the cluster policy of the cluster
Description
Deletes the cluster policy of the cluster.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_cluster_scheduler_config/ for full documentation.
Usage
sagemaker_delete_cluster_scheduler_config(ClusterSchedulerConfigId)
Arguments
ClusterSchedulerConfigId |
[required] ID of the cluster policy. |
Deletes the specified Git repository from your account
Description
Deletes the specified Git repository from your account.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_code_repository/ for full documentation.
Usage
sagemaker_delete_code_repository(CodeRepositoryName)
Arguments
CodeRepositoryName |
[required] The name of the Git repository to delete. |
Deletes the specified compilation job
Description
Deletes the specified compilation job. This action deletes only the compilation job resource in Amazon SageMaker AI. It doesn't delete other resources that are related to that job, such as the model artifacts that the job creates, the compilation logs in CloudWatch, the compiled model, or the IAM role.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_compilation_job/ for full documentation.
Usage
sagemaker_delete_compilation_job(CompilationJobName)
Arguments
CompilationJobName |
[required] The name of the compilation job to delete. |
Deletes the compute allocation from the cluster
Description
Deletes the compute allocation from the cluster.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_compute_quota/ for full documentation.
Usage
sagemaker_delete_compute_quota(ComputeQuotaId)
Arguments
ComputeQuotaId |
[required] ID of the compute allocation definition. |
Deletes an context
Description
Deletes an context.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_context/ for full documentation.
Usage
sagemaker_delete_context(ContextName)
Arguments
ContextName |
[required] The name of the context to delete. |
Deletes a data quality monitoring job definition
Description
Deletes a data quality monitoring job definition.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_data_quality_job_definition/ for full documentation.
Usage
sagemaker_delete_data_quality_job_definition(JobDefinitionName)
Arguments
JobDefinitionName |
[required] The name of the data quality monitoring job definition to delete. |
Deletes a fleet
Description
Deletes a fleet.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_device_fleet/ for full documentation.
Usage
sagemaker_delete_device_fleet(DeviceFleetName)
Arguments
DeviceFleetName |
[required] The name of the fleet to delete. |
Used to delete a domain
Description
Used to delete a domain. If you onboarded with IAM mode, you will need to delete your domain to onboard again using IAM Identity Center. Use with caution. All of the members of the domain will lose access to their EFS volume, including data, notebooks, and other artifacts.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_domain/ for full documentation.
Usage
sagemaker_delete_domain(DomainId, RetentionPolicy = NULL)
Arguments
DomainId |
[required] The domain ID. |
RetentionPolicy |
The retention policy for this domain, which specifies whether resources will be retained after the Domain is deleted. By default, all resources are retained (not automatically deleted). |
Deletes an edge deployment plan if (and only if) all the stages in the plan are inactive or there are no stages in the plan
Description
Deletes an edge deployment plan if (and only if) all the stages in the plan are inactive or there are no stages in the plan.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_edge_deployment_plan/ for full documentation.
Usage
sagemaker_delete_edge_deployment_plan(EdgeDeploymentPlanName)
Arguments
EdgeDeploymentPlanName |
[required] The name of the edge deployment plan to delete. |
Delete a stage in an edge deployment plan if (and only if) the stage is inactive
Description
Delete a stage in an edge deployment plan if (and only if) the stage is inactive.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_edge_deployment_stage/ for full documentation.
Usage
sagemaker_delete_edge_deployment_stage(EdgeDeploymentPlanName, StageName)
Arguments
EdgeDeploymentPlanName |
[required] The name of the edge deployment plan from which the stage will be deleted. |
StageName |
[required] The name of the stage. |
Deletes an endpoint
Description
Deletes an endpoint. SageMaker frees up all of the resources that were deployed when the endpoint was created.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_endpoint/ for full documentation.
Usage
sagemaker_delete_endpoint(EndpointName)
Arguments
EndpointName |
[required] The name of the endpoint that you want to delete. |
Deletes an endpoint configuration
Description
Deletes an endpoint configuration. The delete_endpoint_config
API deletes only the specified configuration. It does not delete endpoints created using the configuration.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_endpoint_config/ for full documentation.
Usage
sagemaker_delete_endpoint_config(EndpointConfigName)
Arguments
EndpointConfigName |
[required] The name of the endpoint configuration that you want to delete. |
Deletes an SageMaker experiment
Description
Deletes an SageMaker experiment. All trials associated with the experiment must be deleted first. Use the list_trials
API to get a list of the trials associated with the experiment.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_experiment/ for full documentation.
Usage
sagemaker_delete_experiment(ExperimentName)
Arguments
ExperimentName |
[required] The name of the experiment to delete. |
Delete the FeatureGroup and any data that was written to the OnlineStore of the FeatureGroup
Description
Delete the FeatureGroup
and any data that was written to the OnlineStore
of the FeatureGroup
. Data cannot be accessed from the OnlineStore
immediately after delete_feature_group
is called.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_feature_group/ for full documentation.
Usage
sagemaker_delete_feature_group(FeatureGroupName)
Arguments
FeatureGroupName |
[required] The name of the |
Deletes the specified flow definition
Description
Deletes the specified flow definition.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_flow_definition/ for full documentation.
Usage
sagemaker_delete_flow_definition(FlowDefinitionName)
Arguments
FlowDefinitionName |
[required] The name of the flow definition you are deleting. |
Delete a hub
Description
Delete a hub.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_hub/ for full documentation.
Usage
sagemaker_delete_hub(HubName)
Arguments
HubName |
[required] The name of the hub to delete. |
Delete the contents of a hub
Description
Delete the contents of a hub.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_hub_content/ for full documentation.
Usage
sagemaker_delete_hub_content(
HubName,
HubContentType,
HubContentName,
HubContentVersion
)
Arguments
HubName |
[required] The name of the hub that you want to delete content in. |
HubContentType |
[required] The type of content that you want to delete from a hub. |
HubContentName |
[required] The name of the content that you want to delete from a hub. |
HubContentVersion |
[required] The version of the content that you want to delete from a hub. |
Delete a hub content reference in order to remove a model from a private hub
Description
Delete a hub content reference in order to remove a model from a private hub.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_hub_content_reference/ for full documentation.
Usage
sagemaker_delete_hub_content_reference(HubName, HubContentType, HubContentName)
Arguments
HubName |
[required] The name of the hub to delete the hub content reference from. |
HubContentType |
[required] The type of hub content reference to delete. The only supported type of
hub content reference to delete is |
HubContentName |
[required] The name of the hub content to delete. |
Use this operation to delete a human task user interface (worker task template)
Description
Use this operation to delete a human task user interface (worker task template).
See https://www.paws-r-sdk.com/docs/sagemaker_delete_human_task_ui/ for full documentation.
Usage
sagemaker_delete_human_task_ui(HumanTaskUiName)
Arguments
HumanTaskUiName |
[required] The name of the human task user interface (work task template) you want to delete. |
Deletes a hyperparameter tuning job
Description
Deletes a hyperparameter tuning job. The delete_hyper_parameter_tuning_job
API deletes only the tuning job entry that was created in SageMaker when you called the create_hyper_parameter_tuning_job
API. It does not delete training jobs, artifacts, or the IAM role that you specified when creating the model.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_hyper_parameter_tuning_job/ for full documentation.
Usage
sagemaker_delete_hyper_parameter_tuning_job(HyperParameterTuningJobName)
Arguments
HyperParameterTuningJobName |
[required] The name of the hyperparameter tuning job that you want to delete. |
Deletes a SageMaker AI image and all versions of the image
Description
Deletes a SageMaker AI image and all versions of the image. The container images aren't deleted.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_image/ for full documentation.
Usage
sagemaker_delete_image(ImageName)
Arguments
ImageName |
[required] The name of the image to delete. |
Deletes a version of a SageMaker AI image
Description
Deletes a version of a SageMaker AI image. The container image the version represents isn't deleted.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_image_version/ for full documentation.
Usage
sagemaker_delete_image_version(ImageName, Version = NULL, Alias = NULL)
Arguments
ImageName |
[required] The name of the image to delete. |
Version |
The version to delete. |
Alias |
The alias of the image to delete. |
Deletes an inference component
Description
Deletes an inference component.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_inference_component/ for full documentation.
Usage
sagemaker_delete_inference_component(InferenceComponentName)
Arguments
InferenceComponentName |
[required] The name of the inference component to delete. |
Deletes an inference experiment
Description
Deletes an inference experiment.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_inference_experiment/ for full documentation.
Usage
sagemaker_delete_inference_experiment(Name)
Arguments
Name |
[required] The name of the inference experiment you want to delete. |
Deletes an MLflow Tracking Server
Description
Deletes an MLflow Tracking Server. For more information, see Clean up MLflow resources.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_mlflow_tracking_server/ for full documentation.
Usage
sagemaker_delete_mlflow_tracking_server(TrackingServerName)
Arguments
TrackingServerName |
[required] The name of the the tracking server to delete. |
Deletes a model
Description
Deletes a model. The delete_model
API deletes only the model entry that was created in SageMaker when you called the create_model
API. It does not delete model artifacts, inference code, or the IAM role that you specified when creating the model.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_model/ for full documentation.
Usage
sagemaker_delete_model(ModelName)
Arguments
ModelName |
[required] The name of the model to delete. |
Deletes an Amazon SageMaker AI model bias job definition
Description
Deletes an Amazon SageMaker AI model bias job definition.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_model_bias_job_definition/ for full documentation.
Usage
sagemaker_delete_model_bias_job_definition(JobDefinitionName)
Arguments
JobDefinitionName |
[required] The name of the model bias job definition to delete. |
Deletes an Amazon SageMaker Model Card
Description
Deletes an Amazon SageMaker Model Card.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_model_card/ for full documentation.
Usage
sagemaker_delete_model_card(ModelCardName)
Arguments
ModelCardName |
[required] The name of the model card to delete. |
Deletes an Amazon SageMaker AI model explainability job definition
Description
Deletes an Amazon SageMaker AI model explainability job definition.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_model_explainability_job_definition/ for full documentation.
Usage
sagemaker_delete_model_explainability_job_definition(JobDefinitionName)
Arguments
JobDefinitionName |
[required] The name of the model explainability job definition to delete. |
Deletes a model package
Description
Deletes a model package.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_model_package/ for full documentation.
Usage
sagemaker_delete_model_package(ModelPackageName)
Arguments
ModelPackageName |
[required] The name or Amazon Resource Name (ARN) of the model package to delete. When you specify a name, the name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen). |
Deletes the specified model group
Description
Deletes the specified model group.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_model_package_group/ for full documentation.
Usage
sagemaker_delete_model_package_group(ModelPackageGroupName)
Arguments
ModelPackageGroupName |
[required] The name of the model group to delete. |
Deletes a model group resource policy
Description
Deletes a model group resource policy.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_model_package_group_policy/ for full documentation.
Usage
sagemaker_delete_model_package_group_policy(ModelPackageGroupName)
Arguments
ModelPackageGroupName |
[required] The name of the model group for which to delete the policy. |
Deletes the secified model quality monitoring job definition
Description
Deletes the secified model quality monitoring job definition.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_model_quality_job_definition/ for full documentation.
Usage
sagemaker_delete_model_quality_job_definition(JobDefinitionName)
Arguments
JobDefinitionName |
[required] The name of the model quality monitoring job definition to delete. |
Deletes a monitoring schedule
Description
Deletes a monitoring schedule. Also stops the schedule had not already been stopped. This does not delete the job execution history of the monitoring schedule.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_monitoring_schedule/ for full documentation.
Usage
sagemaker_delete_monitoring_schedule(MonitoringScheduleName)
Arguments
MonitoringScheduleName |
[required] The name of the monitoring schedule to delete. |
Deletes an SageMaker AI notebook instance
Description
Deletes an SageMaker AI notebook instance. Before you can delete a notebook instance, you must call the stop_notebook_instance
API.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_notebook_instance/ for full documentation.
Usage
sagemaker_delete_notebook_instance(NotebookInstanceName)
Arguments
NotebookInstanceName |
[required] The name of the SageMaker AI notebook instance to delete. |
Deletes a notebook instance lifecycle configuration
Description
Deletes a notebook instance lifecycle configuration.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_notebook_instance_lifecycle_config/ for full documentation.
Usage
sagemaker_delete_notebook_instance_lifecycle_config(
NotebookInstanceLifecycleConfigName
)
Arguments
NotebookInstanceLifecycleConfigName |
[required] The name of the lifecycle configuration to delete. |
Deletes an optimization job
Description
Deletes an optimization job.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_optimization_job/ for full documentation.
Usage
sagemaker_delete_optimization_job(OptimizationJobName)
Arguments
OptimizationJobName |
[required] The name that you assigned to the optimization job. |
Deletes a SageMaker Partner AI App
Description
Deletes a SageMaker Partner AI App.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_partner_app/ for full documentation.
Usage
sagemaker_delete_partner_app(Arn, ClientToken = NULL)
Arguments
Arn |
[required] The ARN of the SageMaker Partner AI App to delete. |
ClientToken |
A unique token that guarantees that the call to this API is idempotent. |
Deletes a pipeline if there are no running instances of the pipeline
Description
Deletes a pipeline if there are no running instances of the pipeline. To delete a pipeline, you must stop all running instances of the pipeline using the stop_pipeline_execution
API. When you delete a pipeline, all instances of the pipeline are deleted.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_pipeline/ for full documentation.
Usage
sagemaker_delete_pipeline(PipelineName, ClientRequestToken)
Arguments
PipelineName |
[required] The name of the pipeline to delete. |
ClientRequestToken |
[required] A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. |
Delete the specified project
Description
Delete the specified project.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_project/ for full documentation.
Usage
sagemaker_delete_project(ProjectName)
Arguments
ProjectName |
[required] The name of the project to delete. |
Used to delete a space
Description
Used to delete a space.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_space/ for full documentation.
Usage
sagemaker_delete_space(DomainId, SpaceName)
Arguments
DomainId |
[required] The ID of the associated domain. |
SpaceName |
[required] The name of the space. |
Deletes the Amazon SageMaker AI Studio Lifecycle Configuration
Description
Deletes the Amazon SageMaker AI Studio Lifecycle Configuration. In order to delete the Lifecycle Configuration, there must be no running apps using the Lifecycle Configuration. You must also remove the Lifecycle Configuration from UserSettings in all Domains and UserProfiles.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_studio_lifecycle_config/ for full documentation.
Usage
sagemaker_delete_studio_lifecycle_config(StudioLifecycleConfigName)
Arguments
StudioLifecycleConfigName |
[required] The name of the Amazon SageMaker AI Studio Lifecycle Configuration to delete. |
Deletes the specified tags from an SageMaker resource
Description
Deletes the specified tags from an SageMaker resource.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_tags/ for full documentation.
Usage
sagemaker_delete_tags(ResourceArn, TagKeys)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the resource whose tags you want to delete. |
TagKeys |
[required] An array or one or more tag keys to delete. |
Deletes the specified trial
Description
Deletes the specified trial. All trial components that make up the trial must be deleted first. Use the describe_trial_component
API to get the list of trial components.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_trial/ for full documentation.
Usage
sagemaker_delete_trial(TrialName)
Arguments
TrialName |
[required] The name of the trial to delete. |
Deletes the specified trial component
Description
Deletes the specified trial component. A trial component must be disassociated from all trials before the trial component can be deleted. To disassociate a trial component from a trial, call the disassociate_trial_component
API.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_trial_component/ for full documentation.
Usage
sagemaker_delete_trial_component(TrialComponentName)
Arguments
TrialComponentName |
[required] The name of the component to delete. |
Deletes a user profile
Description
Deletes a user profile. When a user profile is deleted, the user loses access to their EFS volume, including data, notebooks, and other artifacts.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_user_profile/ for full documentation.
Usage
sagemaker_delete_user_profile(DomainId, UserProfileName)
Arguments
DomainId |
[required] The domain ID. |
UserProfileName |
[required] The user profile name. |
Use this operation to delete a workforce
Description
Use this operation to delete a workforce.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_workforce/ for full documentation.
Usage
sagemaker_delete_workforce(WorkforceName)
Arguments
WorkforceName |
[required] The name of the workforce. |
Deletes an existing work team
Description
Deletes an existing work team. This operation can't be undone.
See https://www.paws-r-sdk.com/docs/sagemaker_delete_workteam/ for full documentation.
Usage
sagemaker_delete_workteam(WorkteamName)
Arguments
WorkteamName |
[required] The name of the work team to delete. |
Deregisters the specified devices
Description
Deregisters the specified devices. After you deregister a device, you will need to re-register the devices.
See https://www.paws-r-sdk.com/docs/sagemaker_deregister_devices/ for full documentation.
Usage
sagemaker_deregister_devices(DeviceFleetName, DeviceNames)
Arguments
DeviceFleetName |
[required] The name of the fleet the devices belong to. |
DeviceNames |
[required] The unique IDs of the devices. |
Describes an action
Description
Describes an action.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_action/ for full documentation.
Usage
sagemaker_describe_action(ActionName)
Arguments
ActionName |
[required] The name of the action to describe. |
Returns a description of the specified algorithm that is in your account
Description
Returns a description of the specified algorithm that is in your account.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_algorithm/ for full documentation.
Usage
sagemaker_describe_algorithm(AlgorithmName)
Arguments
AlgorithmName |
[required] The name of the algorithm to describe. |
Describes the app
Description
Describes the app.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_app/ for full documentation.
Usage
sagemaker_describe_app(
DomainId,
UserProfileName = NULL,
SpaceName = NULL,
AppType,
AppName
)
Arguments
DomainId |
[required] The domain ID. |
UserProfileName |
The user profile name. If this value is not set, then |
SpaceName |
The name of the space. |
AppType |
[required] The type of app. |
AppName |
[required] The name of the app. |
Describes an AppImageConfig
Description
Describes an AppImageConfig.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_app_image_config/ for full documentation.
Usage
sagemaker_describe_app_image_config(AppImageConfigName)
Arguments
AppImageConfigName |
[required] The name of the AppImageConfig to describe. |
Describes an artifact
Description
Describes an artifact.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_artifact/ for full documentation.
Usage
sagemaker_describe_artifact(ArtifactArn)
Arguments
ArtifactArn |
[required] The Amazon Resource Name (ARN) of the artifact to describe. |
Returns information about an AutoML job created by calling CreateAutoMLJob
Description
Returns information about an AutoML job created by calling create_auto_ml_job
.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_auto_ml_job/ for full documentation.
Usage
sagemaker_describe_auto_ml_job(AutoMLJobName)
Arguments
AutoMLJobName |
[required] Requests information about an AutoML job using its unique name. |
Returns information about an AutoML job created by calling CreateAutoMLJobV2 or CreateAutoMLJob
Description
Returns information about an AutoML job created by calling create_auto_ml_job_v2
or create_auto_ml_job
.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_auto_ml_job_v2/ for full documentation.
Usage
sagemaker_describe_auto_ml_job_v2(AutoMLJobName)
Arguments
AutoMLJobName |
[required] Requests information about an AutoML job V2 using its unique name. |
Retrieves information of a SageMaker HyperPod cluster
Description
Retrieves information of a SageMaker HyperPod cluster.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_cluster/ for full documentation.
Usage
sagemaker_describe_cluster(ClusterName)
Arguments
ClusterName |
[required] The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster. |
Retrieves information of a node (also called a instance interchangeably) of a SageMaker HyperPod cluster
Description
Retrieves information of a node (also called a instance interchangeably) of a SageMaker HyperPod cluster.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_cluster_node/ for full documentation.
Usage
sagemaker_describe_cluster_node(ClusterName, NodeId)
Arguments
ClusterName |
[required] The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster in which the node is. |
NodeId |
[required] The ID of the SageMaker HyperPod cluster node. |
Description of the cluster policy
Description
Description of the cluster policy. This policy is used for task prioritization and fair-share allocation. This helps prioritize critical workloads and distributes idle compute across entities.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_cluster_scheduler_config/ for full documentation.
Usage
sagemaker_describe_cluster_scheduler_config(
ClusterSchedulerConfigId,
ClusterSchedulerConfigVersion = NULL
)
Arguments
ClusterSchedulerConfigId |
[required] ID of the cluster policy. |
ClusterSchedulerConfigVersion |
Version of the cluster policy. |
Gets details about the specified Git repository
Description
Gets details about the specified Git repository.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_code_repository/ for full documentation.
Usage
sagemaker_describe_code_repository(CodeRepositoryName)
Arguments
CodeRepositoryName |
[required] The name of the Git repository to describe. |
Returns information about a model compilation job
Description
Returns information about a model compilation job.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_compilation_job/ for full documentation.
Usage
sagemaker_describe_compilation_job(CompilationJobName)
Arguments
CompilationJobName |
[required] The name of the model compilation job that you want information about. |
Description of the compute allocation definition
Description
Description of the compute allocation definition.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_compute_quota/ for full documentation.
Usage
sagemaker_describe_compute_quota(ComputeQuotaId, ComputeQuotaVersion = NULL)
Arguments
ComputeQuotaId |
[required] ID of the compute allocation definition. |
ComputeQuotaVersion |
Version of the compute allocation definition. |
Describes a context
Description
Describes a context.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_context/ for full documentation.
Usage
sagemaker_describe_context(ContextName)
Arguments
ContextName |
[required] The name of the context to describe. |
Gets the details of a data quality monitoring job definition
Description
Gets the details of a data quality monitoring job definition.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_data_quality_job_definition/ for full documentation.
Usage
sagemaker_describe_data_quality_job_definition(JobDefinitionName)
Arguments
JobDefinitionName |
[required] The name of the data quality monitoring job definition to describe. |
Describes the device
Description
Describes the device.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_device/ for full documentation.
Usage
sagemaker_describe_device(NextToken = NULL, DeviceName, DeviceFleetName)
Arguments
NextToken |
Next token of device description. |
DeviceName |
[required] The unique ID of the device. |
DeviceFleetName |
[required] The name of the fleet the devices belong to. |
A description of the fleet the device belongs to
Description
A description of the fleet the device belongs to.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_device_fleet/ for full documentation.
Usage
sagemaker_describe_device_fleet(DeviceFleetName)
Arguments
DeviceFleetName |
[required] The name of the fleet. |
The description of the domain
Description
The description of the domain.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_domain/ for full documentation.
Usage
sagemaker_describe_domain(DomainId)
Arguments
DomainId |
[required] The domain ID. |
Describes an edge deployment plan with deployment status per stage
Description
Describes an edge deployment plan with deployment status per stage.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_edge_deployment_plan/ for full documentation.
Usage
sagemaker_describe_edge_deployment_plan(
EdgeDeploymentPlanName,
NextToken = NULL,
MaxResults = NULL
)
Arguments
EdgeDeploymentPlanName |
[required] The name of the deployment plan to describe. |
NextToken |
If the edge deployment plan has enough stages to require tokening, then this is the response from the last list of stages returned. |
MaxResults |
The maximum number of results to select (50 by default). |
A description of edge packaging jobs
Description
A description of edge packaging jobs.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_edge_packaging_job/ for full documentation.
Usage
sagemaker_describe_edge_packaging_job(EdgePackagingJobName)
Arguments
EdgePackagingJobName |
[required] The name of the edge packaging job. |
Returns the description of an endpoint
Description
Returns the description of an endpoint.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_endpoint/ for full documentation.
Usage
sagemaker_describe_endpoint(EndpointName)
Arguments
EndpointName |
[required] The name of the endpoint. |
Returns the description of an endpoint configuration created using the CreateEndpointConfig API
Description
Returns the description of an endpoint configuration created using the create_endpoint_config
API.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_endpoint_config/ for full documentation.
Usage
sagemaker_describe_endpoint_config(EndpointConfigName)
Arguments
EndpointConfigName |
[required] The name of the endpoint configuration. |
Provides a list of an experiment's properties
Description
Provides a list of an experiment's properties.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_experiment/ for full documentation.
Usage
sagemaker_describe_experiment(ExperimentName)
Arguments
ExperimentName |
[required] The name of the experiment to describe. |
Use this operation to describe a FeatureGroup
Description
Use this operation to describe a FeatureGroup
. The response includes information on the creation time, FeatureGroup
name, the unique identifier for each FeatureGroup
, and more.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_feature_group/ for full documentation.
Usage
sagemaker_describe_feature_group(FeatureGroupName, NextToken = NULL)
Arguments
FeatureGroupName |
[required] The name or Amazon Resource Name (ARN) of the |
NextToken |
A token to resume pagination of the list of |
Shows the metadata for a feature within a feature group
Description
Shows the metadata for a feature within a feature group.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_feature_metadata/ for full documentation.
Usage
sagemaker_describe_feature_metadata(FeatureGroupName, FeatureName)
Arguments
FeatureGroupName |
[required] The name or Amazon Resource Name (ARN) of the feature group containing the feature. |
FeatureName |
[required] The name of the feature. |
Returns information about the specified flow definition
Description
Returns information about the specified flow definition.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_flow_definition/ for full documentation.
Usage
sagemaker_describe_flow_definition(FlowDefinitionName)
Arguments
FlowDefinitionName |
[required] The name of the flow definition. |
Describes a hub
Description
Describes a hub.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_hub/ for full documentation.
Usage
sagemaker_describe_hub(HubName)
Arguments
HubName |
[required] The name of the hub to describe. |
Describe the content of a hub
Description
Describe the content of a hub.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_hub_content/ for full documentation.
Usage
sagemaker_describe_hub_content(
HubName,
HubContentType,
HubContentName,
HubContentVersion = NULL
)
Arguments
HubName |
[required] The name of the hub that contains the content to describe. |
HubContentType |
[required] The type of content in the hub. |
HubContentName |
[required] The name of the content to describe. |
HubContentVersion |
The version of the content to describe. |
Returns information about the requested human task user interface (worker task template)
Description
Returns information about the requested human task user interface (worker task template).
See https://www.paws-r-sdk.com/docs/sagemaker_describe_human_task_ui/ for full documentation.
Usage
sagemaker_describe_human_task_ui(HumanTaskUiName)
Arguments
HumanTaskUiName |
[required] The name of the human task user interface (worker task template) you want information about. |
Returns a description of a hyperparameter tuning job, depending on the fields selected
Description
Returns a description of a hyperparameter tuning job, depending on the fields selected. These fields can include the name, Amazon Resource Name (ARN), job status of your tuning job and more.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_hyper_parameter_tuning_job/ for full documentation.
Usage
sagemaker_describe_hyper_parameter_tuning_job(HyperParameterTuningJobName)
Arguments
HyperParameterTuningJobName |
[required] The name of the tuning job. |
Describes a SageMaker AI image
Description
Describes a SageMaker AI image.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_image/ for full documentation.
Usage
sagemaker_describe_image(ImageName)
Arguments
ImageName |
[required] The name of the image to describe. |
Describes a version of a SageMaker AI image
Description
Describes a version of a SageMaker AI image.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_image_version/ for full documentation.
Usage
sagemaker_describe_image_version(ImageName, Version = NULL, Alias = NULL)
Arguments
ImageName |
[required] The name of the image. |
Version |
The version of the image. If not specified, the latest version is described. |
Alias |
The alias of the image version. |
Returns information about an inference component
Description
Returns information about an inference component.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_inference_component/ for full documentation.
Usage
sagemaker_describe_inference_component(InferenceComponentName)
Arguments
InferenceComponentName |
[required] The name of the inference component. |
Returns details about an inference experiment
Description
Returns details about an inference experiment.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_inference_experiment/ for full documentation.
Usage
sagemaker_describe_inference_experiment(Name)
Arguments
Name |
[required] The name of the inference experiment to describe. |
Provides the results of the Inference Recommender job
Description
Provides the results of the Inference Recommender job. One or more recommendation jobs are returned.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_inference_recommendations_job/ for full documentation.
Usage
sagemaker_describe_inference_recommendations_job(JobName)
Arguments
JobName |
[required] The name of the job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account. |
Gets information about a labeling job
Description
Gets information about a labeling job.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_labeling_job/ for full documentation.
Usage
sagemaker_describe_labeling_job(LabelingJobName)
Arguments
LabelingJobName |
[required] The name of the labeling job to return information for. |
Provides a list of properties for the requested lineage group
Description
Provides a list of properties for the requested lineage group. For more information, see Cross-Account Lineage Tracking in the Amazon SageMaker Developer Guide.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_lineage_group/ for full documentation.
Usage
sagemaker_describe_lineage_group(LineageGroupName)
Arguments
LineageGroupName |
[required] The name of the lineage group. |
Returns information about an MLflow Tracking Server
Description
Returns information about an MLflow Tracking Server.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_mlflow_tracking_server/ for full documentation.
Usage
sagemaker_describe_mlflow_tracking_server(TrackingServerName)
Arguments
TrackingServerName |
[required] The name of the MLflow Tracking Server to describe. |
Describes a model that you created using the CreateModel API
Description
Describes a model that you created using the create_model
API.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_model/ for full documentation.
Usage
sagemaker_describe_model(ModelName)
Arguments
ModelName |
[required] The name of the model. |
Returns a description of a model bias job definition
Description
Returns a description of a model bias job definition.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_model_bias_job_definition/ for full documentation.
Usage
sagemaker_describe_model_bias_job_definition(JobDefinitionName)
Arguments
JobDefinitionName |
[required] The name of the model bias job definition. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account. |
Describes the content, creation time, and security configuration of an Amazon SageMaker Model Card
Description
Describes the content, creation time, and security configuration of an Amazon SageMaker Model Card.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_model_card/ for full documentation.
Usage
sagemaker_describe_model_card(ModelCardName, ModelCardVersion = NULL)
Arguments
ModelCardName |
[required] The name or Amazon Resource Name (ARN) of the model card to describe. |
ModelCardVersion |
The version of the model card to describe. If a version is not provided, then the latest version of the model card is described. |
Describes an Amazon SageMaker Model Card export job
Description
Describes an Amazon SageMaker Model Card export job.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_model_card_export_job/ for full documentation.
Usage
sagemaker_describe_model_card_export_job(ModelCardExportJobArn)
Arguments
ModelCardExportJobArn |
[required] The Amazon Resource Name (ARN) of the model card export job to describe. |
Returns a description of a model explainability job definition
Description
Returns a description of a model explainability job definition.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_model_explainability_job_definition/ for full documentation.
Usage
sagemaker_describe_model_explainability_job_definition(JobDefinitionName)
Arguments
JobDefinitionName |
[required] The name of the model explainability job definition. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account. |
Returns a description of the specified model package, which is used to create SageMaker models or list them on Amazon Web Services Marketplace
Description
Returns a description of the specified model package, which is used to create SageMaker models or list them on Amazon Web Services Marketplace.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_model_package/ for full documentation.
Usage
sagemaker_describe_model_package(ModelPackageName)
Arguments
ModelPackageName |
[required] The name or Amazon Resource Name (ARN) of the model package to describe. When you specify a name, the name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen). |
Gets a description for the specified model group
Description
Gets a description for the specified model group.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_model_package_group/ for full documentation.
Usage
sagemaker_describe_model_package_group(ModelPackageGroupName)
Arguments
ModelPackageGroupName |
[required] The name of the model group to describe. |
Returns a description of a model quality job definition
Description
Returns a description of a model quality job definition.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_model_quality_job_definition/ for full documentation.
Usage
sagemaker_describe_model_quality_job_definition(JobDefinitionName)
Arguments
JobDefinitionName |
[required] The name of the model quality job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account. |
Describes the schedule for a monitoring job
Description
Describes the schedule for a monitoring job.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_monitoring_schedule/ for full documentation.
Usage
sagemaker_describe_monitoring_schedule(MonitoringScheduleName)
Arguments
MonitoringScheduleName |
[required] Name of a previously created monitoring schedule. |
Returns information about a notebook instance
Description
Returns information about a notebook instance.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_notebook_instance/ for full documentation.
Usage
sagemaker_describe_notebook_instance(NotebookInstanceName)
Arguments
NotebookInstanceName |
[required] The name of the notebook instance that you want information about. |
Returns a description of a notebook instance lifecycle configuration
Description
Returns a description of a notebook instance lifecycle configuration.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_notebook_instance_lifecycle_config/ for full documentation.
Usage
sagemaker_describe_notebook_instance_lifecycle_config(
NotebookInstanceLifecycleConfigName
)
Arguments
NotebookInstanceLifecycleConfigName |
[required] The name of the lifecycle configuration to describe. |
Provides the properties of the specified optimization job
Description
Provides the properties of the specified optimization job.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_optimization_job/ for full documentation.
Usage
sagemaker_describe_optimization_job(OptimizationJobName)
Arguments
OptimizationJobName |
[required] The name that you assigned to the optimization job. |
Gets information about a SageMaker Partner AI App
Description
Gets information about a SageMaker Partner AI App.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_partner_app/ for full documentation.
Usage
sagemaker_describe_partner_app(Arn)
Arguments
Arn |
[required] The ARN of the SageMaker Partner AI App to describe. |
Describes the details of a pipeline
Description
Describes the details of a pipeline.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_pipeline/ for full documentation.
Usage
sagemaker_describe_pipeline(PipelineName)
Arguments
PipelineName |
[required] The name or Amazon Resource Name (ARN) of the pipeline to describe. |
Describes the details of an execution's pipeline definition
Description
Describes the details of an execution's pipeline definition.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_pipeline_definition_for_execution/ for full documentation.
Usage
sagemaker_describe_pipeline_definition_for_execution(PipelineExecutionArn)
Arguments
PipelineExecutionArn |
[required] The Amazon Resource Name (ARN) of the pipeline execution. |
Describes the details of a pipeline execution
Description
Describes the details of a pipeline execution.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_pipeline_execution/ for full documentation.
Usage
sagemaker_describe_pipeline_execution(PipelineExecutionArn)
Arguments
PipelineExecutionArn |
[required] The Amazon Resource Name (ARN) of the pipeline execution. |
Returns a description of a processing job
Description
Returns a description of a processing job.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_processing_job/ for full documentation.
Usage
sagemaker_describe_processing_job(ProcessingJobName)
Arguments
ProcessingJobName |
[required] The name of the processing job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account. |
Describes the details of a project
Description
Describes the details of a project.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_project/ for full documentation.
Usage
sagemaker_describe_project(ProjectName)
Arguments
ProjectName |
[required] The name of the project to describe. |
Describes the space
Description
Describes the space.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_space/ for full documentation.
Usage
sagemaker_describe_space(DomainId, SpaceName)
Arguments
DomainId |
[required] The ID of the associated domain. |
SpaceName |
[required] The name of the space. |
Describes the Amazon SageMaker AI Studio Lifecycle Configuration
Description
Describes the Amazon SageMaker AI Studio Lifecycle Configuration.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_studio_lifecycle_config/ for full documentation.
Usage
sagemaker_describe_studio_lifecycle_config(StudioLifecycleConfigName)
Arguments
StudioLifecycleConfigName |
[required] The name of the Amazon SageMaker AI Studio Lifecycle Configuration to describe. |
Gets information about a work team provided by a vendor
Description
Gets information about a work team provided by a vendor. It returns details about the subscription with a vendor in the Amazon Web Services Marketplace.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_subscribed_workteam/ for full documentation.
Usage
sagemaker_describe_subscribed_workteam(WorkteamArn)
Arguments
WorkteamArn |
[required] The Amazon Resource Name (ARN) of the subscribed work team to describe. |
Returns information about a training job
Description
Returns information about a training job.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_training_job/ for full documentation.
Usage
sagemaker_describe_training_job(TrainingJobName)
Arguments
TrainingJobName |
[required] The name of the training job. |
Retrieves detailed information about a specific training plan
Description
Retrieves detailed information about a specific training plan.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_training_plan/ for full documentation.
Usage
sagemaker_describe_training_plan(TrainingPlanName)
Arguments
TrainingPlanName |
[required] The name of the training plan to describe. |
Returns information about a transform job
Description
Returns information about a transform job.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_transform_job/ for full documentation.
Usage
sagemaker_describe_transform_job(TransformJobName)
Arguments
TransformJobName |
[required] The name of the transform job that you want to view details of. |
Provides a list of a trial's properties
Description
Provides a list of a trial's properties.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_trial/ for full documentation.
Usage
sagemaker_describe_trial(TrialName)
Arguments
TrialName |
[required] The name of the trial to describe. |
Provides a list of a trials component's properties
Description
Provides a list of a trials component's properties.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_trial_component/ for full documentation.
Usage
sagemaker_describe_trial_component(TrialComponentName)
Arguments
TrialComponentName |
[required] The name of the trial component to describe. |
Describes a user profile
Description
Describes a user profile. For more information, see create_user_profile
.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_user_profile/ for full documentation.
Usage
sagemaker_describe_user_profile(DomainId, UserProfileName)
Arguments
DomainId |
[required] The domain ID. |
UserProfileName |
[required] The user profile name. This value is not case sensitive. |
Lists private workforce information, including workforce name, Amazon Resource Name (ARN), and, if applicable, allowed IP address ranges (CIDRs)
Description
Lists private workforce information, including workforce name, Amazon Resource Name (ARN), and, if applicable, allowed IP address ranges (CIDRs). Allowable IP address ranges are the IP addresses that workers can use to access tasks.
See https://www.paws-r-sdk.com/docs/sagemaker_describe_workforce/ for full documentation.
Usage
sagemaker_describe_workforce(WorkforceName)
Arguments
WorkforceName |
[required] The name of the private workforce whose access you want to restrict.
|
Gets information about a specific work team
Description
Gets information about a specific work team. You can see information such as the creation date, the last updated date, membership information, and the work team's Amazon Resource Name (ARN).
See https://www.paws-r-sdk.com/docs/sagemaker_describe_workteam/ for full documentation.
Usage
sagemaker_describe_workteam(WorkteamName)
Arguments
WorkteamName |
[required] The name of the work team to return a description of. |
Disables using Service Catalog in SageMaker
Description
Disables using Service Catalog in SageMaker. Service Catalog is used to create SageMaker projects.
See https://www.paws-r-sdk.com/docs/sagemaker_disable_sagemaker_servicecatalog_portfolio/ for full documentation.
Usage
sagemaker_disable_sagemaker_servicecatalog_portfolio()
Disassociates a trial component from a trial
Description
Disassociates a trial component from a trial. This doesn't effect other trials the component is associated with. Before you can delete a component, you must disassociate the component from all trials it is associated with. To associate a trial component with a trial, call the associate_trial_component
API.
See https://www.paws-r-sdk.com/docs/sagemaker_disassociate_trial_component/ for full documentation.
Usage
sagemaker_disassociate_trial_component(TrialComponentName, TrialName)
Arguments
TrialComponentName |
[required] The name of the component to disassociate from the trial. |
TrialName |
[required] The name of the trial to disassociate from. |
Enables using Service Catalog in SageMaker
Description
Enables using Service Catalog in SageMaker. Service Catalog is used to create SageMaker projects.
See https://www.paws-r-sdk.com/docs/sagemaker_enable_sagemaker_servicecatalog_portfolio/ for full documentation.
Usage
sagemaker_enable_sagemaker_servicecatalog_portfolio()
Describes a fleet
Description
Describes a fleet.
See https://www.paws-r-sdk.com/docs/sagemaker_get_device_fleet_report/ for full documentation.
Usage
sagemaker_get_device_fleet_report(DeviceFleetName)
Arguments
DeviceFleetName |
[required] The name of the fleet. |
The resource policy for the lineage group
Description
The resource policy for the lineage group.
See https://www.paws-r-sdk.com/docs/sagemaker_get_lineage_group_policy/ for full documentation.
Usage
sagemaker_get_lineage_group_policy(LineageGroupName)
Arguments
LineageGroupName |
[required] The name or Amazon Resource Name (ARN) of the lineage group. |
Gets a resource policy that manages access for a model group
Description
Gets a resource policy that manages access for a model group. For information about resource policies, see Identity-based policies and resource-based policies in the Amazon Web Services Identity and Access Management User Guide..
See https://www.paws-r-sdk.com/docs/sagemaker_get_model_package_group_policy/ for full documentation.
Usage
sagemaker_get_model_package_group_policy(ModelPackageGroupName)
Arguments
ModelPackageGroupName |
[required] The name of the model group for which to get the resource policy. |
Gets the status of Service Catalog in SageMaker
Description
Gets the status of Service Catalog in SageMaker. Service Catalog is used to create SageMaker projects.
See https://www.paws-r-sdk.com/docs/sagemaker_get_sagemaker_servicecatalog_portfolio_status/ for full documentation.
Usage
sagemaker_get_sagemaker_servicecatalog_portfolio_status()
Starts an Amazon SageMaker Inference Recommender autoscaling recommendation job
Description
Starts an Amazon SageMaker Inference Recommender autoscaling recommendation job. Returns recommendations for autoscaling policies that you can apply to your SageMaker endpoint.
See https://www.paws-r-sdk.com/docs/sagemaker_get_scaling_configuration_recommendation/ for full documentation.
Usage
sagemaker_get_scaling_configuration_recommendation(
InferenceRecommendationsJobName,
RecommendationId = NULL,
EndpointName = NULL,
TargetCpuUtilizationPerCore = NULL,
ScalingPolicyObjective = NULL
)
Arguments
InferenceRecommendationsJobName |
[required] The name of a previously completed Inference Recommender job. |
RecommendationId |
The recommendation ID of a previously completed inference
recommendation. This ID should come from one of the recommendations
returned by the job specified in the Specify either this field or the |
EndpointName |
The name of an endpoint benchmarked during a previously completed
inference recommendation job. This name should come from one of the
recommendations returned by the job specified in the
Specify either this field or the |
TargetCpuUtilizationPerCore |
The percentage of how much utilization you want an instance to use before autoscaling. The default value is 50%. |
ScalingPolicyObjective |
An object where you specify the anticipated traffic pattern for an endpoint. |
An auto-complete API for the search functionality in the SageMaker console
Description
An auto-complete API for the search functionality in the SageMaker console. It returns suggestions of possible matches for the property name to use in search
queries. Provides suggestions for HyperParameters
, Tags
, and Metrics
.
See https://www.paws-r-sdk.com/docs/sagemaker_get_search_suggestions/ for full documentation.
Usage
sagemaker_get_search_suggestions(Resource, SuggestionQuery = NULL)
Arguments
Resource |
[required] The name of the SageMaker resource to search for. |
SuggestionQuery |
Limits the property names that are included in the response. |
Import hub content
Description
Import hub content.
See https://www.paws-r-sdk.com/docs/sagemaker_import_hub_content/ for full documentation.
Usage
sagemaker_import_hub_content(
HubContentName,
HubContentVersion = NULL,
HubContentType,
DocumentSchemaVersion,
HubName,
HubContentDisplayName = NULL,
HubContentDescription = NULL,
HubContentMarkdown = NULL,
HubContentDocument,
HubContentSearchKeywords = NULL,
Tags = NULL
)
Arguments
HubContentName |
[required] The name of the hub content to import. |
HubContentVersion |
The version of the hub content to import. |
HubContentType |
[required] The type of hub content to import. |
DocumentSchemaVersion |
[required] The version of the hub content schema to import. |
HubName |
[required] The name of the hub to import content into. |
HubContentDisplayName |
The display name of the hub content to import. |
HubContentDescription |
A description of the hub content to import. |
HubContentMarkdown |
A string that provides a description of the hub content. This string can include links, tables, and standard markdown formating. |
HubContentDocument |
[required] The hub content document that describes information about the hub content such as type, associated containers, scripts, and more. |
HubContentSearchKeywords |
The searchable keywords of the hub content. |
Tags |
Any tags associated with the hub content. |
Lists the actions in your account and their properties
Description
Lists the actions in your account and their properties.
See https://www.paws-r-sdk.com/docs/sagemaker_list_actions/ for full documentation.
Usage
sagemaker_list_actions(
SourceUri = NULL,
ActionType = NULL,
CreatedAfter = NULL,
CreatedBefore = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
SourceUri |
A filter that returns only actions with the specified source URI. |
ActionType |
A filter that returns only actions of the specified type. |
CreatedAfter |
A filter that returns only actions created on or after the specified time. |
CreatedBefore |
A filter that returns only actions created on or before the specified time. |
SortBy |
The property used to sort results. The default value is |
SortOrder |
The sort order. The default value is |
NextToken |
If the previous call to |
MaxResults |
The maximum number of actions to return in the response. The default value is 10. |
Lists the machine learning algorithms that have been created
Description
Lists the machine learning algorithms that have been created.
See https://www.paws-r-sdk.com/docs/sagemaker_list_algorithms/ for full documentation.
Usage
sagemaker_list_algorithms(
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
MaxResults = NULL,
NameContains = NULL,
NextToken = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
CreationTimeAfter |
A filter that returns only algorithms created after the specified time (timestamp). |
CreationTimeBefore |
A filter that returns only algorithms created before the specified time (timestamp). |
MaxResults |
The maximum number of algorithms to return in the response. |
NameContains |
A string in the algorithm name. This filter returns only algorithms whose name contains the specified string. |
NextToken |
If the response to a previous
|
SortBy |
The parameter by which to sort the results. The default is
|
SortOrder |
The sort order for the results. The default is |
Lists the aliases of a specified image or image version
Description
Lists the aliases of a specified image or image version.
See https://www.paws-r-sdk.com/docs/sagemaker_list_aliases/ for full documentation.
Usage
sagemaker_list_aliases(
ImageName,
Alias = NULL,
Version = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
ImageName |
[required] The name of the image. |
Alias |
The alias of the image version. |
Version |
The version of the image. If image version is not specified, the aliases of all versions of the image are listed. |
MaxResults |
The maximum number of aliases to return. |
NextToken |
If the previous call to |
Lists the AppImageConfigs in your account and their properties
Description
Lists the AppImageConfigs in your account and their properties. The list can be filtered by creation time or modified time, and whether the AppImageConfig name contains a specified string.
See https://www.paws-r-sdk.com/docs/sagemaker_list_app_image_configs/ for full documentation.
Usage
sagemaker_list_app_image_configs(
MaxResults = NULL,
NextToken = NULL,
NameContains = NULL,
CreationTimeBefore = NULL,
CreationTimeAfter = NULL,
ModifiedTimeBefore = NULL,
ModifiedTimeAfter = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
MaxResults |
The total number of items to return in the response. If the total number
of items available is more than the value specified, a |
NextToken |
If the previous call to |
NameContains |
A filter that returns only AppImageConfigs whose name contains the specified string. |
CreationTimeBefore |
A filter that returns only AppImageConfigs created on or before the specified time. |
CreationTimeAfter |
A filter that returns only AppImageConfigs created on or after the specified time. |
ModifiedTimeBefore |
A filter that returns only AppImageConfigs modified on or before the specified time. |
ModifiedTimeAfter |
A filter that returns only AppImageConfigs modified on or after the specified time. |
SortBy |
The property used to sort results. The default value is |
SortOrder |
The sort order. The default value is |
Lists apps
Description
Lists apps.
See https://www.paws-r-sdk.com/docs/sagemaker_list_apps/ for full documentation.
Usage
sagemaker_list_apps(
NextToken = NULL,
MaxResults = NULL,
SortOrder = NULL,
SortBy = NULL,
DomainIdEquals = NULL,
UserProfileNameEquals = NULL,
SpaceNameEquals = NULL
)
Arguments
NextToken |
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results. |
MaxResults |
This parameter defines the maximum number of results that can be return
in a single response. The |
SortOrder |
The sort order for the results. The default is Ascending. |
SortBy |
The parameter by which to sort the results. The default is CreationTime. |
DomainIdEquals |
A parameter to search for the domain ID. |
UserProfileNameEquals |
A parameter to search by user profile name. If |
SpaceNameEquals |
A parameter to search by space name. If |
Lists the artifacts in your account and their properties
Description
Lists the artifacts in your account and their properties.
See https://www.paws-r-sdk.com/docs/sagemaker_list_artifacts/ for full documentation.
Usage
sagemaker_list_artifacts(
SourceUri = NULL,
ArtifactType = NULL,
CreatedAfter = NULL,
CreatedBefore = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
SourceUri |
A filter that returns only artifacts with the specified source URI. |
ArtifactType |
A filter that returns only artifacts of the specified type. |
CreatedAfter |
A filter that returns only artifacts created on or after the specified time. |
CreatedBefore |
A filter that returns only artifacts created on or before the specified time. |
SortBy |
The property used to sort results. The default value is |
SortOrder |
The sort order. The default value is |
NextToken |
If the previous call to |
MaxResults |
The maximum number of artifacts to return in the response. The default value is 10. |
Lists the associations in your account and their properties
Description
Lists the associations in your account and their properties.
See https://www.paws-r-sdk.com/docs/sagemaker_list_associations/ for full documentation.
Usage
sagemaker_list_associations(
SourceArn = NULL,
DestinationArn = NULL,
SourceType = NULL,
DestinationType = NULL,
AssociationType = NULL,
CreatedAfter = NULL,
CreatedBefore = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
SourceArn |
A filter that returns only associations with the specified source ARN. |
DestinationArn |
A filter that returns only associations with the specified destination Amazon Resource Name (ARN). |
SourceType |
A filter that returns only associations with the specified source type. |
DestinationType |
A filter that returns only associations with the specified destination type. |
AssociationType |
A filter that returns only associations of the specified type. |
CreatedAfter |
A filter that returns only associations created on or after the specified time. |
CreatedBefore |
A filter that returns only associations created on or before the specified time. |
SortBy |
The property used to sort results. The default value is |
SortOrder |
The sort order. The default value is |
NextToken |
If the previous call to
|
MaxResults |
The maximum number of associations to return in the response. The default value is 10. |
Request a list of jobs
Description
Request a list of jobs.
See https://www.paws-r-sdk.com/docs/sagemaker_list_auto_ml_jobs/ for full documentation.
Usage
sagemaker_list_auto_ml_jobs(
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
NameContains = NULL,
StatusEquals = NULL,
SortOrder = NULL,
SortBy = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
CreationTimeAfter |
Request a list of jobs, using a filter for time. |
CreationTimeBefore |
Request a list of jobs, using a filter for time. |
LastModifiedTimeAfter |
Request a list of jobs, using a filter for time. |
LastModifiedTimeBefore |
Request a list of jobs, using a filter for time. |
NameContains |
Request a list of jobs, using a search filter for name. |
StatusEquals |
Request a list of jobs, using a filter for status. |
SortOrder |
The sort order for the results. The default is |
SortBy |
The parameter by which to sort the results. The default is |
MaxResults |
Request a list of jobs up to a specified limit. |
NextToken |
If the previous response was truncated, you receive this token. Use it in your next request to receive the next set of results. |
List the candidates created for the job
Description
List the candidates created for the job.
See https://www.paws-r-sdk.com/docs/sagemaker_list_candidates_for_auto_ml_job/ for full documentation.
Usage
sagemaker_list_candidates_for_auto_ml_job(
AutoMLJobName,
StatusEquals = NULL,
CandidateNameEquals = NULL,
SortOrder = NULL,
SortBy = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
AutoMLJobName |
[required] List the candidates created for the job by providing the job's name. |
StatusEquals |
List the candidates for the job and filter by status. |
CandidateNameEquals |
List the candidates for the job and filter by candidate name. |
SortOrder |
The sort order for the results. The default is |
SortBy |
The parameter by which to sort the results. The default is |
MaxResults |
List the job's candidates up to a specified limit. |
NextToken |
If the previous response was truncated, you receive this token. Use it in your next request to receive the next set of results. |
Retrieves the list of instances (also called nodes interchangeably) in a SageMaker HyperPod cluster
Description
Retrieves the list of instances (also called nodes interchangeably) in a SageMaker HyperPod cluster.
See https://www.paws-r-sdk.com/docs/sagemaker_list_cluster_nodes/ for full documentation.
Usage
sagemaker_list_cluster_nodes(
ClusterName,
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
InstanceGroupNameContains = NULL,
MaxResults = NULL,
NextToken = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
ClusterName |
[required] The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster in which you want to retrieve the list of nodes. |
CreationTimeAfter |
A filter that returns nodes in a SageMaker HyperPod cluster created after the specified time. Timestamps are formatted according to the ISO 8601 standard. Acceptable formats include:
For more information about the timestamp format, see Timestamp in the Amazon Web Services Command Line Interface User Guide. |
CreationTimeBefore |
A filter that returns nodes in a SageMaker HyperPod cluster created
before the specified time. The acceptable formats are the same as the
timestamp formats for |
InstanceGroupNameContains |
A filter that returns the instance groups whose name contain a specified string. |
MaxResults |
The maximum number of nodes to return in the response. |
NextToken |
If the result of the previous
|
SortBy |
The field by which to sort results. The default value is
|
SortOrder |
The sort order for results. The default value is |
List the cluster policy configurations
Description
List the cluster policy configurations.
See https://www.paws-r-sdk.com/docs/sagemaker_list_cluster_scheduler_configs/ for full documentation.
Usage
sagemaker_list_cluster_scheduler_configs(
CreatedAfter = NULL,
CreatedBefore = NULL,
NameContains = NULL,
ClusterArn = NULL,
Status = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
CreatedAfter |
Filter for after this creation time. The input for this parameter is a Unix timestamp. To convert a date and time into a Unix timestamp, see EpochConverter. |
CreatedBefore |
Filter for before this creation time. The input for this parameter is a Unix timestamp. To convert a date and time into a Unix timestamp, see EpochConverter. |
NameContains |
Filter for name containing this string. |
ClusterArn |
Filter for ARN of the cluster. |
Status |
Filter for status. |
SortBy |
Filter for sorting the list by a given value. For example, sort by name, creation time, or status. |
SortOrder |
The order of the list. By default, listed in |
NextToken |
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results. |
MaxResults |
The maximum number of cluster policies to list. |
Retrieves the list of SageMaker HyperPod clusters
Description
Retrieves the list of SageMaker HyperPod clusters.
See https://www.paws-r-sdk.com/docs/sagemaker_list_clusters/ for full documentation.
Usage
sagemaker_list_clusters(
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
MaxResults = NULL,
NameContains = NULL,
NextToken = NULL,
SortBy = NULL,
SortOrder = NULL,
TrainingPlanArn = NULL
)
Arguments
CreationTimeAfter |
Set a start time for the time range during which you want to list SageMaker HyperPod clusters. Timestamps are formatted according to the ISO 8601 standard. Acceptable formats include:
For more information about the timestamp format, see Timestamp in the Amazon Web Services Command Line Interface User Guide. |
CreationTimeBefore |
Set an end time for the time range during which you want to list
SageMaker HyperPod clusters. A filter that returns nodes in a SageMaker
HyperPod cluster created before the specified time. The acceptable
formats are the same as the timestamp formats for |
MaxResults |
Set the maximum number of SageMaker HyperPod clusters to list. |
NameContains |
Set the maximum number of instances to print in the list. |
NextToken |
Set the next token to retrieve the list of SageMaker HyperPod clusters. |
SortBy |
The field by which to sort results. The default value is
|
SortOrder |
The sort order for results. The default value is |
TrainingPlanArn |
The Amazon Resource Name (ARN); of the training plan to filter clusters
by. For more information about reserving GPU capacity for your SageMaker
HyperPod clusters using Amazon SageMaker Training Plan, see
|
Gets a list of the Git repositories in your account
Description
Gets a list of the Git repositories in your account.
See https://www.paws-r-sdk.com/docs/sagemaker_list_code_repositories/ for full documentation.
Usage
sagemaker_list_code_repositories(
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
MaxResults = NULL,
NameContains = NULL,
NextToken = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
CreationTimeAfter |
A filter that returns only Git repositories that were created after the specified time. |
CreationTimeBefore |
A filter that returns only Git repositories that were created before the specified time. |
LastModifiedTimeAfter |
A filter that returns only Git repositories that were last modified after the specified time. |
LastModifiedTimeBefore |
A filter that returns only Git repositories that were last modified before the specified time. |
MaxResults |
The maximum number of Git repositories to return in the response. |
NameContains |
A string in the Git repositories name. This filter returns only repositories whose name contains the specified string. |
NextToken |
If the result of a |
SortBy |
The field to sort results by. The default is |
SortOrder |
The sort order for results. The default is |
Lists model compilation jobs that satisfy various filters
Description
Lists model compilation jobs that satisfy various filters.
See https://www.paws-r-sdk.com/docs/sagemaker_list_compilation_jobs/ for full documentation.
Usage
sagemaker_list_compilation_jobs(
NextToken = NULL,
MaxResults = NULL,
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
NameContains = NULL,
StatusEquals = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
NextToken |
If the result of the previous
|
MaxResults |
The maximum number of model compilation jobs to return in the response. |
CreationTimeAfter |
A filter that returns the model compilation jobs that were created after a specified time. |
CreationTimeBefore |
A filter that returns the model compilation jobs that were created before a specified time. |
LastModifiedTimeAfter |
A filter that returns the model compilation jobs that were modified after a specified time. |
LastModifiedTimeBefore |
A filter that returns the model compilation jobs that were modified before a specified time. |
NameContains |
A filter that returns the model compilation jobs whose name contains a specified string. |
StatusEquals |
A filter that retrieves model compilation jobs with a specific
|
SortBy |
The field by which to sort results. The default is |
SortOrder |
The sort order for results. The default is |
List the resource allocation definitions
Description
List the resource allocation definitions.
See https://www.paws-r-sdk.com/docs/sagemaker_list_compute_quotas/ for full documentation.
Usage
sagemaker_list_compute_quotas(
CreatedAfter = NULL,
CreatedBefore = NULL,
NameContains = NULL,
Status = NULL,
ClusterArn = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
CreatedAfter |
Filter for after this creation time. The input for this parameter is a Unix timestamp. To convert a date and time into a Unix timestamp, see EpochConverter. |
CreatedBefore |
Filter for before this creation time. The input for this parameter is a Unix timestamp. To convert a date and time into a Unix timestamp, see EpochConverter. |
NameContains |
Filter for name containing this string. |
Status |
Filter for status. |
ClusterArn |
Filter for ARN of the cluster. |
SortBy |
Filter for sorting the list by a given value. For example, sort by name, creation time, or status. |
SortOrder |
The order of the list. By default, listed in |
NextToken |
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results. |
MaxResults |
The maximum number of compute allocation definitions to list. |
Lists the contexts in your account and their properties
Description
Lists the contexts in your account and their properties.
See https://www.paws-r-sdk.com/docs/sagemaker_list_contexts/ for full documentation.
Usage
sagemaker_list_contexts(
SourceUri = NULL,
ContextType = NULL,
CreatedAfter = NULL,
CreatedBefore = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
SourceUri |
A filter that returns only contexts with the specified source URI. |
ContextType |
A filter that returns only contexts of the specified type. |
CreatedAfter |
A filter that returns only contexts created on or after the specified time. |
CreatedBefore |
A filter that returns only contexts created on or before the specified time. |
SortBy |
The property used to sort results. The default value is |
SortOrder |
The sort order. The default value is |
NextToken |
If the previous call to |
MaxResults |
The maximum number of contexts to return in the response. The default value is 10. |
Lists the data quality job definitions in your account
Description
Lists the data quality job definitions in your account.
See https://www.paws-r-sdk.com/docs/sagemaker_list_data_quality_job_definitions/ for full documentation.
Usage
sagemaker_list_data_quality_job_definitions(
EndpointName = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL,
NameContains = NULL,
CreationTimeBefore = NULL,
CreationTimeAfter = NULL
)
Arguments
EndpointName |
A filter that lists the data quality job definitions associated with the specified endpoint. |
SortBy |
The field to sort results by. The default is |
SortOrder |
Whether to sort the results in |
NextToken |
If the result of the previous
|
MaxResults |
The maximum number of data quality monitoring job definitions to return in the response. |
NameContains |
A string in the data quality monitoring job definition name. This filter returns only data quality monitoring job definitions whose name contains the specified string. |
CreationTimeBefore |
A filter that returns only data quality monitoring job definitions created before the specified time. |
CreationTimeAfter |
A filter that returns only data quality monitoring job definitions created after the specified time. |
Returns a list of devices in the fleet
Description
Returns a list of devices in the fleet.
See https://www.paws-r-sdk.com/docs/sagemaker_list_device_fleets/ for full documentation.
Usage
sagemaker_list_device_fleets(
NextToken = NULL,
MaxResults = NULL,
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
NameContains = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
NextToken |
The response from the last list when returning a list large enough to need tokening. |
MaxResults |
The maximum number of results to select. |
CreationTimeAfter |
Filter fleets where packaging job was created after specified time. |
CreationTimeBefore |
Filter fleets where the edge packaging job was created before specified time. |
LastModifiedTimeAfter |
Select fleets where the job was updated after X |
LastModifiedTimeBefore |
Select fleets where the job was updated before X |
NameContains |
Filter for fleets containing this name in their fleet device name. |
SortBy |
The column to sort by. |
SortOrder |
What direction to sort in. |
A list of devices
Description
A list of devices.
See https://www.paws-r-sdk.com/docs/sagemaker_list_devices/ for full documentation.
Usage
sagemaker_list_devices(
NextToken = NULL,
MaxResults = NULL,
LatestHeartbeatAfter = NULL,
ModelName = NULL,
DeviceFleetName = NULL
)
Arguments
NextToken |
The response from the last list when returning a list large enough to need tokening. |
MaxResults |
Maximum number of results to select. |
LatestHeartbeatAfter |
Select fleets where the job was updated after X |
ModelName |
A filter that searches devices that contains this name in any of their models. |
DeviceFleetName |
Filter for fleets containing this name in their device fleet name. |
Lists the domains
Description
Lists the domains.
See https://www.paws-r-sdk.com/docs/sagemaker_list_domains/ for full documentation.
Usage
sagemaker_list_domains(NextToken = NULL, MaxResults = NULL)
Arguments
NextToken |
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results. |
MaxResults |
This parameter defines the maximum number of results that can be return
in a single response. The |
Lists all edge deployment plans
Description
Lists all edge deployment plans.
See https://www.paws-r-sdk.com/docs/sagemaker_list_edge_deployment_plans/ for full documentation.
Usage
sagemaker_list_edge_deployment_plans(
NextToken = NULL,
MaxResults = NULL,
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
NameContains = NULL,
DeviceFleetNameContains = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
NextToken |
The response from the last list when returning a list large enough to need tokening. |
MaxResults |
The maximum number of results to select (50 by default). |
CreationTimeAfter |
Selects edge deployment plans created after this time. |
CreationTimeBefore |
Selects edge deployment plans created before this time. |
LastModifiedTimeAfter |
Selects edge deployment plans that were last updated after this time. |
LastModifiedTimeBefore |
Selects edge deployment plans that were last updated before this time. |
NameContains |
Selects edge deployment plans with names containing this name. |
DeviceFleetNameContains |
Selects edge deployment plans with a device fleet name containing this name. |
SortBy |
The column by which to sort the edge deployment plans. Can be one of
|
SortOrder |
The direction of the sorting (ascending or descending). |
Returns a list of edge packaging jobs
Description
Returns a list of edge packaging jobs.
See https://www.paws-r-sdk.com/docs/sagemaker_list_edge_packaging_jobs/ for full documentation.
Usage
sagemaker_list_edge_packaging_jobs(
NextToken = NULL,
MaxResults = NULL,
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
NameContains = NULL,
ModelNameContains = NULL,
StatusEquals = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
NextToken |
The response from the last list when returning a list large enough to need tokening. |
MaxResults |
Maximum number of results to select. |
CreationTimeAfter |
Select jobs where the job was created after specified time. |
CreationTimeBefore |
Select jobs where the job was created before specified time. |
LastModifiedTimeAfter |
Select jobs where the job was updated after specified time. |
LastModifiedTimeBefore |
Select jobs where the job was updated before specified time. |
NameContains |
Filter for jobs containing this name in their packaging job name. |
ModelNameContains |
Filter for jobs where the model name contains this string. |
StatusEquals |
The job status to filter for. |
SortBy |
Use to specify what column to sort by. |
SortOrder |
What direction to sort by. |
Lists endpoint configurations
Description
Lists endpoint configurations.
See https://www.paws-r-sdk.com/docs/sagemaker_list_endpoint_configs/ for full documentation.
Usage
sagemaker_list_endpoint_configs(
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL,
NameContains = NULL,
CreationTimeBefore = NULL,
CreationTimeAfter = NULL
)
Arguments
SortBy |
The field to sort results by. The default is |
SortOrder |
The sort order for results. The default is |
NextToken |
If the result of the previous |
MaxResults |
The maximum number of training jobs to return in the response. |
NameContains |
A string in the endpoint configuration name. This filter returns only endpoint configurations whose name contains the specified string. |
CreationTimeBefore |
A filter that returns only endpoint configurations created before the specified time (timestamp). |
CreationTimeAfter |
A filter that returns only endpoint configurations with a creation time greater than or equal to the specified time (timestamp). |
Lists endpoints
Description
Lists endpoints.
See https://www.paws-r-sdk.com/docs/sagemaker_list_endpoints/ for full documentation.
Usage
sagemaker_list_endpoints(
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL,
NameContains = NULL,
CreationTimeBefore = NULL,
CreationTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
StatusEquals = NULL
)
Arguments
SortBy |
Sorts the list of results. The default is |
SortOrder |
The sort order for results. The default is |
NextToken |
If the result of a |
MaxResults |
The maximum number of endpoints to return in the response. This value defaults to 10. |
NameContains |
A string in endpoint names. This filter returns only endpoints whose name contains the specified string. |
CreationTimeBefore |
A filter that returns only endpoints that were created before the specified time (timestamp). |
CreationTimeAfter |
A filter that returns only endpoints with a creation time greater than or equal to the specified time (timestamp). |
LastModifiedTimeBefore |
A filter that returns only endpoints that were modified before the specified timestamp. |
LastModifiedTimeAfter |
A filter that returns only endpoints that were modified after the specified timestamp. |
StatusEquals |
A filter that returns only endpoints with the specified status. |
Lists all the experiments in your account
Description
Lists all the experiments in your account. The list can be filtered to show only experiments that were created in a specific time range. The list can be sorted by experiment name or creation time.
See https://www.paws-r-sdk.com/docs/sagemaker_list_experiments/ for full documentation.
Usage
sagemaker_list_experiments(
CreatedAfter = NULL,
CreatedBefore = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
CreatedAfter |
A filter that returns only experiments created after the specified time. |
CreatedBefore |
A filter that returns only experiments created before the specified time. |
SortBy |
The property used to sort results. The default value is |
SortOrder |
The sort order. The default value is |
NextToken |
If the previous call to |
MaxResults |
The maximum number of experiments to return in the response. The default value is 10. |
List FeatureGroups based on given filter and order
Description
List FeatureGroup
s based on given filter and order.
See https://www.paws-r-sdk.com/docs/sagemaker_list_feature_groups/ for full documentation.
Usage
sagemaker_list_feature_groups(
NameContains = NULL,
FeatureGroupStatusEquals = NULL,
OfflineStoreStatusEquals = NULL,
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
SortOrder = NULL,
SortBy = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
NameContains |
A string that partially matches one or more |
FeatureGroupStatusEquals |
A |
OfflineStoreStatusEquals |
An |
CreationTimeAfter |
Use this parameter to search for |
CreationTimeBefore |
Use this parameter to search for |
SortOrder |
The order in which feature groups are listed. |
SortBy |
The value on which the feature group list is sorted. |
MaxResults |
The maximum number of results returned by
|
NextToken |
A token to resume pagination of
|
Returns information about the flow definitions in your account
Description
Returns information about the flow definitions in your account.
See https://www.paws-r-sdk.com/docs/sagemaker_list_flow_definitions/ for full documentation.
Usage
sagemaker_list_flow_definitions(
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
CreationTimeAfter |
A filter that returns only flow definitions with a creation time greater than or equal to the specified timestamp. |
CreationTimeBefore |
A filter that returns only flow definitions that were created before the specified timestamp. |
SortOrder |
An optional value that specifies whether you want the results sorted in
|
NextToken |
A token to resume pagination. |
MaxResults |
The total number of items to return. If the total number of available
items is more than the value specified in |
List hub content versions
Description
List hub content versions.
See https://www.paws-r-sdk.com/docs/sagemaker_list_hub_content_versions/ for full documentation.
Usage
sagemaker_list_hub_content_versions(
HubName,
HubContentType,
HubContentName,
MinVersion = NULL,
MaxSchemaVersion = NULL,
CreationTimeBefore = NULL,
CreationTimeAfter = NULL,
SortBy = NULL,
SortOrder = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
HubName |
[required] The name of the hub to list the content versions of. |
HubContentType |
[required] The type of hub content to list versions of. |
HubContentName |
[required] The name of the hub content. |
MinVersion |
The lower bound of the hub content versions to list. |
MaxSchemaVersion |
The upper bound of the hub content schema version. |
CreationTimeBefore |
Only list hub content versions that were created before the time specified. |
CreationTimeAfter |
Only list hub content versions that were created after the time specified. |
SortBy |
Sort hub content versions by either name or creation time. |
SortOrder |
Sort hub content versions by ascending or descending order. |
MaxResults |
The maximum number of hub content versions to list. |
NextToken |
If the response to a previous
|
List the contents of a hub
Description
List the contents of a hub.
See https://www.paws-r-sdk.com/docs/sagemaker_list_hub_contents/ for full documentation.
Usage
sagemaker_list_hub_contents(
HubName,
HubContentType,
NameContains = NULL,
MaxSchemaVersion = NULL,
CreationTimeBefore = NULL,
CreationTimeAfter = NULL,
SortBy = NULL,
SortOrder = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
HubName |
[required] The name of the hub to list the contents of. |
HubContentType |
[required] The type of hub content to list. |
NameContains |
Only list hub content if the name contains the specified string. |
MaxSchemaVersion |
The upper bound of the hub content schema verion. |
CreationTimeBefore |
Only list hub content that was created before the time specified. |
CreationTimeAfter |
Only list hub content that was created after the time specified. |
SortBy |
Sort hub content versions by either name or creation time. |
SortOrder |
Sort hubs by ascending or descending order. |
MaxResults |
The maximum amount of hub content to list. |
NextToken |
If the response to a previous
|
List all existing hubs
Description
List all existing hubs.
See https://www.paws-r-sdk.com/docs/sagemaker_list_hubs/ for full documentation.
Usage
sagemaker_list_hubs(
NameContains = NULL,
CreationTimeBefore = NULL,
CreationTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
SortBy = NULL,
SortOrder = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
NameContains |
Only list hubs with names that contain the specified string. |
CreationTimeBefore |
Only list hubs that were created before the time specified. |
CreationTimeAfter |
Only list hubs that were created after the time specified. |
LastModifiedTimeBefore |
Only list hubs that were last modified before the time specified. |
LastModifiedTimeAfter |
Only list hubs that were last modified after the time specified. |
SortBy |
Sort hubs by either name or creation time. |
SortOrder |
Sort hubs by ascending or descending order. |
MaxResults |
The maximum number of hubs to list. |
NextToken |
If the response to a previous |
Returns information about the human task user interfaces in your account
Description
Returns information about the human task user interfaces in your account.
See https://www.paws-r-sdk.com/docs/sagemaker_list_human_task_uis/ for full documentation.
Usage
sagemaker_list_human_task_uis(
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
CreationTimeAfter |
A filter that returns only human task user interfaces with a creation time greater than or equal to the specified timestamp. |
CreationTimeBefore |
A filter that returns only human task user interfaces that were created before the specified timestamp. |
SortOrder |
An optional value that specifies whether you want the results sorted in
|
NextToken |
A token to resume pagination. |
MaxResults |
The total number of items to return. If the total number of available
items is more than the value specified in |
Gets a list of HyperParameterTuningJobSummary objects that describe the hyperparameter tuning jobs launched in your account
Description
Gets a list of HyperParameterTuningJobSummary objects that describe the hyperparameter tuning jobs launched in your account.
See https://www.paws-r-sdk.com/docs/sagemaker_list_hyper_parameter_tuning_jobs/ for full documentation.
Usage
sagemaker_list_hyper_parameter_tuning_jobs(
NextToken = NULL,
MaxResults = NULL,
SortBy = NULL,
SortOrder = NULL,
NameContains = NULL,
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
StatusEquals = NULL
)
Arguments
NextToken |
If the result of the previous
|
MaxResults |
The maximum number of tuning jobs to return. The default value is 10. |
SortBy |
The field to sort results by. The default is |
SortOrder |
The sort order for results. The default is |
NameContains |
A string in the tuning job name. This filter returns only tuning jobs whose name contains the specified string. |
CreationTimeAfter |
A filter that returns only tuning jobs that were created after the specified time. |
CreationTimeBefore |
A filter that returns only tuning jobs that were created before the specified time. |
LastModifiedTimeAfter |
A filter that returns only tuning jobs that were modified after the specified time. |
LastModifiedTimeBefore |
A filter that returns only tuning jobs that were modified before the specified time. |
StatusEquals |
A filter that returns only tuning jobs with the specified status. |
Lists the versions of a specified image and their properties
Description
Lists the versions of a specified image and their properties. The list can be filtered by creation time or modified time.
See https://www.paws-r-sdk.com/docs/sagemaker_list_image_versions/ for full documentation.
Usage
sagemaker_list_image_versions(
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
ImageName,
LastModifiedTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
MaxResults = NULL,
NextToken = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
CreationTimeAfter |
A filter that returns only versions created on or after the specified time. |
CreationTimeBefore |
A filter that returns only versions created on or before the specified time. |
ImageName |
[required] The name of the image to list the versions of. |
LastModifiedTimeAfter |
A filter that returns only versions modified on or after the specified time. |
LastModifiedTimeBefore |
A filter that returns only versions modified on or before the specified time. |
MaxResults |
The maximum number of versions to return in the response. The default value is 10. |
NextToken |
If the previous call to
|
SortBy |
The property used to sort results. The default value is |
SortOrder |
The sort order. The default value is |
Lists the images in your account and their properties
Description
Lists the images in your account and their properties. The list can be filtered by creation time or modified time, and whether the image name contains a specified string.
See https://www.paws-r-sdk.com/docs/sagemaker_list_images/ for full documentation.
Usage
sagemaker_list_images(
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
MaxResults = NULL,
NameContains = NULL,
NextToken = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
CreationTimeAfter |
A filter that returns only images created on or after the specified time. |
CreationTimeBefore |
A filter that returns only images created on or before the specified time. |
LastModifiedTimeAfter |
A filter that returns only images modified on or after the specified time. |
LastModifiedTimeBefore |
A filter that returns only images modified on or before the specified time. |
MaxResults |
The maximum number of images to return in the response. The default value is 10. |
NameContains |
A filter that returns only images whose name contains the specified string. |
NextToken |
If the previous call to |
SortBy |
The property used to sort results. The default value is |
SortOrder |
The sort order. The default value is |
Lists the inference components in your account and their properties
Description
Lists the inference components in your account and their properties.
See https://www.paws-r-sdk.com/docs/sagemaker_list_inference_components/ for full documentation.
Usage
sagemaker_list_inference_components(
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL,
NameContains = NULL,
CreationTimeBefore = NULL,
CreationTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
StatusEquals = NULL,
EndpointNameEquals = NULL,
VariantNameEquals = NULL
)
Arguments
SortBy |
The field by which to sort the inference components in the response. The
default is |
SortOrder |
The sort order for results. The default is |
NextToken |
A token that you use to get the next set of results following a truncated response. If the response to the previous request was truncated, that response provides the value for this token. |
MaxResults |
The maximum number of inference components to return in the response. This value defaults to 10. |
NameContains |
Filters the results to only those inference components with a name that contains the specified string. |
CreationTimeBefore |
Filters the results to only those inference components that were created before the specified time. |
CreationTimeAfter |
Filters the results to only those inference components that were created after the specified time. |
LastModifiedTimeBefore |
Filters the results to only those inference components that were updated before the specified time. |
LastModifiedTimeAfter |
Filters the results to only those inference components that were updated after the specified time. |
StatusEquals |
Filters the results to only those inference components with the specified status. |
EndpointNameEquals |
An endpoint name to filter the listed inference components. The response includes only those inference components that are hosted at the specified endpoint. |
VariantNameEquals |
A production variant name to filter the listed inference components. The response includes only those inference components that are hosted at the specified variant. |
Returns the list of all inference experiments
Description
Returns the list of all inference experiments.
See https://www.paws-r-sdk.com/docs/sagemaker_list_inference_experiments/ for full documentation.
Usage
sagemaker_list_inference_experiments(
NameContains = NULL,
Type = NULL,
StatusEquals = NULL,
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
NameContains |
Selects inference experiments whose names contain this name. |
Type |
Selects inference experiments of this type. For the possible types of
inference experiments, see
|
StatusEquals |
Selects inference experiments which are in this status. For the possible
statuses, see
|
CreationTimeAfter |
Selects inference experiments which were created after this timestamp. |
CreationTimeBefore |
Selects inference experiments which were created before this timestamp. |
LastModifiedTimeAfter |
Selects inference experiments which were last modified after this timestamp. |
LastModifiedTimeBefore |
Selects inference experiments which were last modified before this timestamp. |
SortBy |
The column by which to sort the listed inference experiments. |
SortOrder |
The direction of sorting (ascending or descending). |
NextToken |
The response from the last list when returning a list large enough to need tokening. |
MaxResults |
The maximum number of results to select. |
Returns a list of the subtasks for an Inference Recommender job
Description
Returns a list of the subtasks for an Inference Recommender job.
See https://www.paws-r-sdk.com/docs/sagemaker_list_inference_recommendations_job_steps/ for full documentation.
Usage
sagemaker_list_inference_recommendations_job_steps(
JobName,
Status = NULL,
StepType = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
JobName |
[required] The name for the Inference Recommender job. |
Status |
A filter to return benchmarks of a specified status. If this field is left empty, then all benchmarks are returned. |
StepType |
A filter to return details about the specified type of subtask.
|
MaxResults |
The maximum number of results to return. |
NextToken |
A token that you can specify to return more results from the list. Specify this field if you have a token that was returned from a previous request. |
Lists recommendation jobs that satisfy various filters
Description
Lists recommendation jobs that satisfy various filters.
See https://www.paws-r-sdk.com/docs/sagemaker_list_inference_recommendations_jobs/ for full documentation.
Usage
sagemaker_list_inference_recommendations_jobs(
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
NameContains = NULL,
StatusEquals = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL,
ModelNameEquals = NULL,
ModelPackageVersionArnEquals = NULL
)
Arguments
CreationTimeAfter |
A filter that returns only jobs created after the specified time (timestamp). |
CreationTimeBefore |
A filter that returns only jobs created before the specified time (timestamp). |
LastModifiedTimeAfter |
A filter that returns only jobs that were last modified after the specified time (timestamp). |
LastModifiedTimeBefore |
A filter that returns only jobs that were last modified before the specified time (timestamp). |
NameContains |
A string in the job name. This filter returns only recommendations whose name contains the specified string. |
StatusEquals |
A filter that retrieves only inference recommendations jobs with a specific status. |
SortBy |
The parameter by which to sort the results. |
SortOrder |
The sort order for the results. |
NextToken |
If the response to a previous |
MaxResults |
The maximum number of recommendations to return in the response. |
ModelNameEquals |
A filter that returns only jobs that were created for this model. |
ModelPackageVersionArnEquals |
A filter that returns only jobs that were created for this versioned model package. |
Gets a list of labeling jobs
Description
Gets a list of labeling jobs.
See https://www.paws-r-sdk.com/docs/sagemaker_list_labeling_jobs/ for full documentation.
Usage
sagemaker_list_labeling_jobs(
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
MaxResults = NULL,
NextToken = NULL,
NameContains = NULL,
SortBy = NULL,
SortOrder = NULL,
StatusEquals = NULL
)
Arguments
CreationTimeAfter |
A filter that returns only labeling jobs created after the specified time (timestamp). |
CreationTimeBefore |
A filter that returns only labeling jobs created before the specified time (timestamp). |
LastModifiedTimeAfter |
A filter that returns only labeling jobs modified after the specified time (timestamp). |
LastModifiedTimeBefore |
A filter that returns only labeling jobs modified before the specified time (timestamp). |
MaxResults |
The maximum number of labeling jobs to return in each page of the response. |
NextToken |
If the result of the previous
|
NameContains |
A string in the labeling job name. This filter returns only labeling jobs whose name contains the specified string. |
SortBy |
The field to sort results by. The default is |
SortOrder |
The sort order for results. The default is |
StatusEquals |
A filter that retrieves only labeling jobs with a specific status. |
Gets a list of labeling jobs assigned to a specified work team
Description
Gets a list of labeling jobs assigned to a specified work team.
See https://www.paws-r-sdk.com/docs/sagemaker_list_labeling_jobs_for_workteam/ for full documentation.
Usage
sagemaker_list_labeling_jobs_for_workteam(
WorkteamArn,
MaxResults = NULL,
NextToken = NULL,
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
JobReferenceCodeContains = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
WorkteamArn |
[required] The Amazon Resource Name (ARN) of the work team for which you want to see labeling jobs for. |
MaxResults |
The maximum number of labeling jobs to return in each page of the response. |
NextToken |
If the result of the previous
|
CreationTimeAfter |
A filter that returns only labeling jobs created after the specified time (timestamp). |
CreationTimeBefore |
A filter that returns only labeling jobs created before the specified time (timestamp). |
JobReferenceCodeContains |
A filter the limits jobs to only the ones whose job reference code contains the specified string. |
SortBy |
The field to sort results by. The default is |
SortOrder |
The sort order for results. The default is |
A list of lineage groups shared with your Amazon Web Services account
Description
A list of lineage groups shared with your Amazon Web Services account. For more information, see Cross-Account Lineage Tracking in the Amazon SageMaker Developer Guide.
See https://www.paws-r-sdk.com/docs/sagemaker_list_lineage_groups/ for full documentation.
Usage
sagemaker_list_lineage_groups(
CreatedAfter = NULL,
CreatedBefore = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
CreatedAfter |
A timestamp to filter against lineage groups created after a certain point in time. |
CreatedBefore |
A timestamp to filter against lineage groups created before a certain point in time. |
SortBy |
The parameter by which to sort the results. The default is
|
SortOrder |
The sort order for the results. The default is |
NextToken |
If the response is truncated, SageMaker returns this token. To retrieve the next set of algorithms, use it in the subsequent request. |
MaxResults |
The maximum number of endpoints to return in the response. This value defaults to 10. |
Lists all MLflow Tracking Servers
Description
Lists all MLflow Tracking Servers.
See https://www.paws-r-sdk.com/docs/sagemaker_list_mlflow_tracking_servers/ for full documentation.
Usage
sagemaker_list_mlflow_tracking_servers(
CreatedAfter = NULL,
CreatedBefore = NULL,
TrackingServerStatus = NULL,
MlflowVersion = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
CreatedAfter |
Use the |
CreatedBefore |
Use the |
TrackingServerStatus |
Filter for tracking servers with a specified creation status. |
MlflowVersion |
Filter for tracking servers using the specified MLflow version. |
SortBy |
Filter for trackings servers sorting by name, creation time, or creation status. |
SortOrder |
Change the order of the listed tracking servers. By default, tracking
servers are listed in |
NextToken |
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results. |
MaxResults |
The maximum number of tracking servers to list. |
Lists model bias jobs definitions that satisfy various filters
Description
Lists model bias jobs definitions that satisfy various filters.
See https://www.paws-r-sdk.com/docs/sagemaker_list_model_bias_job_definitions/ for full documentation.
Usage
sagemaker_list_model_bias_job_definitions(
EndpointName = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL,
NameContains = NULL,
CreationTimeBefore = NULL,
CreationTimeAfter = NULL
)
Arguments
EndpointName |
Name of the endpoint to monitor for model bias. |
SortBy |
Whether to sort results by the |
SortOrder |
Whether to sort the results in |
NextToken |
The token returned if the response is truncated. To retrieve the next set of job executions, use it in the next request. |
MaxResults |
The maximum number of model bias jobs to return in the response. The default value is 10. |
NameContains |
Filter for model bias jobs whose name contains a specified string. |
CreationTimeBefore |
A filter that returns only model bias jobs created before a specified time. |
CreationTimeAfter |
A filter that returns only model bias jobs created after a specified time. |
List the export jobs for the Amazon SageMaker Model Card
Description
List the export jobs for the Amazon SageMaker Model Card.
See https://www.paws-r-sdk.com/docs/sagemaker_list_model_card_export_jobs/ for full documentation.
Usage
sagemaker_list_model_card_export_jobs(
ModelCardName,
ModelCardVersion = NULL,
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
ModelCardExportJobNameContains = NULL,
StatusEquals = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
ModelCardName |
[required] List export jobs for the model card with the specified name. |
ModelCardVersion |
List export jobs for the model card with the specified version. |
CreationTimeAfter |
Only list model card export jobs that were created after the time specified. |
CreationTimeBefore |
Only list model card export jobs that were created before the time specified. |
ModelCardExportJobNameContains |
Only list model card export jobs with names that contain the specified string. |
StatusEquals |
Only list model card export jobs with the specified status. |
SortBy |
Sort model card export jobs by either name or creation time. Sorts by creation time by default. |
SortOrder |
Sort model card export jobs by ascending or descending order. |
NextToken |
If the response to a previous
|
MaxResults |
The maximum number of model card export jobs to list. |
List existing versions of an Amazon SageMaker Model Card
Description
List existing versions of an Amazon SageMaker Model Card.
See https://www.paws-r-sdk.com/docs/sagemaker_list_model_card_versions/ for full documentation.
Usage
sagemaker_list_model_card_versions(
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
MaxResults = NULL,
ModelCardName,
ModelCardStatus = NULL,
NextToken = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
CreationTimeAfter |
Only list model card versions that were created after the time specified. |
CreationTimeBefore |
Only list model card versions that were created before the time specified. |
MaxResults |
The maximum number of model card versions to list. |
ModelCardName |
[required] List model card versions for the model card with the specified name or Amazon Resource Name (ARN). |
ModelCardStatus |
Only list model card versions with the specified approval status. |
NextToken |
If the response to a previous
|
SortBy |
Sort listed model card versions by version. Sorts by version by default. |
SortOrder |
Sort model card versions by ascending or descending order. |
List existing model cards
Description
List existing model cards.
See https://www.paws-r-sdk.com/docs/sagemaker_list_model_cards/ for full documentation.
Usage
sagemaker_list_model_cards(
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
MaxResults = NULL,
NameContains = NULL,
ModelCardStatus = NULL,
NextToken = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
CreationTimeAfter |
Only list model cards that were created after the time specified. |
CreationTimeBefore |
Only list model cards that were created before the time specified. |
MaxResults |
The maximum number of model cards to list. |
NameContains |
Only list model cards with names that contain the specified string. |
ModelCardStatus |
Only list model cards with the specified approval status. |
NextToken |
If the response to a previous
|
SortBy |
Sort model cards by either name or creation time. Sorts by creation time by default. |
SortOrder |
Sort model cards by ascending or descending order. |
Lists model explainability job definitions that satisfy various filters
Description
Lists model explainability job definitions that satisfy various filters.
See https://www.paws-r-sdk.com/docs/sagemaker_list_model_explainability_job_definitions/ for full documentation.
Usage
sagemaker_list_model_explainability_job_definitions(
EndpointName = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL,
NameContains = NULL,
CreationTimeBefore = NULL,
CreationTimeAfter = NULL
)
Arguments
EndpointName |
Name of the endpoint to monitor for model explainability. |
SortBy |
Whether to sort results by the |
SortOrder |
Whether to sort the results in |
NextToken |
The token returned if the response is truncated. To retrieve the next set of job executions, use it in the next request. |
MaxResults |
The maximum number of jobs to return in the response. The default value is 10. |
NameContains |
Filter for model explainability jobs whose name contains a specified string. |
CreationTimeBefore |
A filter that returns only model explainability jobs created before a specified time. |
CreationTimeAfter |
A filter that returns only model explainability jobs created after a specified time. |
Lists the domain, framework, task, and model name of standard machine learning models found in common model zoos
Description
Lists the domain, framework, task, and model name of standard machine learning models found in common model zoos.
See https://www.paws-r-sdk.com/docs/sagemaker_list_model_metadata/ for full documentation.
Usage
sagemaker_list_model_metadata(
SearchExpression = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
SearchExpression |
One or more filters that searches for the specified resource or resources in a search. All resource objects that satisfy the expression's condition are included in the search results. Specify the Framework, FrameworkVersion, Domain or Task to filter supported. Filter names and values are case-sensitive. |
NextToken |
If the response to a previous |
MaxResults |
The maximum number of models to return in the response. |
Gets a list of the model groups in your Amazon Web Services account
Description
Gets a list of the model groups in your Amazon Web Services account.
See https://www.paws-r-sdk.com/docs/sagemaker_list_model_package_groups/ for full documentation.
Usage
sagemaker_list_model_package_groups(
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
MaxResults = NULL,
NameContains = NULL,
NextToken = NULL,
SortBy = NULL,
SortOrder = NULL,
CrossAccountFilterOption = NULL
)
Arguments
CreationTimeAfter |
A filter that returns only model groups created after the specified time. |
CreationTimeBefore |
A filter that returns only model groups created before the specified time. |
MaxResults |
The maximum number of results to return in the response. |
NameContains |
A string in the model group name. This filter returns only model groups whose name contains the specified string. |
NextToken |
If the result of the previous
|
SortBy |
The field to sort results by. The default is |
SortOrder |
The sort order for results. The default is |
CrossAccountFilterOption |
A filter that returns either model groups shared with you or model
groups in your own account. When the value is |
Lists the model packages that have been created
Description
Lists the model packages that have been created.
See https://www.paws-r-sdk.com/docs/sagemaker_list_model_packages/ for full documentation.
Usage
sagemaker_list_model_packages(
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
MaxResults = NULL,
NameContains = NULL,
ModelApprovalStatus = NULL,
ModelPackageGroupName = NULL,
ModelPackageType = NULL,
NextToken = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
CreationTimeAfter |
A filter that returns only model packages created after the specified time (timestamp). |
CreationTimeBefore |
A filter that returns only model packages created before the specified time (timestamp). |
MaxResults |
The maximum number of model packages to return in the response. |
NameContains |
A string in the model package name. This filter returns only model packages whose name contains the specified string. |
ModelApprovalStatus |
A filter that returns only the model packages with the specified approval status. |
ModelPackageGroupName |
A filter that returns only model versions that belong to the specified model group. |
ModelPackageType |
A filter that returns only the model packages of the specified type. This can be one of the following values.
|
NextToken |
If the response to a previous
|
SortBy |
The parameter by which to sort the results. The default is
|
SortOrder |
The sort order for the results. The default is |
Gets a list of model quality monitoring job definitions in your account
Description
Gets a list of model quality monitoring job definitions in your account.
See https://www.paws-r-sdk.com/docs/sagemaker_list_model_quality_job_definitions/ for full documentation.
Usage
sagemaker_list_model_quality_job_definitions(
EndpointName = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL,
NameContains = NULL,
CreationTimeBefore = NULL,
CreationTimeAfter = NULL
)
Arguments
EndpointName |
A filter that returns only model quality monitoring job definitions that are associated with the specified endpoint. |
SortBy |
The field to sort results by. The default is |
SortOrder |
Whether to sort the results in |
NextToken |
If the result of the previous
|
MaxResults |
The maximum number of results to return in a call to
|
NameContains |
A string in the transform job name. This filter returns only model quality monitoring job definitions whose name contains the specified string. |
CreationTimeBefore |
A filter that returns only model quality monitoring job definitions created before the specified time. |
CreationTimeAfter |
A filter that returns only model quality monitoring job definitions created after the specified time. |
Lists models created with the CreateModel API
Description
Lists models created with the create_model
API.
See https://www.paws-r-sdk.com/docs/sagemaker_list_models/ for full documentation.
Usage
sagemaker_list_models(
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL,
NameContains = NULL,
CreationTimeBefore = NULL,
CreationTimeAfter = NULL
)
Arguments
SortBy |
Sorts the list of results. The default is |
SortOrder |
The sort order for results. The default is |
NextToken |
If the response to a previous |
MaxResults |
The maximum number of models to return in the response. |
NameContains |
A string in the model name. This filter returns only models whose name contains the specified string. |
CreationTimeBefore |
A filter that returns only models created before the specified time (timestamp). |
CreationTimeAfter |
A filter that returns only models with a creation time greater than or equal to the specified time (timestamp). |
Gets a list of past alerts in a model monitoring schedule
Description
Gets a list of past alerts in a model monitoring schedule.
See https://www.paws-r-sdk.com/docs/sagemaker_list_monitoring_alert_history/ for full documentation.
Usage
sagemaker_list_monitoring_alert_history(
MonitoringScheduleName = NULL,
MonitoringAlertName = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL,
CreationTimeBefore = NULL,
CreationTimeAfter = NULL,
StatusEquals = NULL
)
Arguments
MonitoringScheduleName |
The name of a monitoring schedule. |
MonitoringAlertName |
The name of a monitoring alert. |
SortBy |
The field used to sort results. The default is |
SortOrder |
The sort order, whether |
NextToken |
If the result of the previous
|
MaxResults |
The maximum number of results to display. The default is 100. |
CreationTimeBefore |
A filter that returns only alerts created on or before the specified time. |
CreationTimeAfter |
A filter that returns only alerts created on or after the specified time. |
StatusEquals |
A filter that retrieves only alerts with a specific status. |
Gets the alerts for a single monitoring schedule
Description
Gets the alerts for a single monitoring schedule.
See https://www.paws-r-sdk.com/docs/sagemaker_list_monitoring_alerts/ for full documentation.
Usage
sagemaker_list_monitoring_alerts(
MonitoringScheduleName,
NextToken = NULL,
MaxResults = NULL
)
Arguments
MonitoringScheduleName |
[required] The name of a monitoring schedule. |
NextToken |
If the result of the previous
|
MaxResults |
The maximum number of results to display. The default is 100. |
Returns list of all monitoring job executions
Description
Returns list of all monitoring job executions.
See https://www.paws-r-sdk.com/docs/sagemaker_list_monitoring_executions/ for full documentation.
Usage
sagemaker_list_monitoring_executions(
MonitoringScheduleName = NULL,
EndpointName = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL,
ScheduledTimeBefore = NULL,
ScheduledTimeAfter = NULL,
CreationTimeBefore = NULL,
CreationTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
StatusEquals = NULL,
MonitoringJobDefinitionName = NULL,
MonitoringTypeEquals = NULL
)
Arguments
MonitoringScheduleName |
Name of a specific schedule to fetch jobs for. |
EndpointName |
Name of a specific endpoint to fetch jobs for. |
SortBy |
Whether to sort the results by the |
SortOrder |
Whether to sort the results in |
NextToken |
The token returned if the response is truncated. To retrieve the next set of job executions, use it in the next request. |
MaxResults |
The maximum number of jobs to return in the response. The default value is 10. |
ScheduledTimeBefore |
Filter for jobs scheduled before a specified time. |
ScheduledTimeAfter |
Filter for jobs scheduled after a specified time. |
CreationTimeBefore |
A filter that returns only jobs created before a specified time. |
CreationTimeAfter |
A filter that returns only jobs created after a specified time. |
LastModifiedTimeBefore |
A filter that returns only jobs modified after a specified time. |
LastModifiedTimeAfter |
A filter that returns only jobs modified before a specified time. |
StatusEquals |
A filter that retrieves only jobs with a specific status. |
MonitoringJobDefinitionName |
Gets a list of the monitoring job runs of the specified monitoring job definitions. |
MonitoringTypeEquals |
A filter that returns only the monitoring job runs of the specified monitoring type. |
Returns list of all monitoring schedules
Description
Returns list of all monitoring schedules.
See https://www.paws-r-sdk.com/docs/sagemaker_list_monitoring_schedules/ for full documentation.
Usage
sagemaker_list_monitoring_schedules(
EndpointName = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL,
NameContains = NULL,
CreationTimeBefore = NULL,
CreationTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
StatusEquals = NULL,
MonitoringJobDefinitionName = NULL,
MonitoringTypeEquals = NULL
)
Arguments
EndpointName |
Name of a specific endpoint to fetch schedules for. |
SortBy |
Whether to sort the results by the |
SortOrder |
Whether to sort the results in |
NextToken |
The token returned if the response is truncated. To retrieve the next set of job executions, use it in the next request. |
MaxResults |
The maximum number of jobs to return in the response. The default value is 10. |
NameContains |
Filter for monitoring schedules whose name contains a specified string. |
CreationTimeBefore |
A filter that returns only monitoring schedules created before a specified time. |
CreationTimeAfter |
A filter that returns only monitoring schedules created after a specified time. |
LastModifiedTimeBefore |
A filter that returns only monitoring schedules modified before a specified time. |
LastModifiedTimeAfter |
A filter that returns only monitoring schedules modified after a specified time. |
StatusEquals |
A filter that returns only monitoring schedules modified before a specified time. |
MonitoringJobDefinitionName |
Gets a list of the monitoring schedules for the specified monitoring job definition. |
MonitoringTypeEquals |
A filter that returns only the monitoring schedules for the specified monitoring type. |
Lists notebook instance lifestyle configurations created with the CreateNotebookInstanceLifecycleConfig API
Description
Lists notebook instance lifestyle configurations created with the create_notebook_instance_lifecycle_config
API.
See https://www.paws-r-sdk.com/docs/sagemaker_list_notebook_instance_lifecycle_configs/ for full documentation.
Usage
sagemaker_list_notebook_instance_lifecycle_configs(
NextToken = NULL,
MaxResults = NULL,
SortBy = NULL,
SortOrder = NULL,
NameContains = NULL,
CreationTimeBefore = NULL,
CreationTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
LastModifiedTimeAfter = NULL
)
Arguments
NextToken |
If the result of a
|
MaxResults |
The maximum number of lifecycle configurations to return in the response. |
SortBy |
Sorts the list of results. The default is |
SortOrder |
The sort order for results. |
NameContains |
A string in the lifecycle configuration name. This filter returns only lifecycle configurations whose name contains the specified string. |
CreationTimeBefore |
A filter that returns only lifecycle configurations that were created before the specified time (timestamp). |
CreationTimeAfter |
A filter that returns only lifecycle configurations that were created after the specified time (timestamp). |
LastModifiedTimeBefore |
A filter that returns only lifecycle configurations that were modified before the specified time (timestamp). |
LastModifiedTimeAfter |
A filter that returns only lifecycle configurations that were modified after the specified time (timestamp). |
Returns a list of the SageMaker AI notebook instances in the requester's account in an Amazon Web Services Region
Description
Returns a list of the SageMaker AI notebook instances in the requester's account in an Amazon Web Services Region.
See https://www.paws-r-sdk.com/docs/sagemaker_list_notebook_instances/ for full documentation.
Usage
sagemaker_list_notebook_instances(
NextToken = NULL,
MaxResults = NULL,
SortBy = NULL,
SortOrder = NULL,
NameContains = NULL,
CreationTimeBefore = NULL,
CreationTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
StatusEquals = NULL,
NotebookInstanceLifecycleConfigNameContains = NULL,
DefaultCodeRepositoryContains = NULL,
AdditionalCodeRepositoryEquals = NULL
)
Arguments
NextToken |
If the previous call to the
You might specify a filter or a sort order in your request. When response is truncated, you must use the same values for the filer and sort order in the next request. |
MaxResults |
The maximum number of notebook instances to return. |
SortBy |
The field to sort results by. The default is |
SortOrder |
The sort order for results. |
NameContains |
A string in the notebook instances' name. This filter returns only notebook instances whose name contains the specified string. |
CreationTimeBefore |
A filter that returns only notebook instances that were created before the specified time (timestamp). |
CreationTimeAfter |
A filter that returns only notebook instances that were created after the specified time (timestamp). |
LastModifiedTimeBefore |
A filter that returns only notebook instances that were modified before the specified time (timestamp). |
LastModifiedTimeAfter |
A filter that returns only notebook instances that were modified after the specified time (timestamp). |
StatusEquals |
A filter that returns only notebook instances with the specified status. |
NotebookInstanceLifecycleConfigNameContains |
A string in the name of a notebook instances lifecycle configuration associated with this notebook instance. This filter returns only notebook instances associated with a lifecycle configuration with a name that contains the specified string. |
DefaultCodeRepositoryContains |
A string in the name or URL of a Git repository associated with this notebook instance. This filter returns only notebook instances associated with a git repository with a name that contains the specified string. |
AdditionalCodeRepositoryEquals |
A filter that returns only notebook instances with associated with the specified git repository. |
Lists the optimization jobs in your account and their properties
Description
Lists the optimization jobs in your account and their properties.
See https://www.paws-r-sdk.com/docs/sagemaker_list_optimization_jobs/ for full documentation.
Usage
sagemaker_list_optimization_jobs(
NextToken = NULL,
MaxResults = NULL,
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
OptimizationContains = NULL,
NameContains = NULL,
StatusEquals = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
NextToken |
A token that you use to get the next set of results following a truncated response. If the response to the previous request was truncated, that response provides the value for this token. |
MaxResults |
The maximum number of optimization jobs to return in the response. The default is 50. |
CreationTimeAfter |
Filters the results to only those optimization jobs that were created after the specified time. |
CreationTimeBefore |
Filters the results to only those optimization jobs that were created before the specified time. |
LastModifiedTimeAfter |
Filters the results to only those optimization jobs that were updated after the specified time. |
LastModifiedTimeBefore |
Filters the results to only those optimization jobs that were updated before the specified time. |
OptimizationContains |
Filters the results to only those optimization jobs that apply the
specified optimization techniques. You can specify either |
NameContains |
Filters the results to only those optimization jobs with a name that contains the specified string. |
StatusEquals |
Filters the results to only those optimization jobs with the specified status. |
SortBy |
The field by which to sort the optimization jobs in the response. The
default is |
SortOrder |
The sort order for results. The default is |
Lists all of the SageMaker Partner AI Apps in an account
Description
Lists all of the SageMaker Partner AI Apps in an account.
See https://www.paws-r-sdk.com/docs/sagemaker_list_partner_apps/ for full documentation.
Usage
sagemaker_list_partner_apps(MaxResults = NULL, NextToken = NULL)
Arguments
MaxResults |
This parameter defines the maximum number of results that can be
returned in a single response. The |
NextToken |
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results. |
Gets a list of PipeLineExecutionStep objects
Description
Gets a list of PipeLineExecutionStep
objects.
See https://www.paws-r-sdk.com/docs/sagemaker_list_pipeline_execution_steps/ for full documentation.
Usage
sagemaker_list_pipeline_execution_steps(
PipelineExecutionArn = NULL,
NextToken = NULL,
MaxResults = NULL,
SortOrder = NULL
)
Arguments
PipelineExecutionArn |
The Amazon Resource Name (ARN) of the pipeline execution. |
NextToken |
If the result of the previous
|
MaxResults |
The maximum number of pipeline execution steps to return in the response. |
SortOrder |
The field by which to sort results. The default is |
Gets a list of the pipeline executions
Description
Gets a list of the pipeline executions.
See https://www.paws-r-sdk.com/docs/sagemaker_list_pipeline_executions/ for full documentation.
Usage
sagemaker_list_pipeline_executions(
PipelineName,
CreatedAfter = NULL,
CreatedBefore = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
PipelineName |
[required] The name or Amazon Resource Name (ARN) of the pipeline. |
CreatedAfter |
A filter that returns the pipeline executions that were created after a specified time. |
CreatedBefore |
A filter that returns the pipeline executions that were created before a specified time. |
SortBy |
The field by which to sort results. The default is |
SortOrder |
The sort order for results. |
NextToken |
If the result of the previous
|
MaxResults |
The maximum number of pipeline executions to return in the response. |
Gets a list of parameters for a pipeline execution
Description
Gets a list of parameters for a pipeline execution.
See https://www.paws-r-sdk.com/docs/sagemaker_list_pipeline_parameters_for_execution/ for full documentation.
Usage
sagemaker_list_pipeline_parameters_for_execution(
PipelineExecutionArn,
NextToken = NULL,
MaxResults = NULL
)
Arguments
PipelineExecutionArn |
[required] The Amazon Resource Name (ARN) of the pipeline execution. |
NextToken |
If the result of the previous
|
MaxResults |
The maximum number of parameters to return in the response. |
Gets a list of pipelines
Description
Gets a list of pipelines.
See https://www.paws-r-sdk.com/docs/sagemaker_list_pipelines/ for full documentation.
Usage
sagemaker_list_pipelines(
PipelineNamePrefix = NULL,
CreatedAfter = NULL,
CreatedBefore = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
PipelineNamePrefix |
The prefix of the pipeline name. |
CreatedAfter |
A filter that returns the pipelines that were created after a specified time. |
CreatedBefore |
A filter that returns the pipelines that were created before a specified time. |
SortBy |
The field by which to sort results. The default is |
SortOrder |
The sort order for results. |
NextToken |
If the result of the previous
|
MaxResults |
The maximum number of pipelines to return in the response. |
Lists processing jobs that satisfy various filters
Description
Lists processing jobs that satisfy various filters.
See https://www.paws-r-sdk.com/docs/sagemaker_list_processing_jobs/ for full documentation.
Usage
sagemaker_list_processing_jobs(
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
NameContains = NULL,
StatusEquals = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
CreationTimeAfter |
A filter that returns only processing jobs created after the specified time. |
CreationTimeBefore |
A filter that returns only processing jobs created after the specified time. |
LastModifiedTimeAfter |
A filter that returns only processing jobs modified after the specified time. |
LastModifiedTimeBefore |
A filter that returns only processing jobs modified before the specified time. |
NameContains |
A string in the processing job name. This filter returns only processing jobs whose name contains the specified string. |
StatusEquals |
A filter that retrieves only processing jobs with a specific status. |
SortBy |
The field to sort results by. The default is |
SortOrder |
The sort order for results. The default is |
NextToken |
If the result of the previous
|
MaxResults |
The maximum number of processing jobs to return in the response. |
Gets a list of the projects in an Amazon Web Services account
Description
Gets a list of the projects in an Amazon Web Services account.
See https://www.paws-r-sdk.com/docs/sagemaker_list_projects/ for full documentation.
Usage
sagemaker_list_projects(
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
MaxResults = NULL,
NameContains = NULL,
NextToken = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
CreationTimeAfter |
A filter that returns the projects that were created after a specified time. |
CreationTimeBefore |
A filter that returns the projects that were created before a specified time. |
MaxResults |
The maximum number of projects to return in the response. |
NameContains |
A filter that returns the projects whose name contains a specified string. |
NextToken |
If the result of the previous |
SortBy |
The field by which to sort results. The default is |
SortOrder |
The sort order for results. The default is |
Lists Amazon SageMaker Catalogs based on given filters and orders
Description
Lists Amazon SageMaker Catalogs based on given filters and orders. The maximum number of ResourceCatalog
s viewable is 1000.
See https://www.paws-r-sdk.com/docs/sagemaker_list_resource_catalogs/ for full documentation.
Usage
sagemaker_list_resource_catalogs(
NameContains = NULL,
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
SortOrder = NULL,
SortBy = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
NameContains |
A string that partially matches one or more |
CreationTimeAfter |
Use this parameter to search for |
CreationTimeBefore |
Use this parameter to search for |
SortOrder |
The order in which the resource catalogs are listed. |
SortBy |
The value on which the resource catalog list is sorted. |
MaxResults |
The maximum number of results returned by
|
NextToken |
A token to resume pagination of
|
Lists spaces
Description
Lists spaces.
See https://www.paws-r-sdk.com/docs/sagemaker_list_spaces/ for full documentation.
Usage
sagemaker_list_spaces(
NextToken = NULL,
MaxResults = NULL,
SortOrder = NULL,
SortBy = NULL,
DomainIdEquals = NULL,
SpaceNameContains = NULL
)
Arguments
NextToken |
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results. |
MaxResults |
This parameter defines the maximum number of results that can be return
in a single response. The |
SortOrder |
The sort order for the results. The default is |
SortBy |
The parameter by which to sort the results. The default is
|
DomainIdEquals |
A parameter to search for the domain ID. |
SpaceNameContains |
A parameter by which to filter the results. |
Lists devices allocated to the stage, containing detailed device information and deployment status
Description
Lists devices allocated to the stage, containing detailed device information and deployment status.
See https://www.paws-r-sdk.com/docs/sagemaker_list_stage_devices/ for full documentation.
Usage
sagemaker_list_stage_devices(
NextToken = NULL,
MaxResults = NULL,
EdgeDeploymentPlanName,
ExcludeDevicesDeployedInOtherStage = NULL,
StageName
)
Arguments
NextToken |
The response from the last list when returning a list large enough to neeed tokening. |
MaxResults |
The maximum number of requests to select. |
EdgeDeploymentPlanName |
[required] The name of the edge deployment plan. |
ExcludeDevicesDeployedInOtherStage |
Toggle for excluding devices deployed in other stages. |
StageName |
[required] The name of the stage in the deployment. |
Lists the Amazon SageMaker AI Studio Lifecycle Configurations in your Amazon Web Services Account
Description
Lists the Amazon SageMaker AI Studio Lifecycle Configurations in your Amazon Web Services Account.
See https://www.paws-r-sdk.com/docs/sagemaker_list_studio_lifecycle_configs/ for full documentation.
Usage
sagemaker_list_studio_lifecycle_configs(
MaxResults = NULL,
NextToken = NULL,
NameContains = NULL,
AppTypeEquals = NULL,
CreationTimeBefore = NULL,
CreationTimeAfter = NULL,
ModifiedTimeBefore = NULL,
ModifiedTimeAfter = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
MaxResults |
The total number of items to return in the response. If the total number
of items available is more than the value specified, a |
NextToken |
If the previous call to ListStudioLifecycleConfigs didn't return the full set of Lifecycle Configurations, the call returns a token for getting the next set of Lifecycle Configurations. |
NameContains |
A string in the Lifecycle Configuration name. This filter returns only Lifecycle Configurations whose name contains the specified string. |
AppTypeEquals |
A parameter to search for the App Type to which the Lifecycle Configuration is attached. |
CreationTimeBefore |
A filter that returns only Lifecycle Configurations created on or before the specified time. |
CreationTimeAfter |
A filter that returns only Lifecycle Configurations created on or after the specified time. |
ModifiedTimeBefore |
A filter that returns only Lifecycle Configurations modified before the specified time. |
ModifiedTimeAfter |
A filter that returns only Lifecycle Configurations modified after the specified time. |
SortBy |
The property used to sort results. The default value is CreationTime. |
SortOrder |
The sort order. The default value is Descending. |
Gets a list of the work teams that you are subscribed to in the Amazon Web Services Marketplace
Description
Gets a list of the work teams that you are subscribed to in the Amazon Web Services Marketplace. The list may be empty if no work team satisfies the filter specified in the NameContains
parameter.
See https://www.paws-r-sdk.com/docs/sagemaker_list_subscribed_workteams/ for full documentation.
Usage
sagemaker_list_subscribed_workteams(
NameContains = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
NameContains |
A string in the work team name. This filter returns only work teams whose name contains the specified string. |
NextToken |
If the result of the previous
|
MaxResults |
The maximum number of work teams to return in each page of the response. |
Returns the tags for the specified SageMaker resource
Description
Returns the tags for the specified SageMaker resource.
See https://www.paws-r-sdk.com/docs/sagemaker_list_tags/ for full documentation.
Usage
sagemaker_list_tags(ResourceArn, NextToken = NULL, MaxResults = NULL)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve. |
NextToken |
If the response to the previous |
MaxResults |
Maximum number of tags to return. |
Lists training jobs
Description
Lists training jobs.
See https://www.paws-r-sdk.com/docs/sagemaker_list_training_jobs/ for full documentation.
Usage
sagemaker_list_training_jobs(
NextToken = NULL,
MaxResults = NULL,
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
NameContains = NULL,
StatusEquals = NULL,
SortBy = NULL,
SortOrder = NULL,
WarmPoolStatusEquals = NULL,
TrainingPlanArnEquals = NULL
)
Arguments
NextToken |
If the result of the previous
|
MaxResults |
The maximum number of training jobs to return in the response. |
CreationTimeAfter |
A filter that returns only training jobs created after the specified time (timestamp). |
CreationTimeBefore |
A filter that returns only training jobs created before the specified time (timestamp). |
LastModifiedTimeAfter |
A filter that returns only training jobs modified after the specified time (timestamp). |
LastModifiedTimeBefore |
A filter that returns only training jobs modified before the specified time (timestamp). |
NameContains |
A string in the training job name. This filter returns only training jobs whose name contains the specified string. |
StatusEquals |
A filter that retrieves only training jobs with a specific status. |
SortBy |
The field to sort results by. The default is |
SortOrder |
The sort order for results. The default is |
WarmPoolStatusEquals |
A filter that retrieves only training jobs with a specific warm pool status. |
TrainingPlanArnEquals |
The Amazon Resource Name (ARN); of the training plan to filter training
jobs by. For more information about reserving GPU capacity for your
SageMaker training jobs using Amazon SageMaker Training Plan, see
|
Gets a list of TrainingJobSummary objects that describe the training jobs that a hyperparameter tuning job launched
Description
Gets a list of TrainingJobSummary objects that describe the training jobs that a hyperparameter tuning job launched.
See https://www.paws-r-sdk.com/docs/sagemaker_list_training_jobs_for_hyper_parameter_tuning_job/ for full documentation.
Usage
sagemaker_list_training_jobs_for_hyper_parameter_tuning_job(
HyperParameterTuningJobName,
NextToken = NULL,
MaxResults = NULL,
StatusEquals = NULL,
SortBy = NULL,
SortOrder = NULL
)
Arguments
HyperParameterTuningJobName |
[required] The name of the tuning job whose training jobs you want to list. |
NextToken |
If the result of the previous
|
MaxResults |
The maximum number of training jobs to return. The default value is 10. |
StatusEquals |
A filter that returns only training jobs with the specified status. |
SortBy |
The field to sort results by. The default is If the value of this field is |
SortOrder |
The sort order for results. The default is |
Retrieves a list of training plans for the current account
Description
Retrieves a list of training plans for the current account.
See https://www.paws-r-sdk.com/docs/sagemaker_list_training_plans/ for full documentation.
Usage
sagemaker_list_training_plans(
NextToken = NULL,
MaxResults = NULL,
StartTimeAfter = NULL,
StartTimeBefore = NULL,
SortBy = NULL,
SortOrder = NULL,
Filters = NULL
)
Arguments
NextToken |
A token to continue pagination if more results are available. |
MaxResults |
The maximum number of results to return in the response. |
StartTimeAfter |
Filter to list only training plans with an actual start time after this date. |
StartTimeBefore |
Filter to list only training plans with an actual start time before this date. |
SortBy |
The training plan field to sort the results by (e.g., StartTime, Status). |
SortOrder |
The order to sort the results (Ascending or Descending). |
Filters |
Additional filters to apply to the list of training plans. |
Lists transform jobs
Description
Lists transform jobs.
See https://www.paws-r-sdk.com/docs/sagemaker_list_transform_jobs/ for full documentation.
Usage
sagemaker_list_transform_jobs(
CreationTimeAfter = NULL,
CreationTimeBefore = NULL,
LastModifiedTimeAfter = NULL,
LastModifiedTimeBefore = NULL,
NameContains = NULL,
StatusEquals = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
CreationTimeAfter |
A filter that returns only transform jobs created after the specified time. |
CreationTimeBefore |
A filter that returns only transform jobs created before the specified time. |
LastModifiedTimeAfter |
A filter that returns only transform jobs modified after the specified time. |
LastModifiedTimeBefore |
A filter that returns only transform jobs modified before the specified time. |
NameContains |
A string in the transform job name. This filter returns only transform jobs whose name contains the specified string. |
StatusEquals |
A filter that retrieves only transform jobs with a specific status. |
SortBy |
The field to sort results by. The default is |
SortOrder |
The sort order for results. The default is |
NextToken |
If the result of the previous
|
MaxResults |
The maximum number of transform jobs to return in the response. The
default value is |
Lists the trial components in your account
Description
Lists the trial components in your account. You can sort the list by trial component name or creation time. You can filter the list to show only components that were created in a specific time range. You can also filter on one of the following:
See https://www.paws-r-sdk.com/docs/sagemaker_list_trial_components/ for full documentation.
Usage
sagemaker_list_trial_components(
ExperimentName = NULL,
TrialName = NULL,
SourceArn = NULL,
CreatedAfter = NULL,
CreatedBefore = NULL,
SortBy = NULL,
SortOrder = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
ExperimentName |
A filter that returns only components that are part of the specified
experiment. If you specify |
TrialName |
A filter that returns only components that are part of the specified
trial. If you specify |
SourceArn |
A filter that returns only components that have the specified source
Amazon Resource Name (ARN). If you specify |
CreatedAfter |
A filter that returns only components created after the specified time. |
CreatedBefore |
A filter that returns only components created before the specified time. |
SortBy |
The property used to sort results. The default value is |
SortOrder |
The sort order. The default value is |
MaxResults |
The maximum number of components to return in the response. The default value is 10. |
NextToken |
If the previous call to
|
Lists the trials in your account
Description
Lists the trials in your account. Specify an experiment name to limit the list to the trials that are part of that experiment. Specify a trial component name to limit the list to the trials that associated with that trial component. The list can be filtered to show only trials that were created in a specific time range. The list can be sorted by trial name or creation time.
See https://www.paws-r-sdk.com/docs/sagemaker_list_trials/ for full documentation.
Usage
sagemaker_list_trials(
ExperimentName = NULL,
TrialComponentName = NULL,
CreatedAfter = NULL,
CreatedBefore = NULL,
SortBy = NULL,
SortOrder = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
ExperimentName |
A filter that returns only trials that are part of the specified experiment. |
TrialComponentName |
A filter that returns only trials that are associated with the specified trial component. |
CreatedAfter |
A filter that returns only trials created after the specified time. |
CreatedBefore |
A filter that returns only trials created before the specified time. |
SortBy |
The property used to sort results. The default value is |
SortOrder |
The sort order. The default value is |
MaxResults |
The maximum number of trials to return in the response. The default value is 10. |
NextToken |
If the previous call to |
Lists user profiles
Description
Lists user profiles.
See https://www.paws-r-sdk.com/docs/sagemaker_list_user_profiles/ for full documentation.
Usage
sagemaker_list_user_profiles(
NextToken = NULL,
MaxResults = NULL,
SortOrder = NULL,
SortBy = NULL,
DomainIdEquals = NULL,
UserProfileNameContains = NULL
)
Arguments
NextToken |
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results. |
MaxResults |
This parameter defines the maximum number of results that can be return
in a single response. The |
SortOrder |
The sort order for the results. The default is Ascending. |
SortBy |
The parameter by which to sort the results. The default is CreationTime. |
DomainIdEquals |
A parameter by which to filter the results. |
UserProfileNameContains |
A parameter by which to filter the results. |
Use this operation to list all private and vendor workforces in an Amazon Web Services Region
Description
Use this operation to list all private and vendor workforces in an Amazon Web Services Region. Note that you can only have one private workforce per Amazon Web Services Region.
See https://www.paws-r-sdk.com/docs/sagemaker_list_workforces/ for full documentation.
Usage
sagemaker_list_workforces(
SortBy = NULL,
SortOrder = NULL,
NameContains = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
SortBy |
Sort workforces using the workforce name or creation date. |
SortOrder |
Sort workforces in ascending or descending order. |
NameContains |
A filter you can use to search for workforces using part of the workforce name. |
NextToken |
A token to resume pagination. |
MaxResults |
The maximum number of workforces returned in the response. |
Gets a list of private work teams that you have defined in a region
Description
Gets a list of private work teams that you have defined in a region. The list may be empty if no work team satisfies the filter specified in the NameContains
parameter.
See https://www.paws-r-sdk.com/docs/sagemaker_list_workteams/ for full documentation.
Usage
sagemaker_list_workteams(
SortBy = NULL,
SortOrder = NULL,
NameContains = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
SortBy |
The field to sort results by. The default is |
SortOrder |
The sort order for results. The default is |
NameContains |
A string in the work team's name. This filter returns only work teams whose name contains the specified string. |
NextToken |
If the result of the previous
|
MaxResults |
The maximum number of work teams to return in each page of the response. |
Adds a resouce policy to control access to a model group
Description
Adds a resouce policy to control access to a model group. For information about resoure policies, see Identity-based policies and resource-based policies in the Amazon Web Services Identity and Access Management User Guide..
See https://www.paws-r-sdk.com/docs/sagemaker_put_model_package_group_policy/ for full documentation.
Usage
sagemaker_put_model_package_group_policy(ModelPackageGroupName, ResourcePolicy)
Arguments
ModelPackageGroupName |
[required] The name of the model group to add a resource policy to. |
ResourcePolicy |
[required] The resource policy for the model group. |
Use this action to inspect your lineage and discover relationships between entities
Description
Use this action to inspect your lineage and discover relationships between entities. For more information, see Querying Lineage Entities in the Amazon SageMaker Developer Guide.
See https://www.paws-r-sdk.com/docs/sagemaker_query_lineage/ for full documentation.
Usage
sagemaker_query_lineage(
StartArns = NULL,
Direction = NULL,
IncludeEdges = NULL,
Filters = NULL,
MaxDepth = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
StartArns |
A list of resource Amazon Resource Name (ARN) that represent the starting point for your lineage query. |
Direction |
Associations between lineage entities have a direction. This parameter determines the direction from the StartArn(s) that the query traverses. |
IncludeEdges |
Setting this value to |
Filters |
A set of filtering parameters that allow you to specify which entities should be returned.
|
MaxDepth |
The maximum depth in lineage relationships from the |
MaxResults |
Limits the number of vertices in the results. Use the |
NextToken |
Limits the number of vertices in the request. Use the |
Register devices
Description
Register devices.
See https://www.paws-r-sdk.com/docs/sagemaker_register_devices/ for full documentation.
Usage
sagemaker_register_devices(DeviceFleetName, Devices, Tags = NULL)
Arguments
DeviceFleetName |
[required] The name of the fleet. |
Devices |
[required] A list of devices to register with SageMaker Edge Manager. |
Tags |
The tags associated with devices. |
Renders the UI template so that you can preview the worker's experience
Description
Renders the UI template so that you can preview the worker's experience.
See https://www.paws-r-sdk.com/docs/sagemaker_render_ui_template/ for full documentation.
Usage
sagemaker_render_ui_template(
UiTemplate = NULL,
Task,
RoleArn,
HumanTaskUiArn = NULL
)
Arguments
UiTemplate |
A |
Task |
[required] A |
RoleArn |
[required] The Amazon Resource Name (ARN) that has access to the S3 objects that are used by the template. |
HumanTaskUiArn |
The See a list of available Human Ui Amazon Resource Names (ARNs) in UiConfig. |
Retry the execution of the pipeline
Description
Retry the execution of the pipeline.
See https://www.paws-r-sdk.com/docs/sagemaker_retry_pipeline_execution/ for full documentation.
Usage
sagemaker_retry_pipeline_execution(
PipelineExecutionArn,
ClientRequestToken,
ParallelismConfiguration = NULL
)
Arguments
PipelineExecutionArn |
[required] The Amazon Resource Name (ARN) of the pipeline execution. |
ClientRequestToken |
[required] A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than once. |
ParallelismConfiguration |
This configuration, if specified, overrides the parallelism configuration of the parent pipeline. |
Finds SageMaker resources that match a search query
Description
Finds SageMaker resources that match a search query. Matching resources are returned as a list of SearchRecord
objects in the response. You can sort the search results by any resource property in a ascending or descending order.
See https://www.paws-r-sdk.com/docs/sagemaker_search/ for full documentation.
Usage
sagemaker_search(
Resource,
SearchExpression = NULL,
SortBy = NULL,
SortOrder = NULL,
NextToken = NULL,
MaxResults = NULL,
CrossAccountFilterOption = NULL,
VisibilityConditions = NULL
)
Arguments
Resource |
[required] The name of the SageMaker resource to search for. |
SearchExpression |
A Boolean conditional statement. Resources must satisfy this condition
to be included in search results. You must provide at least one
subexpression, filter, or nested filter. The maximum number of recursive
|
SortBy |
The name of the resource property used to sort the |
SortOrder |
How |
NextToken |
If more than |
MaxResults |
The maximum number of results to return. |
CrossAccountFilterOption |
A cross account filter option. When the value is |
VisibilityConditions |
Limits the results of your search request to the resources that you can access. |
Searches for available training plan offerings based on specified criteria
Description
Searches for available training plan offerings based on specified criteria.
See https://www.paws-r-sdk.com/docs/sagemaker_search_training_plan_offerings/ for full documentation.
Usage
sagemaker_search_training_plan_offerings(
InstanceType,
InstanceCount,
StartTimeAfter = NULL,
EndTimeBefore = NULL,
DurationHours = NULL,
TargetResources
)
Arguments
InstanceType |
[required] The type of instance you want to search for in the available training plan offerings. This field allows you to filter the search results based on the specific compute resources you require for your SageMaker training jobs or SageMaker HyperPod clusters. When searching for training plan offerings, specifying the instance type helps you find Reserved Instances that match your computational needs. |
InstanceCount |
[required] The number of instances you want to reserve in the training plan offerings. This allows you to specify the quantity of compute resources needed for your SageMaker training jobs or SageMaker HyperPod clusters, helping you find reserved capacity offerings that match your requirements. |
StartTimeAfter |
A filter to search for training plan offerings with a start time after a specified date. |
EndTimeBefore |
A filter to search for reserved capacity offerings with an end time before a specified date. |
DurationHours |
The desired duration in hours for the training plan offerings. |
TargetResources |
[required] The target resources (e.g., SageMaker Training Jobs, SageMaker HyperPod) to search for in the offerings. Training plans are specific to their target resource.
|
Notifies the pipeline that the execution of a callback step failed, along with a message describing why
Description
Notifies the pipeline that the execution of a callback step failed, along with a message describing why. When a callback step is run, the pipeline generates a callback token and includes the token in a message sent to Amazon Simple Queue Service (Amazon SQS).
See https://www.paws-r-sdk.com/docs/sagemaker_send_pipeline_execution_step_failure/ for full documentation.
Usage
sagemaker_send_pipeline_execution_step_failure(
CallbackToken,
FailureReason = NULL,
ClientRequestToken = NULL
)
Arguments
CallbackToken |
[required] The pipeline generated token from the Amazon SQS queue. |
FailureReason |
A message describing why the step failed. |
ClientRequestToken |
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. |
Notifies the pipeline that the execution of a callback step succeeded and provides a list of the step's output parameters
Description
Notifies the pipeline that the execution of a callback step succeeded and provides a list of the step's output parameters. When a callback step is run, the pipeline generates a callback token and includes the token in a message sent to Amazon Simple Queue Service (Amazon SQS).
See https://www.paws-r-sdk.com/docs/sagemaker_send_pipeline_execution_step_success/ for full documentation.
Usage
sagemaker_send_pipeline_execution_step_success(
CallbackToken,
OutputParameters = NULL,
ClientRequestToken = NULL
)
Arguments
CallbackToken |
[required] The pipeline generated token from the Amazon SQS queue. |
OutputParameters |
A list of the output parameters of the callback step. |
ClientRequestToken |
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. |
Starts a stage in an edge deployment plan
Description
Starts a stage in an edge deployment plan.
See https://www.paws-r-sdk.com/docs/sagemaker_start_edge_deployment_stage/ for full documentation.
Usage
sagemaker_start_edge_deployment_stage(EdgeDeploymentPlanName, StageName)
Arguments
EdgeDeploymentPlanName |
[required] The name of the edge deployment plan to start. |
StageName |
[required] The name of the stage to start. |
Starts an inference experiment
Description
Starts an inference experiment.
See https://www.paws-r-sdk.com/docs/sagemaker_start_inference_experiment/ for full documentation.
Usage
sagemaker_start_inference_experiment(Name)
Arguments
Name |
[required] The name of the inference experiment to start. |
Programmatically start an MLflow Tracking Server
Description
Programmatically start an MLflow Tracking Server.
See https://www.paws-r-sdk.com/docs/sagemaker_start_mlflow_tracking_server/ for full documentation.
Usage
sagemaker_start_mlflow_tracking_server(TrackingServerName)
Arguments
TrackingServerName |
[required] The name of the tracking server to start. |
Starts a previously stopped monitoring schedule
Description
Starts a previously stopped monitoring schedule.
See https://www.paws-r-sdk.com/docs/sagemaker_start_monitoring_schedule/ for full documentation.
Usage
sagemaker_start_monitoring_schedule(MonitoringScheduleName)
Arguments
MonitoringScheduleName |
[required] The name of the schedule to start. |
Launches an ML compute instance with the latest version of the libraries and attaches your ML storage volume
Description
Launches an ML compute instance with the latest version of the libraries and attaches your ML storage volume. After configuring the notebook instance, SageMaker AI sets the notebook instance status to InService
. A notebook instance's status must be InService
before you can connect to your Jupyter notebook.
See https://www.paws-r-sdk.com/docs/sagemaker_start_notebook_instance/ for full documentation.
Usage
sagemaker_start_notebook_instance(NotebookInstanceName)
Arguments
NotebookInstanceName |
[required] The name of the notebook instance to start. |
Starts a pipeline execution
Description
Starts a pipeline execution.
See https://www.paws-r-sdk.com/docs/sagemaker_start_pipeline_execution/ for full documentation.
Usage
sagemaker_start_pipeline_execution(
PipelineName,
PipelineExecutionDisplayName = NULL,
PipelineParameters = NULL,
PipelineExecutionDescription = NULL,
ClientRequestToken,
ParallelismConfiguration = NULL,
SelectiveExecutionConfig = NULL
)
Arguments
PipelineName |
[required] The name or Amazon Resource Name (ARN) of the pipeline. |
PipelineExecutionDisplayName |
The display name of the pipeline execution. |
PipelineParameters |
Contains a list of pipeline parameters. This list can be empty. |
PipelineExecutionDescription |
The description of the pipeline execution. |
ClientRequestToken |
[required] A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than once. |
ParallelismConfiguration |
This configuration, if specified, overrides the parallelism configuration of the parent pipeline for this specific run. |
SelectiveExecutionConfig |
The selective execution configuration applied to the pipeline run. |
A method for forcing a running job to shut down
Description
A method for forcing a running job to shut down.
See https://www.paws-r-sdk.com/docs/sagemaker_stop_auto_ml_job/ for full documentation.
Usage
sagemaker_stop_auto_ml_job(AutoMLJobName)
Arguments
AutoMLJobName |
[required] The name of the object you are requesting. |
Stops a model compilation job
Description
Stops a model compilation job.
See https://www.paws-r-sdk.com/docs/sagemaker_stop_compilation_job/ for full documentation.
Usage
sagemaker_stop_compilation_job(CompilationJobName)
Arguments
CompilationJobName |
[required] The name of the model compilation job to stop. |
Stops a stage in an edge deployment plan
Description
Stops a stage in an edge deployment plan.
See https://www.paws-r-sdk.com/docs/sagemaker_stop_edge_deployment_stage/ for full documentation.
Usage
sagemaker_stop_edge_deployment_stage(EdgeDeploymentPlanName, StageName)
Arguments
EdgeDeploymentPlanName |
[required] The name of the edge deployment plan to stop. |
StageName |
[required] The name of the stage to stop. |
Request to stop an edge packaging job
Description
Request to stop an edge packaging job.
See https://www.paws-r-sdk.com/docs/sagemaker_stop_edge_packaging_job/ for full documentation.
Usage
sagemaker_stop_edge_packaging_job(EdgePackagingJobName)
Arguments
EdgePackagingJobName |
[required] The name of the edge packaging job. |
Stops a running hyperparameter tuning job and all running training jobs that the tuning job launched
Description
Stops a running hyperparameter tuning job and all running training jobs that the tuning job launched.
See https://www.paws-r-sdk.com/docs/sagemaker_stop_hyper_parameter_tuning_job/ for full documentation.
Usage
sagemaker_stop_hyper_parameter_tuning_job(HyperParameterTuningJobName)
Arguments
HyperParameterTuningJobName |
[required] The name of the tuning job to stop. |
Stops an inference experiment
Description
Stops an inference experiment.
See https://www.paws-r-sdk.com/docs/sagemaker_stop_inference_experiment/ for full documentation.
Usage
sagemaker_stop_inference_experiment(
Name,
ModelVariantActions,
DesiredModelVariants = NULL,
DesiredState = NULL,
Reason = NULL
)
Arguments
Name |
[required] The name of the inference experiment to stop. |
ModelVariantActions |
[required] Array of key-value pairs, with names of variants mapped to actions. The possible actions are the following:
|
DesiredModelVariants |
An array of |
DesiredState |
The desired state of the experiment after stopping. The possible states are the following:
|
Reason |
The reason for stopping the experiment. |
Stops an Inference Recommender job
Description
Stops an Inference Recommender job.
See https://www.paws-r-sdk.com/docs/sagemaker_stop_inference_recommendations_job/ for full documentation.
Usage
sagemaker_stop_inference_recommendations_job(JobName)
Arguments
JobName |
[required] The name of the job you want to stop. |
Stops a running labeling job
Description
Stops a running labeling job. A job that is stopped cannot be restarted. Any results obtained before the job is stopped are placed in the Amazon S3 output bucket.
See https://www.paws-r-sdk.com/docs/sagemaker_stop_labeling_job/ for full documentation.
Usage
sagemaker_stop_labeling_job(LabelingJobName)
Arguments
LabelingJobName |
[required] The name of the labeling job to stop. |
Programmatically stop an MLflow Tracking Server
Description
Programmatically stop an MLflow Tracking Server.
See https://www.paws-r-sdk.com/docs/sagemaker_stop_mlflow_tracking_server/ for full documentation.
Usage
sagemaker_stop_mlflow_tracking_server(TrackingServerName)
Arguments
TrackingServerName |
[required] The name of the tracking server to stop. |
Stops a previously started monitoring schedule
Description
Stops a previously started monitoring schedule.
See https://www.paws-r-sdk.com/docs/sagemaker_stop_monitoring_schedule/ for full documentation.
Usage
sagemaker_stop_monitoring_schedule(MonitoringScheduleName)
Arguments
MonitoringScheduleName |
[required] The name of the schedule to stop. |
Terminates the ML compute instance
Description
Terminates the ML compute instance. Before terminating the instance, SageMaker AI disconnects the ML storage volume from it. SageMaker AI preserves the ML storage volume. SageMaker AI stops charging you for the ML compute instance when you call stop_notebook_instance
.
See https://www.paws-r-sdk.com/docs/sagemaker_stop_notebook_instance/ for full documentation.
Usage
sagemaker_stop_notebook_instance(NotebookInstanceName)
Arguments
NotebookInstanceName |
[required] The name of the notebook instance to terminate. |
Ends a running inference optimization job
Description
Ends a running inference optimization job.
See https://www.paws-r-sdk.com/docs/sagemaker_stop_optimization_job/ for full documentation.
Usage
sagemaker_stop_optimization_job(OptimizationJobName)
Arguments
OptimizationJobName |
[required] The name that you assigned to the optimization job. |
Stops a pipeline execution
Description
Stops a pipeline execution.
See https://www.paws-r-sdk.com/docs/sagemaker_stop_pipeline_execution/ for full documentation.
Usage
sagemaker_stop_pipeline_execution(PipelineExecutionArn, ClientRequestToken)
Arguments
PipelineExecutionArn |
[required] The Amazon Resource Name (ARN) of the pipeline execution. |
ClientRequestToken |
[required] A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than once. |
Stops a processing job
Description
Stops a processing job.
See https://www.paws-r-sdk.com/docs/sagemaker_stop_processing_job/ for full documentation.
Usage
sagemaker_stop_processing_job(ProcessingJobName)
Arguments
ProcessingJobName |
[required] The name of the processing job to stop. |
Stops a training job
Description
Stops a training job. To stop a job, SageMaker sends the algorithm the SIGTERM
signal, which delays job termination for 120 seconds. Algorithms might use this 120-second window to save the model artifacts, so the results of the training is not lost.
See https://www.paws-r-sdk.com/docs/sagemaker_stop_training_job/ for full documentation.
Usage
sagemaker_stop_training_job(TrainingJobName)
Arguments
TrainingJobName |
[required] The name of the training job to stop. |
Stops a batch transform job
Description
Stops a batch transform job.
See https://www.paws-r-sdk.com/docs/sagemaker_stop_transform_job/ for full documentation.
Usage
sagemaker_stop_transform_job(TransformJobName)
Arguments
TransformJobName |
[required] The name of the batch transform job to stop. |
Updates an action
Description
Updates an action.
See https://www.paws-r-sdk.com/docs/sagemaker_update_action/ for full documentation.
Usage
sagemaker_update_action(
ActionName,
Description = NULL,
Status = NULL,
Properties = NULL,
PropertiesToRemove = NULL
)
Arguments
ActionName |
[required] The name of the action to update. |
Description |
The new description for the action. |
Status |
The new status for the action. |
Properties |
The new list of properties. Overwrites the current property list. |
PropertiesToRemove |
A list of properties to remove. |
Updates the properties of an AppImageConfig
Description
Updates the properties of an AppImageConfig.
See https://www.paws-r-sdk.com/docs/sagemaker_update_app_image_config/ for full documentation.
Usage
sagemaker_update_app_image_config(
AppImageConfigName,
KernelGatewayImageConfig = NULL,
JupyterLabAppImageConfig = NULL,
CodeEditorAppImageConfig = NULL
)
Arguments
AppImageConfigName |
[required] The name of the AppImageConfig to update. |
KernelGatewayImageConfig |
The new KernelGateway app to run on the image. |
JupyterLabAppImageConfig |
The JupyterLab app running on the image. |
CodeEditorAppImageConfig |
The Code Editor app running on the image. |
Updates an artifact
Description
Updates an artifact.
See https://www.paws-r-sdk.com/docs/sagemaker_update_artifact/ for full documentation.
Usage
sagemaker_update_artifact(
ArtifactArn,
ArtifactName = NULL,
Properties = NULL,
PropertiesToRemove = NULL
)
Arguments
ArtifactArn |
[required] The Amazon Resource Name (ARN) of the artifact to update. |
ArtifactName |
The new name for the artifact. |
Properties |
The new list of properties. Overwrites the current property list. |
PropertiesToRemove |
A list of properties to remove. |
Updates a SageMaker HyperPod cluster
Description
Updates a SageMaker HyperPod cluster.
See https://www.paws-r-sdk.com/docs/sagemaker_update_cluster/ for full documentation.
Usage
sagemaker_update_cluster(
ClusterName,
InstanceGroups,
NodeRecovery = NULL,
InstanceGroupsToDelete = NULL
)
Arguments
ClusterName |
[required] Specify the name of the SageMaker HyperPod cluster you want to update. |
InstanceGroups |
[required] Specify the instance groups to update. |
NodeRecovery |
The node recovery mode to be applied to the SageMaker HyperPod cluster. |
InstanceGroupsToDelete |
Specify the names of the instance groups to delete. Use a single |
Update the cluster policy configuration
Description
Update the cluster policy configuration.
See https://www.paws-r-sdk.com/docs/sagemaker_update_cluster_scheduler_config/ for full documentation.
Usage
sagemaker_update_cluster_scheduler_config(
ClusterSchedulerConfigId,
TargetVersion,
SchedulerConfig = NULL,
Description = NULL
)
Arguments
ClusterSchedulerConfigId |
[required] ID of the cluster policy. |
TargetVersion |
[required] Target version. |
SchedulerConfig |
Cluster policy configuration. |
Description |
Description of the cluster policy. |
Updates the platform software of a SageMaker HyperPod cluster for security patching
Description
Updates the platform software of a SageMaker HyperPod cluster for security patching. To learn how to use this API, see Update the SageMaker HyperPod platform software of a cluster.
See https://www.paws-r-sdk.com/docs/sagemaker_update_cluster_software/ for full documentation.
Usage
sagemaker_update_cluster_software(ClusterName)
Arguments
ClusterName |
[required] Specify the name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster you want to update for security patching. |
Updates the specified Git repository with the specified values
Description
Updates the specified Git repository with the specified values.
See https://www.paws-r-sdk.com/docs/sagemaker_update_code_repository/ for full documentation.
Usage
sagemaker_update_code_repository(CodeRepositoryName, GitConfig = NULL)
Arguments
CodeRepositoryName |
[required] The name of the Git repository to update. |
GitConfig |
The configuration of the git repository, including the URL and the
Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager
secret that contains the credentials used to access the repository. The
secret must have a staging label of
|
Update the compute allocation definition
Description
Update the compute allocation definition.
See https://www.paws-r-sdk.com/docs/sagemaker_update_compute_quota/ for full documentation.
Usage
sagemaker_update_compute_quota(
ComputeQuotaId,
TargetVersion,
ComputeQuotaConfig = NULL,
ComputeQuotaTarget = NULL,
ActivationState = NULL,
Description = NULL
)
Arguments
ComputeQuotaId |
[required] ID of the compute allocation definition. |
TargetVersion |
[required] Target version. |
ComputeQuotaConfig |
Configuration of the compute allocation definition. This includes the resource sharing option, and the setting to preempt low priority tasks. |
ComputeQuotaTarget |
The target entity to allocate compute resources to. |
ActivationState |
The state of the compute allocation being described. Use to enable or disable compute allocation. Default is |
Description |
Description of the compute allocation definition. |
Updates a context
Description
Updates a context.
See https://www.paws-r-sdk.com/docs/sagemaker_update_context/ for full documentation.
Usage
sagemaker_update_context(
ContextName,
Description = NULL,
Properties = NULL,
PropertiesToRemove = NULL
)
Arguments
ContextName |
[required] The name of the context to update. |
Description |
The new description for the context. |
Properties |
The new list of properties. Overwrites the current property list. |
PropertiesToRemove |
A list of properties to remove. |
Updates a fleet of devices
Description
Updates a fleet of devices.
See https://www.paws-r-sdk.com/docs/sagemaker_update_device_fleet/ for full documentation.
Usage
sagemaker_update_device_fleet(
DeviceFleetName,
RoleArn = NULL,
Description = NULL,
OutputConfig,
EnableIotRoleAlias = NULL
)
Arguments
DeviceFleetName |
[required] The name of the fleet. |
RoleArn |
The Amazon Resource Name (ARN) of the device. |
Description |
Description of the fleet. |
OutputConfig |
[required] Output configuration for storing sample data collected by the fleet. |
EnableIotRoleAlias |
Whether to create an Amazon Web Services IoT Role Alias during device fleet creation. The name of the role alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}". For example, if your device fleet is called "demo-fleet", the name of the role alias will be "SageMakerEdge-demo-fleet". |
Updates one or more devices in a fleet
Description
Updates one or more devices in a fleet.
See https://www.paws-r-sdk.com/docs/sagemaker_update_devices/ for full documentation.
Usage
sagemaker_update_devices(DeviceFleetName, Devices)
Arguments
DeviceFleetName |
[required] The name of the fleet the devices belong to. |
Devices |
[required] List of devices to register with Edge Manager agent. |
Updates the default settings for new user profiles in the domain
Description
Updates the default settings for new user profiles in the domain.
See https://www.paws-r-sdk.com/docs/sagemaker_update_domain/ for full documentation.
Usage
sagemaker_update_domain(
DomainId,
DefaultUserSettings = NULL,
DomainSettingsForUpdate = NULL,
AppSecurityGroupManagement = NULL,
DefaultSpaceSettings = NULL,
SubnetIds = NULL,
AppNetworkAccessType = NULL,
TagPropagation = NULL
)
Arguments
DomainId |
[required] The ID of the domain to be updated. |
DefaultUserSettings |
A collection of settings. |
DomainSettingsForUpdate |
A collection of |
AppSecurityGroupManagement |
The entity that creates and manages the required security groups for
inter-app communication in |
DefaultSpaceSettings |
The default settings for shared spaces that users create in the domain. |
SubnetIds |
The VPC subnets that Studio uses for communication. If removing subnets, ensure there are no apps in the |
AppNetworkAccessType |
Specifies the VPC used for non-EFS traffic.
This configuration can only be modified if there are no apps in the
|
TagPropagation |
Indicates whether custom tag propagation is supported for the domain.
Defaults to |
Deploys the EndpointConfig specified in the request to a new fleet of instances
Description
Deploys the EndpointConfig
specified in the request to a new fleet of instances. SageMaker shifts endpoint traffic to the new instances with the updated endpoint configuration and then deletes the old instances using the previous EndpointConfig
(there is no availability loss). For more information about how to control the update and traffic shifting process, see Update models in production.
See https://www.paws-r-sdk.com/docs/sagemaker_update_endpoint/ for full documentation.
Usage
sagemaker_update_endpoint(
EndpointName,
EndpointConfigName,
RetainAllVariantProperties = NULL,
ExcludeRetainedVariantProperties = NULL,
DeploymentConfig = NULL,
RetainDeploymentConfig = NULL
)
Arguments
EndpointName |
[required] The name of the endpoint whose configuration you want to update. |
EndpointConfigName |
[required] The name of the new endpoint configuration. |
RetainAllVariantProperties |
When updating endpoint resources, enables or disables the retention of
variant properties,
such as the instance count or the variant weight. To retain the variant
properties of an endpoint when updating it, set
|
ExcludeRetainedVariantProperties |
When you are updating endpoint resources with
|
DeploymentConfig |
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. |
RetainDeploymentConfig |
Specifies whether to reuse the last deployment configuration. The default value is false (the configuration is not reused). |
Updates variant weight of one or more variants associated with an existing endpoint, or capacity of one variant associated with an existing endpoint
Description
Updates variant weight of one or more variants associated with an existing endpoint, or capacity of one variant associated with an existing endpoint. When it receives the request, SageMaker sets the endpoint status to Updating
. After updating the endpoint, it sets the status to InService
. To check the status of an endpoint, use the describe_endpoint
API.
See https://www.paws-r-sdk.com/docs/sagemaker_update_endpoint_weights_and_capacities/ for full documentation.
Usage
sagemaker_update_endpoint_weights_and_capacities(
EndpointName,
DesiredWeightsAndCapacities
)
Arguments
EndpointName |
[required] The name of an existing SageMaker endpoint. |
DesiredWeightsAndCapacities |
[required] An object that provides new capacity and weight values for a variant. |
Adds, updates, or removes the description of an experiment
Description
Adds, updates, or removes the description of an experiment. Updates the display name of an experiment.
See https://www.paws-r-sdk.com/docs/sagemaker_update_experiment/ for full documentation.
Usage
sagemaker_update_experiment(
ExperimentName,
DisplayName = NULL,
Description = NULL
)
Arguments
ExperimentName |
[required] The name of the experiment to update. |
DisplayName |
The name of the experiment as displayed. The name doesn't need to be
unique. If |
Description |
The description of the experiment. |
Updates the feature group by either adding features or updating the online store configuration
Description
Updates the feature group by either adding features or updating the online store configuration. Use one of the following request parameters at a time while using the update_feature_group
API.
See https://www.paws-r-sdk.com/docs/sagemaker_update_feature_group/ for full documentation.
Usage
sagemaker_update_feature_group(
FeatureGroupName,
FeatureAdditions = NULL,
OnlineStoreConfig = NULL,
ThroughputConfig = NULL
)
Arguments
FeatureGroupName |
[required] The name or Amazon Resource Name (ARN) of the feature group that you're updating. |
FeatureAdditions |
Updates the feature group. Updating a feature group is an asynchronous operation. When you get an HTTP 200 response, you've made a valid request. It takes some time after you've made a valid request for Feature Store to update the feature group. |
OnlineStoreConfig |
Updates the feature group online store configuration. |
ThroughputConfig |
Updates the description and parameters of the feature group
Description
Updates the description and parameters of the feature group.
See https://www.paws-r-sdk.com/docs/sagemaker_update_feature_metadata/ for full documentation.
Usage
sagemaker_update_feature_metadata(
FeatureGroupName,
FeatureName,
Description = NULL,
ParameterAdditions = NULL,
ParameterRemovals = NULL
)
Arguments
FeatureGroupName |
[required] The name or Amazon Resource Name (ARN) of the feature group containing the feature that you're updating. |
FeatureName |
[required] The name of the feature that you're updating. |
Description |
A description that you can write to better describe the feature. |
ParameterAdditions |
A list of key-value pairs that you can add to better describe the feature. |
ParameterRemovals |
A list of parameter keys that you can specify to remove parameters that describe your feature. |
Update a hub
Description
Update a hub.
See https://www.paws-r-sdk.com/docs/sagemaker_update_hub/ for full documentation.
Usage
sagemaker_update_hub(
HubName,
HubDescription = NULL,
HubDisplayName = NULL,
HubSearchKeywords = NULL
)
Arguments
HubName |
[required] The name of the hub to update. |
HubDescription |
A description of the updated hub. |
HubDisplayName |
The display name of the hub. |
HubSearchKeywords |
The searchable keywords for the hub. |
Updates the properties of a SageMaker AI image
Description
Updates the properties of a SageMaker AI image. To change the image's tags, use the add_tags
and delete_tags
APIs.
See https://www.paws-r-sdk.com/docs/sagemaker_update_image/ for full documentation.
Usage
sagemaker_update_image(
DeleteProperties = NULL,
Description = NULL,
DisplayName = NULL,
ImageName,
RoleArn = NULL
)
Arguments
DeleteProperties |
A list of properties to delete. Only the |
Description |
The new description for the image. |
DisplayName |
The new display name for the image. |
ImageName |
[required] The name of the image to update. |
RoleArn |
The new ARN for the IAM role that enables Amazon SageMaker AI to perform tasks on your behalf. |
Updates the properties of a SageMaker AI image version
Description
Updates the properties of a SageMaker AI image version.
See https://www.paws-r-sdk.com/docs/sagemaker_update_image_version/ for full documentation.
Usage
sagemaker_update_image_version(
ImageName,
Alias = NULL,
Version = NULL,
AliasesToAdd = NULL,
AliasesToDelete = NULL,
VendorGuidance = NULL,
JobType = NULL,
MLFramework = NULL,
ProgrammingLang = NULL,
Processor = NULL,
Horovod = NULL,
ReleaseNotes = NULL
)
Arguments
ImageName |
[required] The name of the image. |
Alias |
The alias of the image version. |
Version |
The version of the image. |
AliasesToAdd |
A list of aliases to add. |
AliasesToDelete |
A list of aliases to delete. |
VendorGuidance |
The availability of the image version specified by the maintainer.
|
JobType |
Indicates SageMaker AI job type compatibility.
|
MLFramework |
The machine learning framework vended in the image version. |
ProgrammingLang |
The supported programming language and its version. |
Processor |
Indicates CPU or GPU compatibility.
|
Horovod |
Indicates Horovod compatibility. |
ReleaseNotes |
The maintainer description of the image version. |
Updates an inference component
Description
Updates an inference component.
See https://www.paws-r-sdk.com/docs/sagemaker_update_inference_component/ for full documentation.
Usage
sagemaker_update_inference_component(
InferenceComponentName,
Specification = NULL,
RuntimeConfig = NULL
)
Arguments
InferenceComponentName |
[required] The name of the inference component. |
Specification |
Details about the resources to deploy with this inference component, including the model, container, and compute resources. |
RuntimeConfig |
Runtime settings for a model that is deployed with an inference component. |
Runtime settings for a model that is deployed with an inference component
Description
Runtime settings for a model that is deployed with an inference component.
See https://www.paws-r-sdk.com/docs/sagemaker_update_inference_component_runtime_config/ for full documentation.
Usage
sagemaker_update_inference_component_runtime_config(
InferenceComponentName,
DesiredRuntimeConfig
)
Arguments
InferenceComponentName |
[required] The name of the inference component to update. |
DesiredRuntimeConfig |
[required] Runtime settings for a model that is deployed with an inference component. |
Updates an inference experiment that you created
Description
Updates an inference experiment that you created. The status of the inference experiment has to be either Created
, Running
. For more information on the status of an inference experiment, see describe_inference_experiment
.
See https://www.paws-r-sdk.com/docs/sagemaker_update_inference_experiment/ for full documentation.
Usage
sagemaker_update_inference_experiment(
Name,
Schedule = NULL,
Description = NULL,
ModelVariants = NULL,
DataStorageConfig = NULL,
ShadowModeConfig = NULL
)
Arguments
Name |
[required] The name of the inference experiment to be updated. |
Schedule |
The duration for which the inference experiment will run. If the status
of the inference experiment is |
Description |
The description of the inference experiment. |
ModelVariants |
An array of |
DataStorageConfig |
The Amazon S3 location and configuration for storing inference request and response data. |
ShadowModeConfig |
The configuration of |
Updates properties of an existing MLflow Tracking Server
Description
Updates properties of an existing MLflow Tracking Server.
See https://www.paws-r-sdk.com/docs/sagemaker_update_mlflow_tracking_server/ for full documentation.
Usage
sagemaker_update_mlflow_tracking_server(
TrackingServerName,
ArtifactStoreUri = NULL,
TrackingServerSize = NULL,
AutomaticModelRegistration = NULL,
WeeklyMaintenanceWindowStart = NULL
)
Arguments
TrackingServerName |
[required] The name of the MLflow Tracking Server to update. |
ArtifactStoreUri |
The new S3 URI for the general purpose bucket to use as the artifact store for the MLflow Tracking Server. |
TrackingServerSize |
The new size for the MLflow Tracking Server. |
AutomaticModelRegistration |
Whether to enable or disable automatic registration of new MLflow models
to the SageMaker Model Registry. To enable automatic model registration,
set this value to |
WeeklyMaintenanceWindowStart |
The new weekly maintenance window start day and time to update. The maintenance window day and time should be in Coordinated Universal Time (UTC) 24-hour standard time. For example: TUE:03:30. |
Update an Amazon SageMaker Model Card
Description
Update an Amazon SageMaker Model Card.
See https://www.paws-r-sdk.com/docs/sagemaker_update_model_card/ for full documentation.
Usage
sagemaker_update_model_card(
ModelCardName,
Content = NULL,
ModelCardStatus = NULL
)
Arguments
ModelCardName |
[required] The name or Amazon Resource Name (ARN) of the model card to update. |
Content |
The updated model card content. Content must be in model card JSON schema and provided as a string. When updating model card content, be sure to include the full content and not just updated content. |
ModelCardStatus |
The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.
|
Updates a versioned model
Description
Updates a versioned model.
See https://www.paws-r-sdk.com/docs/sagemaker_update_model_package/ for full documentation.
Usage
sagemaker_update_model_package(
ModelPackageArn,
ModelApprovalStatus = NULL,
ApprovalDescription = NULL,
CustomerMetadataProperties = NULL,
CustomerMetadataPropertiesToRemove = NULL,
AdditionalInferenceSpecificationsToAdd = NULL,
InferenceSpecification = NULL,
SourceUri = NULL,
ModelCard = NULL,
ModelLifeCycle = NULL,
ClientToken = NULL
)
Arguments
ModelPackageArn |
[required] The Amazon Resource Name (ARN) of the model package. |
ModelApprovalStatus |
The approval status of the model. |
ApprovalDescription |
A description for the approval status of the model. |
CustomerMetadataProperties |
The metadata properties associated with the model package versions. |
CustomerMetadataPropertiesToRemove |
The metadata properties associated with the model package versions to remove. |
AdditionalInferenceSpecificationsToAdd |
An array of additional Inference Specification objects to be added to the existing array additional Inference Specification. Total number of additional Inference Specifications can not exceed 15. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts. |
InferenceSpecification |
Specifies details about inference jobs that you can run with models based on this model package, including the following information:
|
SourceUri |
The URI of the source for the model package. |
ModelCard |
The model card associated with the model package. Since
|
ModelLifeCycle |
A structure describing the current state of the model in its life cycle. |
ClientToken |
A unique token that guarantees that the call to this API is idempotent. |
Update the parameters of a model monitor alert
Description
Update the parameters of a model monitor alert.
See https://www.paws-r-sdk.com/docs/sagemaker_update_monitoring_alert/ for full documentation.
Usage
sagemaker_update_monitoring_alert(
MonitoringScheduleName,
MonitoringAlertName,
DatapointsToAlert,
EvaluationPeriod
)
Arguments
MonitoringScheduleName |
[required] The name of a monitoring schedule. |
MonitoringAlertName |
[required] The name of a monitoring alert. |
DatapointsToAlert |
[required] Within |
EvaluationPeriod |
[required] The number of most recent monitoring executions to consider when evaluating alert status. |
Updates a previously created schedule
Description
Updates a previously created schedule.
See https://www.paws-r-sdk.com/docs/sagemaker_update_monitoring_schedule/ for full documentation.
Usage
sagemaker_update_monitoring_schedule(
MonitoringScheduleName,
MonitoringScheduleConfig
)
Arguments
MonitoringScheduleName |
[required] The name of the monitoring schedule. The name must be unique within an Amazon Web Services Region within an Amazon Web Services account. |
MonitoringScheduleConfig |
[required] The configuration object that specifies the monitoring schedule and defines the monitoring job. |
Updates a notebook instance
Description
Updates a notebook instance. NotebookInstance updates include upgrading or downgrading the ML compute instance used for your notebook instance to accommodate changes in your workload requirements.
See https://www.paws-r-sdk.com/docs/sagemaker_update_notebook_instance/ for full documentation.
Usage
sagemaker_update_notebook_instance(
NotebookInstanceName,
InstanceType = NULL,
RoleArn = NULL,
LifecycleConfigName = NULL,
DisassociateLifecycleConfig = NULL,
VolumeSizeInGB = NULL,
DefaultCodeRepository = NULL,
AdditionalCodeRepositories = NULL,
AcceleratorTypes = NULL,
DisassociateAcceleratorTypes = NULL,
DisassociateDefaultCodeRepository = NULL,
DisassociateAdditionalCodeRepositories = NULL,
RootAccess = NULL,
InstanceMetadataServiceConfiguration = NULL
)
Arguments
NotebookInstanceName |
[required] The name of the notebook instance to update. |
InstanceType |
The Amazon ML compute instance type. |
RoleArn |
The Amazon Resource Name (ARN) of the IAM role that SageMaker AI can assume to access the notebook instance. For more information, see SageMaker AI Roles. To be able to pass this role to SageMaker AI, the caller of this API
must have the |
LifecycleConfigName |
The name of a lifecycle configuration to associate with the notebook instance. For information about lifestyle configurations, see Step 2.1: (Optional) Customize a Notebook Instance. |
DisassociateLifecycleConfig |
Set to |
VolumeSizeInGB |
The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB. ML storage volumes are encrypted, so SageMaker AI can't determine the amount of available free space on the volume. Because of this, you can increase the volume size when you update a notebook instance, but you can't decrease the volume size. If you want to decrease the size of the ML storage volume in use, create a new notebook instance with the desired size. |
DefaultCodeRepository |
The Git repository to associate with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in Amazon Web Services CodeCommit or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see Associating Git Repositories with SageMaker AI Notebook Instances. |
AdditionalCodeRepositories |
An array of up to three Git repositories to associate with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in Amazon Web Services CodeCommit or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see Associating Git Repositories with SageMaker AI Notebook Instances. |
AcceleratorTypes |
This parameter is no longer supported. Elastic Inference (EI) is no longer available. This parameter was used to specify a list of the EI instance types to associate with this notebook instance. |
DisassociateAcceleratorTypes |
This parameter is no longer supported. Elastic Inference (EI) is no longer available. This parameter was used to specify a list of the EI instance types to remove from this notebook instance. |
DisassociateDefaultCodeRepository |
The name or URL of the default Git repository to remove from this notebook instance. This operation is idempotent. If you specify a Git repository that is not associated with the notebook instance when you call this method, it does not throw an error. |
DisassociateAdditionalCodeRepositories |
A list of names or URLs of the default Git repositories to remove from this notebook instance. This operation is idempotent. If you specify a Git repository that is not associated with the notebook instance when you call this method, it does not throw an error. |
RootAccess |
Whether root access is enabled or disabled for users of the notebook
instance. The default value is If you set this to |
InstanceMetadataServiceConfiguration |
Information on the IMDS configuration of the notebook instance |
Updates a notebook instance lifecycle configuration created with the CreateNotebookInstanceLifecycleConfig API
Description
Updates a notebook instance lifecycle configuration created with the create_notebook_instance_lifecycle_config
API.
See https://www.paws-r-sdk.com/docs/sagemaker_update_notebook_instance_lifecycle_config/ for full documentation.
Usage
sagemaker_update_notebook_instance_lifecycle_config(
NotebookInstanceLifecycleConfigName,
OnCreate = NULL,
OnStart = NULL
)
Arguments
NotebookInstanceLifecycleConfigName |
[required] The name of the lifecycle configuration. |
OnCreate |
The shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string. |
OnStart |
The shell script that runs every time you start a notebook instance, including when you create the notebook instance. The shell script must be a base64-encoded string. |
Updates all of the SageMaker Partner AI Apps in an account
Description
Updates all of the SageMaker Partner AI Apps in an account.
See https://www.paws-r-sdk.com/docs/sagemaker_update_partner_app/ for full documentation.
Usage
sagemaker_update_partner_app(
Arn,
MaintenanceConfig = NULL,
Tier = NULL,
ApplicationConfig = NULL,
EnableIamSessionBasedIdentity = NULL,
ClientToken = NULL,
Tags = NULL
)
Arguments
Arn |
[required] The ARN of the SageMaker Partner AI App to update. |
MaintenanceConfig |
Maintenance configuration settings for the SageMaker Partner AI App. |
Tier |
Indicates the instance type and size of the cluster attached to the SageMaker Partner AI App. |
ApplicationConfig |
Configuration settings for the SageMaker Partner AI App. |
EnableIamSessionBasedIdentity |
When set to |
ClientToken |
A unique token that guarantees that the call to this API is idempotent. |
Tags |
Each tag consists of a key and an optional value. Tag keys must be unique per resource. |
Updates a pipeline
Description
Updates a pipeline.
See https://www.paws-r-sdk.com/docs/sagemaker_update_pipeline/ for full documentation.
Usage
sagemaker_update_pipeline(
PipelineName,
PipelineDisplayName = NULL,
PipelineDefinition = NULL,
PipelineDefinitionS3Location = NULL,
PipelineDescription = NULL,
RoleArn = NULL,
ParallelismConfiguration = NULL
)
Arguments
PipelineName |
[required] The name of the pipeline to update. |
PipelineDisplayName |
The display name of the pipeline. |
PipelineDefinition |
The JSON pipeline definition. |
PipelineDefinitionS3Location |
The location of the pipeline definition stored in Amazon S3. If specified, SageMaker will retrieve the pipeline definition from this location. |
PipelineDescription |
The description of the pipeline. |
RoleArn |
The Amazon Resource Name (ARN) that the pipeline uses to execute. |
ParallelismConfiguration |
If specified, it applies to all executions of this pipeline by default. |
Updates a pipeline execution
Description
Updates a pipeline execution.
See https://www.paws-r-sdk.com/docs/sagemaker_update_pipeline_execution/ for full documentation.
Usage
sagemaker_update_pipeline_execution(
PipelineExecutionArn,
PipelineExecutionDescription = NULL,
PipelineExecutionDisplayName = NULL,
ParallelismConfiguration = NULL
)
Arguments
PipelineExecutionArn |
[required] The Amazon Resource Name (ARN) of the pipeline execution. |
PipelineExecutionDescription |
The description of the pipeline execution. |
PipelineExecutionDisplayName |
The display name of the pipeline execution. |
ParallelismConfiguration |
This configuration, if specified, overrides the parallelism configuration of the parent pipeline for this specific run. |
Updates a machine learning (ML) project that is created from a template that sets up an ML pipeline from training to deploying an approved model
Description
Updates a machine learning (ML) project that is created from a template that sets up an ML pipeline from training to deploying an approved model.
See https://www.paws-r-sdk.com/docs/sagemaker_update_project/ for full documentation.
Usage
sagemaker_update_project(
ProjectName,
ProjectDescription = NULL,
ServiceCatalogProvisioningUpdateDetails = NULL,
Tags = NULL
)
Arguments
ProjectName |
[required] The name of the project. |
ProjectDescription |
The description for the project. |
ServiceCatalogProvisioningUpdateDetails |
The product ID and provisioning artifact ID to provision a service catalog. The provisioning artifact ID will default to the latest provisioning artifact ID of the product, if you don't provide the provisioning artifact ID. For more information, see What is Amazon Web Services Service Catalog. |
Tags |
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources. In addition, the project must have tag update constraints set in order to include this parameter in the request. For more information, see Amazon Web Services Service Catalog Tag Update Constraints. |
Updates the settings of a space
Description
Updates the settings of a space.
See https://www.paws-r-sdk.com/docs/sagemaker_update_space/ for full documentation.
Usage
sagemaker_update_space(
DomainId,
SpaceName,
SpaceSettings = NULL,
SpaceDisplayName = NULL
)
Arguments
DomainId |
[required] The ID of the associated domain. |
SpaceName |
[required] The name of the space. |
SpaceSettings |
A collection of space settings. |
SpaceDisplayName |
The name of the space that appears in the Amazon SageMaker Studio UI. |
Update a model training job to request a new Debugger profiling configuration or to change warm pool retention length
Description
Update a model training job to request a new Debugger profiling configuration or to change warm pool retention length.
See https://www.paws-r-sdk.com/docs/sagemaker_update_training_job/ for full documentation.
Usage
sagemaker_update_training_job(
TrainingJobName,
ProfilerConfig = NULL,
ProfilerRuleConfigurations = NULL,
ResourceConfig = NULL,
RemoteDebugConfig = NULL
)
Arguments
TrainingJobName |
[required] The name of a training job to update the Debugger profiling configuration. |
ProfilerConfig |
Configuration information for Amazon SageMaker Debugger system monitoring, framework profiling, and storage paths. |
ProfilerRuleConfigurations |
Configuration information for Amazon SageMaker Debugger rules for profiling system and framework metrics. |
ResourceConfig |
The training job |
RemoteDebugConfig |
Configuration for remote debugging while the training job is running.
You can update the remote debugging configuration when the
|
Updates the display name of a trial
Description
Updates the display name of a trial.
See https://www.paws-r-sdk.com/docs/sagemaker_update_trial/ for full documentation.
Usage
sagemaker_update_trial(TrialName, DisplayName = NULL)
Arguments
TrialName |
[required] The name of the trial to update. |
DisplayName |
The name of the trial as displayed. The name doesn't need to be unique.
If |
Updates one or more properties of a trial component
Description
Updates one or more properties of a trial component.
See https://www.paws-r-sdk.com/docs/sagemaker_update_trial_component/ for full documentation.
Usage
sagemaker_update_trial_component(
TrialComponentName,
DisplayName = NULL,
Status = NULL,
StartTime = NULL,
EndTime = NULL,
Parameters = NULL,
ParametersToRemove = NULL,
InputArtifacts = NULL,
InputArtifactsToRemove = NULL,
OutputArtifacts = NULL,
OutputArtifactsToRemove = NULL
)
Arguments
TrialComponentName |
[required] The name of the component to update. |
DisplayName |
The name of the component as displayed. The name doesn't need to be
unique. If |
Status |
The new status of the component. |
StartTime |
When the component started. |
EndTime |
When the component ended. |
Parameters |
Replaces all of the component's hyperparameters with the specified hyperparameters or add new hyperparameters. Existing hyperparameters are replaced if the trial component is updated with an identical hyperparameter key. |
ParametersToRemove |
The hyperparameters to remove from the component. |
InputArtifacts |
Replaces all of the component's input artifacts with the specified artifacts or adds new input artifacts. Existing input artifacts are replaced if the trial component is updated with an identical input artifact key. |
InputArtifactsToRemove |
The input artifacts to remove from the component. |
OutputArtifacts |
Replaces all of the component's output artifacts with the specified artifacts or adds new output artifacts. Existing output artifacts are replaced if the trial component is updated with an identical output artifact key. |
OutputArtifactsToRemove |
The output artifacts to remove from the component. |
Updates a user profile
Description
Updates a user profile.
See https://www.paws-r-sdk.com/docs/sagemaker_update_user_profile/ for full documentation.
Usage
sagemaker_update_user_profile(DomainId, UserProfileName, UserSettings = NULL)
Arguments
DomainId |
[required] The domain ID. |
UserProfileName |
[required] The user profile name. |
UserSettings |
A collection of settings. |
Use this operation to update your workforce
Description
Use this operation to update your workforce. You can use this operation to require that workers use specific IP addresses to work on tasks and to update your OpenID Connect (OIDC) Identity Provider (IdP) workforce configuration.
See https://www.paws-r-sdk.com/docs/sagemaker_update_workforce/ for full documentation.
Usage
sagemaker_update_workforce(
WorkforceName,
SourceIpConfig = NULL,
OidcConfig = NULL,
WorkforceVpcConfig = NULL
)
Arguments
WorkforceName |
[required] The name of the private workforce that you want to update. You can find
your workforce name by using the
|
SourceIpConfig |
A list of one to ten worker IP address ranges (CIDRs) that can be used to access tasks assigned to this workforce. Maximum: Ten CIDR values |
OidcConfig |
Use this parameter to update your OIDC Identity Provider (IdP) configuration for a workforce made using your own IdP. |
WorkforceVpcConfig |
Use this parameter to update your VPC configuration for a workforce. |
Updates an existing work team with new member definitions or description
Description
Updates an existing work team with new member definitions or description.
See https://www.paws-r-sdk.com/docs/sagemaker_update_workteam/ for full documentation.
Usage
sagemaker_update_workteam(
WorkteamName,
MemberDefinitions = NULL,
Description = NULL,
NotificationConfiguration = NULL,
WorkerAccessConfiguration = NULL
)
Arguments
WorkteamName |
[required] The name of the work team to update. |
MemberDefinitions |
A list of Workforces can be created using Amazon Cognito or your own OIDC Identity
Provider (IdP). For private workforces created using Amazon Cognito use
For workforces created using Amazon Cognito, private work teams
correspond to Amazon Cognito user groups within the user pool used to
create a workforce. All of the For workforces created using your own OIDC IdP, specify the user groups
that you want to include in your private work team in
|
Description |
An updated description for the work team. |
NotificationConfiguration |
Configures SNS topic notifications for available or expiring work items |
WorkerAccessConfiguration |
Use this optional parameter to constrain access to an Amazon S3 resource based on the IP address using supported IAM global condition keys. The Amazon S3 resource is accessed in the worker portal using a Amazon S3 presigned URL. |
Amazon Sagemaker Edge Manager
Description
SageMaker Edge Manager dataplane service for communicating with active agents.
Usage
sagemakeredgemanager(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- sagemakeredgemanager( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
get_deployments | Use to get the active deployments from a device |
get_device_registration | Use to check if a device is registered with SageMaker Edge Manager |
send_heartbeat | Use to get the current status of devices registered on SageMaker Edge Manager |
Examples
## Not run:
svc <- sagemakeredgemanager()
svc$get_deployments(
Foo = 123
)
## End(Not run)
Use to get the active deployments from a device
Description
Use to get the active deployments from a device.
See https://www.paws-r-sdk.com/docs/sagemakeredgemanager_get_deployments/ for full documentation.
Usage
sagemakeredgemanager_get_deployments(DeviceName, DeviceFleetName)
Arguments
DeviceName |
[required] The unique name of the device you want to get the configuration of active deployments from. |
DeviceFleetName |
[required] The name of the fleet that the device belongs to. |
Use to check if a device is registered with SageMaker Edge Manager
Description
Use to check if a device is registered with SageMaker Edge Manager.
See https://www.paws-r-sdk.com/docs/sagemakeredgemanager_get_device_registration/ for full documentation.
Usage
sagemakeredgemanager_get_device_registration(DeviceName, DeviceFleetName)
Arguments
DeviceName |
[required] The unique name of the device you want to get the registration status from. |
DeviceFleetName |
[required] The name of the fleet that the device belongs to. |
Use to get the current status of devices registered on SageMaker Edge Manager
Description
Use to get the current status of devices registered on SageMaker Edge Manager.
See https://www.paws-r-sdk.com/docs/sagemakeredgemanager_send_heartbeat/ for full documentation.
Usage
sagemakeredgemanager_send_heartbeat(
AgentMetrics = NULL,
Models = NULL,
AgentVersion,
DeviceName,
DeviceFleetName,
DeploymentResult = NULL
)
Arguments
AgentMetrics |
For internal use. Returns a list of SageMaker Edge Manager agent operating metrics. |
Models |
Returns a list of models deployed on the the device. |
AgentVersion |
[required] Returns the version of the agent. |
DeviceName |
[required] The unique name of the device. |
DeviceFleetName |
[required] The name of the fleet that the device belongs to. |
DeploymentResult |
Returns the result of a deployment on the device. |
Amazon SageMaker Feature Store Runtime
Description
Contains all data plane API operations and data types for the Amazon SageMaker Feature Store. Use this API to put, delete, and retrieve (get) features from a feature store.
Use the following operations to configure your OnlineStore
and
OfflineStore
features, and to create and manage feature groups:
Usage
sagemakerfeaturestoreruntime(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- sagemakerfeaturestoreruntime( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
batch_get_record | Retrieves a batch of Records from a FeatureGroup |
delete_record | Deletes a Record from a FeatureGroup in the OnlineStore |
get_record | Use for OnlineStore serving from a FeatureStore |
put_record | The PutRecord API is used to ingest a list of Records into your feature group |
Examples
## Not run:
svc <- sagemakerfeaturestoreruntime()
svc$batch_get_record(
Foo = 123
)
## End(Not run)
Retrieves a batch of Records from a FeatureGroup
Description
Retrieves a batch of Records
from a FeatureGroup
.
See https://www.paws-r-sdk.com/docs/sagemakerfeaturestoreruntime_batch_get_record/ for full documentation.
Usage
sagemakerfeaturestoreruntime_batch_get_record(
Identifiers,
ExpirationTimeResponse = NULL
)
Arguments
Identifiers |
[required] A list containing the name or Amazon Resource Name (ARN) of the
|
ExpirationTimeResponse |
Parameter to request |
Deletes a Record from a FeatureGroup in the OnlineStore
Description
Deletes a Record
from a FeatureGroup
in the OnlineStore
. Feature Store supports both SoftDelete
and HardDelete
. For SoftDelete
(default), feature columns are set to null
and the record is no longer retrievable by get_record
or batch_get_record
. For HardDelete
, the complete Record
is removed from the OnlineStore
. In both cases, Feature Store appends the deleted record marker to the OfflineStore
. The deleted record marker is a record with the same RecordIdentifer
as the original, but with is_deleted
value set to True
, EventTime
set to the delete input EventTime
, and other feature values set to null
.
See https://www.paws-r-sdk.com/docs/sagemakerfeaturestoreruntime_delete_record/ for full documentation.
Usage
sagemakerfeaturestoreruntime_delete_record(
FeatureGroupName,
RecordIdentifierValueAsString,
EventTime,
TargetStores = NULL,
DeletionMode = NULL
)
Arguments
FeatureGroupName |
[required] The name or Amazon Resource Name (ARN) of the feature group to delete the record from. |
RecordIdentifierValueAsString |
[required] The value for the |
EventTime |
[required] Timestamp indicating when the deletion event occurred. |
TargetStores |
A list of stores from which you're deleting the record. By default,
Feature Store deletes the record from all of the stores that you're
using for the |
DeletionMode |
The name of the deletion mode for deleting the record. By default, the
deletion mode is set to |
Use for OnlineStore serving from a FeatureStore
Description
Use for OnlineStore
serving from a FeatureStore
. Only the latest records stored in the OnlineStore
can be retrieved. If no Record with RecordIdentifierValue
is found, then an empty result is returned.
See https://www.paws-r-sdk.com/docs/sagemakerfeaturestoreruntime_get_record/ for full documentation.
Usage
sagemakerfeaturestoreruntime_get_record(
FeatureGroupName,
RecordIdentifierValueAsString,
FeatureNames = NULL,
ExpirationTimeResponse = NULL
)
Arguments
FeatureGroupName |
[required] The name or Amazon Resource Name (ARN) of the feature group from which you want to retrieve a record. |
RecordIdentifierValueAsString |
[required] The value that corresponds to |
FeatureNames |
List of names of Features to be retrieved. If not specified, the latest value for all the Features are returned. |
ExpirationTimeResponse |
Parameter to request |
The PutRecord API is used to ingest a list of Records into your feature group
Description
The put_record
API is used to ingest a list of Records
into your feature group.
See https://www.paws-r-sdk.com/docs/sagemakerfeaturestoreruntime_put_record/ for full documentation.
Usage
sagemakerfeaturestoreruntime_put_record(
FeatureGroupName,
Record,
TargetStores = NULL,
TtlDuration = NULL
)
Arguments
FeatureGroupName |
[required] The name or Amazon Resource Name (ARN) of the feature group that you want to insert the record into. |
Record |
[required] List of FeatureValues to be inserted. This will be a full over-write. If you only want to update few of the feature values, do the following:
|
TargetStores |
A list of stores to which you're adding the record. By default, Feature
Store adds the record to all of the stores that you're using for the
|
TtlDuration |
Time to live duration, where the record is hard deleted after the
expiration time is reached; |
Amazon SageMaker geospatial capabilities
Description
Provides APIs for creating and managing SageMaker geospatial resources.
Usage
sagemakergeospatialcapabilities(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- sagemakergeospatialcapabilities( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
delete_earth_observation_job | Use this operation to delete an Earth Observation job |
delete_vector_enrichment_job | Use this operation to delete a Vector Enrichment job |
export_earth_observation_job | Use this operation to export results of an Earth Observation job and optionally source images used as input to the EOJ to an Amazon S3 location |
export_vector_enrichment_job | Use this operation to copy results of a Vector Enrichment job to an Amazon S3 location |
get_earth_observation_job | Get the details for a previously initiated Earth Observation job |
get_raster_data_collection | Use this operation to get details of a specific raster data collection |
get_tile | Gets a web mercator tile for the given Earth Observation job |
get_vector_enrichment_job | Retrieves details of a Vector Enrichment Job for a given job Amazon Resource Name (ARN) |
list_earth_observation_jobs | Use this operation to get a list of the Earth Observation jobs associated with the calling Amazon Web Services account |
list_raster_data_collections | Use this operation to get raster data collections |
list_tags_for_resource | Lists the tags attached to the resource |
list_vector_enrichment_jobs | Retrieves a list of vector enrichment jobs |
search_raster_data_collection | Allows you run image query on a specific raster data collection to get a list of the satellite imagery matching the selected filters |
start_earth_observation_job | Use this operation to create an Earth observation job |
start_vector_enrichment_job | Creates a Vector Enrichment job for the supplied job type |
stop_earth_observation_job | Use this operation to stop an existing earth observation job |
stop_vector_enrichment_job | Stops the Vector Enrichment job for a given job ARN |
tag_resource | The resource you want to tag |
untag_resource | The resource you want to untag |
Examples
## Not run:
svc <- sagemakergeospatialcapabilities()
svc$delete_earth_observation_job(
Foo = 123
)
## End(Not run)
Use this operation to delete an Earth Observation job
Description
Use this operation to delete an Earth Observation job.
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_delete_earth_observation_job/ for full documentation.
Usage
sagemakergeospatialcapabilities_delete_earth_observation_job(Arn)
Arguments
Arn |
[required] The Amazon Resource Name (ARN) of the Earth Observation job being deleted. |
Use this operation to delete a Vector Enrichment job
Description
Use this operation to delete a Vector Enrichment job.
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_delete_vector_enrichment_job/ for full documentation.
Usage
sagemakergeospatialcapabilities_delete_vector_enrichment_job(Arn)
Arguments
Arn |
[required] The Amazon Resource Name (ARN) of the Vector Enrichment job being deleted. |
Use this operation to export results of an Earth Observation job and optionally source images used as input to the EOJ to an Amazon S3 location
Description
Use this operation to export results of an Earth Observation job and optionally source images used as input to the EOJ to an Amazon S3 location.
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_export_earth_observation_job/ for full documentation.
Usage
sagemakergeospatialcapabilities_export_earth_observation_job(
Arn,
ClientToken = NULL,
ExecutionRoleArn,
ExportSourceImages = NULL,
OutputConfig
)
Arguments
Arn |
[required] The input Amazon Resource Name (ARN) of the Earth Observation job being exported. |
ClientToken |
A unique token that guarantees that the call to this API is idempotent. |
ExecutionRoleArn |
[required] The Amazon Resource Name (ARN) of the IAM role that you specified for the job. |
ExportSourceImages |
The source images provided to the Earth Observation job being exported. |
OutputConfig |
[required] An object containing information about the output file. |
Use this operation to copy results of a Vector Enrichment job to an Amazon S3 location
Description
Use this operation to copy results of a Vector Enrichment job to an Amazon S3 location.
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_export_vector_enrichment_job/ for full documentation.
Usage
sagemakergeospatialcapabilities_export_vector_enrichment_job(
Arn,
ClientToken = NULL,
ExecutionRoleArn,
OutputConfig
)
Arguments
Arn |
[required] The Amazon Resource Name (ARN) of the Vector Enrichment job. |
ClientToken |
A unique token that guarantees that the call to this API is idempotent. |
ExecutionRoleArn |
[required] The Amazon Resource Name (ARN) of the IAM rolewith permission to upload to the location in OutputConfig. |
OutputConfig |
[required] Output location information for exporting Vector Enrichment Job results. |
Get the details for a previously initiated Earth Observation job
Description
Get the details for a previously initiated Earth Observation job.
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_get_earth_observation_job/ for full documentation.
Usage
sagemakergeospatialcapabilities_get_earth_observation_job(Arn)
Arguments
Arn |
[required] The Amazon Resource Name (ARN) of the Earth Observation job. |
Use this operation to get details of a specific raster data collection
Description
Use this operation to get details of a specific raster data collection.
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_get_raster_data_collection/ for full documentation.
Usage
sagemakergeospatialcapabilities_get_raster_data_collection(Arn)
Arguments
Arn |
[required] The Amazon Resource Name (ARN) of the raster data collection. |
Gets a web mercator tile for the given Earth Observation job
Description
Gets a web mercator tile for the given Earth Observation job.
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_get_tile/ for full documentation.
Usage
sagemakergeospatialcapabilities_get_tile(
Arn,
ExecutionRoleArn = NULL,
ImageAssets,
ImageMask = NULL,
OutputDataType = NULL,
OutputFormat = NULL,
PropertyFilters = NULL,
Target,
TimeRangeFilter = NULL,
x,
y,
z
)
Arguments
Arn |
[required] The Amazon Resource Name (ARN) of the tile operation. |
ExecutionRoleArn |
The Amazon Resource Name (ARN) of the IAM role that you specify. |
ImageAssets |
[required] The particular assets or bands to tile. |
ImageMask |
Determines whether or not to return a valid data mask. |
OutputDataType |
The output data type of the tile operation. |
OutputFormat |
The data format of the output tile. The formats include .npy, .png and .jpg. |
PropertyFilters |
Property filters for the imagery to tile. |
Target |
[required] Determines what part of the Earth Observation job to tile. 'INPUT' or 'OUTPUT' are the valid options. |
TimeRangeFilter |
Time range filter applied to imagery to find the images to tile. |
x |
[required] The x coordinate of the tile input. |
y |
[required] The y coordinate of the tile input. |
z |
[required] The z coordinate of the tile input. |
Retrieves details of a Vector Enrichment Job for a given job Amazon Resource Name (ARN)
Description
Retrieves details of a Vector Enrichment Job for a given job Amazon Resource Name (ARN).
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_get_vector_enrichment_job/ for full documentation.
Usage
sagemakergeospatialcapabilities_get_vector_enrichment_job(Arn)
Arguments
Arn |
[required] The Amazon Resource Name (ARN) of the Vector Enrichment job. |
Use this operation to get a list of the Earth Observation jobs associated with the calling Amazon Web Services account
Description
Use this operation to get a list of the Earth Observation jobs associated with the calling Amazon Web Services account.
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_list_earth_observation_jobs/ for full documentation.
Usage
sagemakergeospatialcapabilities_list_earth_observation_jobs(
MaxResults = NULL,
NextToken = NULL,
SortBy = NULL,
SortOrder = NULL,
StatusEquals = NULL
)
Arguments
MaxResults |
The total number of items to return. |
NextToken |
If the previous response was truncated, you receive this token. Use it in your next request to receive the next set of results. |
SortBy |
The parameter by which to sort the results. |
SortOrder |
An optional value that specifies whether you want the results sorted in
|
StatusEquals |
A filter that retrieves only jobs with a specific status. |
Use this operation to get raster data collections
Description
Use this operation to get raster data collections.
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_list_raster_data_collections/ for full documentation.
Usage
sagemakergeospatialcapabilities_list_raster_data_collections(
MaxResults = NULL,
NextToken = NULL
)
Arguments
MaxResults |
The total number of items to return. |
NextToken |
If the previous response was truncated, you receive this token. Use it in your next request to receive the next set of results. |
Lists the tags attached to the resource
Description
Lists the tags attached to the resource.
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_list_tags_for_resource/ for full documentation.
Usage
sagemakergeospatialcapabilities_list_tags_for_resource(ResourceArn)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the resource you want to tag. |
Retrieves a list of vector enrichment jobs
Description
Retrieves a list of vector enrichment jobs.
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_list_vector_enrichment_jobs/ for full documentation.
Usage
sagemakergeospatialcapabilities_list_vector_enrichment_jobs(
MaxResults = NULL,
NextToken = NULL,
SortBy = NULL,
SortOrder = NULL,
StatusEquals = NULL
)
Arguments
MaxResults |
The maximum number of items to return. |
NextToken |
If the previous response was truncated, you receive this token. Use it in your next request to receive the next set of results. |
SortBy |
The parameter by which to sort the results. |
SortOrder |
An optional value that specifies whether you want the results sorted in
|
StatusEquals |
A filter that retrieves only jobs with a specific status. |
Allows you run image query on a specific raster data collection to get a list of the satellite imagery matching the selected filters
Description
Allows you run image query on a specific raster data collection to get a list of the satellite imagery matching the selected filters.
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_search_raster_data_collection/ for full documentation.
Usage
sagemakergeospatialcapabilities_search_raster_data_collection(
Arn,
NextToken = NULL,
RasterDataCollectionQuery
)
Arguments
Arn |
[required] The Amazon Resource Name (ARN) of the raster data collection. |
NextToken |
If the previous response was truncated, you receive this token. Use it in your next request to receive the next set of results. |
RasterDataCollectionQuery |
[required] RasterDataCollectionQuery consisting of
AreaOfInterest(AOI),
PropertyFilters
and
TimeRangeFilterInput
used in
|
Use this operation to create an Earth observation job
Description
Use this operation to create an Earth observation job.
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_start_earth_observation_job/ for full documentation.
Usage
sagemakergeospatialcapabilities_start_earth_observation_job(
ClientToken = NULL,
ExecutionRoleArn,
InputConfig,
JobConfig,
KmsKeyId = NULL,
Name,
Tags = NULL
)
Arguments
ClientToken |
A unique token that guarantees that the call to this API is idempotent. |
ExecutionRoleArn |
[required] The Amazon Resource Name (ARN) of the IAM role that you specified for the job. |
InputConfig |
[required] Input configuration information for the Earth Observation job. |
JobConfig |
[required] An object containing information about the job configuration. |
KmsKeyId |
The Key Management Service key ID for server-side encryption. |
Name |
[required] The name of the Earth Observation job. |
Tags |
Each tag consists of a key and a value. |
Creates a Vector Enrichment job for the supplied job type
Description
Creates a Vector Enrichment job for the supplied job type. Currently, there are two supported job types: reverse geocoding and map matching.
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_start_vector_enrichment_job/ for full documentation.
Usage
sagemakergeospatialcapabilities_start_vector_enrichment_job(
ClientToken = NULL,
ExecutionRoleArn,
InputConfig,
JobConfig,
KmsKeyId = NULL,
Name,
Tags = NULL
)
Arguments
ClientToken |
A unique token that guarantees that the call to this API is idempotent. |
ExecutionRoleArn |
[required] The Amazon Resource Name (ARN) of the IAM role that you specified for the job. |
InputConfig |
[required] Input configuration information for the Vector Enrichment job. |
JobConfig |
[required] An object containing information about the job configuration. |
KmsKeyId |
The Key Management Service key ID for server-side encryption. |
Name |
[required] The name of the Vector Enrichment job. |
Tags |
Each tag consists of a key and a value. |
Use this operation to stop an existing earth observation job
Description
Use this operation to stop an existing earth observation job.
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_stop_earth_observation_job/ for full documentation.
Usage
sagemakergeospatialcapabilities_stop_earth_observation_job(Arn)
Arguments
Arn |
[required] The Amazon Resource Name (ARN) of the Earth Observation job being stopped. |
Stops the Vector Enrichment job for a given job ARN
Description
Stops the Vector Enrichment job for a given job ARN.
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_stop_vector_enrichment_job/ for full documentation.
Usage
sagemakergeospatialcapabilities_stop_vector_enrichment_job(Arn)
Arguments
Arn |
[required] The Amazon Resource Name (ARN) of the Vector Enrichment job. |
The resource you want to tag
Description
The resource you want to tag.
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_tag_resource/ for full documentation.
Usage
sagemakergeospatialcapabilities_tag_resource(ResourceArn, Tags)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the resource you want to tag. |
Tags |
[required] Each tag consists of a key and a value. |
The resource you want to untag
Description
The resource you want to untag.
See https://www.paws-r-sdk.com/docs/sagemakergeospatialcapabilities_untag_resource/ for full documentation.
Usage
sagemakergeospatialcapabilities_untag_resource(ResourceArn, TagKeys)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the resource you want to untag. |
TagKeys |
[required] Keys of the tags you want to remove. |
Amazon SageMaker Metrics Service
Description
Contains all data plane API operations and data types for Amazon SageMaker Metrics. Use these APIs to put and retrieve (get) features related to your training run.
Usage
sagemakermetrics(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- sagemakermetrics( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
batch_get_metrics | Used to retrieve training metrics from SageMaker |
batch_put_metrics | Used to ingest training metrics into SageMaker |
Examples
## Not run:
svc <- sagemakermetrics()
svc$batch_get_metrics(
Foo = 123
)
## End(Not run)
Used to retrieve training metrics from SageMaker
Description
Used to retrieve training metrics from SageMaker.
See https://www.paws-r-sdk.com/docs/sagemakermetrics_batch_get_metrics/ for full documentation.
Usage
sagemakermetrics_batch_get_metrics(MetricQueries)
Arguments
MetricQueries |
[required] Queries made to retrieve training metrics from SageMaker. |
Used to ingest training metrics into SageMaker
Description
Used to ingest training metrics into SageMaker. These metrics can be visualized in SageMaker Studio.
See https://www.paws-r-sdk.com/docs/sagemakermetrics_batch_put_metrics/ for full documentation.
Usage
sagemakermetrics_batch_put_metrics(TrialComponentName, MetricData)
Arguments
TrialComponentName |
[required] The name of the Trial Component to associate with the metrics. The Trial Component name must be entirely lowercase. |
MetricData |
[required] A list of raw metric values to put. |
Amazon SageMaker Runtime
Description
The Amazon SageMaker runtime API.
Usage
sagemakerruntime(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- sagemakerruntime( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
invoke_endpoint | After you deploy a model into production using Amazon SageMaker hosting services, your client applications use this API to get inferences from the model hosted at the specified endpoint |
invoke_endpoint_async | After you deploy a model into production using Amazon SageMaker hosting services, your client applications use this API to get inferences from the model hosted at the specified endpoint in an asynchronous manner |
invoke_endpoint_with_response_stream | Invokes a model at the specified endpoint to return the inference response as a stream |
Examples
## Not run:
svc <- sagemakerruntime()
svc$invoke_endpoint(
Foo = 123
)
## End(Not run)
After you deploy a model into production using Amazon SageMaker hosting services, your client applications use this API to get inferences from the model hosted at the specified endpoint
Description
After you deploy a model into production using Amazon SageMaker hosting services, your client applications use this API to get inferences from the model hosted at the specified endpoint.
See https://www.paws-r-sdk.com/docs/sagemakerruntime_invoke_endpoint/ for full documentation.
Usage
sagemakerruntime_invoke_endpoint(
EndpointName,
Body,
ContentType = NULL,
Accept = NULL,
CustomAttributes = NULL,
TargetModel = NULL,
TargetVariant = NULL,
TargetContainerHostname = NULL,
InferenceId = NULL,
EnableExplanations = NULL,
InferenceComponentName = NULL,
SessionId = NULL
)
Arguments
EndpointName |
[required] The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API. |
Body |
[required] Provides input data, in the format specified in the For information about the format of the request body, see Common Data Formats-Inference. |
ContentType |
The MIME type of the input data in the request body. |
Accept |
The desired MIME type of the inference response from the model container. |
CustomAttributes |
Provides additional information about a request for an inference submitted to a model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded verbatim. You could use this value, for example, to provide an ID that you can use to track a request or to provide other metadata that a service endpoint was programmed to process. The value must consist of no more than 1024 visible US-ASCII characters as specified in Section 3.3.6. Field Value Components of the Hypertext Transfer Protocol (HTTP/1.1). The code in your model is responsible for setting or updating any custom
attributes in the response. If your code does not set this value in the
response, an empty value is returned. For example, if a custom attribute
represents the trace ID, your model can prepend the custom attribute
with This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python SDK. |
TargetModel |
The model to request for inference when invoking a multi-model endpoint. |
TargetVariant |
Specify the production variant to send the inference request to when invoking an endpoint that is running two or more variants. Note that this parameter overrides the default behavior for the endpoint, which is to distribute the invocation traffic based on the variant weights. For information about how to use variant targeting to perform a/b testing, see Test models in production |
TargetContainerHostname |
If the endpoint hosts multiple containers and is configured to use direct invocation, this parameter specifies the host name of the container to invoke. |
InferenceId |
If you provide a value, it is added to the captured data when you enable data capture on the endpoint. For information about data capture, see Capture Data. |
EnableExplanations |
An optional JMESPath expression used to override the
|
InferenceComponentName |
If the endpoint hosts one or more inference components, this parameter specifies the name of inference component to invoke. |
SessionId |
Creates a stateful session or identifies an existing one. You can do one of the following:
With a stateful session, you can send multiple requests to a stateful
model. When you create a session with a stateful model, the model must
create the session ID and set the expiration time. The model must also
provide that information in the response to your request. You can get
the ID and timestamp from the |
After you deploy a model into production using Amazon SageMaker hosting services, your client applications use this API to get inferences from the model hosted at the specified endpoint in an asynchronous manner
Description
After you deploy a model into production using Amazon SageMaker hosting services, your client applications use this API to get inferences from the model hosted at the specified endpoint in an asynchronous manner.
See https://www.paws-r-sdk.com/docs/sagemakerruntime_invoke_endpoint_async/ for full documentation.
Usage
sagemakerruntime_invoke_endpoint_async(
EndpointName,
ContentType = NULL,
Accept = NULL,
CustomAttributes = NULL,
InferenceId = NULL,
InputLocation,
RequestTTLSeconds = NULL,
InvocationTimeoutSeconds = NULL
)
Arguments
EndpointName |
[required] The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API. |
ContentType |
The MIME type of the input data in the request body. |
Accept |
The desired MIME type of the inference response from the model container. |
CustomAttributes |
Provides additional information about a request for an inference submitted to a model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded verbatim. You could use this value, for example, to provide an ID that you can use to track a request or to provide other metadata that a service endpoint was programmed to process. The value must consist of no more than 1024 visible US-ASCII characters as specified in Section 3.3.6. Field Value Components of the Hypertext Transfer Protocol (HTTP/1.1). The code in your model is responsible for setting or updating any custom
attributes in the response. If your code does not set this value in the
response, an empty value is returned. For example, if a custom attribute
represents the trace ID, your model can prepend the custom attribute
with This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python SDK. |
InferenceId |
The identifier for the inference request. Amazon SageMaker will generate an identifier for you if none is specified. |
InputLocation |
[required] The Amazon S3 URI where the inference request payload is stored. |
RequestTTLSeconds |
Maximum age in seconds a request can be in the queue before it is marked as expired. The default is 6 hours, or 21,600 seconds. |
InvocationTimeoutSeconds |
Maximum amount of time in seconds a request can be processed before it is marked as expired. The default is 15 minutes, or 900 seconds. |
Invokes a model at the specified endpoint to return the inference response as a stream
Description
Invokes a model at the specified endpoint to return the inference response as a stream. The inference stream provides the response payload incrementally as a series of parts. Before you can get an inference stream, you must have access to a model that's deployed using Amazon SageMaker hosting services, and the container for that model must support inference streaming.
See https://www.paws-r-sdk.com/docs/sagemakerruntime_invoke_endpoint_with_response_stream/ for full documentation.
Usage
sagemakerruntime_invoke_endpoint_with_response_stream(
EndpointName,
Body,
ContentType = NULL,
Accept = NULL,
CustomAttributes = NULL,
TargetVariant = NULL,
TargetContainerHostname = NULL,
InferenceId = NULL,
InferenceComponentName = NULL,
SessionId = NULL
)
Arguments
EndpointName |
[required] The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API. |
Body |
[required] Provides input data, in the format specified in the For information about the format of the request body, see Common Data Formats-Inference. |
ContentType |
The MIME type of the input data in the request body. |
Accept |
The desired MIME type of the inference response from the model container. |
CustomAttributes |
Provides additional information about a request for an inference submitted to a model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded verbatim. You could use this value, for example, to provide an ID that you can use to track a request or to provide other metadata that a service endpoint was programmed to process. The value must consist of no more than 1024 visible US-ASCII characters as specified in Section 3.3.6. Field Value Components of the Hypertext Transfer Protocol (HTTP/1.1). The code in your model is responsible for setting or updating any custom
attributes in the response. If your code does not set this value in the
response, an empty value is returned. For example, if a custom attribute
represents the trace ID, your model can prepend the custom attribute
with This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python SDK. |
TargetVariant |
Specify the production variant to send the inference request to when invoking an endpoint that is running two or more variants. Note that this parameter overrides the default behavior for the endpoint, which is to distribute the invocation traffic based on the variant weights. For information about how to use variant targeting to perform a/b testing, see Test models in production |
TargetContainerHostname |
If the endpoint hosts multiple containers and is configured to use direct invocation, this parameter specifies the host name of the container to invoke. |
InferenceId |
An identifier that you assign to your request. |
InferenceComponentName |
If the endpoint hosts one or more inference components, this parameter specifies the name of inference component to invoke for a streaming response. |
SessionId |
The ID of a stateful session to handle your request. You can't create a stateful session by using the
|
Amazon Textract
Description
Amazon Textract detects and analyzes text in documents and converts it into machine-readable text. This is the API reference documentation for Amazon Textract.
Usage
textract(config = list(), credentials = list(), endpoint = NULL, region = NULL)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- textract( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
analyze_document | Analyzes an input document for relationships between detected items |
analyze_expense | AnalyzeExpense synchronously analyzes an input document for financially related relationships between text |
analyze_id | Analyzes identity documents for relevant information |
create_adapter | Creates an adapter, which can be fine-tuned for enhanced performance on user provided documents |
create_adapter_version | Creates a new version of an adapter |
delete_adapter | Deletes an Amazon Textract adapter |
delete_adapter_version | Deletes an Amazon Textract adapter version |
detect_document_text | Detects text in the input document |
get_adapter | Gets configuration information for an adapter specified by an AdapterId, returning information on AdapterName, Description, CreationTime, AutoUpdate status, and FeatureTypes |
get_adapter_version | Gets configuration information for the specified adapter version, including: AdapterId, AdapterVersion, FeatureTypes, Status, StatusMessage, DatasetConfig, KMSKeyId, OutputConfig, Tags and EvaluationMetrics |
get_document_analysis | Gets the results for an Amazon Textract asynchronous operation that analyzes text in a document |
get_document_text_detection | Gets the results for an Amazon Textract asynchronous operation that detects text in a document |
get_expense_analysis | Gets the results for an Amazon Textract asynchronous operation that analyzes invoices and receipts |
get_lending_analysis | Gets the results for an Amazon Textract asynchronous operation that analyzes text in a lending document |
get_lending_analysis_summary | Gets summarized results for the StartLendingAnalysis operation, which analyzes text in a lending document |
list_adapters | Lists all adapters that match the specified filtration criteria |
list_adapter_versions | List all version of an adapter that meet the specified filtration criteria |
list_tags_for_resource | Lists all tags for an Amazon Textract resource |
start_document_analysis | Starts the asynchronous analysis of an input document for relationships between detected items such as key-value pairs, tables, and selection elements |
start_document_text_detection | Starts the asynchronous detection of text in a document |
start_expense_analysis | Starts the asynchronous analysis of invoices or receipts for data like contact information, items purchased, and vendor names |
start_lending_analysis | Starts the classification and analysis of an input document |
tag_resource | Adds one or more tags to the specified resource |
untag_resource | Removes any tags with the specified keys from the specified resource |
update_adapter | Update the configuration for an adapter |
Examples
## Not run:
svc <- textract()
svc$analyze_document(
Foo = 123
)
## End(Not run)
Analyzes an input document for relationships between detected items
Description
Analyzes an input document for relationships between detected items.
See https://www.paws-r-sdk.com/docs/textract_analyze_document/ for full documentation.
Usage
textract_analyze_document(
Document,
FeatureTypes,
HumanLoopConfig = NULL,
QueriesConfig = NULL,
AdaptersConfig = NULL
)
Arguments
Document |
[required] The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG, PNG, PDF, or TIFF format. If you're using an AWS SDK to call Amazon Textract, you might not need
to base64-encode image bytes that are passed using the |
FeatureTypes |
[required] A list of the types of analysis to perform. Add TABLES to the list to
return information about the tables that are detected in the input
document. Add FORMS to return detected form data. Add SIGNATURES to
return the locations of detected signatures. Add LAYOUT to the list to
return information about the layout of the document. All lines and words
detected in the document are included in the response (including text
that isn't related to the value of |
HumanLoopConfig |
Sets the configuration for the human in the loop workflow for analyzing documents. |
QueriesConfig |
Contains Queries and the alias for those Queries, as determined by the input. |
AdaptersConfig |
Specifies the adapter to be used when analyzing a document. |
AnalyzeExpense synchronously analyzes an input document for financially related relationships between text
Description
analyze_expense
synchronously analyzes an input document for financially related relationships between text.
See https://www.paws-r-sdk.com/docs/textract_analyze_expense/ for full documentation.
Usage
textract_analyze_expense(Document)
Arguments
Document |
[required] |
Analyzes identity documents for relevant information
Description
Analyzes identity documents for relevant information. This information is extracted and returned as IdentityDocumentFields
, which records both the normalized field and value of the extracted text. Unlike other Amazon Textract operations, analyze_id
doesn't return any Geometry data.
See https://www.paws-r-sdk.com/docs/textract_analyze_id/ for full documentation.
Usage
textract_analyze_id(DocumentPages)
Arguments
DocumentPages |
[required] The document being passed to AnalyzeID. |
Creates an adapter, which can be fine-tuned for enhanced performance on user provided documents
Description
Creates an adapter, which can be fine-tuned for enhanced performance on user provided documents. Takes an AdapterName and FeatureType. Currently the only supported feature type is QUERIES
. You can also provide a Description, Tags, and a ClientRequestToken. You can choose whether or not the adapter should be AutoUpdated with the AutoUpdate argument. By default, AutoUpdate is set to DISABLED.
See https://www.paws-r-sdk.com/docs/textract_create_adapter/ for full documentation.
Usage
textract_create_adapter(
AdapterName,
ClientRequestToken = NULL,
Description = NULL,
FeatureTypes,
AutoUpdate = NULL,
Tags = NULL
)
Arguments
AdapterName |
[required] The name to be assigned to the adapter being created. |
ClientRequestToken |
Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapter requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times. |
Description |
The description to be assigned to the adapter being created. |
FeatureTypes |
[required] The type of feature that the adapter is being trained on. Currrenly,
supported feature types are: |
AutoUpdate |
Controls whether or not the adapter should automatically update. |
Tags |
A list of tags to be added to the adapter. |
Creates a new version of an adapter
Description
Creates a new version of an adapter. Operates on a provided AdapterId and a specified dataset provided via the DatasetConfig argument. Requires that you specify an Amazon S3 bucket with the OutputConfig argument. You can provide an optional KMSKeyId, an optional ClientRequestToken, and optional tags.
See https://www.paws-r-sdk.com/docs/textract_create_adapter_version/ for full documentation.
Usage
textract_create_adapter_version(
AdapterId,
ClientRequestToken = NULL,
DatasetConfig,
KMSKeyId = NULL,
OutputConfig,
Tags = NULL
)
Arguments
AdapterId |
[required] A string containing a unique ID for the adapter that will receive a new version. |
ClientRequestToken |
Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapterVersion requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times. |
DatasetConfig |
[required] Specifies a dataset used to train a new adapter version. Takes a ManifestS3Object as the value. |
KMSKeyId |
The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents. |
OutputConfig |
[required] |
Tags |
A set of tags (key-value pairs) that you want to attach to the adapter version. |
Deletes an Amazon Textract adapter
Description
Deletes an Amazon Textract adapter. Takes an AdapterId and deletes the adapter specified by the ID.
See https://www.paws-r-sdk.com/docs/textract_delete_adapter/ for full documentation.
Usage
textract_delete_adapter(AdapterId)
Arguments
AdapterId |
[required] A string containing a unique ID for the adapter to be deleted. |
Deletes an Amazon Textract adapter version
Description
Deletes an Amazon Textract adapter version. Requires that you specify both an AdapterId and a AdapterVersion. Deletes the adapter version specified by the AdapterId and the AdapterVersion.
See https://www.paws-r-sdk.com/docs/textract_delete_adapter_version/ for full documentation.
Usage
textract_delete_adapter_version(AdapterId, AdapterVersion)
Arguments
AdapterId |
[required] A string containing a unique ID for the adapter version that will be deleted. |
AdapterVersion |
[required] Specifies the adapter version to be deleted. |
Detects text in the input document
Description
Detects text in the input document. Amazon Textract can detect lines of text and the words that make up a line of text. The input document must be in one of the following image formats: JPEG, PNG, PDF, or TIFF. detect_document_text
returns the detected text in an array of Block objects.
See https://www.paws-r-sdk.com/docs/textract_detect_document_text/ for full documentation.
Usage
textract_detect_document_text(Document)
Arguments
Document |
[required] The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG or PNG format. If you're using an AWS SDK to call Amazon Textract, you might not need
to base64-encode image bytes that are passed using the |
Gets configuration information for an adapter specified by an AdapterId, returning information on AdapterName, Description, CreationTime, AutoUpdate status, and FeatureTypes
Description
Gets configuration information for an adapter specified by an AdapterId, returning information on AdapterName, Description, CreationTime, AutoUpdate status, and FeatureTypes.
See https://www.paws-r-sdk.com/docs/textract_get_adapter/ for full documentation.
Usage
textract_get_adapter(AdapterId)
Arguments
AdapterId |
[required] A string containing a unique ID for the adapter. |
Gets configuration information for the specified adapter version, including: AdapterId, AdapterVersion, FeatureTypes, Status, StatusMessage, DatasetConfig, KMSKeyId, OutputConfig, Tags and EvaluationMetrics
Description
Gets configuration information for the specified adapter version, including: AdapterId, AdapterVersion, FeatureTypes, Status, StatusMessage, DatasetConfig, KMSKeyId, OutputConfig, Tags and EvaluationMetrics.
See https://www.paws-r-sdk.com/docs/textract_get_adapter_version/ for full documentation.
Usage
textract_get_adapter_version(AdapterId, AdapterVersion)
Arguments
AdapterId |
[required] A string specifying a unique ID for the adapter version you want to retrieve information for. |
AdapterVersion |
[required] A string specifying the adapter version you want to retrieve information for. |
Gets the results for an Amazon Textract asynchronous operation that analyzes text in a document
Description
Gets the results for an Amazon Textract asynchronous operation that analyzes text in a document.
See https://www.paws-r-sdk.com/docs/textract_get_document_analysis/ for full documentation.
Usage
textract_get_document_analysis(JobId, MaxResults = NULL, NextToken = NULL)
Arguments
JobId |
[required] A unique identifier for the text-detection job. The |
MaxResults |
The maximum number of results to return per paginated call. The largest value that you can specify is 1,000. If you specify a value greater than 1,000, a maximum of 1,000 results is returned. The default value is 1,000. |
NextToken |
If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination token in the response. You can use this pagination token to retrieve the next set of blocks. |
Gets the results for an Amazon Textract asynchronous operation that detects text in a document
Description
Gets the results for an Amazon Textract asynchronous operation that detects text in a document. Amazon Textract can detect lines of text and the words that make up a line of text.
See https://www.paws-r-sdk.com/docs/textract_get_document_text_detection/ for full documentation.
Usage
textract_get_document_text_detection(
JobId,
MaxResults = NULL,
NextToken = NULL
)
Arguments
JobId |
[required] A unique identifier for the text detection job. The |
MaxResults |
The maximum number of results to return per paginated call. The largest value you can specify is 1,000. If you specify a value greater than 1,000, a maximum of 1,000 results is returned. The default value is 1,000. |
NextToken |
If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination token in the response. You can use this pagination token to retrieve the next set of blocks. |
Gets the results for an Amazon Textract asynchronous operation that analyzes invoices and receipts
Description
Gets the results for an Amazon Textract asynchronous operation that analyzes invoices and receipts. Amazon Textract finds contact information, items purchased, and vendor name, from input invoices and receipts.
See https://www.paws-r-sdk.com/docs/textract_get_expense_analysis/ for full documentation.
Usage
textract_get_expense_analysis(JobId, MaxResults = NULL, NextToken = NULL)
Arguments
JobId |
[required] A unique identifier for the text detection job. The |
MaxResults |
The maximum number of results to return per paginated call. The largest value you can specify is 20. If you specify a value greater than 20, a maximum of 20 results is returned. The default value is 20. |
NextToken |
If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination token in the response. You can use this pagination token to retrieve the next set of blocks. |
Gets the results for an Amazon Textract asynchronous operation that analyzes text in a lending document
Description
Gets the results for an Amazon Textract asynchronous operation that analyzes text in a lending document.
See https://www.paws-r-sdk.com/docs/textract_get_lending_analysis/ for full documentation.
Usage
textract_get_lending_analysis(JobId, MaxResults = NULL, NextToken = NULL)
Arguments
JobId |
[required] A unique identifier for the lending or text-detection job. The |
MaxResults |
The maximum number of results to return per paginated call. The largest value that you can specify is 30. If you specify a value greater than 30, a maximum of 30 results is returned. The default value is 30. |
NextToken |
If the previous response was incomplete, Amazon Textract returns a pagination token in the response. You can use this pagination token to retrieve the next set of lending results. |
Gets summarized results for the StartLendingAnalysis operation, which analyzes text in a lending document
Description
Gets summarized results for the start_lending_analysis
operation, which analyzes text in a lending document. The returned summary consists of information about documents grouped together by a common document type. Information like detected signatures, page numbers, and split documents is returned with respect to the type of grouped document.
See https://www.paws-r-sdk.com/docs/textract_get_lending_analysis_summary/ for full documentation.
Usage
textract_get_lending_analysis_summary(JobId)
Arguments
JobId |
[required] A unique identifier for the lending or text-detection job. The |
List all version of an adapter that meet the specified filtration criteria
Description
List all version of an adapter that meet the specified filtration criteria.
See https://www.paws-r-sdk.com/docs/textract_list_adapter_versions/ for full documentation.
Usage
textract_list_adapter_versions(
AdapterId = NULL,
AfterCreationTime = NULL,
BeforeCreationTime = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
AdapterId |
A string containing a unique ID for the adapter to match for when listing adapter versions. |
AfterCreationTime |
Specifies the lower bound for the ListAdapterVersions operation. Ensures ListAdapterVersions returns only adapter versions created after the specified creation time. |
BeforeCreationTime |
Specifies the upper bound for the ListAdapterVersions operation. Ensures ListAdapterVersions returns only adapter versions created after the specified creation time. |
MaxResults |
The maximum number of results to return when listing adapter versions. |
NextToken |
Identifies the next page of results to return when listing adapter versions. |
Lists all adapters that match the specified filtration criteria
Description
Lists all adapters that match the specified filtration criteria.
See https://www.paws-r-sdk.com/docs/textract_list_adapters/ for full documentation.
Usage
textract_list_adapters(
AfterCreationTime = NULL,
BeforeCreationTime = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
AfterCreationTime |
Specifies the lower bound for the ListAdapters operation. Ensures ListAdapters returns only adapters created after the specified creation time. |
BeforeCreationTime |
Specifies the upper bound for the ListAdapters operation. Ensures ListAdapters returns only adapters created before the specified creation time. |
MaxResults |
The maximum number of results to return when listing adapters. |
NextToken |
Identifies the next page of results to return when listing adapters. |
Lists all tags for an Amazon Textract resource
Description
Lists all tags for an Amazon Textract resource.
See https://www.paws-r-sdk.com/docs/textract_list_tags_for_resource/ for full documentation.
Usage
textract_list_tags_for_resource(ResourceARN)
Arguments
ResourceARN |
[required] The Amazon Resource Name (ARN) that specifies the resource to list tags for. |
Starts the asynchronous analysis of an input document for relationships between detected items such as key-value pairs, tables, and selection elements
Description
Starts the asynchronous analysis of an input document for relationships between detected items such as key-value pairs, tables, and selection elements.
See https://www.paws-r-sdk.com/docs/textract_start_document_analysis/ for full documentation.
Usage
textract_start_document_analysis(
DocumentLocation,
FeatureTypes,
ClientRequestToken = NULL,
JobTag = NULL,
NotificationChannel = NULL,
OutputConfig = NULL,
KMSKeyId = NULL,
QueriesConfig = NULL,
AdaptersConfig = NULL
)
Arguments
DocumentLocation |
[required] The location of the document to be processed. |
FeatureTypes |
[required] A list of the types of analysis to perform. Add TABLES to the list to
return information about the tables that are detected in the input
document. Add FORMS to return detected form data. To perform both types
of analysis, add TABLES and FORMS to |
ClientRequestToken |
The idempotent token that you use to identify the start request. If you
use the same token with multiple
|
JobTag |
An identifier that you specify that's included in the completion
notification published to the Amazon SNS topic. For example, you can use
|
NotificationChannel |
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to. |
OutputConfig |
Sets if the output will go to a customer defined bucket. By default, Amazon Textract will save the results internally to be accessed by the GetDocumentAnalysis operation. |
KMSKeyId |
The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side,using SSE-S3. |
QueriesConfig |
|
AdaptersConfig |
Specifies the adapter to be used when analyzing a document. |
Starts the asynchronous detection of text in a document
Description
Starts the asynchronous detection of text in a document. Amazon Textract can detect lines of text and the words that make up a line of text.
See https://www.paws-r-sdk.com/docs/textract_start_document_text_detection/ for full documentation.
Usage
textract_start_document_text_detection(
DocumentLocation,
ClientRequestToken = NULL,
JobTag = NULL,
NotificationChannel = NULL,
OutputConfig = NULL,
KMSKeyId = NULL
)
Arguments
DocumentLocation |
[required] The location of the document to be processed. |
ClientRequestToken |
The idempotent token that's used to identify the start request. If you
use the same token with multiple
|
JobTag |
An identifier that you specify that's included in the completion
notification published to the Amazon SNS topic. For example, you can use
|
NotificationChannel |
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to. |
OutputConfig |
Sets if the output will go to a customer defined bucket. By default Amazon Textract will save the results internally to be accessed with the GetDocumentTextDetection operation. |
KMSKeyId |
The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side,using SSE-S3. |
Starts the asynchronous analysis of invoices or receipts for data like contact information, items purchased, and vendor names
Description
Starts the asynchronous analysis of invoices or receipts for data like contact information, items purchased, and vendor names.
See https://www.paws-r-sdk.com/docs/textract_start_expense_analysis/ for full documentation.
Usage
textract_start_expense_analysis(
DocumentLocation,
ClientRequestToken = NULL,
JobTag = NULL,
NotificationChannel = NULL,
OutputConfig = NULL,
KMSKeyId = NULL
)
Arguments
DocumentLocation |
[required] The location of the document to be processed. |
ClientRequestToken |
The idempotent token that's used to identify the start request. If you
use the same token with multiple
|
JobTag |
An identifier you specify that's included in the completion notification
published to the Amazon SNS topic. For example, you can use |
NotificationChannel |
The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to. |
OutputConfig |
Sets if the output will go to a customer defined bucket. By default,
Amazon Textract will save the results internally to be accessed by the
|
KMSKeyId |
The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side,using SSE-S3. |
Starts the classification and analysis of an input document
Description
Starts the classification and analysis of an input document. start_lending_analysis
initiates the classification and analysis of a packet of lending documents. start_lending_analysis
operates on a document file located in an Amazon S3 bucket.
See https://www.paws-r-sdk.com/docs/textract_start_lending_analysis/ for full documentation.
Usage
textract_start_lending_analysis(
DocumentLocation,
ClientRequestToken = NULL,
JobTag = NULL,
NotificationChannel = NULL,
OutputConfig = NULL,
KMSKeyId = NULL
)
Arguments
DocumentLocation |
[required] |
ClientRequestToken |
The idempotent token that you use to identify the start request. If you
use the same token with multiple
|
JobTag |
An identifier that you specify to be included in the completion
notification published to the Amazon SNS topic. For example, you can use
|
NotificationChannel |
|
OutputConfig |
|
KMSKeyId |
The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side, using SSE-S3. |
Adds one or more tags to the specified resource
Description
Adds one or more tags to the specified resource.
See https://www.paws-r-sdk.com/docs/textract_tag_resource/ for full documentation.
Usage
textract_tag_resource(ResourceARN, Tags)
Arguments
ResourceARN |
[required] The Amazon Resource Name (ARN) that specifies the resource to be tagged. |
Tags |
[required] A set of tags (key-value pairs) that you want to assign to the resource. |
Removes any tags with the specified keys from the specified resource
Description
Removes any tags with the specified keys from the specified resource.
See https://www.paws-r-sdk.com/docs/textract_untag_resource/ for full documentation.
Usage
textract_untag_resource(ResourceARN, TagKeys)
Arguments
ResourceARN |
[required] The Amazon Resource Name (ARN) that specifies the resource to be untagged. |
TagKeys |
[required] Specifies the tags to be removed from the resource specified by the ResourceARN. |
Update the configuration for an adapter
Description
Update the configuration for an adapter. FeatureTypes configurations cannot be updated. At least one new parameter must be specified as an argument.
See https://www.paws-r-sdk.com/docs/textract_update_adapter/ for full documentation.
Usage
textract_update_adapter(
AdapterId,
Description = NULL,
AdapterName = NULL,
AutoUpdate = NULL
)
Arguments
AdapterId |
[required] A string containing a unique ID for the adapter that will be updated. |
Description |
The new description to be applied to the adapter. |
AdapterName |
The new name to be applied to the adapter. |
AutoUpdate |
The new auto-update status to be applied to the adapter. |
Amazon Transcribe Service
Description
Amazon Transcribe offers three main types of batch transcription: Standard, Medical, and Call Analytics.
-
Standard transcriptions are the most common option. Refer to for details.
-
Medical transcriptions are tailored to medical professionals and incorporate medical terms. A common use case for this service is transcribing doctor-patient dialogue into after-visit notes. Refer to for details.
-
Call Analytics transcriptions are designed for use with call center audio on two different channels; if you're looking for insight into customer service calls, use this option. Refer to for details.
Usage
transcribeservice(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- transcribeservice( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
create_call_analytics_category | Creates a new Call Analytics category |
create_language_model | Creates a new custom language model |
create_medical_vocabulary | Creates a new custom medical vocabulary |
create_vocabulary | Creates a new custom vocabulary |
create_vocabulary_filter | Creates a new custom vocabulary filter |
delete_call_analytics_category | Deletes a Call Analytics category |
delete_call_analytics_job | Deletes a Call Analytics job |
delete_language_model | Deletes a custom language model |
delete_medical_scribe_job | Deletes a Medical Scribe job |
delete_medical_transcription_job | Deletes a medical transcription job |
delete_medical_vocabulary | Deletes a custom medical vocabulary |
delete_transcription_job | Deletes a transcription job |
delete_vocabulary | Deletes a custom vocabulary |
delete_vocabulary_filter | Deletes a custom vocabulary filter |
describe_language_model | Provides information about the specified custom language model |
get_call_analytics_category | Provides information about the specified Call Analytics category |
get_call_analytics_job | Provides information about the specified Call Analytics job |
get_medical_scribe_job | Provides information about the specified Medical Scribe job |
get_medical_transcription_job | Provides information about the specified medical transcription job |
get_medical_vocabulary | Provides information about the specified custom medical vocabulary |
get_transcription_job | Provides information about the specified transcription job |
get_vocabulary | Provides information about the specified custom vocabulary |
get_vocabulary_filter | Provides information about the specified custom vocabulary filter |
list_call_analytics_categories | Provides a list of Call Analytics categories, including all rules that make up each category |
list_call_analytics_jobs | Provides a list of Call Analytics jobs that match the specified criteria |
list_language_models | Provides a list of custom language models that match the specified criteria |
list_medical_scribe_jobs | Provides a list of Medical Scribe jobs that match the specified criteria |
list_medical_transcription_jobs | Provides a list of medical transcription jobs that match the specified criteria |
list_medical_vocabularies | Provides a list of custom medical vocabularies that match the specified criteria |
list_tags_for_resource | Lists all tags associated with the specified transcription job, vocabulary, model, or resource |
list_transcription_jobs | Provides a list of transcription jobs that match the specified criteria |
list_vocabularies | Provides a list of custom vocabularies that match the specified criteria |
list_vocabulary_filters | Provides a list of custom vocabulary filters that match the specified criteria |
start_call_analytics_job | Transcribes the audio from a customer service call and applies any additional Request Parameters you choose to include in your request |
start_medical_scribe_job | Transcribes patient-clinician conversations and generates clinical notes |
start_medical_transcription_job | Transcribes the audio from a medical dictation or conversation and applies any additional Request Parameters you choose to include in your request |
start_transcription_job | Transcribes the audio from a media file and applies any additional Request Parameters you choose to include in your request |
tag_resource | Adds one or more custom tags, each in the form of a key:value pair, to the specified resource |
untag_resource | Removes the specified tags from the specified Amazon Transcribe resource |
update_call_analytics_category | Updates the specified Call Analytics category with new rules |
update_medical_vocabulary | Updates an existing custom medical vocabulary with new values |
update_vocabulary | Updates an existing custom vocabulary with new values |
update_vocabulary_filter | Updates an existing custom vocabulary filter with a new list of words |
Examples
## Not run:
svc <- transcribeservice()
svc$create_call_analytics_category(
Foo = 123
)
## End(Not run)
Creates a new Call Analytics category
Description
Creates a new Call Analytics category.
See https://www.paws-r-sdk.com/docs/transcribeservice_create_call_analytics_category/ for full documentation.
Usage
transcribeservice_create_call_analytics_category(
CategoryName,
Rules,
Tags = NULL,
InputType = NULL
)
Arguments
CategoryName |
[required] A unique name, chosen by you, for your Call Analytics category. It's
helpful to use a detailed naming system that will make sense to you in
the future. For example, it's better to use
Category names are case sensitive. |
Rules |
[required] Rules define a Call Analytics category. When creating a new category, you must create between 1 and 20 rules for that category. For each rule, you specify a filter you want applied to the attributes of a call. For example, you can choose a sentiment filter that detects if a customer's sentiment was positive during the last 30 seconds of the call. |
Tags |
Adds one or more custom tags, each in the form of a key:value pair, to a new call analytics category at the time you start this new job. To learn more about using tags with Amazon Transcribe, refer to Tagging resources. |
InputType |
Choose whether you want to create a real-time or a post-call category for your Call Analytics transcription. Specifying Specifying If you do not include |
Creates a new custom language model
Description
Creates a new custom language model.
See https://www.paws-r-sdk.com/docs/transcribeservice_create_language_model/ for full documentation.
Usage
transcribeservice_create_language_model(
LanguageCode,
BaseModelName,
ModelName,
InputDataConfig,
Tags = NULL
)
Arguments
LanguageCode |
[required] The language code that represents the language of your model. Each custom language model must contain terms in only one language, and the language you select for your custom language model must match the language of your training and tuning data. For a list of supported languages and their associated language codes,
refer to the Supported languages
table. Note that US English ( A custom language model can only be used to transcribe files in the same
language as the model. For example, if you create a custom language
model using US English ( |
BaseModelName |
[required] The Amazon Transcribe standard language model, or base model, used to create your custom language model. Amazon Transcribe offers two options for base models: Wideband and Narrowband. If the audio you want to transcribe has a sample rate of 16,000 Hz or
greater, choose |
ModelName |
[required] A unique name, chosen by you, for your custom language model. This name is case sensitive, cannot contain spaces, and must be unique
within an Amazon Web Services account. If you try to create a new custom
language model with the same name as an existing custom language model,
you get a |
InputDataConfig |
[required] Contains the Amazon S3 location of the training data you want to use to create a new custom language model, and permissions to access this location. When using |
Tags |
Adds one or more custom tags, each in the form of a key:value pair, to a new custom language model at the time you create this new model. To learn more about using tags with Amazon Transcribe, refer to Tagging resources. |
Creates a new custom medical vocabulary
Description
Creates a new custom medical vocabulary.
See https://www.paws-r-sdk.com/docs/transcribeservice_create_medical_vocabulary/ for full documentation.
Usage
transcribeservice_create_medical_vocabulary(
VocabularyName,
LanguageCode,
VocabularyFileUri,
Tags = NULL
)
Arguments
VocabularyName |
[required] A unique name, chosen by you, for your new custom medical vocabulary. This name is case sensitive, cannot contain spaces, and must be unique
within an Amazon Web Services account. If you try to create a new custom
medical vocabulary with the same name as an existing custom medical
vocabulary, you get a |
LanguageCode |
[required] The language code that represents the language of the entries in your
custom vocabulary. US English ( |
VocabularyFileUri |
[required] The Amazon S3 location (URI) of the text file that contains your custom medical vocabulary. The URI must be in the same Amazon Web Services Region as the resource you're calling. Here's an example URI path: |
Tags |
Adds one or more custom tags, each in the form of a key:value pair, to a new custom medical vocabulary at the time you create this new custom vocabulary. To learn more about using tags with Amazon Transcribe, refer to Tagging resources. |
Creates a new custom vocabulary
Description
Creates a new custom vocabulary.
See https://www.paws-r-sdk.com/docs/transcribeservice_create_vocabulary/ for full documentation.
Usage
transcribeservice_create_vocabulary(
VocabularyName,
LanguageCode,
Phrases = NULL,
VocabularyFileUri = NULL,
Tags = NULL,
DataAccessRoleArn = NULL
)
Arguments
VocabularyName |
[required] A unique name, chosen by you, for your new custom vocabulary. This name is case sensitive, cannot contain spaces, and must be unique
within an Amazon Web Services account. If you try to create a new custom
vocabulary with the same name as an existing custom vocabulary, you get
a |
LanguageCode |
[required] The language code that represents the language of the entries in your custom vocabulary. Each custom vocabulary must contain terms in only one language. A custom vocabulary can only be used to transcribe files in the same
language as the custom vocabulary. For example, if you create a custom
vocabulary using US English ( For a list of supported languages and their associated language codes, refer to the Supported languages table. |
Phrases |
Use this parameter if you want to create your custom vocabulary by
including all desired terms, as comma-separated values, within your
request. The other option for creating your custom vocabulary is to save
your entries in a text file and upload them to an Amazon S3 bucket, then
specify the location of your file using the Note that if you include Each language has a character set that contains all allowed characters for that specific language. If you use unsupported characters, your custom vocabulary filter request fails. Refer to Character Sets for Custom Vocabularies to get the character set for your language. |
VocabularyFileUri |
The Amazon S3 location of the text file that contains your custom vocabulary. The URI must be located in the same Amazon Web Services Region as the resource you're calling. Here's an example URI path: Note that if you include |
Tags |
Adds one or more custom tags, each in the form of a key:value pair, to a new custom vocabulary at the time you create this new custom vocabulary. To learn more about using tags with Amazon Transcribe, refer to Tagging resources. |
DataAccessRoleArn |
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files (in this case, your custom vocabulary). If the role that you specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails. IAM role ARNs have the format
For more information, see IAM ARNs. |
Creates a new custom vocabulary filter
Description
Creates a new custom vocabulary filter.
See https://www.paws-r-sdk.com/docs/transcribeservice_create_vocabulary_filter/ for full documentation.
Usage
transcribeservice_create_vocabulary_filter(
VocabularyFilterName,
LanguageCode,
Words = NULL,
VocabularyFilterFileUri = NULL,
Tags = NULL,
DataAccessRoleArn = NULL
)
Arguments
VocabularyFilterName |
[required] A unique name, chosen by you, for your new custom vocabulary filter. This name is case sensitive, cannot contain spaces, and must be unique
within an Amazon Web Services account. If you try to create a new custom
vocabulary filter with the same name as an existing custom vocabulary
filter, you get a |
LanguageCode |
[required] The language code that represents the language of the entries in your vocabulary filter. Each custom vocabulary filter must contain terms in only one language. A custom vocabulary filter can only be used to transcribe files in the
same language as the filter. For example, if you create a custom
vocabulary filter using US English ( For a list of supported languages and their associated language codes, refer to the Supported languages table. |
Words |
Use this parameter if you want to create your custom vocabulary filter
by including all desired terms, as comma-separated values, within your
request. The other option for creating your vocabulary filter is to save
your entries in a text file and upload them to an Amazon S3 bucket, then
specify the location of your file using the Note that if you include Each language has a character set that contains all allowed characters for that specific language. If you use unsupported characters, your custom vocabulary filter request fails. Refer to Character Sets for Custom Vocabularies to get the character set for your language. |
VocabularyFilterFileUri |
The Amazon S3 location of the text file that contains your custom vocabulary filter terms. The URI must be located in the same Amazon Web Services Region as the resource you're calling. Here's an example URI path:
Note that if you include |
Tags |
Adds one or more custom tags, each in the form of a key:value pair, to a new custom vocabulary filter at the time you create this new vocabulary filter. To learn more about using tags with Amazon Transcribe, refer to Tagging resources. |
DataAccessRoleArn |
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files (in this case, your custom vocabulary filter). If the role that you specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails. IAM role ARNs have the format
For more information, see IAM ARNs. |
Deletes a Call Analytics category
Description
Deletes a Call Analytics category. To use this operation, specify the name of the category you want to delete using CategoryName
. Category names are case sensitive.
See https://www.paws-r-sdk.com/docs/transcribeservice_delete_call_analytics_category/ for full documentation.
Usage
transcribeservice_delete_call_analytics_category(CategoryName)
Arguments
CategoryName |
[required] The name of the Call Analytics category you want to delete. Category names are case sensitive. |
Deletes a Call Analytics job
Description
Deletes a Call Analytics job. To use this operation, specify the name of the job you want to delete using CallAnalyticsJobName
. Job names are case sensitive.
See https://www.paws-r-sdk.com/docs/transcribeservice_delete_call_analytics_job/ for full documentation.
Usage
transcribeservice_delete_call_analytics_job(CallAnalyticsJobName)
Arguments
CallAnalyticsJobName |
[required] The name of the Call Analytics job you want to delete. Job names are case sensitive. |
Deletes a custom language model
Description
Deletes a custom language model. To use this operation, specify the name of the language model you want to delete using ModelName
. custom language model names are case sensitive.
See https://www.paws-r-sdk.com/docs/transcribeservice_delete_language_model/ for full documentation.
Usage
transcribeservice_delete_language_model(ModelName)
Arguments
ModelName |
[required] The name of the custom language model you want to delete. Model names are case sensitive. |
Deletes a Medical Scribe job
Description
Deletes a Medical Scribe job. To use this operation, specify the name of the job you want to delete using MedicalScribeJobName
. Job names are case sensitive.
See https://www.paws-r-sdk.com/docs/transcribeservice_delete_medical_scribe_job/ for full documentation.
Usage
transcribeservice_delete_medical_scribe_job(MedicalScribeJobName)
Arguments
MedicalScribeJobName |
[required] The name of the Medical Scribe job you want to delete. Job names are case sensitive. |
Deletes a medical transcription job
Description
Deletes a medical transcription job. To use this operation, specify the name of the job you want to delete using MedicalTranscriptionJobName
. Job names are case sensitive.
See https://www.paws-r-sdk.com/docs/transcribeservice_delete_medical_transcription_job/ for full documentation.
Usage
transcribeservice_delete_medical_transcription_job(MedicalTranscriptionJobName)
Arguments
MedicalTranscriptionJobName |
[required] The name of the medical transcription job you want to delete. Job names are case sensitive. |
Deletes a custom medical vocabulary
Description
Deletes a custom medical vocabulary. To use this operation, specify the name of the custom vocabulary you want to delete using VocabularyName
. Custom vocabulary names are case sensitive.
See https://www.paws-r-sdk.com/docs/transcribeservice_delete_medical_vocabulary/ for full documentation.
Usage
transcribeservice_delete_medical_vocabulary(VocabularyName)
Arguments
VocabularyName |
[required] The name of the custom medical vocabulary you want to delete. Custom medical vocabulary names are case sensitive. |
Deletes a transcription job
Description
Deletes a transcription job. To use this operation, specify the name of the job you want to delete using TranscriptionJobName
. Job names are case sensitive.
See https://www.paws-r-sdk.com/docs/transcribeservice_delete_transcription_job/ for full documentation.
Usage
transcribeservice_delete_transcription_job(TranscriptionJobName)
Arguments
TranscriptionJobName |
[required] The name of the transcription job you want to delete. Job names are case sensitive. |
Deletes a custom vocabulary
Description
Deletes a custom vocabulary. To use this operation, specify the name of the custom vocabulary you want to delete using VocabularyName
. Custom vocabulary names are case sensitive.
See https://www.paws-r-sdk.com/docs/transcribeservice_delete_vocabulary/ for full documentation.
Usage
transcribeservice_delete_vocabulary(VocabularyName)
Arguments
VocabularyName |
[required] The name of the custom vocabulary you want to delete. Custom vocabulary names are case sensitive. |
Deletes a custom vocabulary filter
Description
Deletes a custom vocabulary filter. To use this operation, specify the name of the custom vocabulary filter you want to delete using VocabularyFilterName
. Custom vocabulary filter names are case sensitive.
See https://www.paws-r-sdk.com/docs/transcribeservice_delete_vocabulary_filter/ for full documentation.
Usage
transcribeservice_delete_vocabulary_filter(VocabularyFilterName)
Arguments
VocabularyFilterName |
[required] The name of the custom vocabulary filter you want to delete. Custom vocabulary filter names are case sensitive. |
Provides information about the specified custom language model
Description
Provides information about the specified custom language model.
See https://www.paws-r-sdk.com/docs/transcribeservice_describe_language_model/ for full documentation.
Usage
transcribeservice_describe_language_model(ModelName)
Arguments
ModelName |
[required] The name of the custom language model you want information about. Model names are case sensitive. |
Provides information about the specified Call Analytics category
Description
Provides information about the specified Call Analytics category.
See https://www.paws-r-sdk.com/docs/transcribeservice_get_call_analytics_category/ for full documentation.
Usage
transcribeservice_get_call_analytics_category(CategoryName)
Arguments
CategoryName |
[required] The name of the Call Analytics category you want information about. Category names are case sensitive. |
Provides information about the specified Call Analytics job
Description
Provides information about the specified Call Analytics job.
See https://www.paws-r-sdk.com/docs/transcribeservice_get_call_analytics_job/ for full documentation.
Usage
transcribeservice_get_call_analytics_job(CallAnalyticsJobName)
Arguments
CallAnalyticsJobName |
[required] The name of the Call Analytics job you want information about. Job names are case sensitive. |
Provides information about the specified Medical Scribe job
Description
Provides information about the specified Medical Scribe job.
See https://www.paws-r-sdk.com/docs/transcribeservice_get_medical_scribe_job/ for full documentation.
Usage
transcribeservice_get_medical_scribe_job(MedicalScribeJobName)
Arguments
MedicalScribeJobName |
[required] The name of the Medical Scribe job you want information about. Job names are case sensitive. |
Provides information about the specified medical transcription job
Description
Provides information about the specified medical transcription job.
See https://www.paws-r-sdk.com/docs/transcribeservice_get_medical_transcription_job/ for full documentation.
Usage
transcribeservice_get_medical_transcription_job(MedicalTranscriptionJobName)
Arguments
MedicalTranscriptionJobName |
[required] The name of the medical transcription job you want information about. Job names are case sensitive. |
Provides information about the specified custom medical vocabulary
Description
Provides information about the specified custom medical vocabulary.
See https://www.paws-r-sdk.com/docs/transcribeservice_get_medical_vocabulary/ for full documentation.
Usage
transcribeservice_get_medical_vocabulary(VocabularyName)
Arguments
VocabularyName |
[required] The name of the custom medical vocabulary you want information about. Custom medical vocabulary names are case sensitive. |
Provides information about the specified transcription job
Description
Provides information about the specified transcription job.
See https://www.paws-r-sdk.com/docs/transcribeservice_get_transcription_job/ for full documentation.
Usage
transcribeservice_get_transcription_job(TranscriptionJobName)
Arguments
TranscriptionJobName |
[required] The name of the transcription job you want information about. Job names are case sensitive. |
Provides information about the specified custom vocabulary
Description
Provides information about the specified custom vocabulary.
See https://www.paws-r-sdk.com/docs/transcribeservice_get_vocabulary/ for full documentation.
Usage
transcribeservice_get_vocabulary(VocabularyName)
Arguments
VocabularyName |
[required] The name of the custom vocabulary you want information about. Custom vocabulary names are case sensitive. |
Provides information about the specified custom vocabulary filter
Description
Provides information about the specified custom vocabulary filter.
See https://www.paws-r-sdk.com/docs/transcribeservice_get_vocabulary_filter/ for full documentation.
Usage
transcribeservice_get_vocabulary_filter(VocabularyFilterName)
Arguments
VocabularyFilterName |
[required] The name of the custom vocabulary filter you want information about. Custom vocabulary filter names are case sensitive. |
Provides a list of Call Analytics categories, including all rules that make up each category
Description
Provides a list of Call Analytics categories, including all rules that make up each category.
See https://www.paws-r-sdk.com/docs/transcribeservice_list_call_analytics_categories/ for full documentation.
Usage
transcribeservice_list_call_analytics_categories(
NextToken = NULL,
MaxResults = NULL
)
Arguments
NextToken |
If your
|
MaxResults |
The maximum number of Call Analytics categories to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used. |
Provides a list of Call Analytics jobs that match the specified criteria
Description
Provides a list of Call Analytics jobs that match the specified criteria. If no criteria are specified, all Call Analytics jobs are returned.
See https://www.paws-r-sdk.com/docs/transcribeservice_list_call_analytics_jobs/ for full documentation.
Usage
transcribeservice_list_call_analytics_jobs(
Status = NULL,
JobNameContains = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Status |
Returns only Call Analytics jobs with the specified status. Jobs are
ordered by creation date, with the newest job first. If you do not
include |
JobNameContains |
Returns only the Call Analytics jobs that contain the specified string. The search is not case sensitive. |
NextToken |
If your
|
MaxResults |
The maximum number of Call Analytics jobs to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used. |
Provides a list of custom language models that match the specified criteria
Description
Provides a list of custom language models that match the specified criteria. If no criteria are specified, all custom language models are returned.
See https://www.paws-r-sdk.com/docs/transcribeservice_list_language_models/ for full documentation.
Usage
transcribeservice_list_language_models(
StatusEquals = NULL,
NameContains = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
StatusEquals |
Returns only custom language models with the specified status. Language
models are ordered by creation date, with the newest model first. If you
do not include |
NameContains |
Returns only the custom language models that contain the specified string. The search is not case sensitive. |
NextToken |
If your |
MaxResults |
The maximum number of custom language models to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used. |
Provides a list of Medical Scribe jobs that match the specified criteria
Description
Provides a list of Medical Scribe jobs that match the specified criteria. If no criteria are specified, all Medical Scribe jobs are returned.
See https://www.paws-r-sdk.com/docs/transcribeservice_list_medical_scribe_jobs/ for full documentation.
Usage
transcribeservice_list_medical_scribe_jobs(
Status = NULL,
JobNameContains = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Status |
Returns only Medical Scribe jobs with the specified status. Jobs are
ordered by creation date, with the newest job first. If you do not
include |
JobNameContains |
Returns only the Medical Scribe jobs that contain the specified string. The search is not case sensitive. |
NextToken |
If your
|
MaxResults |
The maximum number of Medical Scribe jobs to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used. |
Provides a list of medical transcription jobs that match the specified criteria
Description
Provides a list of medical transcription jobs that match the specified criteria. If no criteria are specified, all medical transcription jobs are returned.
See https://www.paws-r-sdk.com/docs/transcribeservice_list_medical_transcription_jobs/ for full documentation.
Usage
transcribeservice_list_medical_transcription_jobs(
Status = NULL,
JobNameContains = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Status |
Returns only medical transcription jobs with the specified status. Jobs
are ordered by creation date, with the newest job first. If you do not
include |
JobNameContains |
Returns only the medical transcription jobs that contain the specified string. The search is not case sensitive. |
NextToken |
If your
|
MaxResults |
The maximum number of medical transcription jobs to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used. |
Provides a list of custom medical vocabularies that match the specified criteria
Description
Provides a list of custom medical vocabularies that match the specified criteria. If no criteria are specified, all custom medical vocabularies are returned.
See https://www.paws-r-sdk.com/docs/transcribeservice_list_medical_vocabularies/ for full documentation.
Usage
transcribeservice_list_medical_vocabularies(
NextToken = NULL,
MaxResults = NULL,
StateEquals = NULL,
NameContains = NULL
)
Arguments
NextToken |
If your
|
MaxResults |
The maximum number of custom medical vocabularies to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used. |
StateEquals |
Returns only custom medical vocabularies with the specified state.
Custom vocabularies are ordered by creation date, with the newest
vocabulary first. If you do not include |
NameContains |
Returns only the custom medical vocabularies that contain the specified string. The search is not case sensitive. |
Lists all tags associated with the specified transcription job, vocabulary, model, or resource
Description
Lists all tags associated with the specified transcription job, vocabulary, model, or resource.
See https://www.paws-r-sdk.com/docs/transcribeservice_list_tags_for_resource/ for full documentation.
Usage
transcribeservice_list_tags_for_resource(ResourceArn)
Arguments
ResourceArn |
[required] Returns a list of all tags associated with the specified Amazon Resource
Name (ARN). ARNs have the format
For example,
Valid values for |
Provides a list of transcription jobs that match the specified criteria
Description
Provides a list of transcription jobs that match the specified criteria. If no criteria are specified, all transcription jobs are returned.
See https://www.paws-r-sdk.com/docs/transcribeservice_list_transcription_jobs/ for full documentation.
Usage
transcribeservice_list_transcription_jobs(
Status = NULL,
JobNameContains = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Status |
Returns only transcription jobs with the specified status. Jobs are
ordered by creation date, with the newest job first. If you do not
include |
JobNameContains |
Returns only the transcription jobs that contain the specified string. The search is not case sensitive. |
NextToken |
If your
|
MaxResults |
The maximum number of transcription jobs to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used. |
Provides a list of custom vocabularies that match the specified criteria
Description
Provides a list of custom vocabularies that match the specified criteria. If no criteria are specified, all custom vocabularies are returned.
See https://www.paws-r-sdk.com/docs/transcribeservice_list_vocabularies/ for full documentation.
Usage
transcribeservice_list_vocabularies(
NextToken = NULL,
MaxResults = NULL,
StateEquals = NULL,
NameContains = NULL
)
Arguments
NextToken |
If your |
MaxResults |
The maximum number of custom vocabularies to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used. |
StateEquals |
Returns only custom vocabularies with the specified state. Vocabularies
are ordered by creation date, with the newest vocabulary first. If you
do not include |
NameContains |
Returns only the custom vocabularies that contain the specified string. The search is not case sensitive. |
Provides a list of custom vocabulary filters that match the specified criteria
Description
Provides a list of custom vocabulary filters that match the specified criteria. If no criteria are specified, all custom vocabularies are returned.
See https://www.paws-r-sdk.com/docs/transcribeservice_list_vocabulary_filters/ for full documentation.
Usage
transcribeservice_list_vocabulary_filters(
NextToken = NULL,
MaxResults = NULL,
NameContains = NULL
)
Arguments
NextToken |
If your
|
MaxResults |
The maximum number of custom vocabulary filters to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used. |
NameContains |
Returns only the custom vocabulary filters that contain the specified string. The search is not case sensitive. |
Transcribes the audio from a customer service call and applies any additional Request Parameters you choose to include in your request
Description
Transcribes the audio from a customer service call and applies any additional Request Parameters you choose to include in your request.
See https://www.paws-r-sdk.com/docs/transcribeservice_start_call_analytics_job/ for full documentation.
Usage
transcribeservice_start_call_analytics_job(
CallAnalyticsJobName,
Media,
OutputLocation = NULL,
OutputEncryptionKMSKeyId = NULL,
DataAccessRoleArn = NULL,
Settings = NULL,
Tags = NULL,
ChannelDefinitions = NULL
)
Arguments
CallAnalyticsJobName |
[required] A unique name, chosen by you, for your Call Analytics job. This name is case sensitive, cannot contain spaces, and must be unique
within an Amazon Web Services account. If you try to create a new job
with the same name as an existing job, you get a |
Media |
[required] Describes the Amazon S3 location of the media file you want to use in your Call Analytics request. |
OutputLocation |
The Amazon S3 location where you want your Call Analytics transcription output stored. You can use any of the following formats to specify the output location:
Unless you specify a file name (option 3), the name of your output file
has a default value that matches the name you specified for your
transcription job using the You can specify a KMS key to encrypt your output using the
If you do not specify |
OutputEncryptionKMSKeyId |
The KMS key you want to use to encrypt your Call Analytics output. If using a key located in the current Amazon Web Services account, you can specify your KMS key in one of four ways:
If using a key located in a different Amazon Web Services account than the current Amazon Web Services account, you can specify your KMS key in one of two ways:
If you do not specify an encryption key, your output is encrypted with the default Amazon S3 key (SSE-S3). If you specify a KMS key to encrypt your output, you must also specify
an output location using the Note that the role making the request must have permission to use the specified KMS key. |
DataAccessRoleArn |
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files. If the role that you specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails. IAM role ARNs have the format
For more information, see IAM ARNs. |
Settings |
Specify additional optional settings in your request, including content redaction; allows you to apply custom language models, vocabulary filters, and custom vocabularies to your Call Analytics job. |
Tags |
Adds one or more custom tags, each in the form of a key:value pair, to a new call analytics job at the time you start this new job. To learn more about using tags with Amazon Transcribe, refer to Tagging resources. |
ChannelDefinitions |
Makes it possible to specify which speaker is on which channel. For
example, if your agent is the first participant to speak, you would set
|
Transcribes patient-clinician conversations and generates clinical notes
Description
Transcribes patient-clinician conversations and generates clinical notes.
See https://www.paws-r-sdk.com/docs/transcribeservice_start_medical_scribe_job/ for full documentation.
Usage
transcribeservice_start_medical_scribe_job(
MedicalScribeJobName,
Media,
OutputBucketName,
OutputEncryptionKMSKeyId = NULL,
KMSEncryptionContext = NULL,
DataAccessRoleArn,
Settings,
ChannelDefinitions = NULL,
Tags = NULL
)
Arguments
MedicalScribeJobName |
[required] A unique name, chosen by you, for your Medical Scribe job. This name is case sensitive, cannot contain spaces, and must be unique
within an Amazon Web Services account. If you try to create a new job
with the same name as an existing job, you get a |
Media |
[required] |
OutputBucketName |
[required] The name of the Amazon S3 bucket where you want your Medical Scribe
output stored. Do not include the Note that the role specified in the |
OutputEncryptionKMSKeyId |
The KMS key you want to use to encrypt your Medical Scribe output. If using a key located in the current Amazon Web Services account, you can specify your KMS key in one of four ways:
If using a key located in a different Amazon Web Services account than the current Amazon Web Services account, you can specify your KMS key in one of two ways:
If you do not specify an encryption key, your output is encrypted with the default Amazon S3 key (SSE-S3). Note that the role specified in the |
KMSEncryptionContext |
A map of plain text, non-secret key:value pairs, known as encryption context pairs, that provide an added layer of security for your data. For more information, see KMS encryption context and Asymmetric keys in KMS. |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files, write to the output bucket, and use your KMS key if supplied. If the role that you specify doesn’t have the appropriate permissions your request fails. IAM role ARNs have the format
For more information, see IAM ARNs. |
Settings |
[required] Makes it possible to control how your Medical Scribe job is processed
using a |
ChannelDefinitions |
Makes it possible to specify which speaker is on which channel. For
example, if the clinician is the first participant to speak, you would
set |
Tags |
Adds one or more custom tags, each in the form of a key:value pair, to the Medica Scribe job. To learn more about using tags with Amazon Transcribe, refer to Tagging resources. |
Transcribes the audio from a medical dictation or conversation and applies any additional Request Parameters you choose to include in your request
Description
Transcribes the audio from a medical dictation or conversation and applies any additional Request Parameters you choose to include in your request.
See https://www.paws-r-sdk.com/docs/transcribeservice_start_medical_transcription_job/ for full documentation.
Usage
transcribeservice_start_medical_transcription_job(
MedicalTranscriptionJobName,
LanguageCode,
MediaSampleRateHertz = NULL,
MediaFormat = NULL,
Media,
OutputBucketName,
OutputKey = NULL,
OutputEncryptionKMSKeyId = NULL,
KMSEncryptionContext = NULL,
Settings = NULL,
ContentIdentificationType = NULL,
Specialty,
Type,
Tags = NULL
)
Arguments
MedicalTranscriptionJobName |
[required] A unique name, chosen by you, for your medical transcription job. The
name that you specify is also used as the default name of your
transcription output file. If you want to specify a different name for
your transcription output, use the This name is case sensitive, cannot contain spaces, and must be unique
within an Amazon Web Services account. If you try to create a new job
with the same name as an existing job, you get a |
LanguageCode |
[required] The language code that represents the language spoken in the input media
file. US English ( |
MediaSampleRateHertz |
The sample rate, in hertz, of the audio track in your input media file. If you do not specify the media sample rate, Amazon Transcribe Medical
determines it for you. If you specify the sample rate, it must match the
rate detected by Amazon Transcribe Medical; if there's a mismatch
between the value that you specify and the value detected, your job
fails. Therefore, in most cases, it's advised to omit
|
MediaFormat |
Specify the format of your input media file. |
Media |
[required] |
OutputBucketName |
[required] The name of the Amazon S3 bucket where you want your medical
transcription output stored. Do not include the If you want your output to go to a sub-folder of this bucket, specify it
using the For example, if you want your output stored in
Note that Amazon Transcribe must have permission to use the specified location. You can change Amazon S3 permissions using the Amazon Web Services Management Console. See also Permissions Required for IAM User Roles. |
OutputKey |
Use in combination with Here are some examples of how you can use
If you specify the name of an Amazon S3 bucket sub-folder that doesn't exist, one is created for you. |
OutputEncryptionKMSKeyId |
The KMS key you want to use to encrypt your medical transcription output. If using a key located in the current Amazon Web Services account, you can specify your KMS key in one of four ways:
If using a key located in a different Amazon Web Services account than the current Amazon Web Services account, you can specify your KMS key in one of two ways:
If you do not specify an encryption key, your output is encrypted with the default Amazon S3 key (SSE-S3). If you specify a KMS key to encrypt your output, you must also specify
an output location using the Note that the role making the request must have permission to use the specified KMS key. |
KMSEncryptionContext |
A map of plain text, non-secret key:value pairs, known as encryption context pairs, that provide an added layer of security for your data. For more information, see KMS encryption context and Asymmetric keys in KMS. |
Settings |
Specify additional optional settings in your request, including channel identification, alternative transcriptions, and speaker partitioning. You can use that to apply custom vocabularies to your transcription job. |
ContentIdentificationType |
Labels all personal health information (PHI) identified in your transcript. For more information, see Identifying personal health information (PHI) in a transcription. |
Specialty |
[required] Specify the predominant medical specialty represented in your media. For
batch transcriptions, |
Type |
[required] Specify whether your input media contains only one person ( For example, |
Tags |
Adds one or more custom tags, each in the form of a key:value pair, to a new medical transcription job at the time you start this new job. To learn more about using tags with Amazon Transcribe, refer to Tagging resources. |
Transcribes the audio from a media file and applies any additional Request Parameters you choose to include in your request
Description
Transcribes the audio from a media file and applies any additional Request Parameters you choose to include in your request.
See https://www.paws-r-sdk.com/docs/transcribeservice_start_transcription_job/ for full documentation.
Usage
transcribeservice_start_transcription_job(
TranscriptionJobName,
LanguageCode = NULL,
MediaSampleRateHertz = NULL,
MediaFormat = NULL,
Media,
OutputBucketName = NULL,
OutputKey = NULL,
OutputEncryptionKMSKeyId = NULL,
KMSEncryptionContext = NULL,
Settings = NULL,
ModelSettings = NULL,
JobExecutionSettings = NULL,
ContentRedaction = NULL,
IdentifyLanguage = NULL,
IdentifyMultipleLanguages = NULL,
LanguageOptions = NULL,
Subtitles = NULL,
Tags = NULL,
LanguageIdSettings = NULL,
ToxicityDetection = NULL
)
Arguments
TranscriptionJobName |
[required] A unique name, chosen by you, for your transcription job. The name that
you specify is also used as the default name of your transcription
output file. If you want to specify a different name for your
transcription output, use the This name is case sensitive, cannot contain spaces, and must be unique
within an Amazon Web Services account. If you try to create a new job
with the same name as an existing job, you get a |
LanguageCode |
The language code that represents the language spoken in the input media file. If you're unsure of the language spoken in your media file, consider
using Note that you must include one of For a list of supported languages and their associated language codes, refer to the Supported languages table. To transcribe speech in Modern Standard Arabic ( |
MediaSampleRateHertz |
The sample rate, in hertz, of the audio track in your input media file. If you do not specify the media sample rate, Amazon Transcribe
determines it for you. If you specify the sample rate, it must match the
rate detected by Amazon Transcribe. If there's a mismatch between the
value that you specify and the value detected, your job fails. In most
cases, you can omit |
MediaFormat |
Specify the format of your input media file. |
Media |
[required] Describes the Amazon S3 location of the media file you want to use in your request. |
OutputBucketName |
The name of the Amazon S3 bucket where you want your transcription
output stored. Do not include the If you want your output to go to a sub-folder of this bucket, specify it
using the For example, if you want your output stored in
Note that Amazon Transcribe must have permission to use the specified location. You can change Amazon S3 permissions using the Amazon Web Services Management Console. See also Permissions Required for IAM User Roles. If you do not specify |
OutputKey |
Use in combination with Here are some examples of how you can use
If you specify the name of an Amazon S3 bucket sub-folder that doesn't exist, one is created for you. |
OutputEncryptionKMSKeyId |
The KMS key you want to use to encrypt your transcription output. If using a key located in the current Amazon Web Services account, you can specify your KMS key in one of four ways:
If using a key located in a different Amazon Web Services account than the current Amazon Web Services account, you can specify your KMS key in one of two ways:
If you do not specify an encryption key, your output is encrypted with the default Amazon S3 key (SSE-S3). If you specify a KMS key to encrypt your output, you must also specify
an output location using the Note that the role making the request must have permission to use the specified KMS key. |
KMSEncryptionContext |
A map of plain text, non-secret key:value pairs, known as encryption context pairs, that provide an added layer of security for your data. For more information, see KMS encryption context and Asymmetric keys in KMS. |
Settings |
Specify additional optional settings in your request, including channel identification, alternative transcriptions, speaker partitioning. You can use that to apply custom vocabularies and vocabulary filters. If you want to include a custom vocabulary or a custom vocabulary filter
(or both) with your request but do not want to use automatic
language identification, use If you're using automatic language identification with your request and
want to include a custom language model, a custom vocabulary, or a
custom vocabulary filter, use instead the “ parameter with the
|
ModelSettings |
Specify the custom language model you want to include with your
transcription job. If you include For more information, see Custom language models. |
JobExecutionSettings |
Makes it possible to control how your transcription job is processed.
Currently, the only If you include |
ContentRedaction |
Makes it possible to redact or flag specified personally identifiable
information (PII) in your transcript. If you use |
IdentifyLanguage |
Enables automatic language identification in your transcription job
request. Use this parameter if your media file contains only one
language. If your media contains multiple languages, use
If you include If you want to apply a custom language model, a custom vocabulary, or a
custom vocabulary filter to your automatic language identification
request, include Note that you must include one of |
IdentifyMultipleLanguages |
Enables automatic multi-language identification in your transcription
job request. Use this parameter if your media file contains more than
one language. If your media contains only one language, use
If you include If you want to apply a custom vocabulary or a custom vocabulary filter
to your automatic language identification request, include
Note that you must include one of |
LanguageOptions |
You can specify two or more language codes that represent the languages you think may be present in your media. Including more than five is not recommended. If you're unsure what languages are present, do not include this parameter. If you include For more information, refer to Supported languages. To transcribe speech in Modern Standard Arabic ( |
Subtitles |
Produces subtitle files for your input media. You can specify WebVTT (.vtt) and SubRip (.srt) formats. |
Tags |
Adds one or more custom tags, each in the form of a key:value pair, to a new transcription job at the time you start this new job. To learn more about using tags with Amazon Transcribe, refer to Tagging resources. |
LanguageIdSettings |
If using automatic language identification in your request and you want
to apply a custom language model, a custom vocabulary, or a custom
vocabulary filter, include
It's recommended that you include If you want to include a custom language model with your request but
do not want to use automatic language identification, use instead
the |
ToxicityDetection |
Enables toxic speech detection in your transcript. If you include
For information on the types of toxic speech Amazon Transcribe can detect, see Detecting toxic speech. |
Adds one or more custom tags, each in the form of a key:value pair, to the specified resource
Description
Adds one or more custom tags, each in the form of a key:value pair, to the specified resource.
See https://www.paws-r-sdk.com/docs/transcribeservice_tag_resource/ for full documentation.
Usage
transcribeservice_tag_resource(ResourceArn, Tags)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the resource you want to tag. ARNs
have the format
For example,
Valid values for |
Tags |
[required] Adds one or more custom tags, each in the form of a key:value pair, to the specified resource. To learn more about using tags with Amazon Transcribe, refer to Tagging resources. |
Removes the specified tags from the specified Amazon Transcribe resource
Description
Removes the specified tags from the specified Amazon Transcribe resource.
See https://www.paws-r-sdk.com/docs/transcribeservice_untag_resource/ for full documentation.
Usage
transcribeservice_untag_resource(ResourceArn, TagKeys)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
want to remove tags from. ARNs have the format
For example,
Valid values for |
TagKeys |
[required] Removes the specified tag keys from the specified Amazon Transcribe resource. |
Updates the specified Call Analytics category with new rules
Description
Updates the specified Call Analytics category with new rules. Note that the update_call_analytics_category
operation overwrites all existing rules contained in the specified category. You cannot append additional rules onto an existing category.
See https://www.paws-r-sdk.com/docs/transcribeservice_update_call_analytics_category/ for full documentation.
Usage
transcribeservice_update_call_analytics_category(
CategoryName,
Rules,
InputType = NULL
)
Arguments
CategoryName |
[required] The name of the Call Analytics category you want to update. Category names are case sensitive. |
Rules |
[required] The rules used for the updated Call Analytics category. The rules you provide in this field replace the ones that are currently being used in the specified category. |
InputType |
Choose whether you want to update a real-time or a post-call category.
The input type you specify must match the input type specified when the
category was created. For example, if you created a category with the
|
Updates an existing custom medical vocabulary with new values
Description
Updates an existing custom medical vocabulary with new values. This operation overwrites all existing information with your new values; you cannot append new terms onto an existing custom vocabulary.
See https://www.paws-r-sdk.com/docs/transcribeservice_update_medical_vocabulary/ for full documentation.
Usage
transcribeservice_update_medical_vocabulary(
VocabularyName,
LanguageCode,
VocabularyFileUri
)
Arguments
VocabularyName |
[required] The name of the custom medical vocabulary you want to update. Custom medical vocabulary names are case sensitive. |
LanguageCode |
[required] The language code that represents the language of the entries in the
custom vocabulary you want to update. US English ( |
VocabularyFileUri |
[required] The Amazon S3 location of the text file that contains your custom medical vocabulary. The URI must be located in the same Amazon Web Services Region as the resource you're calling. Here's an example URI path: |
Updates an existing custom vocabulary with new values
Description
Updates an existing custom vocabulary with new values. This operation overwrites all existing information with your new values; you cannot append new terms onto an existing custom vocabulary.
See https://www.paws-r-sdk.com/docs/transcribeservice_update_vocabulary/ for full documentation.
Usage
transcribeservice_update_vocabulary(
VocabularyName,
LanguageCode,
Phrases = NULL,
VocabularyFileUri = NULL,
DataAccessRoleArn = NULL
)
Arguments
VocabularyName |
[required] The name of the custom vocabulary you want to update. Custom vocabulary names are case sensitive. |
LanguageCode |
[required] The language code that represents the language of the entries in the custom vocabulary you want to update. Each custom vocabulary must contain terms in only one language. A custom vocabulary can only be used to transcribe files in the same
language as the custom vocabulary. For example, if you create a custom
vocabulary using US English ( For a list of supported languages and their associated language codes, refer to the Supported languages table. |
Phrases |
Use this parameter if you want to update your custom vocabulary by
including all desired terms, as comma-separated values, within your
request. The other option for updating your custom vocabulary is to save
your entries in a text file and upload them to an Amazon S3 bucket, then
specify the location of your file using the Note that if you include Each language has a character set that contains all allowed characters for that specific language. If you use unsupported characters, your custom vocabulary filter request fails. Refer to Character Sets for Custom Vocabularies to get the character set for your language. |
VocabularyFileUri |
The Amazon S3 location of the text file that contains your custom vocabulary. The URI must be located in the same Amazon Web Services Region as the resource you're calling. Here's an example URI path: Note that if you include |
DataAccessRoleArn |
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files (in this case, your custom vocabulary). If the role that you specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails. IAM role ARNs have the format
For more information, see IAM ARNs. |
Updates an existing custom vocabulary filter with a new list of words
Description
Updates an existing custom vocabulary filter with a new list of words. The new list you provide overwrites all previous entries; you cannot append new terms onto an existing custom vocabulary filter.
See https://www.paws-r-sdk.com/docs/transcribeservice_update_vocabulary_filter/ for full documentation.
Usage
transcribeservice_update_vocabulary_filter(
VocabularyFilterName,
Words = NULL,
VocabularyFilterFileUri = NULL,
DataAccessRoleArn = NULL
)
Arguments
VocabularyFilterName |
[required] The name of the custom vocabulary filter you want to update. Custom vocabulary filter names are case sensitive. |
Words |
Use this parameter if you want to update your custom vocabulary filter
by including all desired terms, as comma-separated values, within your
request. The other option for updating your vocabulary filter is to save
your entries in a text file and upload them to an Amazon S3 bucket, then
specify the location of your file using the Note that if you include Each language has a character set that contains all allowed characters for that specific language. If you use unsupported characters, your custom vocabulary filter request fails. Refer to Character Sets for Custom Vocabularies to get the character set for your language. |
VocabularyFilterFileUri |
The Amazon S3 location of the text file that contains your custom vocabulary filter terms. The URI must be located in the same Amazon Web Services Region as the resource you're calling. Here's an example URI path:
Note that if you include |
DataAccessRoleArn |
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files (in this case, your custom vocabulary filter). If the role that you specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails. IAM role ARNs have the format
For more information, see IAM ARNs. |
Amazon Translate
Description
Provides translation of the input content from the source language to the target language.
Usage
translate(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- translate( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
create_parallel_data | Creates a parallel data resource in Amazon Translate by importing an input file from Amazon S3 |
delete_parallel_data | Deletes a parallel data resource in Amazon Translate |
delete_terminology | A synchronous action that deletes a custom terminology |
describe_text_translation_job | Gets the properties associated with an asynchronous batch translation job including name, ID, status, source and target languages, input/output S3 buckets, and so on |
get_parallel_data | Provides information about a parallel data resource |
get_terminology | Retrieves a custom terminology |
import_terminology | Creates or updates a custom terminology, depending on whether one already exists for the given terminology name |
list_languages | Provides a list of languages (RFC-5646 codes and names) that Amazon Translate supports |
list_parallel_data | Provides a list of your parallel data resources in Amazon Translate |
list_tags_for_resource | Lists all tags associated with a given Amazon Translate resource |
list_terminologies | Provides a list of custom terminologies associated with your account |
list_text_translation_jobs | Gets a list of the batch translation jobs that you have submitted |
start_text_translation_job | Starts an asynchronous batch translation job |
stop_text_translation_job | Stops an asynchronous batch translation job that is in progress |
tag_resource | Associates a specific tag with a resource |
translate_document | Translates the input document from the source language to the target language |
translate_text | Translates input text from the source language to the target language |
untag_resource | Removes a specific tag associated with an Amazon Translate resource |
update_parallel_data | Updates a previously created parallel data resource by importing a new input file from Amazon S3 |
Examples
## Not run:
svc <- translate()
svc$create_parallel_data(
Foo = 123
)
## End(Not run)
Creates a parallel data resource in Amazon Translate by importing an input file from Amazon S3
Description
Creates a parallel data resource in Amazon Translate by importing an input file from Amazon S3. Parallel data files contain examples that show how you want segments of text to be translated. By adding parallel data, you can influence the style, tone, and word choice in your translation output.
See https://www.paws-r-sdk.com/docs/translate_create_parallel_data/ for full documentation.
Usage
translate_create_parallel_data(
Name,
Description = NULL,
ParallelDataConfig,
EncryptionKey = NULL,
ClientToken,
Tags = NULL
)
Arguments
Name |
[required] A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in the account and region. |
Description |
A custom description for the parallel data resource in Amazon Translate. |
ParallelDataConfig |
[required] Specifies the format and S3 location of the parallel data input file. |
EncryptionKey |
|
ClientToken |
[required] A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK. |
Tags |
Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources. |
Deletes a parallel data resource in Amazon Translate
Description
Deletes a parallel data resource in Amazon Translate.
See https://www.paws-r-sdk.com/docs/translate_delete_parallel_data/ for full documentation.
Usage
translate_delete_parallel_data(Name)
Arguments
Name |
[required] The name of the parallel data resource that is being deleted. |
A synchronous action that deletes a custom terminology
Description
A synchronous action that deletes a custom terminology.
See https://www.paws-r-sdk.com/docs/translate_delete_terminology/ for full documentation.
Usage
translate_delete_terminology(Name)
Arguments
Name |
[required] The name of the custom terminology being deleted. |
Gets the properties associated with an asynchronous batch translation job including name, ID, status, source and target languages, input/output S3 buckets, and so on
Description
Gets the properties associated with an asynchronous batch translation job including name, ID, status, source and target languages, input/output S3 buckets, and so on.
See https://www.paws-r-sdk.com/docs/translate_describe_text_translation_job/ for full documentation.
Usage
translate_describe_text_translation_job(JobId)
Arguments
JobId |
[required] The identifier that Amazon Translate generated for the job. The
|
Provides information about a parallel data resource
Description
Provides information about a parallel data resource.
See https://www.paws-r-sdk.com/docs/translate_get_parallel_data/ for full documentation.
Usage
translate_get_parallel_data(Name)
Arguments
Name |
[required] The name of the parallel data resource that is being retrieved. |
Retrieves a custom terminology
Description
Retrieves a custom terminology.
See https://www.paws-r-sdk.com/docs/translate_get_terminology/ for full documentation.
Usage
translate_get_terminology(Name, TerminologyDataFormat = NULL)
Arguments
Name |
[required] The name of the custom terminology being retrieved. |
TerminologyDataFormat |
The data format of the custom terminology being retrieved. If you don't specify this parameter, Amazon Translate returns a file with the same format as the file that was imported to create the terminology. If you specify this parameter when you retrieve a multi-directional terminology resource, you must specify the same format as the input file that was imported to create it. Otherwise, Amazon Translate throws an error. |
Creates or updates a custom terminology, depending on whether one already exists for the given terminology name
Description
Creates or updates a custom terminology, depending on whether one already exists for the given terminology name. Importing a terminology with the same name as an existing one will merge the terminologies based on the chosen merge strategy. The only supported merge strategy is OVERWRITE, where the imported terminology overwrites the existing terminology of the same name.
See https://www.paws-r-sdk.com/docs/translate_import_terminology/ for full documentation.
Usage
translate_import_terminology(
Name,
MergeStrategy,
Description = NULL,
TerminologyData,
EncryptionKey = NULL,
Tags = NULL
)
Arguments
Name |
[required] The name of the custom terminology being imported. |
MergeStrategy |
[required] The merge strategy of the custom terminology being imported. Currently, only the OVERWRITE merge strategy is supported. In this case, the imported terminology will overwrite an existing terminology of the same name. |
Description |
The description of the custom terminology being imported. |
TerminologyData |
[required] The terminology data for the custom terminology being imported. |
EncryptionKey |
The encryption key for the custom terminology being imported. |
Tags |
Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources. |
Provides a list of languages (RFC-5646 codes and names) that Amazon Translate supports
Description
Provides a list of languages (RFC-5646 codes and names) that Amazon Translate supports.
See https://www.paws-r-sdk.com/docs/translate_list_languages/ for full documentation.
Usage
translate_list_languages(
DisplayLanguageCode = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
DisplayLanguageCode |
The language code for the language to use to display the language names
in the response. The language code is |
NextToken |
Include the NextToken value to fetch the next group of supported languages. |
MaxResults |
The maximum number of results to return in each response. |
Provides a list of your parallel data resources in Amazon Translate
Description
Provides a list of your parallel data resources in Amazon Translate.
See https://www.paws-r-sdk.com/docs/translate_list_parallel_data/ for full documentation.
Usage
translate_list_parallel_data(NextToken = NULL, MaxResults = NULL)
Arguments
NextToken |
A string that specifies the next page of results to return in a paginated response. |
MaxResults |
The maximum number of parallel data resources returned for each request. |
Lists all tags associated with a given Amazon Translate resource
Description
Lists all tags associated with a given Amazon Translate resource. For more information, see Tagging your resources.
See https://www.paws-r-sdk.com/docs/translate_list_tags_for_resource/ for full documentation.
Usage
translate_list_tags_for_resource(ResourceArn)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the given Amazon Translate resource you are querying. |
Provides a list of custom terminologies associated with your account
Description
Provides a list of custom terminologies associated with your account.
See https://www.paws-r-sdk.com/docs/translate_list_terminologies/ for full documentation.
Usage
translate_list_terminologies(NextToken = NULL, MaxResults = NULL)
Arguments
NextToken |
If the result of the request to ListTerminologies was truncated, include the NextToken to fetch the next group of custom terminologies. |
MaxResults |
The maximum number of custom terminologies returned per list request. |
Gets a list of the batch translation jobs that you have submitted
Description
Gets a list of the batch translation jobs that you have submitted.
See https://www.paws-r-sdk.com/docs/translate_list_text_translation_jobs/ for full documentation.
Usage
translate_list_text_translation_jobs(
Filter = NULL,
NextToken = NULL,
MaxResults = NULL
)
Arguments
Filter |
The parameters that specify which batch translation jobs to retrieve. Filters include job name, job status, and submission time. You can only set one filter at a time. |
NextToken |
The token to request the next page of results. |
MaxResults |
The maximum number of results to return in each page. The default value is 100. |
Starts an asynchronous batch translation job
Description
Starts an asynchronous batch translation job. Use batch translation jobs to translate large volumes of text across multiple documents at once. For batch translation, you can input documents with different source languages (specify auto
as the source language). You can specify one or more target languages. Batch translation translates each input document into each of the target languages. For more information, see Asynchronous batch processing.
See https://www.paws-r-sdk.com/docs/translate_start_text_translation_job/ for full documentation.
Usage
translate_start_text_translation_job(
JobName = NULL,
InputDataConfig,
OutputDataConfig,
DataAccessRoleArn,
SourceLanguageCode,
TargetLanguageCodes,
TerminologyNames = NULL,
ParallelDataNames = NULL,
ClientToken,
Settings = NULL
)
Arguments
JobName |
The name of the batch translation job to be performed. |
InputDataConfig |
[required] Specifies the format and location of the input documents for the translation job. |
OutputDataConfig |
[required] Specifies the S3 folder to which your job output will be saved. |
DataAccessRoleArn |
[required] The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate read access to your input data. For more information, see Identity and access management . |
SourceLanguageCode |
[required] The language code of the input language. Specify the language if all
input documents share the same language. If you don't know the language
of the source files, or your input documents contains different source
languages, select |
TargetLanguageCodes |
[required] The target languages of the translation job. Enter up to 10 language codes. Each input file is translated into each target language. Each language code is 2 or 5 characters long. For a list of language codes, see Supported languages. |
TerminologyNames |
The name of a custom terminology resource to add to the translation job. This resource lists examples source terms and the desired translation for each term. This parameter accepts only one custom terminology resource. If you specify multiple target languages for the job, translate uses the designated terminology for each requested target language that has an entry for the source term in the terminology file. For a list of available custom terminology resources, use the
For more information, see Custom terminology. |
ParallelDataNames |
The name of a parallel data resource to add to the translation job. This resource consists of examples that show how you want segments of text to be translated. If you specify multiple target languages for the job, the parallel data file must include translations for all the target languages. When you add parallel data to a translation job, you create an Active Custom Translation job. This parameter accepts only one parallel data resource. Active Custom Translation jobs are priced at a higher rate than other jobs that don't use parallel data. For more information, see Amazon Translate pricing. For a list of available parallel data resources, use the
For more information, see Customizing your translations with parallel data. |
ClientToken |
[required] A unique identifier for the request. This token is generated for you when using the Amazon Translate SDK. |
Settings |
Settings to configure your translation output. You can configure the following options:
|
Stops an asynchronous batch translation job that is in progress
Description
Stops an asynchronous batch translation job that is in progress.
See https://www.paws-r-sdk.com/docs/translate_stop_text_translation_job/ for full documentation.
Usage
translate_stop_text_translation_job(JobId)
Arguments
JobId |
[required] The job ID of the job to be stopped. |
Associates a specific tag with a resource
Description
Associates a specific tag with a resource. A tag is a key-value pair that adds as a metadata to a resource. For more information, see Tagging your resources.
See https://www.paws-r-sdk.com/docs/translate_tag_resource/ for full documentation.
Usage
translate_tag_resource(ResourceArn, Tags)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the given Amazon Translate resource to which you want to associate the tags. |
Tags |
[required] Tags being associated with a specific Amazon Translate resource. There can be a maximum of 50 tags (both existing and pending) associated with a specific resource. |
Translates the input document from the source language to the target language
Description
Translates the input document from the source language to the target language. This synchronous operation supports text, HTML, or Word documents as the input document. translate_document
supports translations from English to any supported language, and from any supported language to English. Therefore, specify either the source language code or the target language code as “en” (English).
See https://www.paws-r-sdk.com/docs/translate_translate_document/ for full documentation.
Usage
translate_translate_document(
Document,
TerminologyNames = NULL,
SourceLanguageCode,
TargetLanguageCode,
Settings = NULL
)
Arguments
Document |
[required] The content and content type for the document to be translated. The document size must not exceed 100 KB. |
TerminologyNames |
The name of a terminology list file to add to the translation job. This file provides source terms and the desired translation for each term. A terminology list can contain a maximum of 256 terms. You can use one custom terminology resource in your translation request. Use the For more information about custom terminology lists, see Custom terminology. |
SourceLanguageCode |
[required] The language code for the language of the source text. For a list of supported language codes, see Supported languages. To have Amazon Translate determine the source language of your text, you
can specify If you specify |
TargetLanguageCode |
[required] The language code requested for the translated document. For a list of supported language codes, see Supported languages. |
Settings |
Settings to configure your translation output. You can configure the following options:
|
Translates input text from the source language to the target language
Description
Translates input text from the source language to the target language. For a list of available languages and language codes, see Supported languages.
See https://www.paws-r-sdk.com/docs/translate_translate_text/ for full documentation.
Usage
translate_translate_text(
Text,
TerminologyNames = NULL,
SourceLanguageCode,
TargetLanguageCode,
Settings = NULL
)
Arguments
Text |
[required] The text to translate. The text string can be a maximum of 10,000 bytes long. Depending on your character set, this may be fewer than 10,000 characters. |
TerminologyNames |
The name of a terminology list file to add to the translation job. This file provides source terms and the desired translation for each term. A terminology list can contain a maximum of 256 terms. You can use one custom terminology resource in your translation request. Use the For more information about custom terminology lists, see Custom terminology. |
SourceLanguageCode |
[required] The language code for the language of the source text. For a list of language codes, see Supported languages. To have Amazon Translate determine the source language of your text, you
can specify If you specify |
TargetLanguageCode |
[required] The language code requested for the language of the target text. For a list of language codes, see Supported languages. |
Settings |
Settings to configure your translation output. You can configure the following options:
|
Removes a specific tag associated with an Amazon Translate resource
Description
Removes a specific tag associated with an Amazon Translate resource. For more information, see Tagging your resources.
See https://www.paws-r-sdk.com/docs/translate_untag_resource/ for full documentation.
Usage
translate_untag_resource(ResourceArn, TagKeys)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the given Amazon Translate resource from which you want to remove the tags. |
TagKeys |
[required] The initial part of a key-value pair that forms a tag being removed from a given resource. Keys must be unique and cannot be duplicated for a particular resource. |
Updates a previously created parallel data resource by importing a new input file from Amazon S3
Description
Updates a previously created parallel data resource by importing a new input file from Amazon S3.
See https://www.paws-r-sdk.com/docs/translate_update_parallel_data/ for full documentation.
Usage
translate_update_parallel_data(
Name,
Description = NULL,
ParallelDataConfig,
ClientToken
)
Arguments
Name |
[required] The name of the parallel data resource being updated. |
Description |
A custom description for the parallel data resource in Amazon Translate. |
ParallelDataConfig |
[required] Specifies the format and S3 location of the parallel data input file. |
ClientToken |
[required] A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK. |
Amazon Voice ID
Description
Amazon Connect Voice ID provides real-time caller authentication and fraud risk detection, which make voice interactions in contact centers more secure and efficient.
Usage
voiceid(config = list(), credentials = list(), endpoint = NULL, region = NULL)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- voiceid( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
associate_fraudster | Associates the fraudsters with the watchlist specified in the same domain |
create_domain | Creates a domain that contains all Amazon Connect Voice ID data, such as speakers, fraudsters, customer audio, and voiceprints |
create_watchlist | Creates a watchlist that fraudsters can be a part of |
delete_domain | Deletes the specified domain from Voice ID |
delete_fraudster | Deletes the specified fraudster from Voice ID |
delete_speaker | Deletes the specified speaker from Voice ID |
delete_watchlist | Deletes the specified watchlist from Voice ID |
describe_domain | Describes the specified domain |
describe_fraudster | Describes the specified fraudster |
describe_fraudster_registration_job | Describes the specified fraudster registration job |
describe_speaker | Describes the specified speaker |
describe_speaker_enrollment_job | Describes the specified speaker enrollment job |
describe_watchlist | Describes the specified watchlist |
disassociate_fraudster | Disassociates the fraudsters from the watchlist specified |
evaluate_session | Evaluates a specified session based on audio data accumulated during a streaming Amazon Connect Voice ID call |
list_domains | Lists all the domains in the Amazon Web Services account |
list_fraudster_registration_jobs | Lists all the fraudster registration jobs in the domain with the given JobStatus |
list_fraudsters | Lists all fraudsters in a specified watchlist or domain |
list_speaker_enrollment_jobs | Lists all the speaker enrollment jobs in the domain with the specified JobStatus |
list_speakers | Lists all speakers in a specified domain |
list_tags_for_resource | Lists all tags associated with a specified Voice ID resource |
list_watchlists | Lists all watchlists in a specified domain |
opt_out_speaker | Opts out a speaker from Voice ID |
start_fraudster_registration_job | Starts a new batch fraudster registration job using provided details |
start_speaker_enrollment_job | Starts a new batch speaker enrollment job using specified details |
tag_resource | Tags a Voice ID resource with the provided list of tags |
untag_resource | Removes specified tags from a specified Amazon Connect Voice ID resource |
update_domain | Updates the specified domain |
update_watchlist | Updates the specified watchlist |
Examples
## Not run:
svc <- voiceid()
svc$associate_fraudster(
Foo = 123
)
## End(Not run)
Associates the fraudsters with the watchlist specified in the same domain
Description
Associates the fraudsters with the watchlist specified in the same domain.
See https://www.paws-r-sdk.com/docs/voiceid_associate_fraudster/ for full documentation.
Usage
voiceid_associate_fraudster(DomainId, FraudsterId, WatchlistId)
Arguments
DomainId |
[required] The identifier of the domain that contains the fraudster. |
FraudsterId |
[required] The identifier of the fraudster to be associated with the watchlist. |
WatchlistId |
[required] The identifier of the watchlist you want to associate with the fraudster. |
Creates a domain that contains all Amazon Connect Voice ID data, such as speakers, fraudsters, customer audio, and voiceprints
Description
Creates a domain that contains all Amazon Connect Voice ID data, such as speakers, fraudsters, customer audio, and voiceprints. Every domain is created with a default watchlist that fraudsters can be a part of.
See https://www.paws-r-sdk.com/docs/voiceid_create_domain/ for full documentation.
Usage
voiceid_create_domain(
ClientToken = NULL,
Description = NULL,
Name,
ServerSideEncryptionConfiguration,
Tags = NULL
)
Arguments
ClientToken |
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. |
Description |
A brief description of this domain. |
Name |
[required] The name of the domain. |
ServerSideEncryptionConfiguration |
[required] The configuration, containing the KMS key identifier, to be used by Voice ID for the server-side encryption of your data. Refer to Amazon Connect Voice ID encryption at rest for more details on how the KMS key is used. |
Tags |
A list of tags you want added to the domain. |
Creates a watchlist that fraudsters can be a part of
Description
Creates a watchlist that fraudsters can be a part of.
See https://www.paws-r-sdk.com/docs/voiceid_create_watchlist/ for full documentation.
Usage
voiceid_create_watchlist(
ClientToken = NULL,
Description = NULL,
DomainId,
Name
)
Arguments
ClientToken |
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. |
Description |
A brief description of this watchlist. |
DomainId |
[required] The identifier of the domain that contains the watchlist. |
Name |
[required] The name of the watchlist. |
Deletes the specified domain from Voice ID
Description
Deletes the specified domain from Voice ID.
See https://www.paws-r-sdk.com/docs/voiceid_delete_domain/ for full documentation.
Usage
voiceid_delete_domain(DomainId)
Arguments
DomainId |
[required] The identifier of the domain you want to delete. |
Deletes the specified fraudster from Voice ID
Description
Deletes the specified fraudster from Voice ID. This action disassociates the fraudster from any watchlists it is a part of.
See https://www.paws-r-sdk.com/docs/voiceid_delete_fraudster/ for full documentation.
Usage
voiceid_delete_fraudster(DomainId, FraudsterId)
Arguments
DomainId |
[required] The identifier of the domain that contains the fraudster. |
FraudsterId |
[required] The identifier of the fraudster you want to delete. |
Deletes the specified speaker from Voice ID
Description
Deletes the specified speaker from Voice ID.
See https://www.paws-r-sdk.com/docs/voiceid_delete_speaker/ for full documentation.
Usage
voiceid_delete_speaker(DomainId, SpeakerId)
Arguments
DomainId |
[required] The identifier of the domain that contains the speaker. |
SpeakerId |
[required] The identifier of the speaker you want to delete. |
Deletes the specified watchlist from Voice ID
Description
Deletes the specified watchlist from Voice ID. This API throws an exception when there are fraudsters in the watchlist that you are trying to delete. You must delete the fraudsters, and then delete the watchlist. Every domain has a default watchlist which cannot be deleted.
See https://www.paws-r-sdk.com/docs/voiceid_delete_watchlist/ for full documentation.
Usage
voiceid_delete_watchlist(DomainId, WatchlistId)
Arguments
DomainId |
[required] The identifier of the domain that contains the watchlist. |
WatchlistId |
[required] The identifier of the watchlist to be deleted. |
Describes the specified domain
Description
Describes the specified domain.
See https://www.paws-r-sdk.com/docs/voiceid_describe_domain/ for full documentation.
Usage
voiceid_describe_domain(DomainId)
Arguments
DomainId |
[required] The identifier of the domain that you are describing. |
Describes the specified fraudster
Description
Describes the specified fraudster.
See https://www.paws-r-sdk.com/docs/voiceid_describe_fraudster/ for full documentation.
Usage
voiceid_describe_fraudster(DomainId, FraudsterId)
Arguments
DomainId |
[required] The identifier of the domain that contains the fraudster. |
FraudsterId |
[required] The identifier of the fraudster you are describing. |
Describes the specified fraudster registration job
Description
Describes the specified fraudster registration job.
See https://www.paws-r-sdk.com/docs/voiceid_describe_fraudster_registration_job/ for full documentation.
Usage
voiceid_describe_fraudster_registration_job(DomainId, JobId)
Arguments
DomainId |
[required] The identifier of the domain that contains the fraudster registration job. |
JobId |
[required] The identifier of the fraudster registration job you are describing. |
Describes the specified speaker
Description
Describes the specified speaker.
See https://www.paws-r-sdk.com/docs/voiceid_describe_speaker/ for full documentation.
Usage
voiceid_describe_speaker(DomainId, SpeakerId)
Arguments
DomainId |
[required] The identifier of the domain that contains the speaker. |
SpeakerId |
[required] The identifier of the speaker you are describing. |
Describes the specified speaker enrollment job
Description
Describes the specified speaker enrollment job.
See https://www.paws-r-sdk.com/docs/voiceid_describe_speaker_enrollment_job/ for full documentation.
Usage
voiceid_describe_speaker_enrollment_job(DomainId, JobId)
Arguments
DomainId |
[required] The identifier of the domain that contains the speaker enrollment job. |
JobId |
[required] The identifier of the speaker enrollment job you are describing. |
Describes the specified watchlist
Description
Describes the specified watchlist.
See https://www.paws-r-sdk.com/docs/voiceid_describe_watchlist/ for full documentation.
Usage
voiceid_describe_watchlist(DomainId, WatchlistId)
Arguments
DomainId |
[required] The identifier of the domain that contains the watchlist. |
WatchlistId |
[required] The identifier of the watchlist that you are describing. |
Disassociates the fraudsters from the watchlist specified
Description
Disassociates the fraudsters from the watchlist specified. Voice ID always expects a fraudster to be a part of at least one watchlist. If you try to disassociate a fraudster from its only watchlist, a ValidationException
is thrown.
See https://www.paws-r-sdk.com/docs/voiceid_disassociate_fraudster/ for full documentation.
Usage
voiceid_disassociate_fraudster(DomainId, FraudsterId, WatchlistId)
Arguments
DomainId |
[required] The identifier of the domain that contains the fraudster. |
FraudsterId |
[required] The identifier of the fraudster to be disassociated from the watchlist. |
WatchlistId |
[required] The identifier of the watchlist that you want to disassociate from the fraudster. |
Evaluates a specified session based on audio data accumulated during a streaming Amazon Connect Voice ID call
Description
Evaluates a specified session based on audio data accumulated during a streaming Amazon Connect Voice ID call.
See https://www.paws-r-sdk.com/docs/voiceid_evaluate_session/ for full documentation.
Usage
voiceid_evaluate_session(DomainId, SessionNameOrId)
Arguments
DomainId |
[required] The identifier of the domain where the session started. |
SessionNameOrId |
[required] The session identifier, or name of the session, that you want to evaluate. In Voice ID integration, this is the Contact-Id. |
Lists all the domains in the Amazon Web Services account
Description
Lists all the domains in the Amazon Web Services account.
See https://www.paws-r-sdk.com/docs/voiceid_list_domains/ for full documentation.
Usage
voiceid_list_domains(MaxResults = NULL, NextToken = NULL)
Arguments
MaxResults |
The maximum number of results that are returned per call. You can use
|
NextToken |
If |
Lists all the fraudster registration jobs in the domain with the given JobStatus
Description
Lists all the fraudster registration jobs in the domain with the given JobStatus
. If JobStatus
is not provided, this lists all fraudster registration jobs in the given domain.
See https://www.paws-r-sdk.com/docs/voiceid_list_fraudster_registration_jobs/ for full documentation.
Usage
voiceid_list_fraudster_registration_jobs(
DomainId,
JobStatus = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
DomainId |
[required] The identifier of the domain that contains the fraudster registration Jobs. |
JobStatus |
Provides the status of your fraudster registration job. |
MaxResults |
The maximum number of results that are returned per call. You can use
|
NextToken |
If |
Lists all fraudsters in a specified watchlist or domain
Description
Lists all fraudsters in a specified watchlist or domain.
See https://www.paws-r-sdk.com/docs/voiceid_list_fraudsters/ for full documentation.
Usage
voiceid_list_fraudsters(
DomainId,
MaxResults = NULL,
NextToken = NULL,
WatchlistId = NULL
)
Arguments
DomainId |
[required] The identifier of the domain. |
MaxResults |
The maximum number of results that are returned per call. You can use
|
NextToken |
If |
WatchlistId |
The identifier of the watchlist. If provided, all fraudsters in the watchlist are listed. If not provided, all fraudsters in the domain are listed. |
Lists all the speaker enrollment jobs in the domain with the specified JobStatus
Description
Lists all the speaker enrollment jobs in the domain with the specified JobStatus
. If JobStatus
is not provided, this lists all jobs with all possible speaker enrollment job statuses.
See https://www.paws-r-sdk.com/docs/voiceid_list_speaker_enrollment_jobs/ for full documentation.
Usage
voiceid_list_speaker_enrollment_jobs(
DomainId,
JobStatus = NULL,
MaxResults = NULL,
NextToken = NULL
)
Arguments
DomainId |
[required] The identifier of the domain that contains the speaker enrollment jobs. |
JobStatus |
Provides the status of your speaker enrollment Job. |
MaxResults |
The maximum number of results that are returned per call. You can use
|
NextToken |
If |
Lists all speakers in a specified domain
Description
Lists all speakers in a specified domain.
See https://www.paws-r-sdk.com/docs/voiceid_list_speakers/ for full documentation.
Usage
voiceid_list_speakers(DomainId, MaxResults = NULL, NextToken = NULL)
Arguments
DomainId |
[required] The identifier of the domain. |
MaxResults |
The maximum number of results that are returned per call. You can use
|
NextToken |
If |
Lists all tags associated with a specified Voice ID resource
Description
Lists all tags associated with a specified Voice ID resource.
See https://www.paws-r-sdk.com/docs/voiceid_list_tags_for_resource/ for full documentation.
Usage
voiceid_list_tags_for_resource(ResourceArn)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the Voice ID resource for which you want to list the tags. |
Lists all watchlists in a specified domain
Description
Lists all watchlists in a specified domain.
See https://www.paws-r-sdk.com/docs/voiceid_list_watchlists/ for full documentation.
Usage
voiceid_list_watchlists(DomainId, MaxResults = NULL, NextToken = NULL)
Arguments
DomainId |
[required] The identifier of the domain. |
MaxResults |
The maximum number of results that are returned per call. You can use
|
NextToken |
If |
Opts out a speaker from Voice ID
Description
Opts out a speaker from Voice ID. A speaker can be opted out regardless of whether or not they already exist in Voice ID. If they don't yet exist, a new speaker is created in an opted out state. If they already exist, their existing status is overridden and they are opted out. Enrollment and evaluation authentication requests are rejected for opted out speakers, and opted out speakers have no voice embeddings stored in Voice ID.
See https://www.paws-r-sdk.com/docs/voiceid_opt_out_speaker/ for full documentation.
Usage
voiceid_opt_out_speaker(DomainId, SpeakerId)
Arguments
DomainId |
[required] The identifier of the domain that contains the speaker. |
SpeakerId |
[required] The identifier of the speaker you want opted-out. |
Starts a new batch fraudster registration job using provided details
Description
Starts a new batch fraudster registration job using provided details.
See https://www.paws-r-sdk.com/docs/voiceid_start_fraudster_registration_job/ for full documentation.
Usage
voiceid_start_fraudster_registration_job(
ClientToken = NULL,
DataAccessRoleArn,
DomainId,
InputDataConfig,
JobName = NULL,
OutputDataConfig,
RegistrationConfig = NULL
)
Arguments
ClientToken |
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. |
DataAccessRoleArn |
[required] The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to access customer's buckets to read the input manifest file and write the Job output file. Refer to the Create and edit a fraudster watchlist documentation for the permissions needed in this role. |
DomainId |
[required] The identifier of the domain that contains the fraudster registration job and in which the fraudsters are registered. |
InputDataConfig |
[required] The input data config containing an S3 URI for the input manifest file that contains the list of fraudster registration requests. |
JobName |
The name of the new fraudster registration job. |
OutputDataConfig |
[required] The output data config containing the S3 location where Voice ID writes the job output file; you must also include a KMS key ID to encrypt the file. |
RegistrationConfig |
The registration config containing details such as the action to take when a duplicate fraudster is detected, and the similarity threshold to use for detecting a duplicate fraudster. |
Starts a new batch speaker enrollment job using specified details
Description
Starts a new batch speaker enrollment job using specified details.
See https://www.paws-r-sdk.com/docs/voiceid_start_speaker_enrollment_job/ for full documentation.
Usage
voiceid_start_speaker_enrollment_job(
ClientToken = NULL,
DataAccessRoleArn,
DomainId,
EnrollmentConfig = NULL,
InputDataConfig,
JobName = NULL,
OutputDataConfig
)
Arguments
ClientToken |
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. |
DataAccessRoleArn |
[required] The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to access customer's buckets to read the input manifest file and write the job output file. Refer to Batch enrollment using audio data from prior calls for the permissions needed in this role. |
DomainId |
[required] The identifier of the domain that contains the speaker enrollment job and in which the speakers are enrolled. |
EnrollmentConfig |
The enrollment config that contains details such as the action to take when a speaker is already enrolled in Voice ID or when a speaker is identified as a fraudster. |
InputDataConfig |
[required] The input data config containing the S3 location for the input manifest file that contains the list of speaker enrollment requests. |
JobName |
A name for your speaker enrollment job. |
OutputDataConfig |
[required] The output data config containing the S3 location where Voice ID writes the job output file; you must also include a KMS key ID to encrypt the file. |
Tags a Voice ID resource with the provided list of tags
Description
Tags a Voice ID resource with the provided list of tags.
See https://www.paws-r-sdk.com/docs/voiceid_tag_resource/ for full documentation.
Usage
voiceid_tag_resource(ResourceArn, Tags)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the Voice ID resource you want to tag. |
Tags |
[required] The list of tags to assign to the specified resource. |
Removes specified tags from a specified Amazon Connect Voice ID resource
Description
Removes specified tags from a specified Amazon Connect Voice ID resource.
See https://www.paws-r-sdk.com/docs/voiceid_untag_resource/ for full documentation.
Usage
voiceid_untag_resource(ResourceArn, TagKeys)
Arguments
ResourceArn |
[required] The Amazon Resource Name (ARN) of the Voice ID resource you want to remove tags from. |
TagKeys |
[required] The list of tag keys you want to remove from the specified resource. |
Updates the specified domain
Description
Updates the specified domain. This API has clobber behavior, and clears and replaces all attributes. If an optional field, such as 'Description' is not provided, it is removed from the domain.
See https://www.paws-r-sdk.com/docs/voiceid_update_domain/ for full documentation.
Usage
voiceid_update_domain(
Description = NULL,
DomainId,
Name,
ServerSideEncryptionConfiguration
)
Arguments
Description |
A brief description about this domain. |
DomainId |
[required] The identifier of the domain to be updated. |
Name |
[required] The name of the domain. |
ServerSideEncryptionConfiguration |
[required] The configuration, containing the KMS key identifier, to be used by
Voice ID for the server-side encryption of your data. Changing the
domain's associated KMS key immediately triggers an asynchronous process
to remove dependency on the old KMS key, such that the domain's data can
only be accessed using the new KMS key. The domain's
|
Updates the specified watchlist
Description
Updates the specified watchlist. Every domain has a default watchlist which cannot be updated.
See https://www.paws-r-sdk.com/docs/voiceid_update_watchlist/ for full documentation.
Usage
voiceid_update_watchlist(
Description = NULL,
DomainId,
Name = NULL,
WatchlistId
)
Arguments
Description |
A brief description about this watchlist. |
DomainId |
[required] The identifier of the domain that contains the watchlist. |
Name |
The name of the watchlist. |
WatchlistId |
[required] The identifier of the watchlist to be updated. |