diff --git a/README.md b/README.md index fe198423c21..8c3946144d2 100644 --- a/README.md +++ b/README.md @@ -613,6 +613,7 @@ RubyGems.org page under "LINKS" section. | CloudWatch RUM | Aws::CloudWatchRUM | aws-sdk-cloudwatchrum | 2018-05-10 | | CodeArtifact | Aws::CodeArtifact | aws-sdk-codeartifact | 2018-09-22 | | EC2 Image Builder | Aws::Imagebuilder | aws-sdk-imagebuilder | 2019-12-02 | +| EMR Serverless | Aws::EMRServerless | aws-sdk-emrserverless | 2021-07-13 | | Elastic Disaster Recovery Service | Aws::Drs | aws-sdk-drs | 2020-02-26 | | Elastic Load Balancing | Aws::ElasticLoadBalancing | aws-sdk-elasticloadbalancing | 2012-06-01 | | Elastic Load Balancing | Aws::ElasticLoadBalancingV2 | aws-sdk-elasticloadbalancingv2 | 2015-12-01 | diff --git a/apis/appflow/2020-08-23/api-2.json b/apis/appflow/2020-08-23/api-2.json index 6baf4b1f2db..f1a387828f9 100644 --- a/apis/appflow/2020-08-23/api-2.json +++ b/apis/appflow/2020-08-23/api-2.json @@ -362,7 +362,7 @@ }, "AccessToken":{ "type":"string", - "max":2048, + "max":4096, "pattern":"\\S+", "sensitive":true }, @@ -1582,6 +1582,11 @@ "max":2048, "pattern":"[\\w!@#\\-.?,\\s]*" }, + "FlowErrorDeactivationThreshold":{ + "type":"integer", + "max":100, + "min":1 + }, "FlowExecutionList":{ "type":"list", "member":{"shape":"ExecutionRecord"} @@ -1765,6 +1770,7 @@ "error":{"httpStatusCode":500}, "exception":true }, + "JavaBoolean":{"type":"boolean"}, "KMSArn":{ "type":"string", "max":2048, @@ -2282,7 +2288,7 @@ }, "RefreshToken":{ "type":"string", - "max":1024, + "max":2048, "pattern":"\\S+" }, "Region":{ @@ -2384,7 +2390,8 @@ "members":{ "fileType":{"shape":"FileType"}, "prefixConfig":{"shape":"PrefixConfig"}, - "aggregationConfig":{"shape":"AggregationConfig"} + "aggregationConfig":{"shape":"AggregationConfig"}, + "preserveSourceDataTyping":{"shape":"JavaBoolean"} } }, "S3SourceProperties":{ @@ -2573,7 +2580,11 @@ "shape":"ScheduleOffset", "box":true }, - "firstExecutionFrom":{"shape":"Date"} + "firstExecutionFrom":{"shape":"Date"}, + "flowErrorDeactivationThreshold":{ + "shape":"FlowErrorDeactivationThreshold", + "box":true + } } }, "SchedulingFrequencyTypeList":{ diff --git a/apis/appflow/2020-08-23/docs-2.json b/apis/appflow/2020-08-23/docs-2.json index 464ebc31714..a0603e21934 100644 --- a/apis/appflow/2020-08-23/docs-2.json +++ b/apis/appflow/2020-08-23/docs-2.json @@ -2,12 +2,12 @@ "version": "2.0", "service": "

Welcome to the Amazon AppFlow API reference. This guide is for developers who need detailed information about the Amazon AppFlow API operations, data types, and errors.

Amazon AppFlow is a fully managed integration service that enables you to securely transfer data between software as a service (SaaS) applications like Salesforce, Marketo, Slack, and ServiceNow, and Amazon Web Services like Amazon S3 and Amazon Redshift.

Use the following links to get started on the Amazon AppFlow API:

If you're new to Amazon AppFlow, we recommend that you review the Amazon AppFlow User Guide.

Amazon AppFlow API users can use vendor-specific mechanisms for OAuth, and include applicable OAuth attributes (such as auth-code and redirecturi) with the connector-specific ConnectorProfileProperties when creating a new connector profile using Amazon AppFlow API operations. For example, Salesforce users can refer to the Authorize Apps with OAuth documentation.

", "operations": { - "CreateConnectorProfile": "

Creates a new connector profile associated with your Amazon Web Services account. There is a soft quota of 100 connector profiles per Amazon Web Services account. If you need more connector profiles than this quota allows, you can submit a request to the Amazon AppFlow team through the Amazon AppFlow support channel.

", + "CreateConnectorProfile": "

Creates a new connector profile associated with your Amazon Web Services account. There is a soft quota of 100 connector profiles per Amazon Web Services account. If you need more connector profiles than this quota allows, you can submit a request to the Amazon AppFlow team through the Amazon AppFlow support channel. In each connector profile that you create, you can provide the credentials and properties for only one connector.

", "CreateFlow": "

Enables your application to create a new flow using Amazon AppFlow. You must create a connector profile before calling this API. Please note that the Request Syntax below shows syntax for multiple destinations, however, you can only transfer data to one item in this list at a time. Amazon AppFlow does not currently support flows to multiple destinations at once.

", "DeleteConnectorProfile": "

Enables you to delete an existing connector profile.

", "DeleteFlow": "

Enables your application to delete an existing flow. Before deleting the flow, Amazon AppFlow validates the request by checking the flow configuration and status. You can delete flows one at a time.

", "DescribeConnector": "

Describes the given custom connector registered in your Amazon Web Services account. This API can be used for custom connectors that are registered in your account and also for Amazon authored connectors.

", - "DescribeConnectorEntity": "

Provides details regarding the entity used with the connector, with a description of the data model for each entity.

", + "DescribeConnectorEntity": "

Provides details regarding the entity used with the connector, with a description of the data model for each field in that entity.

", "DescribeConnectorProfiles": "

Returns a list of connector-profile details matching the provided connector-profile names and connector-types. Both input lists are optional, and you can use them to filter the result.

If no names or connector-types are provided, returns all connector profiles in a paginated form. If there is no match, this operation returns an empty list.

", "DescribeConnectors": "

Describes the connectors vended by Amazon AppFlow for specified connector types. If you don't specify a connector type, this operation describes all connectors vended by Amazon AppFlow. If there are more connectors than can be returned in one page, the response contains a nextToken object, which can be be passed in to the next call to the DescribeConnectors API operation to retrieve the next page.

", "DescribeFlow": "

Provides a description of the specified flow.

", @@ -813,8 +813,8 @@ "ExecutionRecord$dataPullEndTime": "

The timestamp that indicates the last new or updated record to be transferred in the flow run.

", "FlowDefinition$createdAt": "

Specifies when the flow was created.

", "FlowDefinition$lastUpdatedAt": "

Specifies when the flow was last updated.

", - "ScheduledTriggerProperties$scheduleStartTime": "

Specifies the scheduled start time for a schedule-triggered flow.

", - "ScheduledTriggerProperties$scheduleEndTime": "

Specifies the scheduled end time for a schedule-triggered flow.

", + "ScheduledTriggerProperties$scheduleStartTime": "

The time at which the scheduled flow starts. The time is formatted as a timestamp that follows the ISO 8601 standard, such as 2022-04-26T13:00:00-07:00.

", + "ScheduledTriggerProperties$scheduleEndTime": "

The time at which the scheduled flow ends. The time is formatted as a timestamp that follows the ISO 8601 standard, such as 2022-04-27T13:00:00-07:00.

", "ScheduledTriggerProperties$firstExecutionFrom": "

Specifies the date range for the records to import from the connector in the first flow run.

" } }, @@ -1145,6 +1145,12 @@ "UpdateFlowRequest$description": "

A description of the flow.

" } }, + "FlowErrorDeactivationThreshold": { + "base": null, + "refs": { + "ScheduledTriggerProperties$flowErrorDeactivationThreshold": "

Defines how many times a scheduled flow fails consecutively before Amazon AppFlow deactivates it.

" + } + }, "FlowExecutionList": { "base": null, "refs": { @@ -1319,6 +1325,12 @@ "refs": { } }, + "JavaBoolean": { + "base": null, + "refs": { + "S3OutputFormatConfig$preserveSourceDataTyping": "

If your file output format is Parquet, use this parameter to set whether Amazon AppFlow preserves the data types in your source data when it writes the output to Amazon S3.

" + } + }, "KMSArn": { "base": null, "refs": { @@ -2249,7 +2261,7 @@ "Timezone": { "base": null, "refs": { - "ScheduledTriggerProperties$timezone": "

Specifies the time zone used when referring to the date and time of a scheduled-triggered flow, such as America/New_York.

" + "ScheduledTriggerProperties$timezone": "

Specifies the time zone used when referring to the dates and times of a scheduled flow, such as America/New_York. This time zone is only a descriptive label. It doesn't affect how Amazon AppFlow interprets the timestamps that you specify to schedule the flow.

If you want to schedule a flow by using times in a particular time zone, indicate the time zone as a UTC offset in your timestamps. For example, the UTC offsets for the America/New_York timezone are -04:00 EDT and -05:00 EST.

" } }, "TokenUrl": { diff --git a/apis/datasync/2018-11-09/api-2.json b/apis/datasync/2018-11-09/api-2.json index 2fef8b262c2..253fc1ecfd0 100644 --- a/apis/datasync/2018-11-09/api-2.json +++ b/apis/datasync/2018-11-09/api-2.json @@ -648,7 +648,10 @@ "Subdirectory":{"shape":"EfsSubdirectory"}, "EfsFilesystemArn":{"shape":"EfsFilesystemArn"}, "Ec2Config":{"shape":"Ec2Config"}, - "Tags":{"shape":"InputTagList"} + "Tags":{"shape":"InputTagList"}, + "AccessPointArn":{"shape":"EfsAccessPointArn"}, + "FileSystemAccessRoleArn":{"shape":"IamRoleArn"}, + "InTransitEncryption":{"shape":"EfsInTransitEncryption"} } }, "CreateLocationEfsResponse":{ @@ -935,7 +938,10 @@ "LocationArn":{"shape":"LocationArn"}, "LocationUri":{"shape":"LocationUri"}, "Ec2Config":{"shape":"Ec2Config"}, - "CreationTime":{"shape":"Time"} + "CreationTime":{"shape":"Time"}, + "AccessPointArn":{"shape":"EfsAccessPointArn"}, + "FileSystemAccessRoleArn":{"shape":"IamRoleArn"}, + "InTransitEncryption":{"shape":"EfsInTransitEncryption"} } }, "DescribeLocationFsxLustreRequest":{ @@ -1173,11 +1179,23 @@ "max":128, "pattern":"^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\\-0-9]*:[0-9]{12}:subnet/.*$" }, + "EfsAccessPointArn":{ + "type":"string", + "max":128, + "pattern":"^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):elasticfilesystem:[a-z\\-0-9]+:[0-9]{12}:access-point/fsap-[0-9a-f]{8,40}$" + }, "EfsFilesystemArn":{ "type":"string", "max":128, "pattern":"^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):elasticfilesystem:[a-z\\-0-9]*:[0-9]{12}:file-system/fs-.*$" }, + "EfsInTransitEncryption":{ + "type":"string", + "enum":[ + "NONE", + "TLS1_2" + ] + }, "EfsSubdirectory":{ "type":"string", "max":4096, diff --git a/apis/datasync/2018-11-09/docs-2.json b/apis/datasync/2018-11-09/docs-2.json index ffa0e6bbc79..bd2e95e3a36 100644 --- a/apis/datasync/2018-11-09/docs-2.json +++ b/apis/datasync/2018-11-09/docs-2.json @@ -4,7 +4,7 @@ "operations": { "CancelTaskExecution": "

Cancels execution of a task.

When you cancel a task execution, the transfer of some files is abruptly interrupted. The contents of files that are transferred to the destination might be incomplete or inconsistent with the source files. However, if you start a new task execution on the same task and you allow the task execution to complete, file content on the destination is complete and consistent. This applies to other unexpected failures that interrupt a task execution. In all of these cases, DataSync successfully complete the transfer when you start the next task execution.

", "CreateAgent": "

Activates an DataSync agent that you have deployed on your host. The activation process associates your agent with your account. In the activation process, you specify information such as the Amazon Web Services Region that you want to activate the agent in. You activate the agent in the Amazon Web Services Region where your target locations (in Amazon S3 or Amazon EFS) reside. Your tasks are created in this Amazon Web Services Region.

You can activate the agent in a VPC (virtual private cloud) or provide the agent access to a VPC endpoint so you can run tasks without going over the public internet.

You can use an agent for more than one location. If a task uses multiple agents, all of them need to have status AVAILABLE for the task to run. If you use multiple agents for a source location, the status of all the agents must be AVAILABLE for the task to run.

Agents are automatically updated by Amazon Web Services on a regular basis, using a mechanism that ensures minimal interruption to your tasks.

", - "CreateLocationEfs": "

Creates an endpoint for an Amazon EFS file system.

", + "CreateLocationEfs": "

Creates an endpoint for an Amazon EFS file system that DataSync can access for a transfer. For more information, see Creating a location for Amazon EFS.

", "CreateLocationFsxLustre": "

Creates an endpoint for an Amazon FSx for Lustre file system.

", "CreateLocationFsxOpenZfs": "

Creates an endpoint for an Amazon FSx for OpenZFS file system.

", "CreateLocationFsxWindows": "

Creates an endpoint for an Amazon FSx for Windows File Server file system.

", @@ -18,7 +18,7 @@ "DeleteLocation": "

Deletes the configuration of a location used by DataSync.

", "DeleteTask": "

Deletes a task.

", "DescribeAgent": "

Returns metadata such as the name, the network interfaces, and the status (that is, whether the agent is running or not) for an agent. To specify which agent to describe, use the Amazon Resource Name (ARN) of the agent in your request.

", - "DescribeLocationEfs": "

Returns metadata, such as the path information about an Amazon EFS location.

", + "DescribeLocationEfs": "

Returns metadata about your DataSync location for an Amazon EFS file system.

", "DescribeLocationFsxLustre": "

Returns metadata about an Amazon FSx for Lustre location, such as information about its path.

", "DescribeLocationFsxOpenZfs": "

Returns metadata about an Amazon FSx for OpenZFS location, such as information about its path.

", "DescribeLocationFsxWindows": "

Returns metadata about an Amazon FSx for Windows File Server location, such as information about its path.

", @@ -398,9 +398,9 @@ } }, "Ec2Config": { - "base": "

The subnet that DataSync uses to access target EFS file system. The subnet must have at least one mount target for that file system. The security group that you provide needs to be able to communicate with the security group on the mount target in the subnet specified.

", + "base": "

The subnet and security groups that DataSync uses to access your Amazon EFS file system.

", "refs": { - "CreateLocationEfsRequest$Ec2Config": "

The subnet and security group that the Amazon EFS file system uses. The security group that you provide needs to be able to communicate with the security group on the mount target in the subnet specified.

The exact relationship between security group M (of the mount target) and security group S (which you provide for DataSync to use at this stage) is as follows:

", + "CreateLocationEfsRequest$Ec2Config": "

Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.

", "DescribeLocationEfsResponse$Ec2Config": null } }, @@ -420,26 +420,40 @@ "DescribeLocationFsxLustreResponse$SecurityGroupArns": "

The Amazon Resource Names (ARNs) of the security groups that are configured for the FSx for Lustre file system.

", "DescribeLocationFsxOpenZfsResponse$SecurityGroupArns": "

The ARNs of the security groups that are configured for the FSx for OpenZFS file system.

", "DescribeLocationFsxWindowsResponse$SecurityGroupArns": "

The Amazon Resource Names (ARNs) of the security groups that are configured for the FSx for Windows File Server file system.

", - "Ec2Config$SecurityGroupArns": "

The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.

" + "Ec2Config$SecurityGroupArns": "

Specifies the Amazon Resource Names (ARNs) of the security groups associated with an Amazon EFS file system's mount target.

" } }, "Ec2SubnetArn": { "base": null, "refs": { - "Ec2Config$SubnetArn": "

The ARN of the subnet that DataSync uses to access the target EFS file system.

", + "Ec2Config$SubnetArn": "

Specifies the ARN of a subnet where DataSync creates the network interfaces for managing traffic during your transfer.

The subnet must be located:

You don't need to specify a subnet that includes a file system mount target.

", "PLSubnetArnList$member": null } }, + "EfsAccessPointArn": { + "base": null, + "refs": { + "CreateLocationEfsRequest$AccessPointArn": "

Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.

", + "DescribeLocationEfsResponse$AccessPointArn": "

The ARN of the access point that DataSync uses to access the Amazon EFS file system.

" + } + }, "EfsFilesystemArn": { "base": null, "refs": { - "CreateLocationEfsRequest$EfsFilesystemArn": "

The Amazon Resource Name (ARN) for the Amazon EFS file system.

" + "CreateLocationEfsRequest$EfsFilesystemArn": "

Specifies the ARN for the Amazon EFS file system.

" + } + }, + "EfsInTransitEncryption": { + "base": null, + "refs": { + "CreateLocationEfsRequest$InTransitEncryption": "

Specifies whether you want DataSync to use TLS encryption when transferring data to or from your Amazon EFS file system.

If you specify an access point using AccessPointArn or an IAM role using FileSystemAccessRoleArn, you must set this parameter to TLS1_2.

", + "DescribeLocationEfsResponse$InTransitEncryption": "

Whether DataSync uses TLS encryption when transferring data to or from your Amazon EFS file system.

" } }, "EfsSubdirectory": { "base": null, "refs": { - "CreateLocationEfsRequest$Subdirectory": "

A subdirectory in the location’s path. This subdirectory in the EFS file system is used to read data from the EFS source location or write data to the EFS destination. By default, DataSync uses the root directory.

Subdirectory must be specified with forward slashes. For example, /path/to/folder.

" + "CreateLocationEfsRequest$Subdirectory": "

Specifies a mount path for your Amazon EFS file system. This is where DataSync reads or writes data (depending on if this is a source or destination location). By default, DataSync uses the root directory, but you can also include subdirectories.

You must specify a value with forward slashes (for example, /path/to/folder).

" } }, "Endpoint": { @@ -625,6 +639,8 @@ "IamRoleArn": { "base": null, "refs": { + "CreateLocationEfsRequest$FileSystemAccessRoleArn": "

Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.

", + "DescribeLocationEfsResponse$FileSystemAccessRoleArn": "

The Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.

", "S3Config$BucketAccessRoleArn": "

The ARN of the IAM role for accessing the S3 bucket.

" } }, @@ -632,7 +648,7 @@ "base": null, "refs": { "CreateAgentRequest$Tags": "

The key-value pair that represents the tag that you want to associate with the agent. The value can be an empty string. This value helps you manage, filter, and search for your agents.

Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @.

", - "CreateLocationEfsRequest$Tags": "

The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.

", + "CreateLocationEfsRequest$Tags": "

Specifies the key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.

", "CreateLocationFsxLustreRequest$Tags": "

The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.

", "CreateLocationFsxOpenZfsRequest$Tags": "

The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.

", "CreateLocationFsxWindowsRequest$Tags": "

The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.

", @@ -738,7 +754,7 @@ "LocationArn": { "base": null, "refs": { - "CreateLocationEfsResponse$LocationArn": "

The Amazon Resource Name (ARN) of the Amazon EFS file system location that is created.

", + "CreateLocationEfsResponse$LocationArn": "

The Amazon Resource Name (ARN) of the Amazon EFS file system location that you create.

", "CreateLocationFsxLustreResponse$LocationArn": "

The Amazon Resource Name (ARN) of the FSx for Lustre file system location that's created.

", "CreateLocationFsxOpenZfsResponse$LocationArn": "

The ARN of the FSx for OpenZFS file system location that you created.

", "CreateLocationFsxWindowsResponse$LocationArn": "

The Amazon Resource Name (ARN) of the FSx for Windows File Server file system location you created.

", @@ -750,8 +766,8 @@ "CreateTaskRequest$SourceLocationArn": "

The Amazon Resource Name (ARN) of the source location for the task.

", "CreateTaskRequest$DestinationLocationArn": "

The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's location.

", "DeleteLocationRequest$LocationArn": "

The Amazon Resource Name (ARN) of the location to delete.

", - "DescribeLocationEfsRequest$LocationArn": "

The Amazon Resource Name (ARN) of the EFS location to describe.

", - "DescribeLocationEfsResponse$LocationArn": "

The Amazon Resource Name (ARN) of the EFS location that was described.

", + "DescribeLocationEfsRequest$LocationArn": "

The Amazon Resource Name (ARN) of the Amazon EFS file system location that you want information about.

", + "DescribeLocationEfsResponse$LocationArn": "

The ARN of the Amazon EFS file system location.

", "DescribeLocationFsxLustreRequest$LocationArn": "

The Amazon Resource Name (ARN) of the FSx for Lustre location to describe.

", "DescribeLocationFsxLustreResponse$LocationArn": "

The Amazon Resource Name (ARN) of the FSx for Lustre location that was described.

", "DescribeLocationFsxOpenZfsRequest$LocationArn": "

The Amazon Resource Name (ARN) of the FSx for OpenZFS location to describe.

", @@ -810,7 +826,7 @@ "LocationUri": { "base": null, "refs": { - "DescribeLocationEfsResponse$LocationUri": "

The URL of the EFS location that was described.

", + "DescribeLocationEfsResponse$LocationUri": "

The URL of the Amazon EFS file system location.

", "DescribeLocationFsxLustreResponse$LocationUri": "

The URI of the FSx for Lustre location that was described.

", "DescribeLocationFsxOpenZfsResponse$LocationUri": "

The uniform resource identifier (URI) of the FSx for OpenZFS location that was described.

Example: fsxz://us-west-2.fs-1234567890abcdef02/fsx/folderA/folder

", "DescribeLocationFsxWindowsResponse$LocationUri": "

The URL of the FSx for Windows File Server location that was described.

", @@ -1302,7 +1318,7 @@ "refs": { "DescribeAgentResponse$LastConnectionTime": "

The time that the agent last connected to DataSync.

", "DescribeAgentResponse$CreationTime": "

The time that the agent was activated (that is, created in your account).

", - "DescribeLocationEfsResponse$CreationTime": "

The time that the EFS location was created.

", + "DescribeLocationEfsResponse$CreationTime": "

The time that the location was created.

", "DescribeLocationFsxLustreResponse$CreationTime": "

The time that the FSx for Lustre location was created.

", "DescribeLocationFsxOpenZfsResponse$CreationTime": "

The time that the FSx for OpenZFS location was created.

", "DescribeLocationFsxWindowsResponse$CreationTime": "

The time that the FSx for Windows File Server location was created.

", diff --git a/apis/datasync/2018-11-09/paginators-1.json b/apis/datasync/2018-11-09/paginators-1.json index 47fbeb7556c..53de34f21c8 100644 --- a/apis/datasync/2018-11-09/paginators-1.json +++ b/apis/datasync/2018-11-09/paginators-1.json @@ -3,27 +3,32 @@ "ListAgents": { "input_token": "NextToken", "output_token": "NextToken", - "limit_key": "MaxResults" + "limit_key": "MaxResults", + "result_key": "Agents" }, "ListLocations": { "input_token": "NextToken", "output_token": "NextToken", - "limit_key": "MaxResults" + "limit_key": "MaxResults", + "result_key": "Locations" }, "ListTagsForResource": { "input_token": "NextToken", "output_token": "NextToken", - "limit_key": "MaxResults" + "limit_key": "MaxResults", + "result_key": "Tags" }, "ListTaskExecutions": { "input_token": "NextToken", "output_token": "NextToken", - "limit_key": "MaxResults" + "limit_key": "MaxResults", + "result_key": "TaskExecutions" }, "ListTasks": { "input_token": "NextToken", "output_token": "NextToken", - "limit_key": "MaxResults" + "limit_key": "MaxResults", + "result_key": "Tasks" } } } diff --git a/apis/emr-serverless/2021-07-13/api-2.json b/apis/emr-serverless/2021-07-13/api-2.json new file mode 100644 index 00000000000..f35de7c1394 --- /dev/null +++ b/apis/emr-serverless/2021-07-13/api-2.json @@ -0,0 +1,1220 @@ +{ + "version":"2.0", + "metadata":{ + "apiVersion":"2021-07-13", + "endpointPrefix":"emr-serverless", + "jsonVersion":"1.1", + "protocol":"rest-json", + "serviceFullName":"EMR Serverless", + "serviceId":"EMR Serverless", + "signatureVersion":"v4", + "signingName":"emr-serverless", + "uid":"emr-serverless-2021-07-13" + }, + "operations":{ + "CancelJobRun":{ + "name":"CancelJobRun", + "http":{ + "method":"DELETE", + "requestUri":"/applications/{applicationId}/jobruns/{jobRunId}", + "responseCode":200 + }, + "input":{"shape":"CancelJobRunRequest"}, + "output":{"shape":"CancelJobRunResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} + ], + "idempotent":true + }, + "CreateApplication":{ + "name":"CreateApplication", + "http":{ + "method":"POST", + "requestUri":"/applications", + "responseCode":200 + }, + "input":{"shape":"CreateApplicationRequest"}, + "output":{"shape":"CreateApplicationResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ConflictException"} + ], + "idempotent":true + }, + "DeleteApplication":{ + "name":"DeleteApplication", + "http":{ + "method":"DELETE", + "requestUri":"/applications/{applicationId}", + "responseCode":200 + }, + "input":{"shape":"DeleteApplicationRequest"}, + "output":{"shape":"DeleteApplicationResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} + ], + "idempotent":true + }, + "GetApplication":{ + "name":"GetApplication", + "http":{ + "method":"GET", + "requestUri":"/applications/{applicationId}", + "responseCode":200 + }, + "input":{"shape":"GetApplicationRequest"}, + "output":{"shape":"GetApplicationResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} + ] + }, + "GetJobRun":{ + "name":"GetJobRun", + "http":{ + "method":"GET", + "requestUri":"/applications/{applicationId}/jobruns/{jobRunId}", + "responseCode":200 + }, + "input":{"shape":"GetJobRunRequest"}, + "output":{"shape":"GetJobRunResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} + ] + }, + "ListApplications":{ + "name":"ListApplications", + "http":{ + "method":"GET", + "requestUri":"/applications", + "responseCode":200 + }, + "input":{"shape":"ListApplicationsRequest"}, + "output":{"shape":"ListApplicationsResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "ListJobRuns":{ + "name":"ListJobRuns", + "http":{ + "method":"GET", + "requestUri":"/applications/{applicationId}/jobruns", + "responseCode":200 + }, + "input":{"shape":"ListJobRunsRequest"}, + "output":{"shape":"ListJobRunsResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "ListTagsForResource":{ + "name":"ListTagsForResource", + "http":{ + "method":"GET", + "requestUri":"/tags/{resourceArn}", + "responseCode":200 + }, + "input":{"shape":"ListTagsForResourceRequest"}, + "output":{"shape":"ListTagsForResourceResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} + ] + }, + "StartApplication":{ + "name":"StartApplication", + "http":{ + "method":"POST", + "requestUri":"/applications/{applicationId}/start", + "responseCode":200 + }, + "input":{"shape":"StartApplicationRequest"}, + "output":{"shape":"StartApplicationResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "idempotent":true + }, + "StartJobRun":{ + "name":"StartJobRun", + "http":{ + "method":"POST", + "requestUri":"/applications/{applicationId}/jobruns", + "responseCode":200 + }, + "input":{"shape":"StartJobRunRequest"}, + "output":{"shape":"StartJobRunResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ConflictException"} + ], + "idempotent":true + }, + "StopApplication":{ + "name":"StopApplication", + "http":{ + "method":"POST", + "requestUri":"/applications/{applicationId}/stop", + "responseCode":200 + }, + "input":{"shape":"StopApplicationRequest"}, + "output":{"shape":"StopApplicationResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} + ], + "idempotent":true + }, + "TagResource":{ + "name":"TagResource", + "http":{ + "method":"POST", + "requestUri":"/tags/{resourceArn}", + "responseCode":200 + }, + "input":{"shape":"TagResourceRequest"}, + "output":{"shape":"TagResourceResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} + ] + }, + "UntagResource":{ + "name":"UntagResource", + "http":{ + "method":"DELETE", + "requestUri":"/tags/{resourceArn}", + "responseCode":200 + }, + "input":{"shape":"UntagResourceRequest"}, + "output":{"shape":"UntagResourceResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} + ], + "idempotent":true + }, + "UpdateApplication":{ + "name":"UpdateApplication", + "http":{ + "method":"PATCH", + "requestUri":"/applications/{applicationId}", + "responseCode":200 + }, + "input":{"shape":"UpdateApplicationRequest"}, + "output":{"shape":"UpdateApplicationResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} + ] + } + }, + "shapes":{ + "Application":{ + "type":"structure", + "required":[ + "applicationId", + "arn", + "releaseLabel", + "type", + "state", + "createdAt", + "updatedAt" + ], + "members":{ + "applicationId":{"shape":"ApplicationId"}, + "name":{"shape":"ApplicationName"}, + "arn":{"shape":"ApplicationArn"}, + "releaseLabel":{"shape":"ReleaseLabel"}, + "type":{"shape":"EngineType"}, + "state":{"shape":"ApplicationState"}, + "stateDetails":{"shape":"String256"}, + "initialCapacity":{"shape":"InitialCapacityConfigMap"}, + "maximumCapacity":{"shape":"MaximumAllowedResources"}, + "createdAt":{"shape":"Date"}, + "updatedAt":{"shape":"Date"}, + "tags":{"shape":"TagMap"}, + "autoStartConfiguration":{"shape":"AutoStartConfig"}, + "autoStopConfiguration":{"shape":"AutoStopConfig"}, + "networkConfiguration":{"shape":"NetworkConfiguration"} + } + }, + "ApplicationArn":{ + "type":"string", + "max":1024, + "min":60, + "pattern":"arn:(aws[a-zA-Z0-9-]*):emr-serverless:.+:(\\d{12}):\\/applications\\/[0-9a-zA-Z]+" + }, + "ApplicationId":{ + "type":"string", + "max":64, + "min":1, + "pattern":"[0-9a-z]+" + }, + "ApplicationList":{ + "type":"list", + "member":{"shape":"ApplicationSummary"} + }, + "ApplicationName":{ + "type":"string", + "max":64, + "min":1, + "pattern":"[A-Za-z0-9._/#-]+" + }, + "ApplicationState":{ + "type":"string", + "enum":[ + "CREATING", + "CREATED", + "STARTING", + "STARTED", + "STOPPING", + "STOPPED", + "TERMINATED" + ] + }, + "ApplicationStateSet":{ + "type":"list", + "member":{"shape":"ApplicationState"}, + "max":7, + "min":1 + }, + "ApplicationSummary":{ + "type":"structure", + "required":[ + "id", + "arn", + "releaseLabel", + "type", + "state", + "createdAt", + "updatedAt" + ], + "members":{ + "id":{"shape":"ApplicationId"}, + "name":{"shape":"ApplicationName"}, + "arn":{"shape":"ApplicationArn"}, + "releaseLabel":{"shape":"ReleaseLabel"}, + "type":{"shape":"EngineType"}, + "state":{"shape":"ApplicationState"}, + "stateDetails":{"shape":"String256"}, + "createdAt":{"shape":"Date"}, + "updatedAt":{"shape":"Date"} + } + }, + "AutoStartConfig":{ + "type":"structure", + "members":{ + "enabled":{"shape":"Boolean"} + } + }, + "AutoStopConfig":{ + "type":"structure", + "members":{ + "enabled":{"shape":"Boolean"}, + "idleTimeoutMinutes":{ + "shape":"AutoStopConfigIdleTimeoutMinutesInteger", + "box":true + } + } + }, + "AutoStopConfigIdleTimeoutMinutesInteger":{ + "type":"integer", + "box":true, + "max":10080, + "min":1 + }, + "Boolean":{ + "type":"boolean", + "box":true + }, + "CancelJobRunRequest":{ + "type":"structure", + "required":[ + "applicationId", + "jobRunId" + ], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "location":"uri", + "locationName":"applicationId" + }, + "jobRunId":{ + "shape":"JobRunId", + "location":"uri", + "locationName":"jobRunId" + } + } + }, + "CancelJobRunResponse":{ + "type":"structure", + "required":[ + "applicationId", + "jobRunId" + ], + "members":{ + "applicationId":{"shape":"ApplicationId"}, + "jobRunId":{"shape":"JobRunId"} + } + }, + "ClientToken":{ + "type":"string", + "max":64, + "min":1, + "pattern":"[A-Za-z0-9._-]+" + }, + "Configuration":{ + "type":"structure", + "required":["classification"], + "members":{ + "classification":{"shape":"String1024"}, + "properties":{"shape":"SensitivePropertiesMap"}, + "configurations":{"shape":"ConfigurationList"} + } + }, + "ConfigurationList":{ + "type":"list", + "member":{"shape":"Configuration"}, + "max":100, + "min":0 + }, + "ConfigurationOverrides":{ + "type":"structure", + "members":{ + "applicationConfiguration":{"shape":"ConfigurationList"}, + "monitoringConfiguration":{"shape":"MonitoringConfiguration"} + } + }, + "ConflictException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String1024"} + }, + "error":{ + "httpStatusCode":409, + "senderFault":true + }, + "exception":true + }, + "CpuSize":{ + "type":"string", + "max":15, + "min":1, + "pattern":"[1-9][0-9]*(\\s)?(vCPU|vcpu|VCPU)?" + }, + "CreateApplicationRequest":{ + "type":"structure", + "required":[ + "releaseLabel", + "type", + "clientToken" + ], + "members":{ + "name":{"shape":"ApplicationName"}, + "releaseLabel":{"shape":"ReleaseLabel"}, + "type":{"shape":"EngineType"}, + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + }, + "initialCapacity":{"shape":"InitialCapacityConfigMap"}, + "maximumCapacity":{"shape":"MaximumAllowedResources"}, + "tags":{"shape":"TagMap"}, + "autoStartConfiguration":{"shape":"AutoStartConfig"}, + "autoStopConfiguration":{"shape":"AutoStopConfig"}, + "networkConfiguration":{"shape":"NetworkConfiguration"} + } + }, + "CreateApplicationResponse":{ + "type":"structure", + "required":[ + "applicationId", + "arn" + ], + "members":{ + "applicationId":{"shape":"ApplicationId"}, + "name":{"shape":"ApplicationName"}, + "arn":{"shape":"ApplicationArn"} + } + }, + "Date":{"type":"timestamp"}, + "DeleteApplicationRequest":{ + "type":"structure", + "required":["applicationId"], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "location":"uri", + "locationName":"applicationId" + } + } + }, + "DeleteApplicationResponse":{ + "type":"structure", + "members":{ + } + }, + "DiskSize":{ + "type":"string", + "max":15, + "min":1, + "pattern":"[1-9][0-9]*(\\s)?(GB|gb|gB|Gb)" + }, + "Double":{ + "type":"double", + "box":true + }, + "Duration":{ + "type":"long", + "max":1000000, + "min":0 + }, + "EncryptionKeyArn":{ + "type":"string", + "max":2048, + "min":20, + "pattern":"arn:(aws[a-zA-Z0-9-]*):kms:[a-zA-Z0-9\\-]*:(\\d{12})?:key\\/[a-zA-Z0-9-]+" + }, + "EngineType":{ + "type":"string", + "max":64, + "min":1 + }, + "EntryPointArgument":{ + "type":"string", + "max":10280, + "min":1, + "pattern":".*\\S.*", + "sensitive":true + }, + "EntryPointArguments":{ + "type":"list", + "member":{"shape":"EntryPointArgument"} + }, + "EntryPointPath":{ + "type":"string", + "max":256, + "min":1, + "pattern":".*\\S.*", + "sensitive":true + }, + "GetApplicationRequest":{ + "type":"structure", + "required":["applicationId"], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "location":"uri", + "locationName":"applicationId" + } + } + }, + "GetApplicationResponse":{ + "type":"structure", + "required":["application"], + "members":{ + "application":{"shape":"Application"} + } + }, + "GetJobRunRequest":{ + "type":"structure", + "required":[ + "applicationId", + "jobRunId" + ], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "location":"uri", + "locationName":"applicationId" + }, + "jobRunId":{ + "shape":"JobRunId", + "location":"uri", + "locationName":"jobRunId" + } + } + }, + "GetJobRunResponse":{ + "type":"structure", + "required":["jobRun"], + "members":{ + "jobRun":{"shape":"JobRun"} + } + }, + "Hive":{ + "type":"structure", + "required":["query"], + "members":{ + "query":{"shape":"Query"}, + "initQueryFile":{"shape":"InitScriptPath"}, + "parameters":{"shape":"HiveCliParameters"} + } + }, + "HiveCliParameters":{ + "type":"string", + "max":102400, + "min":1, + "pattern":".*\\S.*", + "sensitive":true + }, + "IAMRoleArn":{ + "type":"string", + "max":2048, + "min":20, + "pattern":"arn:(aws[a-zA-Z0-9-]*):iam::(\\d{12})?:(role((\\u002F)|(\\u002F[\\u0021-\\u007F]+\\u002F))[\\w+=,.@-]+)" + }, + "InitScriptPath":{ + "type":"string", + "max":256, + "min":1, + "pattern":".*\\S.*", + "sensitive":true + }, + "InitialCapacityConfig":{ + "type":"structure", + "required":["workerCount"], + "members":{ + "workerCount":{"shape":"WorkerCounts"}, + "workerConfiguration":{"shape":"WorkerResourceConfig"} + } + }, + "InitialCapacityConfigMap":{ + "type":"map", + "key":{"shape":"WorkerTypeString"}, + "value":{"shape":"InitialCapacityConfig"}, + "max":10, + "min":0 + }, + "Integer":{ + "type":"integer", + "box":true + }, + "InternalServerException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String1024"} + }, + "error":{"httpStatusCode":500}, + "exception":true, + "fault":true + }, + "JobArn":{ + "type":"string", + "max":1024, + "min":60, + "pattern":"arn:(aws[a-zA-Z0-9-]*):emr-serverless:.+:(\\d{12}):\\/applications\\/[0-9a-zA-Z]+\\/jobruns\\/[0-9a-zA-Z]+" + }, + "JobDriver":{ + "type":"structure", + "members":{ + "sparkSubmit":{"shape":"SparkSubmit"}, + "hive":{"shape":"Hive"} + }, + "union":true + }, + "JobRun":{ + "type":"structure", + "required":[ + "applicationId", + "jobRunId", + "arn", + "createdBy", + "createdAt", + "updatedAt", + "executionRole", + "state", + "stateDetails", + "releaseLabel", + "jobDriver" + ], + "members":{ + "applicationId":{"shape":"ApplicationId"}, + "jobRunId":{"shape":"JobRunId"}, + "name":{"shape":"String256"}, + "arn":{"shape":"JobArn"}, + "createdBy":{"shape":"RequestIdentityUserArn"}, + "createdAt":{"shape":"Date"}, + "updatedAt":{"shape":"Date"}, + "executionRole":{"shape":"IAMRoleArn"}, + "state":{"shape":"JobRunState"}, + "stateDetails":{"shape":"String256"}, + "releaseLabel":{"shape":"ReleaseLabel"}, + "configurationOverrides":{"shape":"ConfigurationOverrides"}, + "jobDriver":{"shape":"JobDriver"}, + "tags":{"shape":"TagMap"}, + "totalResourceUtilization":{"shape":"TotalResourceUtilization"}, + "networkConfiguration":{"shape":"NetworkConfiguration"}, + "totalExecutionDurationSeconds":{"shape":"Integer"} + } + }, + "JobRunId":{ + "type":"string", + "max":64, + "min":1, + "pattern":"[0-9a-z]+" + }, + "JobRunState":{ + "type":"string", + "enum":[ + "SUBMITTED", + "PENDING", + "SCHEDULED", + "RUNNING", + "SUCCESS", + "FAILED", + "CANCELLING", + "CANCELLED" + ] + }, + "JobRunStateSet":{ + "type":"list", + "member":{"shape":"JobRunState"}, + "max":8, + "min":0 + }, + "JobRunSummary":{ + "type":"structure", + "required":[ + "applicationId", + "id", + "arn", + "createdBy", + "createdAt", + "updatedAt", + "executionRole", + "state", + "stateDetails", + "releaseLabel" + ], + "members":{ + "applicationId":{"shape":"ApplicationId"}, + "id":{"shape":"JobRunId"}, + "name":{"shape":"String256"}, + "arn":{"shape":"JobArn"}, + "createdBy":{"shape":"RequestIdentityUserArn"}, + "createdAt":{"shape":"Date"}, + "updatedAt":{"shape":"Date"}, + "executionRole":{"shape":"IAMRoleArn"}, + "state":{"shape":"JobRunState"}, + "stateDetails":{"shape":"String256"}, + "releaseLabel":{"shape":"ReleaseLabel"}, + "type":{"shape":"JobRunType"} + } + }, + "JobRunType":{"type":"string"}, + "JobRuns":{ + "type":"list", + "member":{"shape":"JobRunSummary"} + }, + "ListApplicationsRequest":{ + "type":"structure", + "members":{ + "nextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + }, + "maxResults":{ + "shape":"ListApplicationsRequestMaxResultsInteger", + "box":true, + "location":"querystring", + "locationName":"maxResults" + }, + "states":{ + "shape":"ApplicationStateSet", + "location":"querystring", + "locationName":"states" + } + } + }, + "ListApplicationsRequestMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":50, + "min":1 + }, + "ListApplicationsResponse":{ + "type":"structure", + "required":["applications"], + "members":{ + "applications":{"shape":"ApplicationList"}, + "nextToken":{"shape":"NextToken"} + } + }, + "ListJobRunsRequest":{ + "type":"structure", + "required":["applicationId"], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "location":"uri", + "locationName":"applicationId" + }, + "nextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + }, + "maxResults":{ + "shape":"ListJobRunsRequestMaxResultsInteger", + "box":true, + "location":"querystring", + "locationName":"maxResults" + }, + "createdAtAfter":{ + "shape":"Date", + "location":"querystring", + "locationName":"createdAtAfter" + }, + "createdAtBefore":{ + "shape":"Date", + "location":"querystring", + "locationName":"createdAtBefore" + }, + "states":{ + "shape":"JobRunStateSet", + "location":"querystring", + "locationName":"states" + } + } + }, + "ListJobRunsRequestMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":50, + "min":1 + }, + "ListJobRunsResponse":{ + "type":"structure", + "required":["jobRuns"], + "members":{ + "jobRuns":{"shape":"JobRuns"}, + "nextToken":{"shape":"NextToken"} + } + }, + "ListTagsForResourceRequest":{ + "type":"structure", + "required":["resourceArn"], + "members":{ + "resourceArn":{ + "shape":"ResourceArn", + "location":"uri", + "locationName":"resourceArn" + } + } + }, + "ListTagsForResourceResponse":{ + "type":"structure", + "members":{ + "tags":{"shape":"TagMap"} + } + }, + "ManagedPersistenceMonitoringConfiguration":{ + "type":"structure", + "members":{ + "enabled":{"shape":"Boolean"}, + "encryptionKeyArn":{"shape":"EncryptionKeyArn"} + } + }, + "MaximumAllowedResources":{ + "type":"structure", + "required":[ + "cpu", + "memory" + ], + "members":{ + "cpu":{"shape":"CpuSize"}, + "memory":{"shape":"MemorySize"}, + "disk":{"shape":"DiskSize"} + } + }, + "MemorySize":{ + "type":"string", + "max":15, + "min":1, + "pattern":"[1-9][0-9]*(\\s)?(GB|gb|gB|Gb)?" + }, + "MonitoringConfiguration":{ + "type":"structure", + "members":{ + "s3MonitoringConfiguration":{"shape":"S3MonitoringConfiguration"}, + "managedPersistenceMonitoringConfiguration":{"shape":"ManagedPersistenceMonitoringConfiguration"} + } + }, + "NetworkConfiguration":{ + "type":"structure", + "members":{ + "subnetIds":{"shape":"SubnetIds"}, + "securityGroupIds":{"shape":"SecurityGroupIds"} + } + }, + "NextToken":{ + "type":"string", + "max":1024, + "min":1, + "pattern":"[A-Za-z0-9_=-]+" + }, + "Query":{ + "type":"string", + "max":10280, + "min":1, + "pattern":".*\\S.*", + "sensitive":true + }, + "ReleaseLabel":{ + "type":"string", + "max":64, + "min":1, + "pattern":"[A-Za-z0-9._/-]+" + }, + "RequestIdentityUserArn":{ + "type":"string", + "max":2048, + "min":20, + "pattern":"arn:(aws[a-zA-Z0-9-]*):(iam|sts)::(\\d{12})?:[\\w/+=,.@-]+" + }, + "ResourceArn":{ + "type":"string", + "max":1024, + "min":60, + "pattern":"arn:(aws[a-zA-Z0-9-]*):emr-serverless:.+:(\\d{12}):\\/applications\\/[0-9a-zA-Z]+(\\/jobruns\\/[0-9a-zA-Z]+)?" + }, + "ResourceNotFoundException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String1024"} + }, + "error":{ + "httpStatusCode":404, + "senderFault":true + }, + "exception":true + }, + "S3MonitoringConfiguration":{ + "type":"structure", + "members":{ + "logUri":{"shape":"UriString"}, + "encryptionKeyArn":{"shape":"EncryptionKeyArn"} + } + }, + "SecurityGroupIds":{ + "type":"list", + "member":{"shape":"SecurityGroupString"}, + "max":5, + "min":0 + }, + "SecurityGroupString":{ + "type":"string", + "max":32, + "min":1, + "pattern":"[-0-9a-zA-Z]+.*" + }, + "SensitivePropertiesMap":{ + "type":"map", + "key":{"shape":"String1024"}, + "value":{"shape":"String1024"}, + "max":100, + "min":0, + "sensitive":true + }, + "ServiceQuotaExceededException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String1024"} + }, + "error":{ + "httpStatusCode":402, + "senderFault":true + }, + "exception":true + }, + "SparkSubmit":{ + "type":"structure", + "required":["entryPoint"], + "members":{ + "entryPoint":{"shape":"EntryPointPath"}, + "entryPointArguments":{"shape":"EntryPointArguments"}, + "sparkSubmitParameters":{"shape":"SparkSubmitParameters"} + } + }, + "SparkSubmitParameters":{ + "type":"string", + "max":102400, + "min":1, + "pattern":".*\\S.*", + "sensitive":true + }, + "StartApplicationRequest":{ + "type":"structure", + "required":["applicationId"], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "location":"uri", + "locationName":"applicationId" + } + } + }, + "StartApplicationResponse":{ + "type":"structure", + "members":{ + } + }, + "StartJobRunRequest":{ + "type":"structure", + "required":[ + "applicationId", + "clientToken", + "executionRoleArn" + ], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "location":"uri", + "locationName":"applicationId" + }, + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + }, + "executionRoleArn":{"shape":"IAMRoleArn"}, + "jobDriver":{"shape":"JobDriver"}, + "configurationOverrides":{"shape":"ConfigurationOverrides"}, + "tags":{"shape":"TagMap"}, + "executionTimeoutMinutes":{ + "shape":"Duration", + "box":true + }, + "name":{"shape":"String256"} + } + }, + "StartJobRunResponse":{ + "type":"structure", + "required":[ + "applicationId", + "jobRunId", + "arn" + ], + "members":{ + "applicationId":{"shape":"ApplicationId"}, + "jobRunId":{"shape":"JobRunId"}, + "arn":{"shape":"JobArn"} + } + }, + "StopApplicationRequest":{ + "type":"structure", + "required":["applicationId"], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "location":"uri", + "locationName":"applicationId" + } + } + }, + "StopApplicationResponse":{ + "type":"structure", + "members":{ + } + }, + "String1024":{ + "type":"string", + "max":1024, + "min":1, + "pattern":".*\\S.*" + }, + "String256":{ + "type":"string", + "max":256, + "min":1, + "pattern":".*\\S.*" + }, + "SubnetIds":{ + "type":"list", + "member":{"shape":"SubnetString"}, + "max":16, + "min":0 + }, + "SubnetString":{ + "type":"string", + "max":32, + "min":1, + "pattern":"[-0-9a-zA-Z]+.*" + }, + "TagKey":{ + "type":"string", + "max":128, + "min":1, + "pattern":"[A-Za-z0-9 /_.:=+@-]+" + }, + "TagKeyList":{ + "type":"list", + "member":{"shape":"TagKey"}, + "max":200, + "min":1 + }, + "TagMap":{ + "type":"map", + "key":{"shape":"TagKey"}, + "value":{"shape":"TagValue"}, + "max":200, + "min":0 + }, + "TagResourceRequest":{ + "type":"structure", + "required":[ + "resourceArn", + "tags" + ], + "members":{ + "resourceArn":{ + "shape":"ResourceArn", + "location":"uri", + "locationName":"resourceArn" + }, + "tags":{"shape":"TagMap"} + } + }, + "TagResourceResponse":{ + "type":"structure", + "members":{ + } + }, + "TagValue":{ + "type":"string", + "max":256, + "min":0, + "pattern":"[A-Za-z0-9 /_.:=+@-]*" + }, + "TotalResourceUtilization":{ + "type":"structure", + "members":{ + "vCPUHour":{"shape":"Double"}, + "memoryGBHour":{"shape":"Double"}, + "storageGBHour":{"shape":"Double"} + } + }, + "UntagResourceRequest":{ + "type":"structure", + "required":[ + "resourceArn", + "tagKeys" + ], + "members":{ + "resourceArn":{ + "shape":"ResourceArn", + "location":"uri", + "locationName":"resourceArn" + }, + "tagKeys":{ + "shape":"TagKeyList", + "location":"querystring", + "locationName":"tagKeys" + } + } + }, + "UntagResourceResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateApplicationRequest":{ + "type":"structure", + "required":[ + "applicationId", + "clientToken" + ], + "members":{ + "applicationId":{ + "shape":"ApplicationId", + "location":"uri", + "locationName":"applicationId" + }, + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + }, + "initialCapacity":{"shape":"InitialCapacityConfigMap"}, + "maximumCapacity":{"shape":"MaximumAllowedResources"}, + "autoStartConfiguration":{"shape":"AutoStartConfig"}, + "autoStopConfiguration":{"shape":"AutoStopConfig"}, + "networkConfiguration":{"shape":"NetworkConfiguration"} + } + }, + "UpdateApplicationResponse":{ + "type":"structure", + "required":["application"], + "members":{ + "application":{"shape":"Application"} + } + }, + "UriString":{ + "type":"string", + "max":10280, + "min":1, + "pattern":".*[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDBFF-\\uDC00\\uDFFF\\r\\n\\t]*.*" + }, + "ValidationException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String1024"} + }, + "error":{ + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, + "WorkerCounts":{ + "type":"long", + "max":1000000, + "min":1 + }, + "WorkerResourceConfig":{ + "type":"structure", + "required":[ + "cpu", + "memory" + ], + "members":{ + "cpu":{"shape":"CpuSize"}, + "memory":{"shape":"MemorySize"}, + "disk":{"shape":"DiskSize"} + } + }, + "WorkerTypeString":{ + "type":"string", + "max":50, + "min":1, + "pattern":"[a-zA-Z]+[-_]*[a-zA-Z]+" + } + } +} diff --git a/apis/emr-serverless/2021-07-13/docs-2.json b/apis/emr-serverless/2021-07-13/docs-2.json new file mode 100644 index 00000000000..df3a69f70d1 --- /dev/null +++ b/apis/emr-serverless/2021-07-13/docs-2.json @@ -0,0 +1,723 @@ +{ + "version": "2.0", + "service": "

Amazon EMR Serverless is a new deployment option for Amazon EMR. EMR Serverless provides a serverless runtime environment that simplifies running analytics applications using the latest open source frameworks such as Apache Spark and Apache Hive. With EMR Serverless, you don’t have to configure, optimize, secure, or operate clusters to run applications with these frameworks.

The API reference to Amazon EMR Serverless is emr-serverless. The emr-serverless prefix is used in the following scenarios:

", + "operations": { + "CancelJobRun": "

Cancels a job run.

", + "CreateApplication": "

Creates an application.

", + "DeleteApplication": "

Deletes an application. An application has to be in a stopped or created state in order to be deleted.

", + "GetApplication": "

Displays detailed information about a specified application.

", + "GetJobRun": "

Displays detailed information about a job run.

", + "ListApplications": "

Lists applications based on a set of parameters.

", + "ListJobRuns": "

Lists job runs based on a set of parameters.

", + "ListTagsForResource": "

Lists the tags assigned to the resources.

", + "StartApplication": "

Starts a specified application and initializes initial capacity if configured.

", + "StartJobRun": "

Starts a job run.

", + "StopApplication": "

Stops a specified application and releases initial capacity if configured. All scheduled and running jobs must be completed or cancelled before stopping an application.

", + "TagResource": "

Assigns tags to resources. A tag is a label that you assign to an AWS resource. Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize your AWS resources by attributes such as purpose, owner, or environment. When you have many resources of the same type, you can quickly identify a specific resource based on the tags you've assigned to it.

", + "UntagResource": "

Removes tags from resources.

", + "UpdateApplication": "

Updates a specified application. An application has to be in a stopped or created state in order to be updated.

" + }, + "shapes": { + "Application": { + "base": "

Information about an application. EMR Serverless uses applications to run jobs.

", + "refs": { + "GetApplicationResponse$application": "

The output displays information about the specified application.

", + "UpdateApplicationResponse$application": "

Information about the updated application.

" + } + }, + "ApplicationArn": { + "base": null, + "refs": { + "Application$arn": "

The ARN of the application.

", + "ApplicationSummary$arn": "

The ARN of the application.

", + "CreateApplicationResponse$arn": "

The output contains the ARN of the application.

" + } + }, + "ApplicationId": { + "base": null, + "refs": { + "Application$applicationId": "

The ID of the application.

", + "ApplicationSummary$id": "

The ID of the application.

", + "CancelJobRunRequest$applicationId": "

The ID of the application on which the job run will be canceled.

", + "CancelJobRunResponse$applicationId": "

The output contains the application ID on which the job run is cancelled.

", + "CreateApplicationResponse$applicationId": "

The output contains the application ID.

", + "DeleteApplicationRequest$applicationId": "

The ID of the application that will be deleted.

", + "GetApplicationRequest$applicationId": "

The ID of the application that will be described.

", + "GetJobRunRequest$applicationId": "

The ID of the application on which the job run is submitted.

", + "JobRun$applicationId": "

The ID of the application the job is running on.

", + "JobRunSummary$applicationId": "

The ID of the application the job is running on.

", + "ListJobRunsRequest$applicationId": "

The ID of the application for which to list the job run.

", + "StartApplicationRequest$applicationId": "

The ID of the application to start.

", + "StartJobRunRequest$applicationId": "

The ID of the application on which to run the job.

", + "StartJobRunResponse$applicationId": "

This output displays the application ID on which the job run was submitted.

", + "StopApplicationRequest$applicationId": "

The ID of the application to stop.

", + "UpdateApplicationRequest$applicationId": "

The ID of the application to update.

" + } + }, + "ApplicationList": { + "base": null, + "refs": { + "ListApplicationsResponse$applications": "

The output lists the specified applications.

" + } + }, + "ApplicationName": { + "base": null, + "refs": { + "Application$name": "

The name of the application.

", + "ApplicationSummary$name": "

The name of the application.

", + "CreateApplicationRequest$name": "

The name of the application.

", + "CreateApplicationResponse$name": "

The output contains the name of the application.

" + } + }, + "ApplicationState": { + "base": null, + "refs": { + "Application$state": "

The state of the application.

", + "ApplicationStateSet$member": null, + "ApplicationSummary$state": "

The state of the application.

" + } + }, + "ApplicationStateSet": { + "base": null, + "refs": { + "ListApplicationsRequest$states": "

An optional filter for application states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.

" + } + }, + "ApplicationSummary": { + "base": "

The summary of attributes associated with an application.

", + "refs": { + "ApplicationList$member": null + } + }, + "AutoStartConfig": { + "base": "

The configuration for an application to automatically start on job submission.

", + "refs": { + "Application$autoStartConfiguration": "

The configuration for an application to automatically start on job submission.

", + "CreateApplicationRequest$autoStartConfiguration": "

The configuration for an application to automatically start on job submission.

", + "UpdateApplicationRequest$autoStartConfiguration": "

The configuration for an application to automatically start on job submission.

" + } + }, + "AutoStopConfig": { + "base": "

The configuration for an application to automatically stop after a certain amount of time being idle.

", + "refs": { + "Application$autoStopConfiguration": "

The configuration for an application to automatically stop after a certain amount of time being idle.

", + "CreateApplicationRequest$autoStopConfiguration": "

The configuration for an application to automatically stop after a certain amount of time being idle.

", + "UpdateApplicationRequest$autoStopConfiguration": "

The configuration for an application to automatically stop after a certain amount of time being idle.

" + } + }, + "AutoStopConfigIdleTimeoutMinutesInteger": { + "base": null, + "refs": { + "AutoStopConfig$idleTimeoutMinutes": "

The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.

" + } + }, + "Boolean": { + "base": null, + "refs": { + "AutoStartConfig$enabled": "

Enables the application to automatically start on job submission. Defaults to true.

", + "AutoStopConfig$enabled": "

Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.

", + "ManagedPersistenceMonitoringConfiguration$enabled": "

Enables managed logging and defaults to true. If set to false, managed logging will be turned off.

" + } + }, + "CancelJobRunRequest": { + "base": null, + "refs": { + } + }, + "CancelJobRunResponse": { + "base": null, + "refs": { + } + }, + "ClientToken": { + "base": null, + "refs": { + "CreateApplicationRequest$clientToken": "

The client idempotency token of the application to create. Its value must be unique for each request.

", + "StartJobRunRequest$clientToken": "

The client idempotency token of the job run to start. Its value must be unique for each request.

", + "UpdateApplicationRequest$clientToken": "

The client idempotency token of the application to update. Its value must be unique for each request.

" + } + }, + "Configuration": { + "base": "

A configuration specification to be used when provisioning an application. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file.

", + "refs": { + "ConfigurationList$member": null + } + }, + "ConfigurationList": { + "base": null, + "refs": { + "Configuration$configurations": "

A list of additional configurations to apply within a configuration object.

", + "ConfigurationOverrides$applicationConfiguration": "

The override configurations for the application.

" + } + }, + "ConfigurationOverrides": { + "base": "

A configuration specification to be used to override existing configurations.

", + "refs": { + "JobRun$configurationOverrides": "

The configuration settings that are used to override default configuration.

", + "StartJobRunRequest$configurationOverrides": "

The configuration overrides for the job run.

" + } + }, + "ConflictException": { + "base": "

The request could not be processed because of conflict in the current state of the resource.

", + "refs": { + } + }, + "CpuSize": { + "base": null, + "refs": { + "MaximumAllowedResources$cpu": "

The maximum allowed CPU for an application.

", + "WorkerResourceConfig$cpu": "

The CPU requirements for every worker instance of the worker type.

" + } + }, + "CreateApplicationRequest": { + "base": null, + "refs": { + } + }, + "CreateApplicationResponse": { + "base": null, + "refs": { + } + }, + "Date": { + "base": null, + "refs": { + "Application$createdAt": "

The date and time when the application run was created.

", + "Application$updatedAt": "

The date and time when the application run was last updated.

", + "ApplicationSummary$createdAt": "

The date and time when the application was created.

", + "ApplicationSummary$updatedAt": "

The date and time when the application was last updated.

", + "JobRun$createdAt": "

The date and time when the job run was created.

", + "JobRun$updatedAt": "

The date and time when the job run was updated.

", + "JobRunSummary$createdAt": "

The date and time when the job run was created.

", + "JobRunSummary$updatedAt": "

The date and time when the job run was last updated.

", + "ListJobRunsRequest$createdAtAfter": "

The lower bound of the option to filter by creation date and time.

", + "ListJobRunsRequest$createdAtBefore": "

The upper bound of the option to filter by creation date and time.

" + } + }, + "DeleteApplicationRequest": { + "base": null, + "refs": { + } + }, + "DeleteApplicationResponse": { + "base": null, + "refs": { + } + }, + "DiskSize": { + "base": null, + "refs": { + "MaximumAllowedResources$disk": "

The maximum allowed disk for an application.

", + "WorkerResourceConfig$disk": "

The disk requirements for every worker instance of the worker type.

" + } + }, + "Double": { + "base": null, + "refs": { + "TotalResourceUtilization$vCPUHour": "

The aggregated vCPU used per hour from the time job start executing till the time job is terminated.

", + "TotalResourceUtilization$memoryGBHour": "

The aggregated memory used per hour from the time job start executing till the time job is terminated.

", + "TotalResourceUtilization$storageGBHour": "

The aggregated storage used per hour from the time job start executing till the time job is terminated.

" + } + }, + "Duration": { + "base": null, + "refs": { + "StartJobRunRequest$executionTimeoutMinutes": "

The maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.

" + } + }, + "EncryptionKeyArn": { + "base": null, + "refs": { + "ManagedPersistenceMonitoringConfiguration$encryptionKeyArn": "

The KMS key ARN to encrypt the logs stored in managed log persistence.

", + "S3MonitoringConfiguration$encryptionKeyArn": "

The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.

" + } + }, + "EngineType": { + "base": null, + "refs": { + "Application$type": "

The type of application, such as Spark or Hive.

", + "ApplicationSummary$type": "

The type of application, such as Spark or Hive.

", + "CreateApplicationRequest$type": "

The type of application you want to start, such as Spark or Hive.

" + } + }, + "EntryPointArgument": { + "base": null, + "refs": { + "EntryPointArguments$member": null + } + }, + "EntryPointArguments": { + "base": null, + "refs": { + "SparkSubmit$entryPointArguments": "

The arguments for the Spark submit job run.

" + } + }, + "EntryPointPath": { + "base": null, + "refs": { + "SparkSubmit$entryPoint": "

The entry point for the Spark submit job run.

" + } + }, + "GetApplicationRequest": { + "base": null, + "refs": { + } + }, + "GetApplicationResponse": { + "base": null, + "refs": { + } + }, + "GetJobRunRequest": { + "base": null, + "refs": { + } + }, + "GetJobRunResponse": { + "base": null, + "refs": { + } + }, + "Hive": { + "base": "

The configurations for the Hive job driver.

", + "refs": { + "JobDriver$hive": "

The job driver parameters specified for Hive.

" + } + }, + "HiveCliParameters": { + "base": null, + "refs": { + "Hive$parameters": "

The parameters for the Hive job run.

" + } + }, + "IAMRoleArn": { + "base": null, + "refs": { + "JobRun$executionRole": "

The execution role ARN of the job run.

", + "JobRunSummary$executionRole": "

The execution role ARN of the job run.

", + "StartJobRunRequest$executionRoleArn": "

The execution role ARN for the job run.

" + } + }, + "InitScriptPath": { + "base": null, + "refs": { + "Hive$initQueryFile": "

The query file for the Hive job run.

" + } + }, + "InitialCapacityConfig": { + "base": "

The initial capacity configuration per worker.

", + "refs": { + "InitialCapacityConfigMap$value": null + } + }, + "InitialCapacityConfigMap": { + "base": null, + "refs": { + "Application$initialCapacity": "

The initial capacity of the application.

", + "CreateApplicationRequest$initialCapacity": "

The capacity to initialize when the application is created.

", + "UpdateApplicationRequest$initialCapacity": "

The capacity to initialize when the application is updated.

" + } + }, + "Integer": { + "base": null, + "refs": { + "JobRun$totalExecutionDurationSeconds": "

The job run total execution duration in seconds. This field is only available for job runs in a COMPLETED, FAILED, or CANCELLED state.

" + } + }, + "InternalServerException": { + "base": "

Request processing failed because of an error or failure with the service.

", + "refs": { + } + }, + "JobArn": { + "base": null, + "refs": { + "JobRun$arn": "

The execution role ARN of the job run.

", + "JobRunSummary$arn": "

The ARN of the job run.

", + "StartJobRunResponse$arn": "

The output lists the execution role ARN of the job run.

" + } + }, + "JobDriver": { + "base": "

The driver that the job runs on.

", + "refs": { + "JobRun$jobDriver": "

The job driver for the job run.

", + "StartJobRunRequest$jobDriver": "

The job driver for the job run.

" + } + }, + "JobRun": { + "base": "

Information about a job run. A job run is a unit of work, such as a Spark JAR, Hive query, or SparkSQL query, that you submit to an EMR Serverless application.

", + "refs": { + "GetJobRunResponse$jobRun": "

The output displays information about the job run.

" + } + }, + "JobRunId": { + "base": null, + "refs": { + "CancelJobRunRequest$jobRunId": "

The ID of the job run to cancel.

", + "CancelJobRunResponse$jobRunId": "

The output contains the ID of the cancelled job run.

", + "GetJobRunRequest$jobRunId": "

The ID of the job run.

", + "JobRun$jobRunId": "

The ID of the job run.

", + "JobRunSummary$id": "

The ID of the job run.

", + "StartJobRunResponse$jobRunId": "

The output contains the ID of the started job run.

" + } + }, + "JobRunState": { + "base": null, + "refs": { + "JobRun$state": "

The state of the job run.

", + "JobRunStateSet$member": null, + "JobRunSummary$state": "

The state of the job run.

" + } + }, + "JobRunStateSet": { + "base": null, + "refs": { + "ListJobRunsRequest$states": "

An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.

" + } + }, + "JobRunSummary": { + "base": "

The summary of attributes associated with a job run.

", + "refs": { + "JobRuns$member": null + } + }, + "JobRunType": { + "base": null, + "refs": { + "JobRunSummary$type": "

The type of job run, such as Spark or Hive.

" + } + }, + "JobRuns": { + "base": null, + "refs": { + "ListJobRunsResponse$jobRuns": "

The output lists information about the specified job runs.

" + } + }, + "ListApplicationsRequest": { + "base": null, + "refs": { + } + }, + "ListApplicationsRequestMaxResultsInteger": { + "base": null, + "refs": { + "ListApplicationsRequest$maxResults": "

The maximum number of applications that can be listed.

" + } + }, + "ListApplicationsResponse": { + "base": null, + "refs": { + } + }, + "ListJobRunsRequest": { + "base": null, + "refs": { + } + }, + "ListJobRunsRequestMaxResultsInteger": { + "base": null, + "refs": { + "ListJobRunsRequest$maxResults": "

The maximum number of job runs that can be listed.

" + } + }, + "ListJobRunsResponse": { + "base": null, + "refs": { + } + }, + "ListTagsForResourceRequest": { + "base": null, + "refs": { + } + }, + "ListTagsForResourceResponse": { + "base": null, + "refs": { + } + }, + "ManagedPersistenceMonitoringConfiguration": { + "base": "

The managed log persistence configuration for a job run.

", + "refs": { + "MonitoringConfiguration$managedPersistenceMonitoringConfiguration": "

The managed log persistence configuration for a job run.

" + } + }, + "MaximumAllowedResources": { + "base": "

The maximum allowed cumulative resources for an application. No new resources will be created once the limit is hit.

", + "refs": { + "Application$maximumCapacity": "

The maximum capacity of the application. This is cumulative across all workers at any given point in time during the lifespan of the application is created. No new resources will be created once any one of the defined limits is hit.

", + "CreateApplicationRequest$maximumCapacity": "

The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.

", + "UpdateApplicationRequest$maximumCapacity": "

The maximum capacity to allocate when the application is updated. This is cumulative across all workers at any given point in time during the lifespan of the application. No new resources will be created once any one of the defined limits is hit.

" + } + }, + "MemorySize": { + "base": null, + "refs": { + "MaximumAllowedResources$memory": "

The maximum allowed resources for an application.

", + "WorkerResourceConfig$memory": "

The memory requirements for every worker instance of the worker type.

" + } + }, + "MonitoringConfiguration": { + "base": "

The configuration setting for monitoring.

", + "refs": { + "ConfigurationOverrides$monitoringConfiguration": "

The override configurations for monitoring.

" + } + }, + "NetworkConfiguration": { + "base": "

The network configuration for customer VPC connectivity.

", + "refs": { + "Application$networkConfiguration": "

The network configuration for customer VPC connectivity for the application.

", + "CreateApplicationRequest$networkConfiguration": "

The network configuration for customer VPC connectivity.

", + "JobRun$networkConfiguration": null, + "UpdateApplicationRequest$networkConfiguration": null + } + }, + "NextToken": { + "base": null, + "refs": { + "ListApplicationsRequest$nextToken": "

The token for the next set of application results.

", + "ListApplicationsResponse$nextToken": "

The output displays the token for the next set of application results. This is required for pagination and is available as a response of the previous request.

", + "ListJobRunsRequest$nextToken": "

The token for the next set of job run results.

", + "ListJobRunsResponse$nextToken": "

The output displays the token for the next set of job run results. This is required for pagination and is available as a response of the previous request.

" + } + }, + "Query": { + "base": null, + "refs": { + "Hive$query": "

The query for the Hive job run.

" + } + }, + "ReleaseLabel": { + "base": null, + "refs": { + "Application$releaseLabel": "

The EMR release version associated with the application.

", + "ApplicationSummary$releaseLabel": "

The EMR release version associated with the application.

", + "CreateApplicationRequest$releaseLabel": "

The EMR release version associated with the application.

", + "JobRun$releaseLabel": "

The EMR release version associated with the application your job is running on.

", + "JobRunSummary$releaseLabel": "

The EMR release version associated with the application your job is running on.

" + } + }, + "RequestIdentityUserArn": { + "base": null, + "refs": { + "JobRun$createdBy": "

The user who created the job run.

", + "JobRunSummary$createdBy": "

The user who created the job run.

" + } + }, + "ResourceArn": { + "base": null, + "refs": { + "ListTagsForResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.

", + "TagResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.

", + "UntagResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.

" + } + }, + "ResourceNotFoundException": { + "base": "

The specified resource was not found.

", + "refs": { + } + }, + "S3MonitoringConfiguration": { + "base": "

The Amazon S3 configuration for monitoring log publishing. You can configure your jobs to send log information to Amazon S3.

", + "refs": { + "MonitoringConfiguration$s3MonitoringConfiguration": "

The Amazon S3 configuration for monitoring log publishing.

" + } + }, + "SecurityGroupIds": { + "base": null, + "refs": { + "NetworkConfiguration$securityGroupIds": "

The array of security group Ids for customer VPC connectivity.

" + } + }, + "SecurityGroupString": { + "base": null, + "refs": { + "SecurityGroupIds$member": null + } + }, + "SensitivePropertiesMap": { + "base": null, + "refs": { + "Configuration$properties": "

A set of properties specified within a configuration classification.

" + } + }, + "ServiceQuotaExceededException": { + "base": "

The maximum number of resources per account has been reached.

", + "refs": { + } + }, + "SparkSubmit": { + "base": "

The configurations for the Spark submit job driver.

", + "refs": { + "JobDriver$sparkSubmit": "

The job driver parameters specified for Spark.

" + } + }, + "SparkSubmitParameters": { + "base": null, + "refs": { + "SparkSubmit$sparkSubmitParameters": "

The parameters for the Spark submit job run.

" + } + }, + "StartApplicationRequest": { + "base": null, + "refs": { + } + }, + "StartApplicationResponse": { + "base": null, + "refs": { + } + }, + "StartJobRunRequest": { + "base": null, + "refs": { + } + }, + "StartJobRunResponse": { + "base": null, + "refs": { + } + }, + "StopApplicationRequest": { + "base": null, + "refs": { + } + }, + "StopApplicationResponse": { + "base": null, + "refs": { + } + }, + "String1024": { + "base": null, + "refs": { + "Configuration$classification": "

The classification within a configuration.

", + "ConflictException$message": null, + "InternalServerException$message": null, + "ResourceNotFoundException$message": null, + "SensitivePropertiesMap$key": null, + "SensitivePropertiesMap$value": null, + "ServiceQuotaExceededException$message": null, + "ValidationException$message": null + } + }, + "String256": { + "base": null, + "refs": { + "Application$stateDetails": "

The state details of the application.

", + "ApplicationSummary$stateDetails": "

The state details of the application.

", + "JobRun$name": "

The optional job run name. This doesn't have to be unique.

", + "JobRun$stateDetails": "

The state details of the job run.

", + "JobRunSummary$name": "

The optional job run name. This doesn't have to be unique.

", + "JobRunSummary$stateDetails": "

The state details of the job run.

", + "StartJobRunRequest$name": "

The optional job run name. This doesn't have to be unique.

" + } + }, + "SubnetIds": { + "base": null, + "refs": { + "NetworkConfiguration$subnetIds": "

The array of subnet Ids for customer VPC connectivity.

" + } + }, + "SubnetString": { + "base": null, + "refs": { + "SubnetIds$member": null + } + }, + "TagKey": { + "base": null, + "refs": { + "TagKeyList$member": null, + "TagMap$key": null + } + }, + "TagKeyList": { + "base": null, + "refs": { + "UntagResourceRequest$tagKeys": "

The keys of the tags to be removed.

" + } + }, + "TagMap": { + "base": null, + "refs": { + "Application$tags": "

The tags assigned to the application.

", + "CreateApplicationRequest$tags": "

The tags assigned to the application.

", + "JobRun$tags": "

The tags assigned to the job run.

", + "ListTagsForResourceResponse$tags": "

The tags for the resource.

", + "StartJobRunRequest$tags": "

The tags assigned to the job run.

", + "TagResourceRequest$tags": "

The tags to add to the resource. A tag is an array of key-value pairs.

" + } + }, + "TagResourceRequest": { + "base": null, + "refs": { + } + }, + "TagResourceResponse": { + "base": null, + "refs": { + } + }, + "TagValue": { + "base": null, + "refs": { + "TagMap$value": null + } + }, + "TotalResourceUtilization": { + "base": "

The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated, rounded up to the nearest second.

", + "refs": { + "JobRun$totalResourceUtilization": "

The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated, rounded up to the nearest second.

" + } + }, + "UntagResourceRequest": { + "base": null, + "refs": { + } + }, + "UntagResourceResponse": { + "base": null, + "refs": { + } + }, + "UpdateApplicationRequest": { + "base": null, + "refs": { + } + }, + "UpdateApplicationResponse": { + "base": null, + "refs": { + } + }, + "UriString": { + "base": null, + "refs": { + "S3MonitoringConfiguration$logUri": "

The Amazon S3 destination URI for log publishing.

" + } + }, + "ValidationException": { + "base": "

The input fails to satisfy the constraints specified by an AWS service.

", + "refs": { + } + }, + "WorkerCounts": { + "base": null, + "refs": { + "InitialCapacityConfig$workerCount": "

The number of workers in the initial capacity configuration.

" + } + }, + "WorkerResourceConfig": { + "base": "

The cumulative configuration requirements for every worker instance of the worker type.

", + "refs": { + "InitialCapacityConfig$workerConfiguration": "

The resource configuration of the initial capacity configuration.

" + } + }, + "WorkerTypeString": { + "base": null, + "refs": { + "InitialCapacityConfigMap$key": null + } + } + } +} diff --git a/apis/emr-serverless/2021-07-13/examples-1.json b/apis/emr-serverless/2021-07-13/examples-1.json new file mode 100644 index 00000000000..0ea7e3b0bbe --- /dev/null +++ b/apis/emr-serverless/2021-07-13/examples-1.json @@ -0,0 +1,5 @@ +{ + "version": "1.0", + "examples": { + } +} diff --git a/apis/emr-serverless/2021-07-13/paginators-1.json b/apis/emr-serverless/2021-07-13/paginators-1.json new file mode 100644 index 00000000000..7193d8550a8 --- /dev/null +++ b/apis/emr-serverless/2021-07-13/paginators-1.json @@ -0,0 +1,16 @@ +{ + "pagination": { + "ListApplications": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "applications" + }, + "ListJobRuns": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "jobRuns" + } + } +} diff --git a/apis/sagemaker/2017-07-24/api-2.json b/apis/sagemaker/2017-07-24/api-2.json index 939b1fda134..11df74dba9f 100644 --- a/apis/sagemaker/2017-07-24/api-2.json +++ b/apis/sagemaker/2017-07-24/api-2.json @@ -3141,7 +3141,15 @@ "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", - "ml.r5.24xlarge" + "ml.r5.24xlarge", + "ml.g5.xlarge", + "ml.g5.2xlarge", + "ml.g5.4xlarge", + "ml.g5.8xlarge", + "ml.g5.16xlarge", + "ml.g5.12xlarge", + "ml.g5.24xlarge", + "ml.g5.48xlarge" ] }, "AppList":{ @@ -5268,7 +5276,8 @@ "DefaultCodeRepository":{"shape":"CodeRepositoryNameOrUrl"}, "AdditionalCodeRepositories":{"shape":"AdditionalCodeRepositoryNamesOrUrls"}, "RootAccess":{"shape":"RootAccess"}, - "PlatformIdentifier":{"shape":"PlatformIdentifier"} + "PlatformIdentifier":{"shape":"PlatformIdentifier"}, + "InstanceMetadataServiceConfiguration":{"shape":"InstanceMetadataServiceConfiguration"} } }, "CreateNotebookInstanceLifecycleConfigInput":{ @@ -7291,7 +7300,8 @@ "DefaultCodeRepository":{"shape":"CodeRepositoryNameOrUrl"}, "AdditionalCodeRepositories":{"shape":"AdditionalCodeRepositoryNamesOrUrls"}, "RootAccess":{"shape":"RootAccess"}, - "PlatformIdentifier":{"shape":"PlatformIdentifier"} + "PlatformIdentifier":{"shape":"PlatformIdentifier"}, + "InstanceMetadataServiceConfiguration":{"shape":"InstanceMetadataServiceConfiguration"} } }, "DescribePipelineDefinitionForExecutionRequest":{ @@ -9585,6 +9595,13 @@ "member":{"shape":"TrainingInputMode"}, "min":1 }, + "InstanceMetadataServiceConfiguration":{ + "type":"structure", + "required":["MinimumInstanceMetadataServiceVersion"], + "members":{ + "MinimumInstanceMetadataServiceVersion":{"shape":"MinimumInstanceMetadataServiceVersion"} + } + }, "InstanceType":{ "type":"string", "enum":[ @@ -11513,6 +11530,11 @@ "S3Uri":{"shape":"S3Uri"} } }, + "MinimumInstanceMetadataServiceVersion":{ + "type":"string", + "max":1, + "pattern":"1|2" + }, "ModelApprovalStatus":{ "type":"string", "enum":[ @@ -16318,7 +16340,8 @@ "DisassociateAcceleratorTypes":{"shape":"DisassociateNotebookInstanceAcceleratorTypes"}, "DisassociateDefaultCodeRepository":{"shape":"DisassociateDefaultCodeRepository"}, "DisassociateAdditionalCodeRepositories":{"shape":"DisassociateAdditionalCodeRepositories"}, - "RootAccess":{"shape":"RootAccess"} + "RootAccess":{"shape":"RootAccess"}, + "InstanceMetadataServiceConfiguration":{"shape":"InstanceMetadataServiceConfiguration"} } }, "UpdateNotebookInstanceLifecycleConfigInput":{ diff --git a/apis/sagemaker/2017-07-24/docs-2.json b/apis/sagemaker/2017-07-24/docs-2.json index 8cfe6b695b5..211e1833ff2 100644 --- a/apis/sagemaker/2017-07-24/docs-2.json +++ b/apis/sagemaker/2017-07-24/docs-2.json @@ -391,7 +391,7 @@ "AlgorithmImage": { "base": null, "refs": { - "AlgorithmSpecification$TrainingImage": "

The registry path of the Docker image that contains the training algorithm. For information about docker registry paths for built-in algorithms, see Algorithms Provided by Amazon SageMaker: Common Parameters. SageMaker supports both registry/repository[:tag] and registry/repository[@digest] image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker.

", + "AlgorithmSpecification$TrainingImage": "

The registry path of the Docker image that contains the training algorithm. For information about docker registry paths for SageMaker built-in algorithms, see Docker Registry Paths and Example Code in the Amazon SageMaker developer guide. SageMaker supports both registry/repository[:tag] and registry/repository[@digest] image path formats. For more information about using your custom training container, see Using Your Own Algorithms with Amazon SageMaker.

You must specify either the algorithm name to the AlgorithmName parameter or the image URI of the algorithm container to the TrainingImage parameter.

For more information, see the note in the AlgorithmName parameter description.

", "DebugRuleConfiguration$RuleEvaluatorImage": "

The Amazon Elastic Container (ECR) Image for the managed rule evaluation.

", "HyperParameterAlgorithmSpecification$TrainingImage": "

The registry path of the Docker image that contains the training algorithm. For information about Docker registry paths for built-in algorithms, see Algorithms Provided by Amazon SageMaker: Common Parameters. SageMaker supports both registry/repository[:tag] and registry/repository[@digest] image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker.

", "ProfilerRuleConfiguration$RuleEvaluatorImage": "

The Amazon Elastic Container (ECR) Image for the managed rule evaluation.

" @@ -612,7 +612,7 @@ "ArnOrName": { "base": null, "refs": { - "AlgorithmSpecification$AlgorithmName": "

The name of the algorithm resource to use for the training job. This must be an algorithm resource that you created or subscribe to on Amazon Web Services Marketplace. If you specify a value for this parameter, you can't specify a value for TrainingImage.

", + "AlgorithmSpecification$AlgorithmName": "

The name of the algorithm resource to use for the training job. This must be an algorithm resource that you created or subscribe to on Amazon Web Services Marketplace.

You must specify either the algorithm name to the AlgorithmName parameter or the image URI of the algorithm container to the TrainingImage parameter.

Note that the AlgorithmName parameter is mutually exclusive with the TrainingImage parameter. If you specify a value for the AlgorithmName parameter, you can't specify a value for TrainingImage, and vice versa.

If you specify values for both parameters, the training job might break; if you don't specify any value for both parameters, the training job might raise a null error.

", "CreateModelPackageInput$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.

", "DeleteModelPackageGroupInput$ModelPackageGroupName": "

The name of the model group to delete.

", "DescribeAlgorithmInput$AlgorithmName": "

The name of the algorithm to describe.

", @@ -5233,6 +5233,14 @@ "ChannelSpecification$SupportedInputModes": "

The allowed input mode, either FILE or PIPE.

In FILE mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode.

In PIPE mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.

" } }, + "InstanceMetadataServiceConfiguration": { + "base": "

Information on the IMDS configuration of the notebook instance

", + "refs": { + "CreateNotebookInstanceInput$InstanceMetadataServiceConfiguration": "

Information on the IMDS configuration of the notebook instance

", + "DescribeNotebookInstanceOutput$InstanceMetadataServiceConfiguration": "

Information on the IMDS configuration of the notebook instance

", + "UpdateNotebookInstanceInput$InstanceMetadataServiceConfiguration": "

Information on the IMDS configuration of the notebook instance

" + } + }, "InstanceType": { "base": null, "refs": { @@ -6644,6 +6652,12 @@ "ModelQuality$Constraints": "

Model quality constraints.

" } }, + "MinimumInstanceMetadataServiceVersion": { + "base": null, + "refs": { + "InstanceMetadataServiceConfiguration$MinimumInstanceMetadataServiceVersion": "

Indicates the minimum IMDS version that the notebook instance supports. When passed as part of CreateNotebookInstance, if no value is selected, then it defaults to IMDSv1. This means that both IMDSv1 and IMDSv2 are supported. If passed as part of UpdateNotebookInstance, there is no default.

" + } + }, "ModelApprovalStatus": { "base": null, "refs": { diff --git a/gems/aws-partitions/CHANGELOG.md b/gems/aws-partitions/CHANGELOG.md index 2f2fc16f8be..da2a7f2fb47 100644 --- a/gems/aws-partitions/CHANGELOG.md +++ b/gems/aws-partitions/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.594.0 (2022-05-27) +------------------ + +* Feature - Added support for enumerating regions for `Aws::EMRServerless`. + 1.593.0 (2022-05-26) ------------------ diff --git a/gems/aws-partitions/VERSION b/gems/aws-partitions/VERSION index 22c7a2b3221..6794fc16f76 100644 --- a/gems/aws-partitions/VERSION +++ b/gems/aws-partitions/VERSION @@ -1 +1 @@ -1.593.0 +1.594.0 diff --git a/gems/aws-partitions/lib/aws-partitions.rb b/gems/aws-partitions/lib/aws-partitions.rb index a5e976f0f1c..88e077adfe6 100644 --- a/gems/aws-partitions/lib/aws-partitions.rb +++ b/gems/aws-partitions/lib/aws-partitions.rb @@ -327,7 +327,7 @@ def service_ids 'EKS' => 'eks', 'EMR' => 'elasticmapreduce', 'EMRContainers' => 'emr-containers', - 'EMRServerlessWebService' => 'emr-serverless', + 'EMRServerless' => 'emr-serverless', 'ElastiCache' => 'elasticache', 'ElasticBeanstalk' => 'elasticbeanstalk', 'ElasticInference' => 'api.elastic-inference', diff --git a/gems/aws-partitions/partitions.json b/gems/aws-partitions/partitions.json index 4f2ea403e96..e4cc3a49dc1 100644 --- a/gems/aws-partitions/partitions.json +++ b/gems/aws-partitions/partitions.json @@ -1699,6 +1699,7 @@ "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-3" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, @@ -8737,6 +8738,12 @@ }, "hostname" : "oidc.ap-northeast-2.amazonaws.com" }, + "ap-northeast-3" : { + "credentialScope" : { + "region" : "ap-northeast-3" + }, + "hostname" : "oidc.ap-northeast-3.amazonaws.com" + }, "ap-south-1" : { "credentialScope" : { "region" : "ap-south-1" diff --git a/gems/aws-sdk-appflow/CHANGELOG.md b/gems/aws-sdk-appflow/CHANGELOG.md index 070095cdd00..0e0aafb5add 100644 --- a/gems/aws-sdk-appflow/CHANGELOG.md +++ b/gems/aws-sdk-appflow/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.27.0 (2022-05-27) +------------------ + +* Feature - Adding the following features/changes: Parquet output that preserves typing from the source connector, Failed executions threshold before deactivation for scheduled flows, increasing max size of access and refresh token from 2048 to 4096 + 1.26.0 (2022-04-14) ------------------ diff --git a/gems/aws-sdk-appflow/VERSION b/gems/aws-sdk-appflow/VERSION index 5ff8c4f5d2a..5db08bf2dc5 100644 --- a/gems/aws-sdk-appflow/VERSION +++ b/gems/aws-sdk-appflow/VERSION @@ -1 +1 @@ -1.26.0 +1.27.0 diff --git a/gems/aws-sdk-appflow/lib/aws-sdk-appflow.rb b/gems/aws-sdk-appflow/lib/aws-sdk-appflow.rb index 041efcc2fa5..80b87d1135a 100644 --- a/gems/aws-sdk-appflow/lib/aws-sdk-appflow.rb +++ b/gems/aws-sdk-appflow/lib/aws-sdk-appflow.rb @@ -48,6 +48,6 @@ # @!group service module Aws::Appflow - GEM_VERSION = '1.26.0' + GEM_VERSION = '1.27.0' end diff --git a/gems/aws-sdk-appflow/lib/aws-sdk-appflow/client.rb b/gems/aws-sdk-appflow/lib/aws-sdk-appflow/client.rb index e9e77be5b3c..eaea661f4a9 100644 --- a/gems/aws-sdk-appflow/lib/aws-sdk-appflow/client.rb +++ b/gems/aws-sdk-appflow/lib/aws-sdk-appflow/client.rb @@ -355,7 +355,9 @@ def initialize(*args) # Services account. There is a soft quota of 100 connector profiles per # Amazon Web Services account. If you need more connector profiles than # this quota allows, you can submit a request to the Amazon AppFlow team - # through the Amazon AppFlow support channel. + # through the Amazon AppFlow support channel. In each connector profile + # that you create, you can provide the credentials and properties for + # only one connector. # # @option params [required, String] :connector_profile_name # The name of the connector profile. The name is unique for each @@ -691,6 +693,7 @@ def create_connector_profile(params = {}, options = {}) # timezone: "Timezone", # schedule_offset: 1, # first_execution_from: Time.now, + # flow_error_deactivation_threshold: 1, # }, # }, # }, @@ -793,6 +796,7 @@ def create_connector_profile(params = {}, options = {}) # aggregation_config: { # aggregation_type: "None", # accepts None, SingleFile # }, + # preserve_source_data_typing: false, # }, # }, # salesforce: { @@ -1123,7 +1127,7 @@ def describe_connector(params = {}, options = {}) end # Provides details regarding the entity used with the connector, with a - # description of the data model for each entity. + # description of the data model for each field in that entity. # # @option params [required, String] :connector_entity_name # The entity name for that connector. @@ -1530,6 +1534,7 @@ def describe_connectors(params = {}, options = {}) # resp.destination_flow_config_list[0].destination_connector_properties.s3.s3_output_format_config.prefix_config.prefix_type #=> String, one of "FILENAME", "PATH", "PATH_AND_FILENAME" # resp.destination_flow_config_list[0].destination_connector_properties.s3.s3_output_format_config.prefix_config.prefix_format #=> String, one of "YEAR", "MONTH", "DAY", "HOUR", "MINUTE" # resp.destination_flow_config_list[0].destination_connector_properties.s3.s3_output_format_config.aggregation_config.aggregation_type #=> String, one of "None", "SingleFile" + # resp.destination_flow_config_list[0].destination_connector_properties.s3.s3_output_format_config.preserve_source_data_typing #=> Boolean # resp.destination_flow_config_list[0].destination_connector_properties.salesforce.object #=> String # resp.destination_flow_config_list[0].destination_connector_properties.salesforce.id_field_names #=> Array # resp.destination_flow_config_list[0].destination_connector_properties.salesforce.id_field_names[0] #=> String @@ -1599,6 +1604,7 @@ def describe_connectors(params = {}, options = {}) # resp.trigger_config.trigger_properties.scheduled.timezone #=> String # resp.trigger_config.trigger_properties.scheduled.schedule_offset #=> Integer # resp.trigger_config.trigger_properties.scheduled.first_execution_from #=> Time + # resp.trigger_config.trigger_properties.scheduled.flow_error_deactivation_threshold #=> Integer # resp.tasks #=> Array # resp.tasks[0].source_fields #=> Array # resp.tasks[0].source_fields[0] #=> String @@ -2384,6 +2390,7 @@ def update_connector_profile(params = {}, options = {}) # timezone: "Timezone", # schedule_offset: 1, # first_execution_from: Time.now, + # flow_error_deactivation_threshold: 1, # }, # }, # }, @@ -2486,6 +2493,7 @@ def update_connector_profile(params = {}, options = {}) # aggregation_config: { # aggregation_type: "None", # accepts None, SingleFile # }, + # preserve_source_data_typing: false, # }, # }, # salesforce: { @@ -2648,7 +2656,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-appflow' - context[:gem_version] = '1.26.0' + context[:gem_version] = '1.27.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-appflow/lib/aws-sdk-appflow/client_api.rb b/gems/aws-sdk-appflow/lib/aws-sdk-appflow/client_api.rb index 25c6926a9ec..5da3943e676 100644 --- a/gems/aws-sdk-appflow/lib/aws-sdk-appflow/client_api.rb +++ b/gems/aws-sdk-appflow/lib/aws-sdk-appflow/client_api.rb @@ -171,6 +171,7 @@ module ClientApi FlowArn = Shapes::StringShape.new(name: 'FlowArn') FlowDefinition = Shapes::StructureShape.new(name: 'FlowDefinition') FlowDescription = Shapes::StringShape.new(name: 'FlowDescription') + FlowErrorDeactivationThreshold = Shapes::IntegerShape.new(name: 'FlowErrorDeactivationThreshold') FlowExecutionList = Shapes::ListShape.new(name: 'FlowExecutionList') FlowList = Shapes::ListShape.new(name: 'FlowList') FlowName = Shapes::StringShape.new(name: 'FlowName') @@ -196,6 +197,7 @@ module ClientApi InforNexusSourceProperties = Shapes::StructureShape.new(name: 'InforNexusSourceProperties') InstanceUrl = Shapes::StringShape.new(name: 'InstanceUrl') InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException') + JavaBoolean = Shapes::BooleanShape.new(name: 'JavaBoolean') KMSArn = Shapes::StringShape.new(name: 'KMSArn') Key = Shapes::StringShape.new(name: 'Key') Label = Shapes::StringShape.new(name: 'Label') @@ -1117,6 +1119,7 @@ module ClientApi S3OutputFormatConfig.add_member(:file_type, Shapes::ShapeRef.new(shape: FileType, location_name: "fileType")) S3OutputFormatConfig.add_member(:prefix_config, Shapes::ShapeRef.new(shape: PrefixConfig, location_name: "prefixConfig")) S3OutputFormatConfig.add_member(:aggregation_config, Shapes::ShapeRef.new(shape: AggregationConfig, location_name: "aggregationConfig")) + S3OutputFormatConfig.add_member(:preserve_source_data_typing, Shapes::ShapeRef.new(shape: JavaBoolean, location_name: "preserveSourceDataTyping")) S3OutputFormatConfig.struct_class = Types::S3OutputFormatConfig S3SourceProperties.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName")) @@ -1180,6 +1183,7 @@ module ClientApi ScheduledTriggerProperties.add_member(:timezone, Shapes::ShapeRef.new(shape: Timezone, location_name: "timezone")) ScheduledTriggerProperties.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "scheduleOffset", metadata: {"box"=>true})) ScheduledTriggerProperties.add_member(:first_execution_from, Shapes::ShapeRef.new(shape: Date, location_name: "firstExecutionFrom")) + ScheduledTriggerProperties.add_member(:flow_error_deactivation_threshold, Shapes::ShapeRef.new(shape: FlowErrorDeactivationThreshold, location_name: "flowErrorDeactivationThreshold", metadata: {"box"=>true})) ScheduledTriggerProperties.struct_class = Types::ScheduledTriggerProperties SchedulingFrequencyTypeList.member = Shapes::ShapeRef.new(shape: ScheduleFrequencyType) diff --git a/gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb b/gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb index 64fe3f647dd..a9902aaf6ca 100644 --- a/gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb +++ b/gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb @@ -1982,6 +1982,7 @@ class CreateConnectorProfileResponse < Struct.new( # timezone: "Timezone", # schedule_offset: 1, # first_execution_from: Time.now, + # flow_error_deactivation_threshold: 1, # }, # }, # }, @@ -2084,6 +2085,7 @@ class CreateConnectorProfileResponse < Struct.new( # aggregation_config: { # aggregation_type: "None", # accepts None, SingleFile # }, + # preserve_source_data_typing: false, # }, # }, # salesforce: { @@ -3129,6 +3131,7 @@ class DescribeFlowResponse < Struct.new( # aggregation_config: { # aggregation_type: "None", # accepts None, SingleFile # }, + # preserve_source_data_typing: false, # }, # }, # salesforce: { @@ -3386,6 +3389,7 @@ class DestinationFieldProperties < Struct.new( # aggregation_config: { # aggregation_type: "None", # accepts None, SingleFile # }, + # preserve_source_data_typing: false, # }, # }, # salesforce: { @@ -5135,6 +5139,7 @@ class ResourceNotFoundException < Struct.new( # aggregation_config: { # aggregation_type: "None", # accepts None, SingleFile # }, + # preserve_source_data_typing: false, # }, # } # @@ -5206,6 +5211,7 @@ class S3Metadata < Aws::EmptyStructure; end # aggregation_config: { # aggregation_type: "None", # accepts None, SingleFile # }, + # preserve_source_data_typing: false, # } # # @!attribute [rw] file_type @@ -5224,12 +5230,27 @@ class S3Metadata < Aws::EmptyStructure; end # format of your flow data. # @return [Types::AggregationConfig] # + # @!attribute [rw] preserve_source_data_typing + # If your file output format is Parquet, use this parameter to set + # whether Amazon AppFlow preserves the data types in your source data + # when it writes the output to Amazon S3. + # + # * `true`\: Amazon AppFlow preserves the data types when it writes to + # Amazon S3. For example, an integer or `1` in your source data is + # still an integer in your output. + # + # * `false`\: Amazon AppFlow converts all of the source data into + # strings when it writes to Amazon S3. For example, an integer of + # `1` in your source data becomes the string `"1"` in the output. + # @return [Boolean] + # # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/S3OutputFormatConfig AWS API Documentation # class S3OutputFormatConfig < Struct.new( :file_type, :prefix_config, - :aggregation_config) + :aggregation_config, + :preserve_source_data_typing) SENSITIVE = [] include Aws::Structure end @@ -5659,6 +5680,7 @@ class SalesforceSourceProperties < Struct.new( # timezone: "Timezone", # schedule_offset: 1, # first_execution_from: Time.now, + # flow_error_deactivation_threshold: 1, # } # # @!attribute [rw] schedule_expression @@ -5672,16 +5694,27 @@ class SalesforceSourceProperties < Struct.new( # @return [String] # # @!attribute [rw] schedule_start_time - # Specifies the scheduled start time for a schedule-triggered flow. + # The time at which the scheduled flow starts. The time is formatted + # as a timestamp that follows the ISO 8601 standard, such as + # `2022-04-26T13:00:00-07:00`. # @return [Time] # # @!attribute [rw] schedule_end_time - # Specifies the scheduled end time for a schedule-triggered flow. + # The time at which the scheduled flow ends. The time is formatted as + # a timestamp that follows the ISO 8601 standard, such as + # `2022-04-27T13:00:00-07:00`. # @return [Time] # # @!attribute [rw] timezone - # Specifies the time zone used when referring to the date and time of - # a scheduled-triggered flow, such as `America/New_York`. + # Specifies the time zone used when referring to the dates and times + # of a scheduled flow, such as `America/New_York`. This time zone is + # only a descriptive label. It doesn't affect how Amazon AppFlow + # interprets the timestamps that you specify to schedule the flow. + # + # If you want to schedule a flow by using times in a particular time + # zone, indicate the time zone as a UTC offset in your timestamps. For + # example, the UTC offsets for the `America/New_York` timezone are + # `-04:00` EDT and `-05:00 EST`. # @return [String] # # @!attribute [rw] schedule_offset @@ -5694,6 +5727,11 @@ class SalesforceSourceProperties < Struct.new( # connector in the first flow run. # @return [Time] # + # @!attribute [rw] flow_error_deactivation_threshold + # Defines how many times a scheduled flow fails consecutively before + # Amazon AppFlow deactivates it. + # @return [Integer] + # # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ScheduledTriggerProperties AWS API Documentation # class ScheduledTriggerProperties < Struct.new( @@ -5703,7 +5741,8 @@ class ScheduledTriggerProperties < Struct.new( :schedule_end_time, :timezone, :schedule_offset, - :first_execution_from) + :first_execution_from, + :flow_error_deactivation_threshold) SENSITIVE = [] include Aws::Structure end @@ -6735,6 +6774,7 @@ class TrendmicroSourceProperties < Struct.new( # timezone: "Timezone", # schedule_offset: 1, # first_execution_from: Time.now, + # flow_error_deactivation_threshold: 1, # }, # }, # } @@ -6775,6 +6815,7 @@ class TriggerConfig < Struct.new( # timezone: "Timezone", # schedule_offset: 1, # first_execution_from: Time.now, + # flow_error_deactivation_threshold: 1, # }, # } # @@ -7147,6 +7188,7 @@ class UpdateConnectorProfileResponse < Struct.new( # timezone: "Timezone", # schedule_offset: 1, # first_execution_from: Time.now, + # flow_error_deactivation_threshold: 1, # }, # }, # }, @@ -7249,6 +7291,7 @@ class UpdateConnectorProfileResponse < Struct.new( # aggregation_config: { # aggregation_type: "None", # accepts None, SingleFile # }, + # preserve_source_data_typing: false, # }, # }, # salesforce: { diff --git a/gems/aws-sdk-datasync/CHANGELOG.md b/gems/aws-sdk-datasync/CHANGELOG.md index 06c6e1718bf..3a1a97d6723 100644 --- a/gems/aws-sdk-datasync/CHANGELOG.md +++ b/gems/aws-sdk-datasync/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.47.0 (2022-05-27) +------------------ + +* Feature - AWS DataSync now supports TLS encryption in transit, file system policies and access points for EFS locations. + 1.46.0 (2022-05-05) ------------------ diff --git a/gems/aws-sdk-datasync/VERSION b/gems/aws-sdk-datasync/VERSION index 0a3db35b241..21998d3c2d9 100644 --- a/gems/aws-sdk-datasync/VERSION +++ b/gems/aws-sdk-datasync/VERSION @@ -1 +1 @@ -1.46.0 +1.47.0 diff --git a/gems/aws-sdk-datasync/lib/aws-sdk-datasync.rb b/gems/aws-sdk-datasync/lib/aws-sdk-datasync.rb index c06718dd3a0..329e2de3aaa 100644 --- a/gems/aws-sdk-datasync/lib/aws-sdk-datasync.rb +++ b/gems/aws-sdk-datasync/lib/aws-sdk-datasync.rb @@ -48,6 +48,6 @@ # @!group service module Aws::DataSync - GEM_VERSION = '1.46.0' + GEM_VERSION = '1.47.0' end diff --git a/gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb b/gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb index 88943e489be..81a53b899d4 100644 --- a/gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb +++ b/gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb @@ -508,50 +508,53 @@ def create_agent(params = {}, options = {}) req.send_request(options) end - # Creates an endpoint for an Amazon EFS file system. + # Creates an endpoint for an Amazon EFS file system that DataSync can + # access for a transfer. For more information, see [Creating a location + # for Amazon EFS][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html # # @option params [String] :subdirectory - # A subdirectory in the location’s path. This subdirectory in the EFS - # file system is used to read data from the EFS source location or write - # data to the EFS destination. By default, DataSync uses the root - # directory. + # Specifies a mount path for your Amazon EFS file system. This is where + # DataSync reads or writes data (depending on if this is a source or + # destination location). By default, DataSync uses the root directory, + # but you can also include subdirectories. # - # `Subdirectory` must be specified with forward slashes. For example, - # `/path/to/folder`. + # You must specify a value with forward slashes (for example, + # `/path/to/folder`). # # # # @option params [required, String] :efs_filesystem_arn - # The Amazon Resource Name (ARN) for the Amazon EFS file system. + # Specifies the ARN for the Amazon EFS file system. # # @option params [required, Types::Ec2Config] :ec2_config - # The subnet and security group that the Amazon EFS file system uses. - # The security group that you provide needs to be able to communicate - # with the security group on the mount target in the subnet specified. + # Specifies the subnet and security groups DataSync uses to access your + # Amazon EFS file system. # - # The exact relationship between security group M (of the mount target) - # and security group S (which you provide for DataSync to use at this - # stage) is as follows: + # @option params [Array] :tags + # Specifies the key-value pair that represents a tag that you want to + # add to the resource. The value can be an empty string. This value + # helps you manage, filter, and search for your resources. We recommend + # that you create a name tag for your location. # - # * Security group M (which you associate with the mount target) must - # allow inbound access for the Transmission Control Protocol (TCP) on - # the NFS port (2049) from security group S. You can enable inbound - # connections either by IP address (CIDR range) or security group. + # @option params [String] :access_point_arn + # Specifies the Amazon Resource Name (ARN) of the access point that + # DataSync uses to access the Amazon EFS file system. # - # * Security group S (provided to DataSync to access EFS) should have a - # rule that enables outbound connections to the NFS port on one of the - # file system’s mount targets. You can enable outbound connections - # either by IP address (CIDR range) or security group. + # @option params [String] :file_system_access_role_arn + # Specifies an Identity and Access Management (IAM) role that DataSync + # assumes when mounting the Amazon EFS file system. # - # For information about security groups and mount targets, see - # Security Groups for Amazon EC2 Instances and Mount Targets in the - # *Amazon EFS User Guide.* + # @option params [String] :in_transit_encryption + # Specifies whether you want DataSync to use TLS encryption when + # transferring data to or from your Amazon EFS file system. # - # @option params [Array] :tags - # The key-value pair that represents a tag that you want to add to the - # resource. The value can be an empty string. This value helps you - # manage, filter, and search for your resources. We recommend that you - # create a name tag for your location. + # If you specify an access point using `AccessPointArn` or an IAM role + # using `FileSystemAccessRoleArn`, you must set this parameter to + # `TLS1_2`. # # @return [Types::CreateLocationEfsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -572,6 +575,9 @@ def create_agent(params = {}, options = {}) # value: "TagValue", # }, # ], + # access_point_arn: "EfsAccessPointArn", + # file_system_access_role_arn: "IamRoleArn", + # in_transit_encryption: "NONE", # accepts NONE, TLS1_2 # }) # # @example Response structure @@ -1562,11 +1568,12 @@ def describe_agent(params = {}, options = {}) req.send_request(options) end - # Returns metadata, such as the path information about an Amazon EFS - # location. + # Returns metadata about your DataSync location for an Amazon EFS file + # system. # # @option params [required, String] :location_arn - # The Amazon Resource Name (ARN) of the EFS location to describe. + # The Amazon Resource Name (ARN) of the Amazon EFS file system location + # that you want information about. # # @return [Types::DescribeLocationEfsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -1574,6 +1581,9 @@ def describe_agent(params = {}, options = {}) # * {Types::DescribeLocationEfsResponse#location_uri #location_uri} => String # * {Types::DescribeLocationEfsResponse#ec2_config #ec2_config} => Types::Ec2Config # * {Types::DescribeLocationEfsResponse#creation_time #creation_time} => Time + # * {Types::DescribeLocationEfsResponse#access_point_arn #access_point_arn} => String + # * {Types::DescribeLocationEfsResponse#file_system_access_role_arn #file_system_access_role_arn} => String + # * {Types::DescribeLocationEfsResponse#in_transit_encryption #in_transit_encryption} => String # # @example Request syntax with placeholder values # @@ -1589,6 +1599,9 @@ def describe_agent(params = {}, options = {}) # resp.ec2_config.security_group_arns #=> Array # resp.ec2_config.security_group_arns[0] #=> String # resp.creation_time #=> Time + # resp.access_point_arn #=> String + # resp.file_system_access_role_arn #=> String + # resp.in_transit_encryption #=> String, one of "NONE", "TLS1_2" # # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationEfs AWS API Documentation # @@ -3022,7 +3035,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-datasync' - context[:gem_version] = '1.46.0' + context[:gem_version] = '1.47.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-datasync/lib/aws-sdk-datasync/client_api.rb b/gems/aws-sdk-datasync/lib/aws-sdk-datasync/client_api.rb index d85a08b6de8..00d67bac5b8 100644 --- a/gems/aws-sdk-datasync/lib/aws-sdk-datasync/client_api.rb +++ b/gems/aws-sdk-datasync/lib/aws-sdk-datasync/client_api.rb @@ -81,7 +81,9 @@ module ClientApi Ec2SecurityGroupArn = Shapes::StringShape.new(name: 'Ec2SecurityGroupArn') Ec2SecurityGroupArnList = Shapes::ListShape.new(name: 'Ec2SecurityGroupArnList') Ec2SubnetArn = Shapes::StringShape.new(name: 'Ec2SubnetArn') + EfsAccessPointArn = Shapes::StringShape.new(name: 'EfsAccessPointArn') EfsFilesystemArn = Shapes::StringShape.new(name: 'EfsFilesystemArn') + EfsInTransitEncryption = Shapes::StringShape.new(name: 'EfsInTransitEncryption') EfsSubdirectory = Shapes::StringShape.new(name: 'EfsSubdirectory') Endpoint = Shapes::StringShape.new(name: 'Endpoint') EndpointType = Shapes::StringShape.new(name: 'EndpointType') @@ -252,6 +254,9 @@ module ClientApi CreateLocationEfsRequest.add_member(:efs_filesystem_arn, Shapes::ShapeRef.new(shape: EfsFilesystemArn, required: true, location_name: "EfsFilesystemArn")) CreateLocationEfsRequest.add_member(:ec2_config, Shapes::ShapeRef.new(shape: Ec2Config, required: true, location_name: "Ec2Config")) CreateLocationEfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags")) + CreateLocationEfsRequest.add_member(:access_point_arn, Shapes::ShapeRef.new(shape: EfsAccessPointArn, location_name: "AccessPointArn")) + CreateLocationEfsRequest.add_member(:file_system_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "FileSystemAccessRoleArn")) + CreateLocationEfsRequest.add_member(:in_transit_encryption, Shapes::ShapeRef.new(shape: EfsInTransitEncryption, location_name: "InTransitEncryption")) CreateLocationEfsRequest.struct_class = Types::CreateLocationEfsRequest CreateLocationEfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn")) @@ -402,6 +407,9 @@ module ClientApi DescribeLocationEfsResponse.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri")) DescribeLocationEfsResponse.add_member(:ec2_config, Shapes::ShapeRef.new(shape: Ec2Config, location_name: "Ec2Config")) DescribeLocationEfsResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime")) + DescribeLocationEfsResponse.add_member(:access_point_arn, Shapes::ShapeRef.new(shape: EfsAccessPointArn, location_name: "AccessPointArn")) + DescribeLocationEfsResponse.add_member(:file_system_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "FileSystemAccessRoleArn")) + DescribeLocationEfsResponse.add_member(:in_transit_encryption, Shapes::ShapeRef.new(shape: EfsInTransitEncryption, location_name: "InTransitEncryption")) DescribeLocationEfsResponse.struct_class = Types::DescribeLocationEfsResponse DescribeLocationFsxLustreRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn")) diff --git a/gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb b/gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb index 2581fa37496..c4be387012b 100644 --- a/gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb +++ b/gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb @@ -199,63 +199,68 @@ class CreateAgentResponse < Struct.new( # value: "TagValue", # }, # ], + # access_point_arn: "EfsAccessPointArn", + # file_system_access_role_arn: "IamRoleArn", + # in_transit_encryption: "NONE", # accepts NONE, TLS1_2 # } # # @!attribute [rw] subdirectory - # A subdirectory in the location’s path. This subdirectory in the EFS - # file system is used to read data from the EFS source location or - # write data to the EFS destination. By default, DataSync uses the - # root directory. + # Specifies a mount path for your Amazon EFS file system. This is + # where DataSync reads or writes data (depending on if this is a + # source or destination location). By default, DataSync uses the root + # directory, but you can also include subdirectories. # - # `Subdirectory` must be specified with forward slashes. For example, - # `/path/to/folder`. + # You must specify a value with forward slashes (for example, + # `/path/to/folder`). # # # @return [String] # # @!attribute [rw] efs_filesystem_arn - # The Amazon Resource Name (ARN) for the Amazon EFS file system. + # Specifies the ARN for the Amazon EFS file system. # @return [String] # # @!attribute [rw] ec2_config - # The subnet and security group that the Amazon EFS file system uses. - # The security group that you provide needs to be able to communicate - # with the security group on the mount target in the subnet specified. - # - # The exact relationship between security group M (of the mount - # target) and security group S (which you provide for DataSync to use - # at this stage) is as follows: - # - # * Security group M (which you associate with the mount target) must - # allow inbound access for the Transmission Control Protocol (TCP) - # on the NFS port (2049) from security group S. You can enable - # inbound connections either by IP address (CIDR range) or security - # group. - # - # * Security group S (provided to DataSync to access EFS) should have - # a rule that enables outbound connections to the NFS port on one of - # the file system’s mount targets. You can enable outbound - # connections either by IP address (CIDR range) or security group. - # - # For information about security groups and mount targets, see - # Security Groups for Amazon EC2 Instances and Mount Targets in the - # *Amazon EFS User Guide.* + # Specifies the subnet and security groups DataSync uses to access + # your Amazon EFS file system. # @return [Types::Ec2Config] # # @!attribute [rw] tags - # The key-value pair that represents a tag that you want to add to the - # resource. The value can be an empty string. This value helps you - # manage, filter, and search for your resources. We recommend that you - # create a name tag for your location. + # Specifies the key-value pair that represents a tag that you want to + # add to the resource. The value can be an empty string. This value + # helps you manage, filter, and search for your resources. We + # recommend that you create a name tag for your location. # @return [Array] # + # @!attribute [rw] access_point_arn + # Specifies the Amazon Resource Name (ARN) of the access point that + # DataSync uses to access the Amazon EFS file system. + # @return [String] + # + # @!attribute [rw] file_system_access_role_arn + # Specifies an Identity and Access Management (IAM) role that DataSync + # assumes when mounting the Amazon EFS file system. + # @return [String] + # + # @!attribute [rw] in_transit_encryption + # Specifies whether you want DataSync to use TLS encryption when + # transferring data to or from your Amazon EFS file system. + # + # If you specify an access point using `AccessPointArn` or an IAM role + # using `FileSystemAccessRoleArn`, you must set this parameter to + # `TLS1_2`. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationEfsRequest AWS API Documentation # class CreateLocationEfsRequest < Struct.new( :subdirectory, :efs_filesystem_arn, :ec2_config, - :tags) + :tags, + :access_point_arn, + :file_system_access_role_arn, + :in_transit_encryption) SENSITIVE = [] include Aws::Structure end @@ -264,7 +269,7 @@ class CreateLocationEfsRequest < Struct.new( # # @!attribute [rw] location_arn # The Amazon Resource Name (ARN) of the Amazon EFS file system - # location that is created. + # location that you create. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationEfsResponse AWS API Documentation @@ -1424,7 +1429,8 @@ class DescribeAgentResponse < Struct.new( # } # # @!attribute [rw] location_arn - # The Amazon Resource Name (ARN) of the EFS location to describe. + # The Amazon Resource Name (ARN) of the Amazon EFS file system + # location that you want information about. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationEfsRequest AWS API Documentation @@ -1438,32 +1444,47 @@ class DescribeLocationEfsRequest < Struct.new( # DescribeLocationEfsResponse # # @!attribute [rw] location_arn - # The Amazon Resource Name (ARN) of the EFS location that was - # described. + # The ARN of the Amazon EFS file system location. # @return [String] # # @!attribute [rw] location_uri - # The URL of the EFS location that was described. + # The URL of the Amazon EFS file system location. # @return [String] # # @!attribute [rw] ec2_config - # The subnet that DataSync uses to access target EFS file system. The - # subnet must have at least one mount target for that file system. The - # security group that you provide needs to be able to communicate with - # the security group on the mount target in the subnet specified. + # The subnet and security groups that DataSync uses to access your + # Amazon EFS file system. # @return [Types::Ec2Config] # # @!attribute [rw] creation_time - # The time that the EFS location was created. + # The time that the location was created. # @return [Time] # + # @!attribute [rw] access_point_arn + # The ARN of the access point that DataSync uses to access the Amazon + # EFS file system. + # @return [String] + # + # @!attribute [rw] file_system_access_role_arn + # The Identity and Access Management (IAM) role that DataSync assumes + # when mounting the Amazon EFS file system. + # @return [String] + # + # @!attribute [rw] in_transit_encryption + # Whether DataSync uses TLS encryption when transferring data to or + # from your Amazon EFS file system. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationEfsResponse AWS API Documentation # class DescribeLocationEfsResponse < Struct.new( :location_arn, :location_uri, :ec2_config, - :creation_time) + :creation_time, + :access_point_arn, + :file_system_access_role_arn, + :in_transit_encryption) SENSITIVE = [] include Aws::Structure end @@ -2298,10 +2319,8 @@ class DescribeTaskResponse < Struct.new( include Aws::Structure end - # The subnet that DataSync uses to access target EFS file system. The - # subnet must have at least one mount target for that file system. The - # security group that you provide needs to be able to communicate with - # the security group on the mount target in the subnet specified. + # The subnet and security groups that DataSync uses to access your + # Amazon EFS file system. # # @note When making an API call, you may pass Ec2Config # data as a hash: @@ -2312,13 +2331,30 @@ class DescribeTaskResponse < Struct.new( # } # # @!attribute [rw] subnet_arn - # The ARN of the subnet that DataSync uses to access the target EFS - # file system. + # Specifies the ARN of a subnet where DataSync creates the [network + # interfaces][1] for managing traffic during your transfer. + # + # The subnet must be located: + # + # * In the same virtual private cloud (VPC) as the Amazon EFS file + # system. + # + # * In the same Availability Zone as at least one mount target for the + # Amazon EFS file system. + # + # You don't need to specify a subnet that includes a file system + # mount target. + # + # + # + # + # + # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/datasync-network.html#required-network-interfaces # @return [String] # # @!attribute [rw] security_group_arns - # The Amazon Resource Names (ARNs) of the security groups that are - # configured for the Amazon EC2 resource. + # Specifies the Amazon Resource Names (ARNs) of the security groups + # associated with an Amazon EFS file system's mount target. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/Ec2Config AWS API Documentation diff --git a/gems/aws-sdk-emrserverless/CHANGELOG.md b/gems/aws-sdk-emrserverless/CHANGELOG.md new file mode 100644 index 00000000000..353f58eb420 --- /dev/null +++ b/gems/aws-sdk-emrserverless/CHANGELOG.md @@ -0,0 +1,8 @@ +Unreleased Changes +------------------ + +1.0.0 (2022-05-27) +------------------ + +* Feature - Initial release of `aws-sdk-emrserverless`. + diff --git a/gems/aws-sdk-emrserverless/LICENSE.txt b/gems/aws-sdk-emrserverless/LICENSE.txt new file mode 100644 index 00000000000..d6456956733 --- /dev/null +++ b/gems/aws-sdk-emrserverless/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/gems/aws-sdk-emrserverless/VERSION b/gems/aws-sdk-emrserverless/VERSION new file mode 100644 index 00000000000..3eefcb9dd5b --- /dev/null +++ b/gems/aws-sdk-emrserverless/VERSION @@ -0,0 +1 @@ +1.0.0 diff --git a/gems/aws-sdk-emrserverless/aws-sdk-emrserverless.gemspec b/gems/aws-sdk-emrserverless/aws-sdk-emrserverless.gemspec new file mode 100644 index 00000000000..91fb401a8b7 --- /dev/null +++ b/gems/aws-sdk-emrserverless/aws-sdk-emrserverless.gemspec @@ -0,0 +1,32 @@ +# frozen_string_literal: true + +# WARNING ABOUT GENERATED CODE +# +# This file is generated. See the contributing guide for more information: +# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md +# +# WARNING ABOUT GENERATED CODE + +Gem::Specification.new do |spec| + + spec.name = 'aws-sdk-emrserverless' + spec.version = File.read(File.expand_path('../VERSION', __FILE__)).strip + spec.summary = 'AWS SDK for Ruby - EMR Serverless' + spec.description = 'Official AWS Ruby gem for EMR Serverless. This gem is part of the AWS SDK for Ruby.' + spec.author = 'Amazon Web Services' + spec.homepage = 'https://github.com/aws/aws-sdk-ruby' + spec.license = 'Apache-2.0' + spec.email = ['aws-dr-rubygems@amazon.com'] + spec.require_paths = ['lib'] + spec.files = Dir['LICENSE.txt', 'CHANGELOG.md', 'VERSION', 'lib/**/*.rb'] + + spec.metadata = { + 'source_code_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-emrserverless', + 'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-emrserverless/CHANGELOG.md' + } + + spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.127.0') + spec.add_dependency('aws-sigv4', '~> 1.1') + + spec.required_ruby_version = '>= 2.3' +end diff --git a/gems/aws-sdk-emrserverless/features/env.rb b/gems/aws-sdk-emrserverless/features/env.rb new file mode 100644 index 00000000000..f24c976802c --- /dev/null +++ b/gems/aws-sdk-emrserverless/features/env.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +# WARNING ABOUT GENERATED CODE +# +# This file is generated. See the contributing guide for more information: +# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md +# +# WARNING ABOUT GENERATED CODE + +$:.unshift(File.expand_path('../../lib', __FILE__)) +$:.unshift(File.expand_path('../../../aws-sdk-core/features', __FILE__)) +$:.unshift(File.expand_path('../../../aws-sdk-core/lib', __FILE__)) +$:.unshift(File.expand_path('../../../aws-sigv4/lib', __FILE__)) + +require 'features_helper' +require 'aws-sdk-emrserverless' + +Aws::EMRServerless::Client.add_plugin(ApiCallTracker) diff --git a/gems/aws-sdk-emrserverless/features/step_definitions.rb b/gems/aws-sdk-emrserverless/features/step_definitions.rb new file mode 100644 index 00000000000..496300ba0d5 --- /dev/null +++ b/gems/aws-sdk-emrserverless/features/step_definitions.rb @@ -0,0 +1,8 @@ +Before("@emrserverless") do + @service = Aws::EMRServerless::Resource.new + @client = @service.client +end + +After("@emrserverless") do + # shared cleanup logic +end diff --git a/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless.rb b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless.rb new file mode 100644 index 00000000000..bbf66b70b79 --- /dev/null +++ b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless.rb @@ -0,0 +1,53 @@ +# frozen_string_literal: true + +# WARNING ABOUT GENERATED CODE +# +# This file is generated. See the contributing guide for more information: +# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md +# +# WARNING ABOUT GENERATED CODE + + +require 'aws-sdk-core' +require 'aws-sigv4' + +require_relative 'aws-sdk-emrserverless/types' +require_relative 'aws-sdk-emrserverless/client_api' +require_relative 'aws-sdk-emrserverless/client' +require_relative 'aws-sdk-emrserverless/errors' +require_relative 'aws-sdk-emrserverless/resource' +require_relative 'aws-sdk-emrserverless/customizations' + +# This module provides support for EMR Serverless. This module is available in the +# `aws-sdk-emrserverless` gem. +# +# # Client +# +# The {Client} class provides one method for each API operation. Operation +# methods each accept a hash of request parameters and return a response +# structure. +# +# emr_serverless = Aws::EMRServerless::Client.new +# resp = emr_serverless.cancel_job_run(params) +# +# See {Client} for more information. +# +# # Errors +# +# Errors returned from EMR Serverless are defined in the +# {Errors} module and all extend {Errors::ServiceError}. +# +# begin +# # do stuff +# rescue Aws::EMRServerless::Errors::ServiceError +# # rescues all EMR Serverless API errors +# end +# +# See {Errors} for more information. +# +# @!group service +module Aws::EMRServerless + + GEM_VERSION = '1.0.0' + +end diff --git a/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/client.rb b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/client.rb new file mode 100644 index 00000000000..1e3b7556b3c --- /dev/null +++ b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/client.rb @@ -0,0 +1,1133 @@ +# frozen_string_literal: true + +# WARNING ABOUT GENERATED CODE +# +# This file is generated. See the contributing guide for more information: +# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md +# +# WARNING ABOUT GENERATED CODE + +require 'seahorse/client/plugins/content_length.rb' +require 'aws-sdk-core/plugins/credentials_configuration.rb' +require 'aws-sdk-core/plugins/logging.rb' +require 'aws-sdk-core/plugins/param_converter.rb' +require 'aws-sdk-core/plugins/param_validator.rb' +require 'aws-sdk-core/plugins/user_agent.rb' +require 'aws-sdk-core/plugins/helpful_socket_errors.rb' +require 'aws-sdk-core/plugins/retry_errors.rb' +require 'aws-sdk-core/plugins/global_configuration.rb' +require 'aws-sdk-core/plugins/regional_endpoint.rb' +require 'aws-sdk-core/plugins/endpoint_discovery.rb' +require 'aws-sdk-core/plugins/endpoint_pattern.rb' +require 'aws-sdk-core/plugins/response_paging.rb' +require 'aws-sdk-core/plugins/stub_responses.rb' +require 'aws-sdk-core/plugins/idempotency_token.rb' +require 'aws-sdk-core/plugins/jsonvalue_converter.rb' +require 'aws-sdk-core/plugins/client_metrics_plugin.rb' +require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb' +require 'aws-sdk-core/plugins/transfer_encoding.rb' +require 'aws-sdk-core/plugins/http_checksum.rb' +require 'aws-sdk-core/plugins/checksum_algorithm.rb' +require 'aws-sdk-core/plugins/defaults_mode.rb' +require 'aws-sdk-core/plugins/recursion_detection.rb' +require 'aws-sdk-core/plugins/signature_v4.rb' +require 'aws-sdk-core/plugins/protocols/rest_json.rb' + +Aws::Plugins::GlobalConfiguration.add_identifier(:emrserverless) + +module Aws::EMRServerless + # An API client for EMRServerless. To construct a client, you need to configure a `:region` and `:credentials`. + # + # client = Aws::EMRServerless::Client.new( + # region: region_name, + # credentials: credentials, + # # ... + # ) + # + # For details on configuring region and credentials see + # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html). + # + # See {#initialize} for a full list of supported configuration options. + class Client < Seahorse::Client::Base + + include Aws::ClientStubs + + @identifier = :emrserverless + + set_api(ClientApi::API) + + add_plugin(Seahorse::Client::Plugins::ContentLength) + add_plugin(Aws::Plugins::CredentialsConfiguration) + add_plugin(Aws::Plugins::Logging) + add_plugin(Aws::Plugins::ParamConverter) + add_plugin(Aws::Plugins::ParamValidator) + add_plugin(Aws::Plugins::UserAgent) + add_plugin(Aws::Plugins::HelpfulSocketErrors) + add_plugin(Aws::Plugins::RetryErrors) + add_plugin(Aws::Plugins::GlobalConfiguration) + add_plugin(Aws::Plugins::RegionalEndpoint) + add_plugin(Aws::Plugins::EndpointDiscovery) + add_plugin(Aws::Plugins::EndpointPattern) + add_plugin(Aws::Plugins::ResponsePaging) + add_plugin(Aws::Plugins::StubResponses) + add_plugin(Aws::Plugins::IdempotencyToken) + add_plugin(Aws::Plugins::JsonvalueConverter) + add_plugin(Aws::Plugins::ClientMetricsPlugin) + add_plugin(Aws::Plugins::ClientMetricsSendPlugin) + add_plugin(Aws::Plugins::TransferEncoding) + add_plugin(Aws::Plugins::HttpChecksum) + add_plugin(Aws::Plugins::ChecksumAlgorithm) + add_plugin(Aws::Plugins::DefaultsMode) + add_plugin(Aws::Plugins::RecursionDetection) + add_plugin(Aws::Plugins::SignatureV4) + add_plugin(Aws::Plugins::Protocols::RestJson) + + # @overload initialize(options) + # @param [Hash] options + # @option options [required, Aws::CredentialProvider] :credentials + # Your AWS credentials. This can be an instance of any one of the + # following classes: + # + # * `Aws::Credentials` - Used for configuring static, non-refreshing + # credentials. + # + # * `Aws::SharedCredentials` - Used for loading static credentials from a + # shared file, such as `~/.aws/config`. + # + # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role. + # + # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to + # assume a role after providing credentials via the web. + # + # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an + # access token generated from `aws login`. + # + # * `Aws::ProcessCredentials` - Used for loading credentials from a + # process that outputs to stdout. + # + # * `Aws::InstanceProfileCredentials` - Used for loading credentials + # from an EC2 IMDS on an EC2 instance. + # + # * `Aws::ECSCredentials` - Used for loading credentials from + # instances running in ECS. + # + # * `Aws::CognitoIdentityCredentials` - Used for loading credentials + # from the Cognito Identity service. + # + # When `:credentials` are not configured directly, the following + # locations will be searched for credentials: + # + # * `Aws.config[:credentials]` + # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options. + # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'] + # * `~/.aws/credentials` + # * `~/.aws/config` + # * EC2/ECS IMDS instance profile - When used by default, the timeouts + # are very aggressive. Construct and pass an instance of + # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to + # enable retries and extended timeouts. Instance profile credential + # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED'] + # to true. + # + # @option options [required, String] :region + # The AWS region to connect to. The configured `:region` is + # used to determine the service `:endpoint`. When not passed, + # a default `:region` is searched for in the following locations: + # + # * `Aws.config[:region]` + # * `ENV['AWS_REGION']` + # * `ENV['AMAZON_REGION']` + # * `ENV['AWS_DEFAULT_REGION']` + # * `~/.aws/credentials` + # * `~/.aws/config` + # + # @option options [String] :access_key_id + # + # @option options [Boolean] :active_endpoint_cache (false) + # When set to `true`, a thread polling for endpoints will be running in + # the background every 60 secs (default). Defaults to `false`. + # + # @option options [Boolean] :adaptive_retry_wait_to_fill (true) + # Used only in `adaptive` retry mode. When true, the request will sleep + # until there is sufficent client side capacity to retry the request. + # When false, the request will raise a `RetryCapacityNotAvailableError` and will + # not retry instead of sleeping. + # + # @option options [Boolean] :client_side_monitoring (false) + # When `true`, client-side metrics will be collected for all API requests from + # this client. + # + # @option options [String] :client_side_monitoring_client_id ("") + # Allows you to provide an identifier for this client which will be attached to + # all generated client side metrics. Defaults to an empty string. + # + # @option options [String] :client_side_monitoring_host ("127.0.0.1") + # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client + # side monitoring agent is running on, where client metrics will be published via UDP. + # + # @option options [Integer] :client_side_monitoring_port (31000) + # Required for publishing client metrics. The port that the client side monitoring + # agent is running on, where client metrics will be published via UDP. + # + # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher) + # Allows you to provide a custom client-side monitoring publisher class. By default, + # will use the Client Side Monitoring Agent Publisher. + # + # @option options [Boolean] :convert_params (true) + # When `true`, an attempt is made to coerce request parameters into + # the required types. + # + # @option options [Boolean] :correct_clock_skew (true) + # Used only in `standard` and adaptive retry modes. Specifies whether to apply + # a clock skew correction and retry requests with skewed client clocks. + # + # @option options [String] :defaults_mode ("legacy") + # See {Aws::DefaultsModeConfiguration} for a list of the + # accepted modes and the configuration defaults that are included. + # + # @option options [Boolean] :disable_host_prefix_injection (false) + # Set to true to disable SDK automatically adding host prefix + # to default service endpoint when available. + # + # @option options [String] :endpoint + # The client endpoint is normally constructed from the `:region` + # option. You should only configure an `:endpoint` when connecting + # to test or custom endpoints. This should be a valid HTTP(S) URI. + # + # @option options [Integer] :endpoint_cache_max_entries (1000) + # Used for the maximum size limit of the LRU cache storing endpoints data + # for endpoint discovery enabled operations. Defaults to 1000. + # + # @option options [Integer] :endpoint_cache_max_threads (10) + # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10. + # + # @option options [Integer] :endpoint_cache_poll_interval (60) + # When :endpoint_discovery and :active_endpoint_cache is enabled, + # Use this option to config the time interval in seconds for making + # requests fetching endpoints information. Defaults to 60 sec. + # + # @option options [Boolean] :endpoint_discovery (false) + # When set to `true`, endpoint discovery will be enabled for operations when available. + # + # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default) + # The log formatter. + # + # @option options [Symbol] :log_level (:info) + # The log level to send messages to the `:logger` at. + # + # @option options [Logger] :logger + # The Logger instance to send log messages to. If this option + # is not set, logging will be disabled. + # + # @option options [Integer] :max_attempts (3) + # An integer representing the maximum number attempts that will be made for + # a single request, including the initial attempt. For example, + # setting this value to 5 will result in a request being retried up to + # 4 times. Used in `standard` and `adaptive` retry modes. + # + # @option options [String] :profile ("default") + # Used when loading credentials from the shared credentials file + # at HOME/.aws/credentials. When not specified, 'default' is used. + # + # @option options [Proc] :retry_backoff + # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay. + # This option is only used in the `legacy` retry mode. + # + # @option options [Float] :retry_base_delay (0.3) + # The base delay in seconds used by the default backoff function. This option + # is only used in the `legacy` retry mode. + # + # @option options [Symbol] :retry_jitter (:none) + # A delay randomiser function used by the default backoff function. + # Some predefined functions can be referenced by name - :none, :equal, :full, + # otherwise a Proc that takes and returns a number. This option is only used + # in the `legacy` retry mode. + # + # @see https://www.awsarchitectureblog.com/2015/03/backoff.html + # + # @option options [Integer] :retry_limit (3) + # The maximum number of times to retry failed requests. Only + # ~ 500 level server errors and certain ~ 400 level client errors + # are retried. Generally, these are throttling errors, data + # checksum errors, networking errors, timeout errors, auth errors, + # endpoint discovery, and errors from expired credentials. + # This option is only used in the `legacy` retry mode. + # + # @option options [Integer] :retry_max_delay (0) + # The maximum number of seconds to delay between retries (0 for no limit) + # used by the default backoff function. This option is only used in the + # `legacy` retry mode. + # + # @option options [String] :retry_mode ("legacy") + # Specifies which retry algorithm to use. Values are: + # + # * `legacy` - The pre-existing retry behavior. This is default value if + # no retry mode is provided. + # + # * `standard` - A standardized set of retry rules across the AWS SDKs. + # This includes support for retry quotas, which limit the number of + # unsuccessful retries a client can make. + # + # * `adaptive` - An experimental retry mode that includes all the + # functionality of `standard` mode along with automatic client side + # throttling. This is a provisional mode that may change behavior + # in the future. + # + # + # @option options [String] :secret_access_key + # + # @option options [String] :session_token + # + # @option options [Boolean] :stub_responses (false) + # Causes the client to return stubbed responses. By default + # fake responses are generated and returned. You can specify + # the response data to return or errors to raise by calling + # {ClientStubs#stub_responses}. See {ClientStubs} for more information. + # + # ** Please note ** When response stubbing is enabled, no HTTP + # requests are made, and retries are disabled. + # + # @option options [Boolean] :use_dualstack_endpoint + # When set to `true`, dualstack enabled endpoints (with `.aws` TLD) + # will be used if available. + # + # @option options [Boolean] :use_fips_endpoint + # When set to `true`, fips compatible endpoints will be used if available. + # When a `fips` region is used, the region is normalized and this config + # is set to `true`. + # + # @option options [Boolean] :validate_params (true) + # When `true`, request parameters are validated before + # sending the request. + # + # @option options [URI::HTTP,String] :http_proxy A proxy to send + # requests through. Formatted like 'http://proxy.com:123'. + # + # @option options [Float] :http_open_timeout (15) The number of + # seconds to wait when opening a HTTP session before raising a + # `Timeout::Error`. + # + # @option options [Float] :http_read_timeout (60) The default + # number of seconds to wait for response data. This value can + # safely be set per-request on the session. + # + # @option options [Float] :http_idle_timeout (5) The number of + # seconds a connection is allowed to sit idle before it is + # considered stale. Stale connections are closed and removed + # from the pool before making a request. + # + # @option options [Float] :http_continue_timeout (1) The number of + # seconds to wait for a 100-continue response before sending the + # request body. This option has no effect unless the request has + # "Expect" header set to "100-continue". Defaults to `nil` which + # disables this behaviour. This value can safely be set per + # request on the session. + # + # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout + # in seconds. + # + # @option options [Boolean] :http_wire_trace (false) When `true`, + # HTTP debug output will be sent to the `:logger`. + # + # @option options [Boolean] :ssl_verify_peer (true) When `true`, + # SSL peer certificates are verified when establishing a + # connection. + # + # @option options [String] :ssl_ca_bundle Full path to the SSL + # certificate authority bundle file that should be used when + # verifying peer certificates. If you do not pass + # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default + # will be used if available. + # + # @option options [String] :ssl_ca_directory Full path of the + # directory that contains the unbundled SSL certificate + # authority files for verifying peer certificates. If you do + # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the + # system default will be used if available. + # + def initialize(*args) + super + end + + # @!group API Operations + + # Cancels a job run. + # + # @option params [required, String] :application_id + # The ID of the application on which the job run will be canceled. + # + # @option params [required, String] :job_run_id + # The ID of the job run to cancel. + # + # @return [Types::CancelJobRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::CancelJobRunResponse#application_id #application_id} => String + # * {Types::CancelJobRunResponse#job_run_id #job_run_id} => String + # + # @example Request syntax with placeholder values + # + # resp = client.cancel_job_run({ + # application_id: "ApplicationId", # required + # job_run_id: "JobRunId", # required + # }) + # + # @example Response structure + # + # resp.application_id #=> String + # resp.job_run_id #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/CancelJobRun AWS API Documentation + # + # @overload cancel_job_run(params = {}) + # @param [Hash] params ({}) + def cancel_job_run(params = {}, options = {}) + req = build_request(:cancel_job_run, params) + req.send_request(options) + end + + # Creates an application. + # + # @option params [String] :name + # The name of the application. + # + # @option params [required, String] :release_label + # The EMR release version associated with the application. + # + # @option params [required, String] :type + # The type of application you want to start, such as Spark or Hive. + # + # @option params [required, String] :client_token + # The client idempotency token of the application to create. Its value + # must be unique for each request. + # + # **A suitable default value is auto-generated.** You should normally + # not need to pass this option.** + # + # @option params [Hash] :initial_capacity + # The capacity to initialize when the application is created. + # + # @option params [Types::MaximumAllowedResources] :maximum_capacity + # The maximum capacity to allocate when the application is created. This + # is cumulative across all workers at any given point in time, not just + # when an application is created. No new resources will be created once + # any one of the defined limits is hit. + # + # @option params [Hash] :tags + # The tags assigned to the application. + # + # @option params [Types::AutoStartConfig] :auto_start_configuration + # The configuration for an application to automatically start on job + # submission. + # + # @option params [Types::AutoStopConfig] :auto_stop_configuration + # The configuration for an application to automatically stop after a + # certain amount of time being idle. + # + # @option params [Types::NetworkConfiguration] :network_configuration + # The network configuration for customer VPC connectivity. + # + # @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::CreateApplicationResponse#application_id #application_id} => String + # * {Types::CreateApplicationResponse#name #name} => String + # * {Types::CreateApplicationResponse#arn #arn} => String + # + # @example Request syntax with placeholder values + # + # resp = client.create_application({ + # name: "ApplicationName", + # release_label: "ReleaseLabel", # required + # type: "EngineType", # required + # client_token: "ClientToken", # required + # initial_capacity: { + # "WorkerTypeString" => { + # worker_count: 1, # required + # worker_configuration: { + # cpu: "CpuSize", # required + # memory: "MemorySize", # required + # disk: "DiskSize", + # }, + # }, + # }, + # maximum_capacity: { + # cpu: "CpuSize", # required + # memory: "MemorySize", # required + # disk: "DiskSize", + # }, + # tags: { + # "TagKey" => "TagValue", + # }, + # auto_start_configuration: { + # enabled: false, + # }, + # auto_stop_configuration: { + # enabled: false, + # idle_timeout_minutes: 1, + # }, + # network_configuration: { + # subnet_ids: ["SubnetString"], + # security_group_ids: ["SecurityGroupString"], + # }, + # }) + # + # @example Response structure + # + # resp.application_id #=> String + # resp.name #=> String + # resp.arn #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/CreateApplication AWS API Documentation + # + # @overload create_application(params = {}) + # @param [Hash] params ({}) + def create_application(params = {}, options = {}) + req = build_request(:create_application, params) + req.send_request(options) + end + + # Deletes an application. An application has to be in a stopped or + # created state in order to be deleted. + # + # @option params [required, String] :application_id + # The ID of the application that will be deleted. + # + # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # + # @example Request syntax with placeholder values + # + # resp = client.delete_application({ + # application_id: "ApplicationId", # required + # }) + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/DeleteApplication AWS API Documentation + # + # @overload delete_application(params = {}) + # @param [Hash] params ({}) + def delete_application(params = {}, options = {}) + req = build_request(:delete_application, params) + req.send_request(options) + end + + # Displays detailed information about a specified application. + # + # @option params [required, String] :application_id + # The ID of the application that will be described. + # + # @return [Types::GetApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::GetApplicationResponse#application #application} => Types::Application + # + # @example Request syntax with placeholder values + # + # resp = client.get_application({ + # application_id: "ApplicationId", # required + # }) + # + # @example Response structure + # + # resp.application.application_id #=> String + # resp.application.name #=> String + # resp.application.arn #=> String + # resp.application.release_label #=> String + # resp.application.type #=> String + # resp.application.state #=> String, one of "CREATING", "CREATED", "STARTING", "STARTED", "STOPPING", "STOPPED", "TERMINATED" + # resp.application.state_details #=> String + # resp.application.initial_capacity #=> Hash + # resp.application.initial_capacity["WorkerTypeString"].worker_count #=> Integer + # resp.application.initial_capacity["WorkerTypeString"].worker_configuration.cpu #=> String + # resp.application.initial_capacity["WorkerTypeString"].worker_configuration.memory #=> String + # resp.application.initial_capacity["WorkerTypeString"].worker_configuration.disk #=> String + # resp.application.maximum_capacity.cpu #=> String + # resp.application.maximum_capacity.memory #=> String + # resp.application.maximum_capacity.disk #=> String + # resp.application.created_at #=> Time + # resp.application.updated_at #=> Time + # resp.application.tags #=> Hash + # resp.application.tags["TagKey"] #=> String + # resp.application.auto_start_configuration.enabled #=> Boolean + # resp.application.auto_stop_configuration.enabled #=> Boolean + # resp.application.auto_stop_configuration.idle_timeout_minutes #=> Integer + # resp.application.network_configuration.subnet_ids #=> Array + # resp.application.network_configuration.subnet_ids[0] #=> String + # resp.application.network_configuration.security_group_ids #=> Array + # resp.application.network_configuration.security_group_ids[0] #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetApplication AWS API Documentation + # + # @overload get_application(params = {}) + # @param [Hash] params ({}) + def get_application(params = {}, options = {}) + req = build_request(:get_application, params) + req.send_request(options) + end + + # Displays detailed information about a job run. + # + # @option params [required, String] :application_id + # The ID of the application on which the job run is submitted. + # + # @option params [required, String] :job_run_id + # The ID of the job run. + # + # @return [Types::GetJobRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::GetJobRunResponse#job_run #job_run} => Types::JobRun + # + # @example Request syntax with placeholder values + # + # resp = client.get_job_run({ + # application_id: "ApplicationId", # required + # job_run_id: "JobRunId", # required + # }) + # + # @example Response structure + # + # resp.job_run.application_id #=> String + # resp.job_run.job_run_id #=> String + # resp.job_run.name #=> String + # resp.job_run.arn #=> String + # resp.job_run.created_by #=> String + # resp.job_run.created_at #=> Time + # resp.job_run.updated_at #=> Time + # resp.job_run.execution_role #=> String + # resp.job_run.state #=> String, one of "SUBMITTED", "PENDING", "SCHEDULED", "RUNNING", "SUCCESS", "FAILED", "CANCELLING", "CANCELLED" + # resp.job_run.state_details #=> String + # resp.job_run.release_label #=> String + # resp.job_run.configuration_overrides.application_configuration #=> Array + # resp.job_run.configuration_overrides.application_configuration[0].classification #=> String + # resp.job_run.configuration_overrides.application_configuration[0].properties #=> Hash + # resp.job_run.configuration_overrides.application_configuration[0].properties["String1024"] #=> String + # resp.job_run.configuration_overrides.application_configuration[0].configurations #=> Types::ConfigurationList + # resp.job_run.configuration_overrides.monitoring_configuration.s3_monitoring_configuration.log_uri #=> String + # resp.job_run.configuration_overrides.monitoring_configuration.s3_monitoring_configuration.encryption_key_arn #=> String + # resp.job_run.configuration_overrides.monitoring_configuration.managed_persistence_monitoring_configuration.enabled #=> Boolean + # resp.job_run.configuration_overrides.monitoring_configuration.managed_persistence_monitoring_configuration.encryption_key_arn #=> String + # resp.job_run.job_driver.spark_submit.entry_point #=> String + # resp.job_run.job_driver.spark_submit.entry_point_arguments #=> Array + # resp.job_run.job_driver.spark_submit.entry_point_arguments[0] #=> String + # resp.job_run.job_driver.spark_submit.spark_submit_parameters #=> String + # resp.job_run.job_driver.hive.query #=> String + # resp.job_run.job_driver.hive.init_query_file #=> String + # resp.job_run.job_driver.hive.parameters #=> String + # resp.job_run.tags #=> Hash + # resp.job_run.tags["TagKey"] #=> String + # resp.job_run.total_resource_utilization.v_cpu_hour #=> Float + # resp.job_run.total_resource_utilization.memory_gb_hour #=> Float + # resp.job_run.total_resource_utilization.storage_gb_hour #=> Float + # resp.job_run.network_configuration.subnet_ids #=> Array + # resp.job_run.network_configuration.subnet_ids[0] #=> String + # resp.job_run.network_configuration.security_group_ids #=> Array + # resp.job_run.network_configuration.security_group_ids[0] #=> String + # resp.job_run.total_execution_duration_seconds #=> Integer + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetJobRun AWS API Documentation + # + # @overload get_job_run(params = {}) + # @param [Hash] params ({}) + def get_job_run(params = {}, options = {}) + req = build_request(:get_job_run, params) + req.send_request(options) + end + + # Lists applications based on a set of parameters. + # + # @option params [String] :next_token + # The token for the next set of application results. + # + # @option params [Integer] :max_results + # The maximum number of applications that can be listed. + # + # @option params [Array] :states + # An optional filter for application states. Note that if this filter + # contains multiple states, the resulting list will be grouped by the + # state. + # + # @return [Types::ListApplicationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ListApplicationsResponse#applications #applications} => Array<Types::ApplicationSummary> + # * {Types::ListApplicationsResponse#next_token #next_token} => String + # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # + # @example Request syntax with placeholder values + # + # resp = client.list_applications({ + # next_token: "NextToken", + # max_results: 1, + # states: ["CREATING"], # accepts CREATING, CREATED, STARTING, STARTED, STOPPING, STOPPED, TERMINATED + # }) + # + # @example Response structure + # + # resp.applications #=> Array + # resp.applications[0].id #=> String + # resp.applications[0].name #=> String + # resp.applications[0].arn #=> String + # resp.applications[0].release_label #=> String + # resp.applications[0].type #=> String + # resp.applications[0].state #=> String, one of "CREATING", "CREATED", "STARTING", "STARTED", "STOPPING", "STOPPED", "TERMINATED" + # resp.applications[0].state_details #=> String + # resp.applications[0].created_at #=> Time + # resp.applications[0].updated_at #=> Time + # resp.next_token #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ListApplications AWS API Documentation + # + # @overload list_applications(params = {}) + # @param [Hash] params ({}) + def list_applications(params = {}, options = {}) + req = build_request(:list_applications, params) + req.send_request(options) + end + + # Lists job runs based on a set of parameters. + # + # @option params [required, String] :application_id + # The ID of the application for which to list the job run. + # + # @option params [String] :next_token + # The token for the next set of job run results. + # + # @option params [Integer] :max_results + # The maximum number of job runs that can be listed. + # + # @option params [Time,DateTime,Date,Integer,String] :created_at_after + # The lower bound of the option to filter by creation date and time. + # + # @option params [Time,DateTime,Date,Integer,String] :created_at_before + # The upper bound of the option to filter by creation date and time. + # + # @option params [Array] :states + # An optional filter for job run states. Note that if this filter + # contains multiple states, the resulting list will be grouped by the + # state. + # + # @return [Types::ListJobRunsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ListJobRunsResponse#job_runs #job_runs} => Array<Types::JobRunSummary> + # * {Types::ListJobRunsResponse#next_token #next_token} => String + # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # + # @example Request syntax with placeholder values + # + # resp = client.list_job_runs({ + # application_id: "ApplicationId", # required + # next_token: "NextToken", + # max_results: 1, + # created_at_after: Time.now, + # created_at_before: Time.now, + # states: ["SUBMITTED"], # accepts SUBMITTED, PENDING, SCHEDULED, RUNNING, SUCCESS, FAILED, CANCELLING, CANCELLED + # }) + # + # @example Response structure + # + # resp.job_runs #=> Array + # resp.job_runs[0].application_id #=> String + # resp.job_runs[0].id #=> String + # resp.job_runs[0].name #=> String + # resp.job_runs[0].arn #=> String + # resp.job_runs[0].created_by #=> String + # resp.job_runs[0].created_at #=> Time + # resp.job_runs[0].updated_at #=> Time + # resp.job_runs[0].execution_role #=> String + # resp.job_runs[0].state #=> String, one of "SUBMITTED", "PENDING", "SCHEDULED", "RUNNING", "SUCCESS", "FAILED", "CANCELLING", "CANCELLED" + # resp.job_runs[0].state_details #=> String + # resp.job_runs[0].release_label #=> String + # resp.job_runs[0].type #=> String + # resp.next_token #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ListJobRuns AWS API Documentation + # + # @overload list_job_runs(params = {}) + # @param [Hash] params ({}) + def list_job_runs(params = {}, options = {}) + req = build_request(:list_job_runs, params) + req.send_request(options) + end + + # Lists the tags assigned to the resources. + # + # @option params [required, String] :resource_arn + # The Amazon Resource Name (ARN) that identifies the resource to list + # the tags for. Currently, the supported resources are Amazon EMR + # Serverless applications and job runs. + # + # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String> + # + # @example Request syntax with placeholder values + # + # resp = client.list_tags_for_resource({ + # resource_arn: "ResourceArn", # required + # }) + # + # @example Response structure + # + # resp.tags #=> Hash + # resp.tags["TagKey"] #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ListTagsForResource AWS API Documentation + # + # @overload list_tags_for_resource(params = {}) + # @param [Hash] params ({}) + def list_tags_for_resource(params = {}, options = {}) + req = build_request(:list_tags_for_resource, params) + req.send_request(options) + end + + # Starts a specified application and initializes initial capacity if + # configured. + # + # @option params [required, String] :application_id + # The ID of the application to start. + # + # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # + # @example Request syntax with placeholder values + # + # resp = client.start_application({ + # application_id: "ApplicationId", # required + # }) + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/StartApplication AWS API Documentation + # + # @overload start_application(params = {}) + # @param [Hash] params ({}) + def start_application(params = {}, options = {}) + req = build_request(:start_application, params) + req.send_request(options) + end + + # Starts a job run. + # + # @option params [required, String] :application_id + # The ID of the application on which to run the job. + # + # @option params [required, String] :client_token + # The client idempotency token of the job run to start. Its value must + # be unique for each request. + # + # **A suitable default value is auto-generated.** You should normally + # not need to pass this option.** + # + # @option params [required, String] :execution_role_arn + # The execution role ARN for the job run. + # + # @option params [Types::JobDriver] :job_driver + # The job driver for the job run. + # + # @option params [Types::ConfigurationOverrides] :configuration_overrides + # The configuration overrides for the job run. + # + # @option params [Hash] :tags + # The tags assigned to the job run. + # + # @option params [Integer] :execution_timeout_minutes + # The maximum duration for the job run to run. If the job run runs + # beyond this duration, it will be automatically cancelled. + # + # @option params [String] :name + # The optional job run name. This doesn't have to be unique. + # + # @return [Types::StartJobRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::StartJobRunResponse#application_id #application_id} => String + # * {Types::StartJobRunResponse#job_run_id #job_run_id} => String + # * {Types::StartJobRunResponse#arn #arn} => String + # + # @example Request syntax with placeholder values + # + # resp = client.start_job_run({ + # application_id: "ApplicationId", # required + # client_token: "ClientToken", # required + # execution_role_arn: "IAMRoleArn", # required + # job_driver: { + # spark_submit: { + # entry_point: "EntryPointPath", # required + # entry_point_arguments: ["EntryPointArgument"], + # spark_submit_parameters: "SparkSubmitParameters", + # }, + # hive: { + # query: "Query", # required + # init_query_file: "InitScriptPath", + # parameters: "HiveCliParameters", + # }, + # }, + # configuration_overrides: { + # application_configuration: [ + # { + # classification: "String1024", # required + # properties: { + # "String1024" => "String1024", + # }, + # configurations: { + # # recursive ConfigurationList + # }, + # }, + # ], + # monitoring_configuration: { + # s3_monitoring_configuration: { + # log_uri: "UriString", + # encryption_key_arn: "EncryptionKeyArn", + # }, + # managed_persistence_monitoring_configuration: { + # enabled: false, + # encryption_key_arn: "EncryptionKeyArn", + # }, + # }, + # }, + # tags: { + # "TagKey" => "TagValue", + # }, + # execution_timeout_minutes: 1, + # name: "String256", + # }) + # + # @example Response structure + # + # resp.application_id #=> String + # resp.job_run_id #=> String + # resp.arn #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/StartJobRun AWS API Documentation + # + # @overload start_job_run(params = {}) + # @param [Hash] params ({}) + def start_job_run(params = {}, options = {}) + req = build_request(:start_job_run, params) + req.send_request(options) + end + + # Stops a specified application and releases initial capacity if + # configured. All scheduled and running jobs must be completed or + # cancelled before stopping an application. + # + # @option params [required, String] :application_id + # The ID of the application to stop. + # + # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # + # @example Request syntax with placeholder values + # + # resp = client.stop_application({ + # application_id: "ApplicationId", # required + # }) + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/StopApplication AWS API Documentation + # + # @overload stop_application(params = {}) + # @param [Hash] params ({}) + def stop_application(params = {}, options = {}) + req = build_request(:stop_application, params) + req.send_request(options) + end + + # Assigns tags to resources. A tag is a label that you assign to an AWS + # resource. Each tag consists of a key and an optional value, both of + # which you define. Tags enable you to categorize your AWS resources by + # attributes such as purpose, owner, or environment. When you have many + # resources of the same type, you can quickly identify a specific + # resource based on the tags you've assigned to it. + # + # @option params [required, String] :resource_arn + # The Amazon Resource Name (ARN) that identifies the resource to list + # the tags for. Currently, the supported resources are Amazon EMR + # Serverless applications and job runs. + # + # @option params [required, Hash] :tags + # The tags to add to the resource. A tag is an array of key-value pairs. + # + # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # + # @example Request syntax with placeholder values + # + # resp = client.tag_resource({ + # resource_arn: "ResourceArn", # required + # tags: { # required + # "TagKey" => "TagValue", + # }, + # }) + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/TagResource AWS API Documentation + # + # @overload tag_resource(params = {}) + # @param [Hash] params ({}) + def tag_resource(params = {}, options = {}) + req = build_request(:tag_resource, params) + req.send_request(options) + end + + # Removes tags from resources. + # + # @option params [required, String] :resource_arn + # The Amazon Resource Name (ARN) that identifies the resource to list + # the tags for. Currently, the supported resources are Amazon EMR + # Serverless applications and job runs. + # + # @option params [required, Array] :tag_keys + # The keys of the tags to be removed. + # + # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # + # @example Request syntax with placeholder values + # + # resp = client.untag_resource({ + # resource_arn: "ResourceArn", # required + # tag_keys: ["TagKey"], # required + # }) + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UntagResource AWS API Documentation + # + # @overload untag_resource(params = {}) + # @param [Hash] params ({}) + def untag_resource(params = {}, options = {}) + req = build_request(:untag_resource, params) + req.send_request(options) + end + + # Updates a specified application. An application has to be in a stopped + # or created state in order to be updated. + # + # @option params [required, String] :application_id + # The ID of the application to update. + # + # @option params [required, String] :client_token + # The client idempotency token of the application to update. Its value + # must be unique for each request. + # + # **A suitable default value is auto-generated.** You should normally + # not need to pass this option.** + # + # @option params [Hash] :initial_capacity + # The capacity to initialize when the application is updated. + # + # @option params [Types::MaximumAllowedResources] :maximum_capacity + # The maximum capacity to allocate when the application is updated. This + # is cumulative across all workers at any given point in time during the + # lifespan of the application. No new resources will be created once any + # one of the defined limits is hit. + # + # @option params [Types::AutoStartConfig] :auto_start_configuration + # The configuration for an application to automatically start on job + # submission. + # + # @option params [Types::AutoStopConfig] :auto_stop_configuration + # The configuration for an application to automatically stop after a + # certain amount of time being idle. + # + # @option params [Types::NetworkConfiguration] :network_configuration + # The network configuration for customer VPC connectivity. + # + # @return [Types::UpdateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::UpdateApplicationResponse#application #application} => Types::Application + # + # @example Request syntax with placeholder values + # + # resp = client.update_application({ + # application_id: "ApplicationId", # required + # client_token: "ClientToken", # required + # initial_capacity: { + # "WorkerTypeString" => { + # worker_count: 1, # required + # worker_configuration: { + # cpu: "CpuSize", # required + # memory: "MemorySize", # required + # disk: "DiskSize", + # }, + # }, + # }, + # maximum_capacity: { + # cpu: "CpuSize", # required + # memory: "MemorySize", # required + # disk: "DiskSize", + # }, + # auto_start_configuration: { + # enabled: false, + # }, + # auto_stop_configuration: { + # enabled: false, + # idle_timeout_minutes: 1, + # }, + # network_configuration: { + # subnet_ids: ["SubnetString"], + # security_group_ids: ["SecurityGroupString"], + # }, + # }) + # + # @example Response structure + # + # resp.application.application_id #=> String + # resp.application.name #=> String + # resp.application.arn #=> String + # resp.application.release_label #=> String + # resp.application.type #=> String + # resp.application.state #=> String, one of "CREATING", "CREATED", "STARTING", "STARTED", "STOPPING", "STOPPED", "TERMINATED" + # resp.application.state_details #=> String + # resp.application.initial_capacity #=> Hash + # resp.application.initial_capacity["WorkerTypeString"].worker_count #=> Integer + # resp.application.initial_capacity["WorkerTypeString"].worker_configuration.cpu #=> String + # resp.application.initial_capacity["WorkerTypeString"].worker_configuration.memory #=> String + # resp.application.initial_capacity["WorkerTypeString"].worker_configuration.disk #=> String + # resp.application.maximum_capacity.cpu #=> String + # resp.application.maximum_capacity.memory #=> String + # resp.application.maximum_capacity.disk #=> String + # resp.application.created_at #=> Time + # resp.application.updated_at #=> Time + # resp.application.tags #=> Hash + # resp.application.tags["TagKey"] #=> String + # resp.application.auto_start_configuration.enabled #=> Boolean + # resp.application.auto_stop_configuration.enabled #=> Boolean + # resp.application.auto_stop_configuration.idle_timeout_minutes #=> Integer + # resp.application.network_configuration.subnet_ids #=> Array + # resp.application.network_configuration.subnet_ids[0] #=> String + # resp.application.network_configuration.security_group_ids #=> Array + # resp.application.network_configuration.security_group_ids[0] #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplication AWS API Documentation + # + # @overload update_application(params = {}) + # @param [Hash] params ({}) + def update_application(params = {}, options = {}) + req = build_request(:update_application, params) + req.send_request(options) + end + + # @!endgroup + + # @param params ({}) + # @api private + def build_request(operation_name, params = {}) + handlers = @handlers.for(operation_name) + context = Seahorse::Client::RequestContext.new( + operation_name: operation_name, + operation: config.api.operation(operation_name), + client: self, + params: params, + config: config) + context[:gem_name] = 'aws-sdk-emrserverless' + context[:gem_version] = '1.0.0' + Seahorse::Client::Request.new(handlers, context) + end + + # @api private + # @deprecated + def waiter_names + [] + end + + class << self + + # @api private + attr_reader :identifier + + # @api private + def errors_module + Errors + end + + end + end +end diff --git a/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/client_api.rb b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/client_api.rb new file mode 100644 index 00000000000..267bbedd268 --- /dev/null +++ b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/client_api.rb @@ -0,0 +1,600 @@ +# frozen_string_literal: true + +# WARNING ABOUT GENERATED CODE +# +# This file is generated. See the contributing guide for more information: +# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md +# +# WARNING ABOUT GENERATED CODE + +module Aws::EMRServerless + # @api private + module ClientApi + + include Seahorse::Model + + Application = Shapes::StructureShape.new(name: 'Application') + ApplicationArn = Shapes::StringShape.new(name: 'ApplicationArn') + ApplicationId = Shapes::StringShape.new(name: 'ApplicationId') + ApplicationList = Shapes::ListShape.new(name: 'ApplicationList') + ApplicationName = Shapes::StringShape.new(name: 'ApplicationName') + ApplicationState = Shapes::StringShape.new(name: 'ApplicationState') + ApplicationStateSet = Shapes::ListShape.new(name: 'ApplicationStateSet') + ApplicationSummary = Shapes::StructureShape.new(name: 'ApplicationSummary') + AutoStartConfig = Shapes::StructureShape.new(name: 'AutoStartConfig') + AutoStopConfig = Shapes::StructureShape.new(name: 'AutoStopConfig') + AutoStopConfigIdleTimeoutMinutesInteger = Shapes::IntegerShape.new(name: 'AutoStopConfigIdleTimeoutMinutesInteger') + Boolean = Shapes::BooleanShape.new(name: 'Boolean') + CancelJobRunRequest = Shapes::StructureShape.new(name: 'CancelJobRunRequest') + CancelJobRunResponse = Shapes::StructureShape.new(name: 'CancelJobRunResponse') + ClientToken = Shapes::StringShape.new(name: 'ClientToken') + Configuration = Shapes::StructureShape.new(name: 'Configuration') + ConfigurationList = Shapes::ListShape.new(name: 'ConfigurationList') + ConfigurationOverrides = Shapes::StructureShape.new(name: 'ConfigurationOverrides') + ConflictException = Shapes::StructureShape.new(name: 'ConflictException') + CpuSize = Shapes::StringShape.new(name: 'CpuSize') + CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest') + CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse') + Date = Shapes::TimestampShape.new(name: 'Date') + DeleteApplicationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationRequest') + DeleteApplicationResponse = Shapes::StructureShape.new(name: 'DeleteApplicationResponse') + DiskSize = Shapes::StringShape.new(name: 'DiskSize') + Double = Shapes::FloatShape.new(name: 'Double') + Duration = Shapes::IntegerShape.new(name: 'Duration') + EncryptionKeyArn = Shapes::StringShape.new(name: 'EncryptionKeyArn') + EngineType = Shapes::StringShape.new(name: 'EngineType') + EntryPointArgument = Shapes::StringShape.new(name: 'EntryPointArgument') + EntryPointArguments = Shapes::ListShape.new(name: 'EntryPointArguments') + EntryPointPath = Shapes::StringShape.new(name: 'EntryPointPath') + GetApplicationRequest = Shapes::StructureShape.new(name: 'GetApplicationRequest') + GetApplicationResponse = Shapes::StructureShape.new(name: 'GetApplicationResponse') + GetJobRunRequest = Shapes::StructureShape.new(name: 'GetJobRunRequest') + GetJobRunResponse = Shapes::StructureShape.new(name: 'GetJobRunResponse') + Hive = Shapes::StructureShape.new(name: 'Hive') + HiveCliParameters = Shapes::StringShape.new(name: 'HiveCliParameters') + IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn') + InitScriptPath = Shapes::StringShape.new(name: 'InitScriptPath') + InitialCapacityConfig = Shapes::StructureShape.new(name: 'InitialCapacityConfig') + InitialCapacityConfigMap = Shapes::MapShape.new(name: 'InitialCapacityConfigMap') + Integer = Shapes::IntegerShape.new(name: 'Integer') + InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException') + JobArn = Shapes::StringShape.new(name: 'JobArn') + JobDriver = Shapes::UnionShape.new(name: 'JobDriver') + JobRun = Shapes::StructureShape.new(name: 'JobRun') + JobRunId = Shapes::StringShape.new(name: 'JobRunId') + JobRunState = Shapes::StringShape.new(name: 'JobRunState') + JobRunStateSet = Shapes::ListShape.new(name: 'JobRunStateSet') + JobRunSummary = Shapes::StructureShape.new(name: 'JobRunSummary') + JobRunType = Shapes::StringShape.new(name: 'JobRunType') + JobRuns = Shapes::ListShape.new(name: 'JobRuns') + ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest') + ListApplicationsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListApplicationsRequestMaxResultsInteger') + ListApplicationsResponse = Shapes::StructureShape.new(name: 'ListApplicationsResponse') + ListJobRunsRequest = Shapes::StructureShape.new(name: 'ListJobRunsRequest') + ListJobRunsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListJobRunsRequestMaxResultsInteger') + ListJobRunsResponse = Shapes::StructureShape.new(name: 'ListJobRunsResponse') + ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest') + ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse') + ManagedPersistenceMonitoringConfiguration = Shapes::StructureShape.new(name: 'ManagedPersistenceMonitoringConfiguration') + MaximumAllowedResources = Shapes::StructureShape.new(name: 'MaximumAllowedResources') + MemorySize = Shapes::StringShape.new(name: 'MemorySize') + MonitoringConfiguration = Shapes::StructureShape.new(name: 'MonitoringConfiguration') + NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration') + NextToken = Shapes::StringShape.new(name: 'NextToken') + Query = Shapes::StringShape.new(name: 'Query') + ReleaseLabel = Shapes::StringShape.new(name: 'ReleaseLabel') + RequestIdentityUserArn = Shapes::StringShape.new(name: 'RequestIdentityUserArn') + ResourceArn = Shapes::StringShape.new(name: 'ResourceArn') + ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException') + S3MonitoringConfiguration = Shapes::StructureShape.new(name: 'S3MonitoringConfiguration') + SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds') + SecurityGroupString = Shapes::StringShape.new(name: 'SecurityGroupString') + SensitivePropertiesMap = Shapes::MapShape.new(name: 'SensitivePropertiesMap') + ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException') + SparkSubmit = Shapes::StructureShape.new(name: 'SparkSubmit') + SparkSubmitParameters = Shapes::StringShape.new(name: 'SparkSubmitParameters') + StartApplicationRequest = Shapes::StructureShape.new(name: 'StartApplicationRequest') + StartApplicationResponse = Shapes::StructureShape.new(name: 'StartApplicationResponse') + StartJobRunRequest = Shapes::StructureShape.new(name: 'StartJobRunRequest') + StartJobRunResponse = Shapes::StructureShape.new(name: 'StartJobRunResponse') + StopApplicationRequest = Shapes::StructureShape.new(name: 'StopApplicationRequest') + StopApplicationResponse = Shapes::StructureShape.new(name: 'StopApplicationResponse') + String1024 = Shapes::StringShape.new(name: 'String1024') + String256 = Shapes::StringShape.new(name: 'String256') + SubnetIds = Shapes::ListShape.new(name: 'SubnetIds') + SubnetString = Shapes::StringShape.new(name: 'SubnetString') + TagKey = Shapes::StringShape.new(name: 'TagKey') + TagKeyList = Shapes::ListShape.new(name: 'TagKeyList') + TagMap = Shapes::MapShape.new(name: 'TagMap') + TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest') + TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse') + TagValue = Shapes::StringShape.new(name: 'TagValue') + TotalResourceUtilization = Shapes::StructureShape.new(name: 'TotalResourceUtilization') + UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest') + UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse') + UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest') + UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse') + UriString = Shapes::StringShape.new(name: 'UriString') + ValidationException = Shapes::StructureShape.new(name: 'ValidationException') + WorkerCounts = Shapes::IntegerShape.new(name: 'WorkerCounts') + WorkerResourceConfig = Shapes::StructureShape.new(name: 'WorkerResourceConfig') + WorkerTypeString = Shapes::StringShape.new(name: 'WorkerTypeString') + + Application.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId")) + Application.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "name")) + Application.add_member(:arn, Shapes::ShapeRef.new(shape: ApplicationArn, required: true, location_name: "arn")) + Application.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, required: true, location_name: "releaseLabel")) + Application.add_member(:type, Shapes::ShapeRef.new(shape: EngineType, required: true, location_name: "type")) + Application.add_member(:state, Shapes::ShapeRef.new(shape: ApplicationState, required: true, location_name: "state")) + Application.add_member(:state_details, Shapes::ShapeRef.new(shape: String256, location_name: "stateDetails")) + Application.add_member(:initial_capacity, Shapes::ShapeRef.new(shape: InitialCapacityConfigMap, location_name: "initialCapacity")) + Application.add_member(:maximum_capacity, Shapes::ShapeRef.new(shape: MaximumAllowedResources, location_name: "maximumCapacity")) + Application.add_member(:created_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "createdAt")) + Application.add_member(:updated_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "updatedAt")) + Application.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags")) + Application.add_member(:auto_start_configuration, Shapes::ShapeRef.new(shape: AutoStartConfig, location_name: "autoStartConfiguration")) + Application.add_member(:auto_stop_configuration, Shapes::ShapeRef.new(shape: AutoStopConfig, location_name: "autoStopConfiguration")) + Application.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration")) + Application.struct_class = Types::Application + + ApplicationList.member = Shapes::ShapeRef.new(shape: ApplicationSummary) + + ApplicationStateSet.member = Shapes::ShapeRef.new(shape: ApplicationState) + + ApplicationSummary.add_member(:id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "id")) + ApplicationSummary.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "name")) + ApplicationSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ApplicationArn, required: true, location_name: "arn")) + ApplicationSummary.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, required: true, location_name: "releaseLabel")) + ApplicationSummary.add_member(:type, Shapes::ShapeRef.new(shape: EngineType, required: true, location_name: "type")) + ApplicationSummary.add_member(:state, Shapes::ShapeRef.new(shape: ApplicationState, required: true, location_name: "state")) + ApplicationSummary.add_member(:state_details, Shapes::ShapeRef.new(shape: String256, location_name: "stateDetails")) + ApplicationSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "createdAt")) + ApplicationSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "updatedAt")) + ApplicationSummary.struct_class = Types::ApplicationSummary + + AutoStartConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled")) + AutoStartConfig.struct_class = Types::AutoStartConfig + + AutoStopConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled")) + AutoStopConfig.add_member(:idle_timeout_minutes, Shapes::ShapeRef.new(shape: AutoStopConfigIdleTimeoutMinutesInteger, location_name: "idleTimeoutMinutes", metadata: {"box"=>true})) + AutoStopConfig.struct_class = Types::AutoStopConfig + + CancelJobRunRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId")) + CancelJobRunRequest.add_member(:job_run_id, Shapes::ShapeRef.new(shape: JobRunId, required: true, location: "uri", location_name: "jobRunId")) + CancelJobRunRequest.struct_class = Types::CancelJobRunRequest + + CancelJobRunResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId")) + CancelJobRunResponse.add_member(:job_run_id, Shapes::ShapeRef.new(shape: JobRunId, required: true, location_name: "jobRunId")) + CancelJobRunResponse.struct_class = Types::CancelJobRunResponse + + Configuration.add_member(:classification, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "classification")) + Configuration.add_member(:properties, Shapes::ShapeRef.new(shape: SensitivePropertiesMap, location_name: "properties")) + Configuration.add_member(:configurations, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "configurations")) + Configuration.struct_class = Types::Configuration + + ConfigurationList.member = Shapes::ShapeRef.new(shape: Configuration) + + ConfigurationOverrides.add_member(:application_configuration, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "applicationConfiguration")) + ConfigurationOverrides.add_member(:monitoring_configuration, Shapes::ShapeRef.new(shape: MonitoringConfiguration, location_name: "monitoringConfiguration")) + ConfigurationOverrides.struct_class = Types::ConfigurationOverrides + + ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "message")) + ConflictException.struct_class = Types::ConflictException + + CreateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "name")) + CreateApplicationRequest.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, required: true, location_name: "releaseLabel")) + CreateApplicationRequest.add_member(:type, Shapes::ShapeRef.new(shape: EngineType, required: true, location_name: "type")) + CreateApplicationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true})) + CreateApplicationRequest.add_member(:initial_capacity, Shapes::ShapeRef.new(shape: InitialCapacityConfigMap, location_name: "initialCapacity")) + CreateApplicationRequest.add_member(:maximum_capacity, Shapes::ShapeRef.new(shape: MaximumAllowedResources, location_name: "maximumCapacity")) + CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags")) + CreateApplicationRequest.add_member(:auto_start_configuration, Shapes::ShapeRef.new(shape: AutoStartConfig, location_name: "autoStartConfiguration")) + CreateApplicationRequest.add_member(:auto_stop_configuration, Shapes::ShapeRef.new(shape: AutoStopConfig, location_name: "autoStopConfiguration")) + CreateApplicationRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration")) + CreateApplicationRequest.struct_class = Types::CreateApplicationRequest + + CreateApplicationResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId")) + CreateApplicationResponse.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "name")) + CreateApplicationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ApplicationArn, required: true, location_name: "arn")) + CreateApplicationResponse.struct_class = Types::CreateApplicationResponse + + DeleteApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId")) + DeleteApplicationRequest.struct_class = Types::DeleteApplicationRequest + + DeleteApplicationResponse.struct_class = Types::DeleteApplicationResponse + + EntryPointArguments.member = Shapes::ShapeRef.new(shape: EntryPointArgument) + + GetApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId")) + GetApplicationRequest.struct_class = Types::GetApplicationRequest + + GetApplicationResponse.add_member(:application, Shapes::ShapeRef.new(shape: Application, required: true, location_name: "application")) + GetApplicationResponse.struct_class = Types::GetApplicationResponse + + GetJobRunRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId")) + GetJobRunRequest.add_member(:job_run_id, Shapes::ShapeRef.new(shape: JobRunId, required: true, location: "uri", location_name: "jobRunId")) + GetJobRunRequest.struct_class = Types::GetJobRunRequest + + GetJobRunResponse.add_member(:job_run, Shapes::ShapeRef.new(shape: JobRun, required: true, location_name: "jobRun")) + GetJobRunResponse.struct_class = Types::GetJobRunResponse + + Hive.add_member(:query, Shapes::ShapeRef.new(shape: Query, required: true, location_name: "query")) + Hive.add_member(:init_query_file, Shapes::ShapeRef.new(shape: InitScriptPath, location_name: "initQueryFile")) + Hive.add_member(:parameters, Shapes::ShapeRef.new(shape: HiveCliParameters, location_name: "parameters")) + Hive.struct_class = Types::Hive + + InitialCapacityConfig.add_member(:worker_count, Shapes::ShapeRef.new(shape: WorkerCounts, required: true, location_name: "workerCount")) + InitialCapacityConfig.add_member(:worker_configuration, Shapes::ShapeRef.new(shape: WorkerResourceConfig, location_name: "workerConfiguration")) + InitialCapacityConfig.struct_class = Types::InitialCapacityConfig + + InitialCapacityConfigMap.key = Shapes::ShapeRef.new(shape: WorkerTypeString) + InitialCapacityConfigMap.value = Shapes::ShapeRef.new(shape: InitialCapacityConfig) + + InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "message")) + InternalServerException.struct_class = Types::InternalServerException + + JobDriver.add_member(:spark_submit, Shapes::ShapeRef.new(shape: SparkSubmit, location_name: "sparkSubmit")) + JobDriver.add_member(:hive, Shapes::ShapeRef.new(shape: Hive, location_name: "hive")) + JobDriver.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown')) + JobDriver.add_member_subclass(:spark_submit, Types::JobDriver::SparkSubmit) + JobDriver.add_member_subclass(:hive, Types::JobDriver::Hive) + JobDriver.add_member_subclass(:unknown, Types::JobDriver::Unknown) + JobDriver.struct_class = Types::JobDriver + + JobRun.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId")) + JobRun.add_member(:job_run_id, Shapes::ShapeRef.new(shape: JobRunId, required: true, location_name: "jobRunId")) + JobRun.add_member(:name, Shapes::ShapeRef.new(shape: String256, location_name: "name")) + JobRun.add_member(:arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "arn")) + JobRun.add_member(:created_by, Shapes::ShapeRef.new(shape: RequestIdentityUserArn, required: true, location_name: "createdBy")) + JobRun.add_member(:created_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "createdAt")) + JobRun.add_member(:updated_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "updatedAt")) + JobRun.add_member(:execution_role, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "executionRole")) + JobRun.add_member(:state, Shapes::ShapeRef.new(shape: JobRunState, required: true, location_name: "state")) + JobRun.add_member(:state_details, Shapes::ShapeRef.new(shape: String256, required: true, location_name: "stateDetails")) + JobRun.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, required: true, location_name: "releaseLabel")) + JobRun.add_member(:configuration_overrides, Shapes::ShapeRef.new(shape: ConfigurationOverrides, location_name: "configurationOverrides")) + JobRun.add_member(:job_driver, Shapes::ShapeRef.new(shape: JobDriver, required: true, location_name: "jobDriver")) + JobRun.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags")) + JobRun.add_member(:total_resource_utilization, Shapes::ShapeRef.new(shape: TotalResourceUtilization, location_name: "totalResourceUtilization")) + JobRun.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration")) + JobRun.add_member(:total_execution_duration_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "totalExecutionDurationSeconds")) + JobRun.struct_class = Types::JobRun + + JobRunStateSet.member = Shapes::ShapeRef.new(shape: JobRunState) + + JobRunSummary.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId")) + JobRunSummary.add_member(:id, Shapes::ShapeRef.new(shape: JobRunId, required: true, location_name: "id")) + JobRunSummary.add_member(:name, Shapes::ShapeRef.new(shape: String256, location_name: "name")) + JobRunSummary.add_member(:arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "arn")) + JobRunSummary.add_member(:created_by, Shapes::ShapeRef.new(shape: RequestIdentityUserArn, required: true, location_name: "createdBy")) + JobRunSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "createdAt")) + JobRunSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "updatedAt")) + JobRunSummary.add_member(:execution_role, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "executionRole")) + JobRunSummary.add_member(:state, Shapes::ShapeRef.new(shape: JobRunState, required: true, location_name: "state")) + JobRunSummary.add_member(:state_details, Shapes::ShapeRef.new(shape: String256, required: true, location_name: "stateDetails")) + JobRunSummary.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, required: true, location_name: "releaseLabel")) + JobRunSummary.add_member(:type, Shapes::ShapeRef.new(shape: JobRunType, location_name: "type")) + JobRunSummary.struct_class = Types::JobRunSummary + + JobRuns.member = Shapes::ShapeRef.new(shape: JobRunSummary) + + ListApplicationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken")) + ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListApplicationsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults", metadata: {"box"=>true})) + ListApplicationsRequest.add_member(:states, Shapes::ShapeRef.new(shape: ApplicationStateSet, location: "querystring", location_name: "states")) + ListApplicationsRequest.struct_class = Types::ListApplicationsRequest + + ListApplicationsResponse.add_member(:applications, Shapes::ShapeRef.new(shape: ApplicationList, required: true, location_name: "applications")) + ListApplicationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken")) + ListApplicationsResponse.struct_class = Types::ListApplicationsResponse + + ListJobRunsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId")) + ListJobRunsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken")) + ListJobRunsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListJobRunsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults", metadata: {"box"=>true})) + ListJobRunsRequest.add_member(:created_at_after, Shapes::ShapeRef.new(shape: Date, location: "querystring", location_name: "createdAtAfter")) + ListJobRunsRequest.add_member(:created_at_before, Shapes::ShapeRef.new(shape: Date, location: "querystring", location_name: "createdAtBefore")) + ListJobRunsRequest.add_member(:states, Shapes::ShapeRef.new(shape: JobRunStateSet, location: "querystring", location_name: "states")) + ListJobRunsRequest.struct_class = Types::ListJobRunsRequest + + ListJobRunsResponse.add_member(:job_runs, Shapes::ShapeRef.new(shape: JobRuns, required: true, location_name: "jobRuns")) + ListJobRunsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken")) + ListJobRunsResponse.struct_class = Types::ListJobRunsResponse + + ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn")) + ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest + + ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags")) + ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse + + ManagedPersistenceMonitoringConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled")) + ManagedPersistenceMonitoringConfiguration.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: EncryptionKeyArn, location_name: "encryptionKeyArn")) + ManagedPersistenceMonitoringConfiguration.struct_class = Types::ManagedPersistenceMonitoringConfiguration + + MaximumAllowedResources.add_member(:cpu, Shapes::ShapeRef.new(shape: CpuSize, required: true, location_name: "cpu")) + MaximumAllowedResources.add_member(:memory, Shapes::ShapeRef.new(shape: MemorySize, required: true, location_name: "memory")) + MaximumAllowedResources.add_member(:disk, Shapes::ShapeRef.new(shape: DiskSize, location_name: "disk")) + MaximumAllowedResources.struct_class = Types::MaximumAllowedResources + + MonitoringConfiguration.add_member(:s3_monitoring_configuration, Shapes::ShapeRef.new(shape: S3MonitoringConfiguration, location_name: "s3MonitoringConfiguration")) + MonitoringConfiguration.add_member(:managed_persistence_monitoring_configuration, Shapes::ShapeRef.new(shape: ManagedPersistenceMonitoringConfiguration, location_name: "managedPersistenceMonitoringConfiguration")) + MonitoringConfiguration.struct_class = Types::MonitoringConfiguration + + NetworkConfiguration.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "subnetIds")) + NetworkConfiguration.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "securityGroupIds")) + NetworkConfiguration.struct_class = Types::NetworkConfiguration + + ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "message")) + ResourceNotFoundException.struct_class = Types::ResourceNotFoundException + + S3MonitoringConfiguration.add_member(:log_uri, Shapes::ShapeRef.new(shape: UriString, location_name: "logUri")) + S3MonitoringConfiguration.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: EncryptionKeyArn, location_name: "encryptionKeyArn")) + S3MonitoringConfiguration.struct_class = Types::S3MonitoringConfiguration + + SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupString) + + SensitivePropertiesMap.key = Shapes::ShapeRef.new(shape: String1024) + SensitivePropertiesMap.value = Shapes::ShapeRef.new(shape: String1024) + + ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "message")) + ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException + + SparkSubmit.add_member(:entry_point, Shapes::ShapeRef.new(shape: EntryPointPath, required: true, location_name: "entryPoint")) + SparkSubmit.add_member(:entry_point_arguments, Shapes::ShapeRef.new(shape: EntryPointArguments, location_name: "entryPointArguments")) + SparkSubmit.add_member(:spark_submit_parameters, Shapes::ShapeRef.new(shape: SparkSubmitParameters, location_name: "sparkSubmitParameters")) + SparkSubmit.struct_class = Types::SparkSubmit + + StartApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId")) + StartApplicationRequest.struct_class = Types::StartApplicationRequest + + StartApplicationResponse.struct_class = Types::StartApplicationResponse + + StartJobRunRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId")) + StartJobRunRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true})) + StartJobRunRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "executionRoleArn")) + StartJobRunRequest.add_member(:job_driver, Shapes::ShapeRef.new(shape: JobDriver, location_name: "jobDriver")) + StartJobRunRequest.add_member(:configuration_overrides, Shapes::ShapeRef.new(shape: ConfigurationOverrides, location_name: "configurationOverrides")) + StartJobRunRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags")) + StartJobRunRequest.add_member(:execution_timeout_minutes, Shapes::ShapeRef.new(shape: Duration, location_name: "executionTimeoutMinutes", metadata: {"box"=>true})) + StartJobRunRequest.add_member(:name, Shapes::ShapeRef.new(shape: String256, location_name: "name")) + StartJobRunRequest.struct_class = Types::StartJobRunRequest + + StartJobRunResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId")) + StartJobRunResponse.add_member(:job_run_id, Shapes::ShapeRef.new(shape: JobRunId, required: true, location_name: "jobRunId")) + StartJobRunResponse.add_member(:arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "arn")) + StartJobRunResponse.struct_class = Types::StartJobRunResponse + + StopApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId")) + StopApplicationRequest.struct_class = Types::StopApplicationRequest + + StopApplicationResponse.struct_class = Types::StopApplicationResponse + + SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetString) + + TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey) + + TagMap.key = Shapes::ShapeRef.new(shape: TagKey) + TagMap.value = Shapes::ShapeRef.new(shape: TagValue) + + TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn")) + TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags")) + TagResourceRequest.struct_class = Types::TagResourceRequest + + TagResourceResponse.struct_class = Types::TagResourceResponse + + TotalResourceUtilization.add_member(:v_cpu_hour, Shapes::ShapeRef.new(shape: Double, location_name: "vCPUHour")) + TotalResourceUtilization.add_member(:memory_gb_hour, Shapes::ShapeRef.new(shape: Double, location_name: "memoryGBHour")) + TotalResourceUtilization.add_member(:storage_gb_hour, Shapes::ShapeRef.new(shape: Double, location_name: "storageGBHour")) + TotalResourceUtilization.struct_class = Types::TotalResourceUtilization + + UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn")) + UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys")) + UntagResourceRequest.struct_class = Types::UntagResourceRequest + + UntagResourceResponse.struct_class = Types::UntagResourceResponse + + UpdateApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId")) + UpdateApplicationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true})) + UpdateApplicationRequest.add_member(:initial_capacity, Shapes::ShapeRef.new(shape: InitialCapacityConfigMap, location_name: "initialCapacity")) + UpdateApplicationRequest.add_member(:maximum_capacity, Shapes::ShapeRef.new(shape: MaximumAllowedResources, location_name: "maximumCapacity")) + UpdateApplicationRequest.add_member(:auto_start_configuration, Shapes::ShapeRef.new(shape: AutoStartConfig, location_name: "autoStartConfiguration")) + UpdateApplicationRequest.add_member(:auto_stop_configuration, Shapes::ShapeRef.new(shape: AutoStopConfig, location_name: "autoStopConfiguration")) + UpdateApplicationRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration")) + UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest + + UpdateApplicationResponse.add_member(:application, Shapes::ShapeRef.new(shape: Application, required: true, location_name: "application")) + UpdateApplicationResponse.struct_class = Types::UpdateApplicationResponse + + ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "message")) + ValidationException.struct_class = Types::ValidationException + + WorkerResourceConfig.add_member(:cpu, Shapes::ShapeRef.new(shape: CpuSize, required: true, location_name: "cpu")) + WorkerResourceConfig.add_member(:memory, Shapes::ShapeRef.new(shape: MemorySize, required: true, location_name: "memory")) + WorkerResourceConfig.add_member(:disk, Shapes::ShapeRef.new(shape: DiskSize, location_name: "disk")) + WorkerResourceConfig.struct_class = Types::WorkerResourceConfig + + + # @api private + API = Seahorse::Model::Api.new.tap do |api| + + api.version = "2021-07-13" + + api.metadata = { + "apiVersion" => "2021-07-13", + "endpointPrefix" => "emr-serverless", + "jsonVersion" => "1.1", + "protocol" => "rest-json", + "serviceFullName" => "EMR Serverless", + "serviceId" => "EMR Serverless", + "signatureVersion" => "v4", + "signingName" => "emr-serverless", + "uid" => "emr-serverless-2021-07-13", + } + + api.add_operation(:cancel_job_run, Seahorse::Model::Operation.new.tap do |o| + o.name = "CancelJobRun" + o.http_method = "DELETE" + o.http_request_uri = "/applications/{applicationId}/jobruns/{jobRunId}" + o.input = Shapes::ShapeRef.new(shape: CancelJobRunRequest) + o.output = Shapes::ShapeRef.new(shape: CancelJobRunResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + end) + + api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o| + o.name = "CreateApplication" + o.http_method = "POST" + o.http_request_uri = "/applications" + o.input = Shapes::ShapeRef.new(shape: CreateApplicationRequest) + o.output = Shapes::ShapeRef.new(shape: CreateApplicationResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) + end) + + api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o| + o.name = "DeleteApplication" + o.http_method = "DELETE" + o.http_request_uri = "/applications/{applicationId}" + o.input = Shapes::ShapeRef.new(shape: DeleteApplicationRequest) + o.output = Shapes::ShapeRef.new(shape: DeleteApplicationResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + end) + + api.add_operation(:get_application, Seahorse::Model::Operation.new.tap do |o| + o.name = "GetApplication" + o.http_method = "GET" + o.http_request_uri = "/applications/{applicationId}" + o.input = Shapes::ShapeRef.new(shape: GetApplicationRequest) + o.output = Shapes::ShapeRef.new(shape: GetApplicationResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + end) + + api.add_operation(:get_job_run, Seahorse::Model::Operation.new.tap do |o| + o.name = "GetJobRun" + o.http_method = "GET" + o.http_request_uri = "/applications/{applicationId}/jobruns/{jobRunId}" + o.input = Shapes::ShapeRef.new(shape: GetJobRunRequest) + o.output = Shapes::ShapeRef.new(shape: GetJobRunResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + end) + + api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o| + o.name = "ListApplications" + o.http_method = "GET" + o.http_request_uri = "/applications" + o.input = Shapes::ShapeRef.new(shape: ListApplicationsRequest) + o.output = Shapes::ShapeRef.new(shape: ListApplicationsResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_token" => "next_token" + } + ) + end) + + api.add_operation(:list_job_runs, Seahorse::Model::Operation.new.tap do |o| + o.name = "ListJobRuns" + o.http_method = "GET" + o.http_request_uri = "/applications/{applicationId}/jobruns" + o.input = Shapes::ShapeRef.new(shape: ListJobRunsRequest) + o.output = Shapes::ShapeRef.new(shape: ListJobRunsResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_token" => "next_token" + } + ) + end) + + api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o| + o.name = "ListTagsForResource" + o.http_method = "GET" + o.http_request_uri = "/tags/{resourceArn}" + o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest) + o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + end) + + api.add_operation(:start_application, Seahorse::Model::Operation.new.tap do |o| + o.name = "StartApplication" + o.http_method = "POST" + o.http_request_uri = "/applications/{applicationId}/start" + o.input = Shapes::ShapeRef.new(shape: StartApplicationRequest) + o.output = Shapes::ShapeRef.new(shape: StartApplicationResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException) + end) + + api.add_operation(:start_job_run, Seahorse::Model::Operation.new.tap do |o| + o.name = "StartJobRun" + o.http_method = "POST" + o.http_request_uri = "/applications/{applicationId}/jobruns" + o.input = Shapes::ShapeRef.new(shape: StartJobRunRequest) + o.output = Shapes::ShapeRef.new(shape: StartJobRunResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) + end) + + api.add_operation(:stop_application, Seahorse::Model::Operation.new.tap do |o| + o.name = "StopApplication" + o.http_method = "POST" + o.http_request_uri = "/applications/{applicationId}/stop" + o.input = Shapes::ShapeRef.new(shape: StopApplicationRequest) + o.output = Shapes::ShapeRef.new(shape: StopApplicationResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + end) + + api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o| + o.name = "TagResource" + o.http_method = "POST" + o.http_request_uri = "/tags/{resourceArn}" + o.input = Shapes::ShapeRef.new(shape: TagResourceRequest) + o.output = Shapes::ShapeRef.new(shape: TagResourceResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + end) + + api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o| + o.name = "UntagResource" + o.http_method = "DELETE" + o.http_request_uri = "/tags/{resourceArn}" + o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest) + o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + end) + + api.add_operation(:update_application, Seahorse::Model::Operation.new.tap do |o| + o.name = "UpdateApplication" + o.http_method = "PATCH" + o.http_request_uri = "/applications/{applicationId}" + o.input = Shapes::ShapeRef.new(shape: UpdateApplicationRequest) + o.output = Shapes::ShapeRef.new(shape: UpdateApplicationResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + end) + end + + end +end diff --git a/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/customizations.rb b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/customizations.rb new file mode 100644 index 00000000000..e69de29bb2d diff --git a/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/errors.rb b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/errors.rb new file mode 100644 index 00000000000..154b7c90ea4 --- /dev/null +++ b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/errors.rb @@ -0,0 +1,118 @@ +# frozen_string_literal: true + +# WARNING ABOUT GENERATED CODE +# +# This file is generated. See the contributing guide for more information: +# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md +# +# WARNING ABOUT GENERATED CODE + +module Aws::EMRServerless + + # When EMRServerless returns an error response, the Ruby SDK constructs and raises an error. + # These errors all extend Aws::EMRServerless::Errors::ServiceError < {Aws::Errors::ServiceError} + # + # You can rescue all EMRServerless errors using ServiceError: + # + # begin + # # do stuff + # rescue Aws::EMRServerless::Errors::ServiceError + # # rescues all EMRServerless API errors + # end + # + # + # ## Request Context + # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns + # information about the request that generated the error. + # See {Seahorse::Client::RequestContext} for more information. + # + # ## Error Classes + # * {ConflictException} + # * {InternalServerException} + # * {ResourceNotFoundException} + # * {ServiceQuotaExceededException} + # * {ValidationException} + # + # Additionally, error classes are dynamically generated for service errors based on the error code + # if they are not defined above. + module Errors + + extend Aws::Errors::DynamicErrors + + class ConflictException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::EMRServerless::Types::ConflictException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class InternalServerException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::EMRServerless::Types::InternalServerException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class ResourceNotFoundException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::EMRServerless::Types::ResourceNotFoundException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class ServiceQuotaExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::EMRServerless::Types::ServiceQuotaExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class ValidationException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::EMRServerless::Types::ValidationException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + end +end diff --git a/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/resource.rb b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/resource.rb new file mode 100644 index 00000000000..c43cbc7ddb4 --- /dev/null +++ b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/resource.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +# WARNING ABOUT GENERATED CODE +# +# This file is generated. See the contributing guide for more information: +# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md +# +# WARNING ABOUT GENERATED CODE + +module Aws::EMRServerless + + class Resource + + # @param options ({}) + # @option options [Client] :client + def initialize(options = {}) + @client = options[:client] || Client.new(options) + end + + # @return [Client] + def client + @client + end + + end +end diff --git a/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb new file mode 100644 index 00000000000..7a6c0f7f501 --- /dev/null +++ b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb @@ -0,0 +1,1639 @@ +# frozen_string_literal: true + +# WARNING ABOUT GENERATED CODE +# +# This file is generated. See the contributing guide for more information: +# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md +# +# WARNING ABOUT GENERATED CODE + +module Aws::EMRServerless + module Types + + # Information about an application. EMR Serverless uses applications to + # run jobs. + # + # @!attribute [rw] application_id + # The ID of the application. + # @return [String] + # + # @!attribute [rw] name + # The name of the application. + # @return [String] + # + # @!attribute [rw] arn + # The ARN of the application. + # @return [String] + # + # @!attribute [rw] release_label + # The EMR release version associated with the application. + # @return [String] + # + # @!attribute [rw] type + # The type of application, such as Spark or Hive. + # @return [String] + # + # @!attribute [rw] state + # The state of the application. + # @return [String] + # + # @!attribute [rw] state_details + # The state details of the application. + # @return [String] + # + # @!attribute [rw] initial_capacity + # The initial capacity of the application. + # @return [Hash] + # + # @!attribute [rw] maximum_capacity + # The maximum capacity of the application. This is cumulative across + # all workers at any given point in time during the lifespan of the + # application is created. No new resources will be created once any + # one of the defined limits is hit. + # @return [Types::MaximumAllowedResources] + # + # @!attribute [rw] created_at + # The date and time when the application run was created. + # @return [Time] + # + # @!attribute [rw] updated_at + # The date and time when the application run was last updated. + # @return [Time] + # + # @!attribute [rw] tags + # The tags assigned to the application. + # @return [Hash] + # + # @!attribute [rw] auto_start_configuration + # The configuration for an application to automatically start on job + # submission. + # @return [Types::AutoStartConfig] + # + # @!attribute [rw] auto_stop_configuration + # The configuration for an application to automatically stop after a + # certain amount of time being idle. + # @return [Types::AutoStopConfig] + # + # @!attribute [rw] network_configuration + # The network configuration for customer VPC connectivity for the + # application. + # @return [Types::NetworkConfiguration] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/Application AWS API Documentation + # + class Application < Struct.new( + :application_id, + :name, + :arn, + :release_label, + :type, + :state, + :state_details, + :initial_capacity, + :maximum_capacity, + :created_at, + :updated_at, + :tags, + :auto_start_configuration, + :auto_stop_configuration, + :network_configuration) + SENSITIVE = [] + include Aws::Structure + end + + # The summary of attributes associated with an application. + # + # @!attribute [rw] id + # The ID of the application. + # @return [String] + # + # @!attribute [rw] name + # The name of the application. + # @return [String] + # + # @!attribute [rw] arn + # The ARN of the application. + # @return [String] + # + # @!attribute [rw] release_label + # The EMR release version associated with the application. + # @return [String] + # + # @!attribute [rw] type + # The type of application, such as Spark or Hive. + # @return [String] + # + # @!attribute [rw] state + # The state of the application. + # @return [String] + # + # @!attribute [rw] state_details + # The state details of the application. + # @return [String] + # + # @!attribute [rw] created_at + # The date and time when the application was created. + # @return [Time] + # + # @!attribute [rw] updated_at + # The date and time when the application was last updated. + # @return [Time] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ApplicationSummary AWS API Documentation + # + class ApplicationSummary < Struct.new( + :id, + :name, + :arn, + :release_label, + :type, + :state, + :state_details, + :created_at, + :updated_at) + SENSITIVE = [] + include Aws::Structure + end + + # The configuration for an application to automatically start on job + # submission. + # + # @note When making an API call, you may pass AutoStartConfig + # data as a hash: + # + # { + # enabled: false, + # } + # + # @!attribute [rw] enabled + # Enables the application to automatically start on job submission. + # Defaults to true. + # @return [Boolean] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/AutoStartConfig AWS API Documentation + # + class AutoStartConfig < Struct.new( + :enabled) + SENSITIVE = [] + include Aws::Structure + end + + # The configuration for an application to automatically stop after a + # certain amount of time being idle. + # + # @note When making an API call, you may pass AutoStopConfig + # data as a hash: + # + # { + # enabled: false, + # idle_timeout_minutes: 1, + # } + # + # @!attribute [rw] enabled + # Enables the application to automatically stop after a certain amount + # of time being idle. Defaults to true. + # @return [Boolean] + # + # @!attribute [rw] idle_timeout_minutes + # The amount of idle time in minutes after which your application will + # automatically stop. Defaults to 15 minutes. + # @return [Integer] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/AutoStopConfig AWS API Documentation + # + class AutoStopConfig < Struct.new( + :enabled, + :idle_timeout_minutes) + SENSITIVE = [] + include Aws::Structure + end + + # @note When making an API call, you may pass CancelJobRunRequest + # data as a hash: + # + # { + # application_id: "ApplicationId", # required + # job_run_id: "JobRunId", # required + # } + # + # @!attribute [rw] application_id + # The ID of the application on which the job run will be canceled. + # @return [String] + # + # @!attribute [rw] job_run_id + # The ID of the job run to cancel. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/CancelJobRunRequest AWS API Documentation + # + class CancelJobRunRequest < Struct.new( + :application_id, + :job_run_id) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] application_id + # The output contains the application ID on which the job run is + # cancelled. + # @return [String] + # + # @!attribute [rw] job_run_id + # The output contains the ID of the cancelled job run. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/CancelJobRunResponse AWS API Documentation + # + class CancelJobRunResponse < Struct.new( + :application_id, + :job_run_id) + SENSITIVE = [] + include Aws::Structure + end + + # A configuration specification to be used when provisioning an + # application. A configuration consists of a classification, properties, + # and optional nested configurations. A classification refers to an + # application-specific configuration file. Properties are the settings + # you want to change in that file. + # + # @note When making an API call, you may pass Configuration + # data as a hash: + # + # { + # classification: "String1024", # required + # properties: { + # "String1024" => "String1024", + # }, + # configurations: [ + # { + # classification: "String1024", # required + # properties: { + # "String1024" => "String1024", + # }, + # configurations: { + # # recursive ConfigurationList + # }, + # }, + # ], + # } + # + # @!attribute [rw] classification + # The classification within a configuration. + # @return [String] + # + # @!attribute [rw] properties + # A set of properties specified within a configuration classification. + # @return [Hash] + # + # @!attribute [rw] configurations + # A list of additional configurations to apply within a configuration + # object. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/Configuration AWS API Documentation + # + class Configuration < Struct.new( + :classification, + :properties, + :configurations) + SENSITIVE = [:properties] + include Aws::Structure + end + + # A configuration specification to be used to override existing + # configurations. + # + # @note When making an API call, you may pass ConfigurationOverrides + # data as a hash: + # + # { + # application_configuration: [ + # { + # classification: "String1024", # required + # properties: { + # "String1024" => "String1024", + # }, + # configurations: { + # # recursive ConfigurationList + # }, + # }, + # ], + # monitoring_configuration: { + # s3_monitoring_configuration: { + # log_uri: "UriString", + # encryption_key_arn: "EncryptionKeyArn", + # }, + # managed_persistence_monitoring_configuration: { + # enabled: false, + # encryption_key_arn: "EncryptionKeyArn", + # }, + # }, + # } + # + # @!attribute [rw] application_configuration + # The override configurations for the application. + # @return [Array] + # + # @!attribute [rw] monitoring_configuration + # The override configurations for monitoring. + # @return [Types::MonitoringConfiguration] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ConfigurationOverrides AWS API Documentation + # + class ConfigurationOverrides < Struct.new( + :application_configuration, + :monitoring_configuration) + SENSITIVE = [] + include Aws::Structure + end + + # The request could not be processed because of conflict in the current + # state of the resource. + # + # @!attribute [rw] message + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ConflictException AWS API Documentation + # + class ConflictException < Struct.new( + :message) + SENSITIVE = [] + include Aws::Structure + end + + # @note When making an API call, you may pass CreateApplicationRequest + # data as a hash: + # + # { + # name: "ApplicationName", + # release_label: "ReleaseLabel", # required + # type: "EngineType", # required + # client_token: "ClientToken", # required + # initial_capacity: { + # "WorkerTypeString" => { + # worker_count: 1, # required + # worker_configuration: { + # cpu: "CpuSize", # required + # memory: "MemorySize", # required + # disk: "DiskSize", + # }, + # }, + # }, + # maximum_capacity: { + # cpu: "CpuSize", # required + # memory: "MemorySize", # required + # disk: "DiskSize", + # }, + # tags: { + # "TagKey" => "TagValue", + # }, + # auto_start_configuration: { + # enabled: false, + # }, + # auto_stop_configuration: { + # enabled: false, + # idle_timeout_minutes: 1, + # }, + # network_configuration: { + # subnet_ids: ["SubnetString"], + # security_group_ids: ["SecurityGroupString"], + # }, + # } + # + # @!attribute [rw] name + # The name of the application. + # @return [String] + # + # @!attribute [rw] release_label + # The EMR release version associated with the application. + # @return [String] + # + # @!attribute [rw] type + # The type of application you want to start, such as Spark or Hive. + # @return [String] + # + # @!attribute [rw] client_token + # The client idempotency token of the application to create. Its value + # must be unique for each request. + # + # **A suitable default value is auto-generated.** You should normally + # not need to pass this option. + # @return [String] + # + # @!attribute [rw] initial_capacity + # The capacity to initialize when the application is created. + # @return [Hash] + # + # @!attribute [rw] maximum_capacity + # The maximum capacity to allocate when the application is created. + # This is cumulative across all workers at any given point in time, + # not just when an application is created. No new resources will be + # created once any one of the defined limits is hit. + # @return [Types::MaximumAllowedResources] + # + # @!attribute [rw] tags + # The tags assigned to the application. + # @return [Hash] + # + # @!attribute [rw] auto_start_configuration + # The configuration for an application to automatically start on job + # submission. + # @return [Types::AutoStartConfig] + # + # @!attribute [rw] auto_stop_configuration + # The configuration for an application to automatically stop after a + # certain amount of time being idle. + # @return [Types::AutoStopConfig] + # + # @!attribute [rw] network_configuration + # The network configuration for customer VPC connectivity. + # @return [Types::NetworkConfiguration] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/CreateApplicationRequest AWS API Documentation + # + class CreateApplicationRequest < Struct.new( + :name, + :release_label, + :type, + :client_token, + :initial_capacity, + :maximum_capacity, + :tags, + :auto_start_configuration, + :auto_stop_configuration, + :network_configuration) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] application_id + # The output contains the application ID. + # @return [String] + # + # @!attribute [rw] name + # The output contains the name of the application. + # @return [String] + # + # @!attribute [rw] arn + # The output contains the ARN of the application. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/CreateApplicationResponse AWS API Documentation + # + class CreateApplicationResponse < Struct.new( + :application_id, + :name, + :arn) + SENSITIVE = [] + include Aws::Structure + end + + # @note When making an API call, you may pass DeleteApplicationRequest + # data as a hash: + # + # { + # application_id: "ApplicationId", # required + # } + # + # @!attribute [rw] application_id + # The ID of the application that will be deleted. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/DeleteApplicationRequest AWS API Documentation + # + class DeleteApplicationRequest < Struct.new( + :application_id) + SENSITIVE = [] + include Aws::Structure + end + + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/DeleteApplicationResponse AWS API Documentation + # + class DeleteApplicationResponse < Aws::EmptyStructure; end + + # @note When making an API call, you may pass GetApplicationRequest + # data as a hash: + # + # { + # application_id: "ApplicationId", # required + # } + # + # @!attribute [rw] application_id + # The ID of the application that will be described. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetApplicationRequest AWS API Documentation + # + class GetApplicationRequest < Struct.new( + :application_id) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] application + # The output displays information about the specified application. + # @return [Types::Application] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetApplicationResponse AWS API Documentation + # + class GetApplicationResponse < Struct.new( + :application) + SENSITIVE = [] + include Aws::Structure + end + + # @note When making an API call, you may pass GetJobRunRequest + # data as a hash: + # + # { + # application_id: "ApplicationId", # required + # job_run_id: "JobRunId", # required + # } + # + # @!attribute [rw] application_id + # The ID of the application on which the job run is submitted. + # @return [String] + # + # @!attribute [rw] job_run_id + # The ID of the job run. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetJobRunRequest AWS API Documentation + # + class GetJobRunRequest < Struct.new( + :application_id, + :job_run_id) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] job_run + # The output displays information about the job run. + # @return [Types::JobRun] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetJobRunResponse AWS API Documentation + # + class GetJobRunResponse < Struct.new( + :job_run) + SENSITIVE = [] + include Aws::Structure + end + + # The configurations for the Hive job driver. + # + # @note When making an API call, you may pass Hive + # data as a hash: + # + # { + # query: "Query", # required + # init_query_file: "InitScriptPath", + # parameters: "HiveCliParameters", + # } + # + # @!attribute [rw] query + # The query for the Hive job run. + # @return [String] + # + # @!attribute [rw] init_query_file + # The query file for the Hive job run. + # @return [String] + # + # @!attribute [rw] parameters + # The parameters for the Hive job run. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/Hive AWS API Documentation + # + class Hive < Struct.new( + :query, + :init_query_file, + :parameters) + SENSITIVE = [:query, :init_query_file, :parameters] + include Aws::Structure + end + + # The initial capacity configuration per worker. + # + # @note When making an API call, you may pass InitialCapacityConfig + # data as a hash: + # + # { + # worker_count: 1, # required + # worker_configuration: { + # cpu: "CpuSize", # required + # memory: "MemorySize", # required + # disk: "DiskSize", + # }, + # } + # + # @!attribute [rw] worker_count + # The number of workers in the initial capacity configuration. + # @return [Integer] + # + # @!attribute [rw] worker_configuration + # The resource configuration of the initial capacity configuration. + # @return [Types::WorkerResourceConfig] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/InitialCapacityConfig AWS API Documentation + # + class InitialCapacityConfig < Struct.new( + :worker_count, + :worker_configuration) + SENSITIVE = [] + include Aws::Structure + end + + # Request processing failed because of an error or failure with the + # service. + # + # @!attribute [rw] message + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/InternalServerException AWS API Documentation + # + class InternalServerException < Struct.new( + :message) + SENSITIVE = [] + include Aws::Structure + end + + # The driver that the job runs on. + # + # @note JobDriver is a union - when making an API calls you must set exactly one of the members. + # + # @note JobDriver is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of JobDriver corresponding to the set member. + # + # @!attribute [rw] spark_submit + # The job driver parameters specified for Spark. + # @return [Types::SparkSubmit] + # + # @!attribute [rw] hive + # The job driver parameters specified for Hive. + # @return [Types::Hive] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/JobDriver AWS API Documentation + # + class JobDriver < Struct.new( + :spark_submit, + :hive, + :unknown) + SENSITIVE = [] + include Aws::Structure + include Aws::Structure::Union + + class SparkSubmit < JobDriver; end + class Hive < JobDriver; end + class Unknown < JobDriver; end + end + + # Information about a job run. A job run is a unit of work, such as a + # Spark JAR, Hive query, or SparkSQL query, that you submit to an EMR + # Serverless application. + # + # @!attribute [rw] application_id + # The ID of the application the job is running on. + # @return [String] + # + # @!attribute [rw] job_run_id + # The ID of the job run. + # @return [String] + # + # @!attribute [rw] name + # The optional job run name. This doesn't have to be unique. + # @return [String] + # + # @!attribute [rw] arn + # The execution role ARN of the job run. + # @return [String] + # + # @!attribute [rw] created_by + # The user who created the job run. + # @return [String] + # + # @!attribute [rw] created_at + # The date and time when the job run was created. + # @return [Time] + # + # @!attribute [rw] updated_at + # The date and time when the job run was updated. + # @return [Time] + # + # @!attribute [rw] execution_role + # The execution role ARN of the job run. + # @return [String] + # + # @!attribute [rw] state + # The state of the job run. + # @return [String] + # + # @!attribute [rw] state_details + # The state details of the job run. + # @return [String] + # + # @!attribute [rw] release_label + # The EMR release version associated with the application your job is + # running on. + # @return [String] + # + # @!attribute [rw] configuration_overrides + # The configuration settings that are used to override default + # configuration. + # @return [Types::ConfigurationOverrides] + # + # @!attribute [rw] job_driver + # The job driver for the job run. + # @return [Types::JobDriver] + # + # @!attribute [rw] tags + # The tags assigned to the job run. + # @return [Hash] + # + # @!attribute [rw] total_resource_utilization + # The aggregate vCPU, memory, and storage resources used from the time + # job start executing till the time job is terminated, rounded up to + # the nearest second. + # @return [Types::TotalResourceUtilization] + # + # @!attribute [rw] network_configuration + # The network configuration for customer VPC connectivity. + # @return [Types::NetworkConfiguration] + # + # @!attribute [rw] total_execution_duration_seconds + # The job run total execution duration in seconds. This field is only + # available for job runs in a `COMPLETED`, `FAILED`, or `CANCELLED` + # state. + # @return [Integer] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/JobRun AWS API Documentation + # + class JobRun < Struct.new( + :application_id, + :job_run_id, + :name, + :arn, + :created_by, + :created_at, + :updated_at, + :execution_role, + :state, + :state_details, + :release_label, + :configuration_overrides, + :job_driver, + :tags, + :total_resource_utilization, + :network_configuration, + :total_execution_duration_seconds) + SENSITIVE = [] + include Aws::Structure + end + + # The summary of attributes associated with a job run. + # + # @!attribute [rw] application_id + # The ID of the application the job is running on. + # @return [String] + # + # @!attribute [rw] id + # The ID of the job run. + # @return [String] + # + # @!attribute [rw] name + # The optional job run name. This doesn't have to be unique. + # @return [String] + # + # @!attribute [rw] arn + # The ARN of the job run. + # @return [String] + # + # @!attribute [rw] created_by + # The user who created the job run. + # @return [String] + # + # @!attribute [rw] created_at + # The date and time when the job run was created. + # @return [Time] + # + # @!attribute [rw] updated_at + # The date and time when the job run was last updated. + # @return [Time] + # + # @!attribute [rw] execution_role + # The execution role ARN of the job run. + # @return [String] + # + # @!attribute [rw] state + # The state of the job run. + # @return [String] + # + # @!attribute [rw] state_details + # The state details of the job run. + # @return [String] + # + # @!attribute [rw] release_label + # The EMR release version associated with the application your job is + # running on. + # @return [String] + # + # @!attribute [rw] type + # The type of job run, such as Spark or Hive. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/JobRunSummary AWS API Documentation + # + class JobRunSummary < Struct.new( + :application_id, + :id, + :name, + :arn, + :created_by, + :created_at, + :updated_at, + :execution_role, + :state, + :state_details, + :release_label, + :type) + SENSITIVE = [] + include Aws::Structure + end + + # @note When making an API call, you may pass ListApplicationsRequest + # data as a hash: + # + # { + # next_token: "NextToken", + # max_results: 1, + # states: ["CREATING"], # accepts CREATING, CREATED, STARTING, STARTED, STOPPING, STOPPED, TERMINATED + # } + # + # @!attribute [rw] next_token + # The token for the next set of application results. + # @return [String] + # + # @!attribute [rw] max_results + # The maximum number of applications that can be listed. + # @return [Integer] + # + # @!attribute [rw] states + # An optional filter for application states. Note that if this filter + # contains multiple states, the resulting list will be grouped by the + # state. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ListApplicationsRequest AWS API Documentation + # + class ListApplicationsRequest < Struct.new( + :next_token, + :max_results, + :states) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] applications + # The output lists the specified applications. + # @return [Array] + # + # @!attribute [rw] next_token + # The output displays the token for the next set of application + # results. This is required for pagination and is available as a + # response of the previous request. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ListApplicationsResponse AWS API Documentation + # + class ListApplicationsResponse < Struct.new( + :applications, + :next_token) + SENSITIVE = [] + include Aws::Structure + end + + # @note When making an API call, you may pass ListJobRunsRequest + # data as a hash: + # + # { + # application_id: "ApplicationId", # required + # next_token: "NextToken", + # max_results: 1, + # created_at_after: Time.now, + # created_at_before: Time.now, + # states: ["SUBMITTED"], # accepts SUBMITTED, PENDING, SCHEDULED, RUNNING, SUCCESS, FAILED, CANCELLING, CANCELLED + # } + # + # @!attribute [rw] application_id + # The ID of the application for which to list the job run. + # @return [String] + # + # @!attribute [rw] next_token + # The token for the next set of job run results. + # @return [String] + # + # @!attribute [rw] max_results + # The maximum number of job runs that can be listed. + # @return [Integer] + # + # @!attribute [rw] created_at_after + # The lower bound of the option to filter by creation date and time. + # @return [Time] + # + # @!attribute [rw] created_at_before + # The upper bound of the option to filter by creation date and time. + # @return [Time] + # + # @!attribute [rw] states + # An optional filter for job run states. Note that if this filter + # contains multiple states, the resulting list will be grouped by the + # state. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ListJobRunsRequest AWS API Documentation + # + class ListJobRunsRequest < Struct.new( + :application_id, + :next_token, + :max_results, + :created_at_after, + :created_at_before, + :states) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] job_runs + # The output lists information about the specified job runs. + # @return [Array] + # + # @!attribute [rw] next_token + # The output displays the token for the next set of job run results. + # This is required for pagination and is available as a response of + # the previous request. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ListJobRunsResponse AWS API Documentation + # + class ListJobRunsResponse < Struct.new( + :job_runs, + :next_token) + SENSITIVE = [] + include Aws::Structure + end + + # @note When making an API call, you may pass ListTagsForResourceRequest + # data as a hash: + # + # { + # resource_arn: "ResourceArn", # required + # } + # + # @!attribute [rw] resource_arn + # The Amazon Resource Name (ARN) that identifies the resource to list + # the tags for. Currently, the supported resources are Amazon EMR + # Serverless applications and job runs. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ListTagsForResourceRequest AWS API Documentation + # + class ListTagsForResourceRequest < Struct.new( + :resource_arn) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] tags + # The tags for the resource. + # @return [Hash] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ListTagsForResourceResponse AWS API Documentation + # + class ListTagsForResourceResponse < Struct.new( + :tags) + SENSITIVE = [] + include Aws::Structure + end + + # The managed log persistence configuration for a job run. + # + # @note When making an API call, you may pass ManagedPersistenceMonitoringConfiguration + # data as a hash: + # + # { + # enabled: false, + # encryption_key_arn: "EncryptionKeyArn", + # } + # + # @!attribute [rw] enabled + # Enables managed logging and defaults to true. If set to false, + # managed logging will be turned off. + # @return [Boolean] + # + # @!attribute [rw] encryption_key_arn + # The KMS key ARN to encrypt the logs stored in managed log + # persistence. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ManagedPersistenceMonitoringConfiguration AWS API Documentation + # + class ManagedPersistenceMonitoringConfiguration < Struct.new( + :enabled, + :encryption_key_arn) + SENSITIVE = [] + include Aws::Structure + end + + # The maximum allowed cumulative resources for an application. No new + # resources will be created once the limit is hit. + # + # @note When making an API call, you may pass MaximumAllowedResources + # data as a hash: + # + # { + # cpu: "CpuSize", # required + # memory: "MemorySize", # required + # disk: "DiskSize", + # } + # + # @!attribute [rw] cpu + # The maximum allowed CPU for an application. + # @return [String] + # + # @!attribute [rw] memory + # The maximum allowed resources for an application. + # @return [String] + # + # @!attribute [rw] disk + # The maximum allowed disk for an application. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/MaximumAllowedResources AWS API Documentation + # + class MaximumAllowedResources < Struct.new( + :cpu, + :memory, + :disk) + SENSITIVE = [] + include Aws::Structure + end + + # The configuration setting for monitoring. + # + # @note When making an API call, you may pass MonitoringConfiguration + # data as a hash: + # + # { + # s3_monitoring_configuration: { + # log_uri: "UriString", + # encryption_key_arn: "EncryptionKeyArn", + # }, + # managed_persistence_monitoring_configuration: { + # enabled: false, + # encryption_key_arn: "EncryptionKeyArn", + # }, + # } + # + # @!attribute [rw] s3_monitoring_configuration + # The Amazon S3 configuration for monitoring log publishing. + # @return [Types::S3MonitoringConfiguration] + # + # @!attribute [rw] managed_persistence_monitoring_configuration + # The managed log persistence configuration for a job run. + # @return [Types::ManagedPersistenceMonitoringConfiguration] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/MonitoringConfiguration AWS API Documentation + # + class MonitoringConfiguration < Struct.new( + :s3_monitoring_configuration, + :managed_persistence_monitoring_configuration) + SENSITIVE = [] + include Aws::Structure + end + + # The network configuration for customer VPC connectivity. + # + # @note When making an API call, you may pass NetworkConfiguration + # data as a hash: + # + # { + # subnet_ids: ["SubnetString"], + # security_group_ids: ["SecurityGroupString"], + # } + # + # @!attribute [rw] subnet_ids + # The array of subnet Ids for customer VPC connectivity. + # @return [Array] + # + # @!attribute [rw] security_group_ids + # The array of security group Ids for customer VPC connectivity. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/NetworkConfiguration AWS API Documentation + # + class NetworkConfiguration < Struct.new( + :subnet_ids, + :security_group_ids) + SENSITIVE = [] + include Aws::Structure + end + + # The specified resource was not found. + # + # @!attribute [rw] message + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ResourceNotFoundException AWS API Documentation + # + class ResourceNotFoundException < Struct.new( + :message) + SENSITIVE = [] + include Aws::Structure + end + + # The Amazon S3 configuration for monitoring log publishing. You can + # configure your jobs to send log information to Amazon S3. + # + # @note When making an API call, you may pass S3MonitoringConfiguration + # data as a hash: + # + # { + # log_uri: "UriString", + # encryption_key_arn: "EncryptionKeyArn", + # } + # + # @!attribute [rw] log_uri + # The Amazon S3 destination URI for log publishing. + # @return [String] + # + # @!attribute [rw] encryption_key_arn + # The KMS key ARN to encrypt the logs published to the given Amazon S3 + # destination. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/S3MonitoringConfiguration AWS API Documentation + # + class S3MonitoringConfiguration < Struct.new( + :log_uri, + :encryption_key_arn) + SENSITIVE = [] + include Aws::Structure + end + + # The maximum number of resources per account has been reached. + # + # @!attribute [rw] message + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ServiceQuotaExceededException AWS API Documentation + # + class ServiceQuotaExceededException < Struct.new( + :message) + SENSITIVE = [] + include Aws::Structure + end + + # The configurations for the Spark submit job driver. + # + # @note When making an API call, you may pass SparkSubmit + # data as a hash: + # + # { + # entry_point: "EntryPointPath", # required + # entry_point_arguments: ["EntryPointArgument"], + # spark_submit_parameters: "SparkSubmitParameters", + # } + # + # @!attribute [rw] entry_point + # The entry point for the Spark submit job run. + # @return [String] + # + # @!attribute [rw] entry_point_arguments + # The arguments for the Spark submit job run. + # @return [Array] + # + # @!attribute [rw] spark_submit_parameters + # The parameters for the Spark submit job run. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/SparkSubmit AWS API Documentation + # + class SparkSubmit < Struct.new( + :entry_point, + :entry_point_arguments, + :spark_submit_parameters) + SENSITIVE = [:entry_point, :spark_submit_parameters] + include Aws::Structure + end + + # @note When making an API call, you may pass StartApplicationRequest + # data as a hash: + # + # { + # application_id: "ApplicationId", # required + # } + # + # @!attribute [rw] application_id + # The ID of the application to start. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/StartApplicationRequest AWS API Documentation + # + class StartApplicationRequest < Struct.new( + :application_id) + SENSITIVE = [] + include Aws::Structure + end + + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/StartApplicationResponse AWS API Documentation + # + class StartApplicationResponse < Aws::EmptyStructure; end + + # @note When making an API call, you may pass StartJobRunRequest + # data as a hash: + # + # { + # application_id: "ApplicationId", # required + # client_token: "ClientToken", # required + # execution_role_arn: "IAMRoleArn", # required + # job_driver: { + # spark_submit: { + # entry_point: "EntryPointPath", # required + # entry_point_arguments: ["EntryPointArgument"], + # spark_submit_parameters: "SparkSubmitParameters", + # }, + # hive: { + # query: "Query", # required + # init_query_file: "InitScriptPath", + # parameters: "HiveCliParameters", + # }, + # }, + # configuration_overrides: { + # application_configuration: [ + # { + # classification: "String1024", # required + # properties: { + # "String1024" => "String1024", + # }, + # configurations: { + # # recursive ConfigurationList + # }, + # }, + # ], + # monitoring_configuration: { + # s3_monitoring_configuration: { + # log_uri: "UriString", + # encryption_key_arn: "EncryptionKeyArn", + # }, + # managed_persistence_monitoring_configuration: { + # enabled: false, + # encryption_key_arn: "EncryptionKeyArn", + # }, + # }, + # }, + # tags: { + # "TagKey" => "TagValue", + # }, + # execution_timeout_minutes: 1, + # name: "String256", + # } + # + # @!attribute [rw] application_id + # The ID of the application on which to run the job. + # @return [String] + # + # @!attribute [rw] client_token + # The client idempotency token of the job run to start. Its value must + # be unique for each request. + # + # **A suitable default value is auto-generated.** You should normally + # not need to pass this option. + # @return [String] + # + # @!attribute [rw] execution_role_arn + # The execution role ARN for the job run. + # @return [String] + # + # @!attribute [rw] job_driver + # The job driver for the job run. + # @return [Types::JobDriver] + # + # @!attribute [rw] configuration_overrides + # The configuration overrides for the job run. + # @return [Types::ConfigurationOverrides] + # + # @!attribute [rw] tags + # The tags assigned to the job run. + # @return [Hash] + # + # @!attribute [rw] execution_timeout_minutes + # The maximum duration for the job run to run. If the job run runs + # beyond this duration, it will be automatically cancelled. + # @return [Integer] + # + # @!attribute [rw] name + # The optional job run name. This doesn't have to be unique. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/StartJobRunRequest AWS API Documentation + # + class StartJobRunRequest < Struct.new( + :application_id, + :client_token, + :execution_role_arn, + :job_driver, + :configuration_overrides, + :tags, + :execution_timeout_minutes, + :name) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] application_id + # This output displays the application ID on which the job run was + # submitted. + # @return [String] + # + # @!attribute [rw] job_run_id + # The output contains the ID of the started job run. + # @return [String] + # + # @!attribute [rw] arn + # The output lists the execution role ARN of the job run. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/StartJobRunResponse AWS API Documentation + # + class StartJobRunResponse < Struct.new( + :application_id, + :job_run_id, + :arn) + SENSITIVE = [] + include Aws::Structure + end + + # @note When making an API call, you may pass StopApplicationRequest + # data as a hash: + # + # { + # application_id: "ApplicationId", # required + # } + # + # @!attribute [rw] application_id + # The ID of the application to stop. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/StopApplicationRequest AWS API Documentation + # + class StopApplicationRequest < Struct.new( + :application_id) + SENSITIVE = [] + include Aws::Structure + end + + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/StopApplicationResponse AWS API Documentation + # + class StopApplicationResponse < Aws::EmptyStructure; end + + # @note When making an API call, you may pass TagResourceRequest + # data as a hash: + # + # { + # resource_arn: "ResourceArn", # required + # tags: { # required + # "TagKey" => "TagValue", + # }, + # } + # + # @!attribute [rw] resource_arn + # The Amazon Resource Name (ARN) that identifies the resource to list + # the tags for. Currently, the supported resources are Amazon EMR + # Serverless applications and job runs. + # @return [String] + # + # @!attribute [rw] tags + # The tags to add to the resource. A tag is an array of key-value + # pairs. + # @return [Hash] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/TagResourceRequest AWS API Documentation + # + class TagResourceRequest < Struct.new( + :resource_arn, + :tags) + SENSITIVE = [] + include Aws::Structure + end + + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/TagResourceResponse AWS API Documentation + # + class TagResourceResponse < Aws::EmptyStructure; end + + # The aggregate vCPU, memory, and storage resources used from the time + # job start executing till the time job is terminated, rounded up to the + # nearest second. + # + # @!attribute [rw] v_cpu_hour + # The aggregated vCPU used per hour from the time job start executing + # till the time job is terminated. + # @return [Float] + # + # @!attribute [rw] memory_gb_hour + # The aggregated memory used per hour from the time job start + # executing till the time job is terminated. + # @return [Float] + # + # @!attribute [rw] storage_gb_hour + # The aggregated storage used per hour from the time job start + # executing till the time job is terminated. + # @return [Float] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/TotalResourceUtilization AWS API Documentation + # + class TotalResourceUtilization < Struct.new( + :v_cpu_hour, + :memory_gb_hour, + :storage_gb_hour) + SENSITIVE = [] + include Aws::Structure + end + + # @note When making an API call, you may pass UntagResourceRequest + # data as a hash: + # + # { + # resource_arn: "ResourceArn", # required + # tag_keys: ["TagKey"], # required + # } + # + # @!attribute [rw] resource_arn + # The Amazon Resource Name (ARN) that identifies the resource to list + # the tags for. Currently, the supported resources are Amazon EMR + # Serverless applications and job runs. + # @return [String] + # + # @!attribute [rw] tag_keys + # The keys of the tags to be removed. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UntagResourceRequest AWS API Documentation + # + class UntagResourceRequest < Struct.new( + :resource_arn, + :tag_keys) + SENSITIVE = [] + include Aws::Structure + end + + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UntagResourceResponse AWS API Documentation + # + class UntagResourceResponse < Aws::EmptyStructure; end + + # @note When making an API call, you may pass UpdateApplicationRequest + # data as a hash: + # + # { + # application_id: "ApplicationId", # required + # client_token: "ClientToken", # required + # initial_capacity: { + # "WorkerTypeString" => { + # worker_count: 1, # required + # worker_configuration: { + # cpu: "CpuSize", # required + # memory: "MemorySize", # required + # disk: "DiskSize", + # }, + # }, + # }, + # maximum_capacity: { + # cpu: "CpuSize", # required + # memory: "MemorySize", # required + # disk: "DiskSize", + # }, + # auto_start_configuration: { + # enabled: false, + # }, + # auto_stop_configuration: { + # enabled: false, + # idle_timeout_minutes: 1, + # }, + # network_configuration: { + # subnet_ids: ["SubnetString"], + # security_group_ids: ["SecurityGroupString"], + # }, + # } + # + # @!attribute [rw] application_id + # The ID of the application to update. + # @return [String] + # + # @!attribute [rw] client_token + # The client idempotency token of the application to update. Its value + # must be unique for each request. + # + # **A suitable default value is auto-generated.** You should normally + # not need to pass this option. + # @return [String] + # + # @!attribute [rw] initial_capacity + # The capacity to initialize when the application is updated. + # @return [Hash] + # + # @!attribute [rw] maximum_capacity + # The maximum capacity to allocate when the application is updated. + # This is cumulative across all workers at any given point in time + # during the lifespan of the application. No new resources will be + # created once any one of the defined limits is hit. + # @return [Types::MaximumAllowedResources] + # + # @!attribute [rw] auto_start_configuration + # The configuration for an application to automatically start on job + # submission. + # @return [Types::AutoStartConfig] + # + # @!attribute [rw] auto_stop_configuration + # The configuration for an application to automatically stop after a + # certain amount of time being idle. + # @return [Types::AutoStopConfig] + # + # @!attribute [rw] network_configuration + # The network configuration for customer VPC connectivity. + # @return [Types::NetworkConfiguration] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplicationRequest AWS API Documentation + # + class UpdateApplicationRequest < Struct.new( + :application_id, + :client_token, + :initial_capacity, + :maximum_capacity, + :auto_start_configuration, + :auto_stop_configuration, + :network_configuration) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] application + # Information about the updated application. + # @return [Types::Application] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplicationResponse AWS API Documentation + # + class UpdateApplicationResponse < Struct.new( + :application) + SENSITIVE = [] + include Aws::Structure + end + + # The input fails to satisfy the constraints specified by an AWS + # service. + # + # @!attribute [rw] message + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ValidationException AWS API Documentation + # + class ValidationException < Struct.new( + :message) + SENSITIVE = [] + include Aws::Structure + end + + # The cumulative configuration requirements for every worker instance of + # the worker type. + # + # @note When making an API call, you may pass WorkerResourceConfig + # data as a hash: + # + # { + # cpu: "CpuSize", # required + # memory: "MemorySize", # required + # disk: "DiskSize", + # } + # + # @!attribute [rw] cpu + # The CPU requirements for every worker instance of the worker type. + # @return [String] + # + # @!attribute [rw] memory + # The memory requirements for every worker instance of the worker + # type. + # @return [String] + # + # @!attribute [rw] disk + # The disk requirements for every worker instance of the worker type. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/WorkerResourceConfig AWS API Documentation + # + class WorkerResourceConfig < Struct.new( + :cpu, + :memory, + :disk) + SENSITIVE = [] + include Aws::Structure + end + + end +end diff --git a/gems/aws-sdk-emrserverless/spec/spec_helper.rb b/gems/aws-sdk-emrserverless/spec/spec_helper.rb new file mode 100644 index 00000000000..70a909971a6 --- /dev/null +++ b/gems/aws-sdk-emrserverless/spec/spec_helper.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +# WARNING ABOUT GENERATED CODE +# +# This file is generated. See the contributing guide for more information: +# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md +# +# WARNING ABOUT GENERATED CODE + +require_relative '../../aws-sdk-core/spec/shared_spec_helper' + +$:.unshift(File.expand_path('../../lib', __FILE__)) +$:.unshift(File.expand_path('../../../aws-sdk-core/lib', __FILE__)) +$:.unshift(File.expand_path('../../../aws-sigv4/lib', __FILE__)) + +require 'rspec' +require 'webmock/rspec' +require 'aws-sdk-emrserverless' diff --git a/gems/aws-sdk-resources/CHANGELOG.md b/gems/aws-sdk-resources/CHANGELOG.md index d92b6ddefdc..49ed5ed5d1a 100644 --- a/gems/aws-sdk-resources/CHANGELOG.md +++ b/gems/aws-sdk-resources/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +3.132.0 (2022-05-27) +------------------ + +* Feature - Added a dependency on the new `aws-sdk-emrserverless` gem. + 3.131.1 (2022-05-26) ------------------ diff --git a/gems/aws-sdk-resources/VERSION b/gems/aws-sdk-resources/VERSION index 34962fff00d..8da3f3354d4 100644 --- a/gems/aws-sdk-resources/VERSION +++ b/gems/aws-sdk-resources/VERSION @@ -1 +1 @@ -3.131.1 +3.132.0 diff --git a/gems/aws-sdk-resources/aws-sdk-resources.gemspec b/gems/aws-sdk-resources/aws-sdk-resources.gemspec index 25410629b9c..000b25bbd83 100644 --- a/gems/aws-sdk-resources/aws-sdk-resources.gemspec +++ b/gems/aws-sdk-resources/aws-sdk-resources.gemspec @@ -119,6 +119,7 @@ Gem::Specification.new do |spec| spec.add_dependency('aws-sdk-eks', '~> 1') spec.add_dependency('aws-sdk-emr', '~> 1') spec.add_dependency('aws-sdk-emrcontainers', '~> 1') + spec.add_dependency('aws-sdk-emrserverless', '~> 1') spec.add_dependency('aws-sdk-elasticache', '~> 1') spec.add_dependency('aws-sdk-elasticbeanstalk', '~> 1') spec.add_dependency('aws-sdk-elasticinference', '~> 1') diff --git a/gems/aws-sdk-resources/lib/aws-sdk-resources.rb b/gems/aws-sdk-resources/lib/aws-sdk-resources.rb index 9b3e1a98d96..55127f22300 100644 --- a/gems/aws-sdk-resources/lib/aws-sdk-resources.rb +++ b/gems/aws-sdk-resources/lib/aws-sdk-resources.rb @@ -109,6 +109,7 @@ module Aws autoload :EKS, 'aws-sdk-eks' autoload :EMR, 'aws-sdk-emr' autoload :EMRContainers, 'aws-sdk-emrcontainers' + autoload :EMRServerless, 'aws-sdk-emrserverless' autoload :ElastiCache, 'aws-sdk-elasticache' autoload :ElasticBeanstalk, 'aws-sdk-elasticbeanstalk' autoload :ElasticInference, 'aws-sdk-elasticinference' diff --git a/gems/aws-sdk-sagemaker/CHANGELOG.md b/gems/aws-sdk-sagemaker/CHANGELOG.md index d2b0c0fdaa0..e9393a8f3ca 100644 --- a/gems/aws-sdk-sagemaker/CHANGELOG.md +++ b/gems/aws-sdk-sagemaker/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.126.0 (2022-05-27) +------------------ + +* Feature - Amazon SageMaker Notebook Instances now allows configuration of Instance Metadata Service version and Amazon SageMaker Studio now supports G5 instance types. + 1.125.0 (2022-05-25) ------------------ diff --git a/gems/aws-sdk-sagemaker/VERSION b/gems/aws-sdk-sagemaker/VERSION index 202b149137f..c96f047721f 100644 --- a/gems/aws-sdk-sagemaker/VERSION +++ b/gems/aws-sdk-sagemaker/VERSION @@ -1 +1 @@ -1.125.0 +1.126.0 diff --git a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker.rb b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker.rb index c3882a47de3..d6564907bcd 100644 --- a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker.rb +++ b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker.rb @@ -49,6 +49,6 @@ # @!group service module Aws::SageMaker - GEM_VERSION = '1.125.0' + GEM_VERSION = '1.126.0' end diff --git a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client.rb b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client.rb index d8878955f04..df0edf5b8e4 100644 --- a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client.rb +++ b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client.rb @@ -979,7 +979,7 @@ def create_algorithm(params = {}, options = {}) # resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # }) @@ -1892,7 +1892,7 @@ def create_device_fleet(params = {}, options = {}) # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # lifecycle_config_arns: ["StudioLifecycleConfigArn"], @@ -1901,7 +1901,7 @@ def create_device_fleet(params = {}, options = {}) # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -1917,7 +1917,7 @@ def create_device_fleet(params = {}, options = {}) # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # }, @@ -1929,7 +1929,7 @@ def create_device_fleet(params = {}, options = {}) # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -1962,7 +1962,7 @@ def create_device_fleet(params = {}, options = {}) # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # }, @@ -4995,6 +4995,9 @@ def create_monitoring_schedule(params = {}, options = {}) # @option params [String] :platform_identifier # The platform identifier of the notebook instance runtime environment. # + # @option params [Types::InstanceMetadataServiceConfiguration] :instance_metadata_service_configuration + # Information on the IMDS configuration of the notebook instance + # # @return [Types::CreateNotebookInstanceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateNotebookInstanceOutput#notebook_instance_arn #notebook_instance_arn} => String @@ -5022,6 +5025,9 @@ def create_monitoring_schedule(params = {}, options = {}) # additional_code_repositories: ["CodeRepositoryNameOrUrl"], # root_access: "Enabled", # accepts Enabled, Disabled # platform_identifier: "PlatformIdentifier", + # instance_metadata_service_configuration: { + # minimum_instance_metadata_service_version: "MinimumInstanceMetadataServiceVersion", # required + # }, # }) # # @example Response structure @@ -6503,7 +6509,7 @@ def create_trial_component(params = {}, options = {}) # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # lifecycle_config_arns: ["StudioLifecycleConfigArn"], @@ -6512,7 +6518,7 @@ def create_trial_component(params = {}, options = {}) # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -6528,7 +6534,7 @@ def create_trial_component(params = {}, options = {}) # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # }, @@ -6540,7 +6546,7 @@ def create_trial_component(params = {}, options = {}) # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -8123,7 +8129,7 @@ def describe_algorithm(params = {}, options = {}) # resp.failure_reason #=> String # resp.resource_spec.sage_maker_image_arn #=> String # resp.resource_spec.sage_maker_image_version_arn #=> String - # resp.resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge" + # resp.resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge" # resp.resource_spec.lifecycle_config_arn #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeApp AWS API Documentation @@ -8760,13 +8766,13 @@ def describe_device_fleet(params = {}, options = {}) # resp.default_user_settings.sharing_settings.s3_kms_key_id #=> String # resp.default_user_settings.jupyter_server_app_settings.default_resource_spec.sage_maker_image_arn #=> String # resp.default_user_settings.jupyter_server_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String - # resp.default_user_settings.jupyter_server_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge" + # resp.default_user_settings.jupyter_server_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge" # resp.default_user_settings.jupyter_server_app_settings.default_resource_spec.lifecycle_config_arn #=> String # resp.default_user_settings.jupyter_server_app_settings.lifecycle_config_arns #=> Array # resp.default_user_settings.jupyter_server_app_settings.lifecycle_config_arns[0] #=> String # resp.default_user_settings.kernel_gateway_app_settings.default_resource_spec.sage_maker_image_arn #=> String # resp.default_user_settings.kernel_gateway_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String - # resp.default_user_settings.kernel_gateway_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge" + # resp.default_user_settings.kernel_gateway_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge" # resp.default_user_settings.kernel_gateway_app_settings.default_resource_spec.lifecycle_config_arn #=> String # resp.default_user_settings.kernel_gateway_app_settings.custom_images #=> Array # resp.default_user_settings.kernel_gateway_app_settings.custom_images[0].image_name #=> String @@ -8776,13 +8782,13 @@ def describe_device_fleet(params = {}, options = {}) # resp.default_user_settings.kernel_gateway_app_settings.lifecycle_config_arns[0] #=> String # resp.default_user_settings.tensor_board_app_settings.default_resource_spec.sage_maker_image_arn #=> String # resp.default_user_settings.tensor_board_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String - # resp.default_user_settings.tensor_board_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge" + # resp.default_user_settings.tensor_board_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge" # resp.default_user_settings.tensor_board_app_settings.default_resource_spec.lifecycle_config_arn #=> String # resp.default_user_settings.r_studio_server_pro_app_settings.access_status #=> String, one of "ENABLED", "DISABLED" # resp.default_user_settings.r_studio_server_pro_app_settings.user_group #=> String, one of "R_STUDIO_ADMIN", "R_STUDIO_USER" # resp.default_user_settings.r_session_app_settings.default_resource_spec.sage_maker_image_arn #=> String # resp.default_user_settings.r_session_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String - # resp.default_user_settings.r_session_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge" + # resp.default_user_settings.r_session_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge" # resp.default_user_settings.r_session_app_settings.default_resource_spec.lifecycle_config_arn #=> String # resp.default_user_settings.r_session_app_settings.custom_images #=> Array # resp.default_user_settings.r_session_app_settings.custom_images[0].image_name #=> String @@ -8802,7 +8808,7 @@ def describe_device_fleet(params = {}, options = {}) # resp.domain_settings.r_studio_server_pro_domain_settings.r_studio_package_manager_url #=> String # resp.domain_settings.r_studio_server_pro_domain_settings.default_resource_spec.sage_maker_image_arn #=> String # resp.domain_settings.r_studio_server_pro_domain_settings.default_resource_spec.sage_maker_image_version_arn #=> String - # resp.domain_settings.r_studio_server_pro_domain_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge" + # resp.domain_settings.r_studio_server_pro_domain_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge" # resp.domain_settings.r_studio_server_pro_domain_settings.default_resource_spec.lifecycle_config_arn #=> String # resp.app_security_group_management #=> String, one of "Service", "Customer" # resp.security_group_id_for_domain_boundary #=> String @@ -10513,6 +10519,7 @@ def describe_monitoring_schedule(params = {}, options = {}) # * {Types::DescribeNotebookInstanceOutput#additional_code_repositories #additional_code_repositories} => Array<String> # * {Types::DescribeNotebookInstanceOutput#root_access #root_access} => String # * {Types::DescribeNotebookInstanceOutput#platform_identifier #platform_identifier} => String + # * {Types::DescribeNotebookInstanceOutput#instance_metadata_service_configuration #instance_metadata_service_configuration} => Types::InstanceMetadataServiceConfiguration # # @example Request syntax with placeholder values # @@ -10546,6 +10553,7 @@ def describe_monitoring_schedule(params = {}, options = {}) # resp.additional_code_repositories[0] #=> String # resp.root_access #=> String, one of "Enabled", "Disabled" # resp.platform_identifier #=> String + # resp.instance_metadata_service_configuration.minimum_instance_metadata_service_version #=> String # # # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage): @@ -11475,13 +11483,13 @@ def describe_trial_component(params = {}, options = {}) # resp.user_settings.sharing_settings.s3_kms_key_id #=> String # resp.user_settings.jupyter_server_app_settings.default_resource_spec.sage_maker_image_arn #=> String # resp.user_settings.jupyter_server_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String - # resp.user_settings.jupyter_server_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge" + # resp.user_settings.jupyter_server_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge" # resp.user_settings.jupyter_server_app_settings.default_resource_spec.lifecycle_config_arn #=> String # resp.user_settings.jupyter_server_app_settings.lifecycle_config_arns #=> Array # resp.user_settings.jupyter_server_app_settings.lifecycle_config_arns[0] #=> String # resp.user_settings.kernel_gateway_app_settings.default_resource_spec.sage_maker_image_arn #=> String # resp.user_settings.kernel_gateway_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String - # resp.user_settings.kernel_gateway_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge" + # resp.user_settings.kernel_gateway_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge" # resp.user_settings.kernel_gateway_app_settings.default_resource_spec.lifecycle_config_arn #=> String # resp.user_settings.kernel_gateway_app_settings.custom_images #=> Array # resp.user_settings.kernel_gateway_app_settings.custom_images[0].image_name #=> String @@ -11491,13 +11499,13 @@ def describe_trial_component(params = {}, options = {}) # resp.user_settings.kernel_gateway_app_settings.lifecycle_config_arns[0] #=> String # resp.user_settings.tensor_board_app_settings.default_resource_spec.sage_maker_image_arn #=> String # resp.user_settings.tensor_board_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String - # resp.user_settings.tensor_board_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge" + # resp.user_settings.tensor_board_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge" # resp.user_settings.tensor_board_app_settings.default_resource_spec.lifecycle_config_arn #=> String # resp.user_settings.r_studio_server_pro_app_settings.access_status #=> String, one of "ENABLED", "DISABLED" # resp.user_settings.r_studio_server_pro_app_settings.user_group #=> String, one of "R_STUDIO_ADMIN", "R_STUDIO_USER" # resp.user_settings.r_session_app_settings.default_resource_spec.sage_maker_image_arn #=> String # resp.user_settings.r_session_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String - # resp.user_settings.r_session_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge" + # resp.user_settings.r_session_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge" # resp.user_settings.r_session_app_settings.default_resource_spec.lifecycle_config_arn #=> String # resp.user_settings.r_session_app_settings.custom_images #=> Array # resp.user_settings.r_session_app_settings.custom_images[0].image_name #=> String @@ -18182,7 +18190,7 @@ def update_devices(params = {}, options = {}) # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # lifecycle_config_arns: ["StudioLifecycleConfigArn"], @@ -18191,7 +18199,7 @@ def update_devices(params = {}, options = {}) # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -18207,7 +18215,7 @@ def update_devices(params = {}, options = {}) # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # }, @@ -18219,7 +18227,7 @@ def update_devices(params = {}, options = {}) # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -18237,7 +18245,7 @@ def update_devices(params = {}, options = {}) # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # }, @@ -18807,6 +18815,9 @@ def update_monitoring_schedule(params = {}, options = {}) # # # + # @option params [Types::InstanceMetadataServiceConfiguration] :instance_metadata_service_configuration + # Information on the IMDS configuration of the notebook instance + # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values @@ -18825,6 +18836,9 @@ def update_monitoring_schedule(params = {}, options = {}) # disassociate_default_code_repository: false, # disassociate_additional_code_repositories: false, # root_access: "Enabled", # accepts Enabled, Disabled + # instance_metadata_service_configuration: { + # minimum_instance_metadata_service_version: "MinimumInstanceMetadataServiceVersion", # required + # }, # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance AWS API Documentation @@ -19274,7 +19288,7 @@ def update_trial_component(params = {}, options = {}) # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # lifecycle_config_arns: ["StudioLifecycleConfigArn"], @@ -19283,7 +19297,7 @@ def update_trial_component(params = {}, options = {}) # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -19299,7 +19313,7 @@ def update_trial_component(params = {}, options = {}) # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # }, @@ -19311,7 +19325,7 @@ def update_trial_component(params = {}, options = {}) # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -19548,7 +19562,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-sagemaker' - context[:gem_version] = '1.125.0' + context[:gem_version] = '1.126.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client_api.rb b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client_api.rb index e102fc6cba2..aa057e1df3c 100644 --- a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client_api.rb +++ b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client_api.rb @@ -759,6 +759,7 @@ module ClientApi InputDataConfig = Shapes::ListShape.new(name: 'InputDataConfig') InputMode = Shapes::StringShape.new(name: 'InputMode') InputModes = Shapes::ListShape.new(name: 'InputModes') + InstanceMetadataServiceConfiguration = Shapes::StructureShape.new(name: 'InstanceMetadataServiceConfiguration') InstanceType = Shapes::StringShape.new(name: 'InstanceType') Integer = Shapes::IntegerShape.new(name: 'Integer') IntegerParameterRange = Shapes::StructureShape.new(name: 'IntegerParameterRange') @@ -976,6 +977,7 @@ module ClientApi MetricSetSource = Shapes::StringShape.new(name: 'MetricSetSource') MetricValue = Shapes::FloatShape.new(name: 'MetricValue') MetricsSource = Shapes::StructureShape.new(name: 'MetricsSource') + MinimumInstanceMetadataServiceVersion = Shapes::StringShape.new(name: 'MinimumInstanceMetadataServiceVersion') ModelApprovalStatus = Shapes::StringShape.new(name: 'ModelApprovalStatus') ModelArn = Shapes::StringShape.new(name: 'ModelArn') ModelArtifacts = Shapes::StructureShape.new(name: 'ModelArtifacts') @@ -2510,6 +2512,7 @@ module ClientApi CreateNotebookInstanceInput.add_member(:additional_code_repositories, Shapes::ShapeRef.new(shape: AdditionalCodeRepositoryNamesOrUrls, location_name: "AdditionalCodeRepositories")) CreateNotebookInstanceInput.add_member(:root_access, Shapes::ShapeRef.new(shape: RootAccess, location_name: "RootAccess")) CreateNotebookInstanceInput.add_member(:platform_identifier, Shapes::ShapeRef.new(shape: PlatformIdentifier, location_name: "PlatformIdentifier")) + CreateNotebookInstanceInput.add_member(:instance_metadata_service_configuration, Shapes::ShapeRef.new(shape: InstanceMetadataServiceConfiguration, location_name: "InstanceMetadataServiceConfiguration")) CreateNotebookInstanceInput.struct_class = Types::CreateNotebookInstanceInput CreateNotebookInstanceLifecycleConfigInput.add_member(:notebook_instance_lifecycle_config_name, Shapes::ShapeRef.new(shape: NotebookInstanceLifecycleConfigName, required: true, location_name: "NotebookInstanceLifecycleConfigName")) @@ -3550,6 +3553,7 @@ module ClientApi DescribeNotebookInstanceOutput.add_member(:additional_code_repositories, Shapes::ShapeRef.new(shape: AdditionalCodeRepositoryNamesOrUrls, location_name: "AdditionalCodeRepositories")) DescribeNotebookInstanceOutput.add_member(:root_access, Shapes::ShapeRef.new(shape: RootAccess, location_name: "RootAccess")) DescribeNotebookInstanceOutput.add_member(:platform_identifier, Shapes::ShapeRef.new(shape: PlatformIdentifier, location_name: "PlatformIdentifier")) + DescribeNotebookInstanceOutput.add_member(:instance_metadata_service_configuration, Shapes::ShapeRef.new(shape: InstanceMetadataServiceConfiguration, location_name: "InstanceMetadataServiceConfiguration")) DescribeNotebookInstanceOutput.struct_class = Types::DescribeNotebookInstanceOutput DescribePipelineDefinitionForExecutionRequest.add_member(:pipeline_execution_arn, Shapes::ShapeRef.new(shape: PipelineExecutionArn, required: true, location_name: "PipelineExecutionArn")) @@ -4385,6 +4389,9 @@ module ClientApi InputModes.member = Shapes::ShapeRef.new(shape: TrainingInputMode) + InstanceMetadataServiceConfiguration.add_member(:minimum_instance_metadata_service_version, Shapes::ShapeRef.new(shape: MinimumInstanceMetadataServiceVersion, required: true, location_name: "MinimumInstanceMetadataServiceVersion")) + InstanceMetadataServiceConfiguration.struct_class = Types::InstanceMetadataServiceConfiguration + IntegerParameterRange.add_member(:name, Shapes::ShapeRef.new(shape: ParameterKey, required: true, location_name: "Name")) IntegerParameterRange.add_member(:min_value, Shapes::ShapeRef.new(shape: ParameterValue, required: true, location_name: "MinValue")) IntegerParameterRange.add_member(:max_value, Shapes::ShapeRef.new(shape: ParameterValue, required: true, location_name: "MaxValue")) @@ -6987,6 +6994,7 @@ module ClientApi UpdateNotebookInstanceInput.add_member(:disassociate_default_code_repository, Shapes::ShapeRef.new(shape: DisassociateDefaultCodeRepository, location_name: "DisassociateDefaultCodeRepository")) UpdateNotebookInstanceInput.add_member(:disassociate_additional_code_repositories, Shapes::ShapeRef.new(shape: DisassociateAdditionalCodeRepositories, location_name: "DisassociateAdditionalCodeRepositories")) UpdateNotebookInstanceInput.add_member(:root_access, Shapes::ShapeRef.new(shape: RootAccess, location_name: "RootAccess")) + UpdateNotebookInstanceInput.add_member(:instance_metadata_service_configuration, Shapes::ShapeRef.new(shape: InstanceMetadataServiceConfiguration, location_name: "InstanceMetadataServiceConfiguration")) UpdateNotebookInstanceInput.struct_class = Types::UpdateNotebookInstanceInput UpdateNotebookInstanceLifecycleConfigInput.add_member(:notebook_instance_lifecycle_config_name, Shapes::ShapeRef.new(shape: NotebookInstanceLifecycleConfigName, required: true, location_name: "NotebookInstanceLifecycleConfigName")) diff --git a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb index 7fdd35f12fe..5b2244b6e06 100644 --- a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb +++ b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb @@ -355,12 +355,21 @@ class Alarm < Struct.new( # # @!attribute [rw] training_image # The registry path of the Docker image that contains the training - # algorithm. For information about docker registry paths for built-in - # algorithms, see [Algorithms Provided by Amazon SageMaker: Common - # Parameters][1]. SageMaker supports both `registry/repository[:tag]` - # and `registry/repository[@digest]` image path formats. For more - # information, see [Using Your Own Algorithms with Amazon - # SageMaker][2]. + # algorithm. For information about docker registry paths for SageMaker + # built-in algorithms, see [Docker Registry Paths and Example Code][1] + # in the *Amazon SageMaker developer guide*. SageMaker supports both + # `registry/repository[:tag]` and `registry/repository[@digest]` image + # path formats. For more information about using your custom training + # container, see [Using Your Own Algorithms with Amazon SageMaker][2]. + # + # You must specify either the algorithm name to the `AlgorithmName` + # parameter or the image URI of the algorithm container to the + # `TrainingImage` parameter. + # + # For more information, see the note in the `AlgorithmName` parameter + # description. + # + # # # # @@ -371,8 +380,22 @@ class Alarm < Struct.new( # @!attribute [rw] algorithm_name # The name of the algorithm resource to use for the training job. This # must be an algorithm resource that you created or subscribe to on - # Amazon Web Services Marketplace. If you specify a value for this - # parameter, you can't specify a value for `TrainingImage`. + # Amazon Web Services Marketplace. + # + # You must specify either the algorithm name to the `AlgorithmName` + # parameter or the image URI of the algorithm container to the + # `TrainingImage` parameter. + # + # Note that the `AlgorithmName` parameter is mutually exclusive with + # the `TrainingImage` parameter. If you specify a value for the + # `AlgorithmName` parameter, you can't specify a value for + # `TrainingImage`, and vice versa. + # + # If you specify values for both parameters, the training job might + # break; if you don't specify any value for both parameters, the + # training job might raise a `null` error. + # + # # @return [String] # # @!attribute [rw] training_input_mode @@ -4329,7 +4352,7 @@ class CreateAppImageConfigResponse < Struct.new( # resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # } @@ -5144,7 +5167,7 @@ class CreateDeviceFleetRequest < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # lifecycle_config_arns: ["StudioLifecycleConfigArn"], @@ -5153,7 +5176,7 @@ class CreateDeviceFleetRequest < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -5169,7 +5192,7 @@ class CreateDeviceFleetRequest < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # }, @@ -5181,7 +5204,7 @@ class CreateDeviceFleetRequest < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -5214,7 +5237,7 @@ class CreateDeviceFleetRequest < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # }, @@ -8184,6 +8207,9 @@ class CreateMonitoringScheduleResponse < Struct.new( # additional_code_repositories: ["CodeRepositoryNameOrUrl"], # root_access: "Enabled", # accepts Enabled, Disabled # platform_identifier: "PlatformIdentifier", + # instance_metadata_service_configuration: { + # minimum_instance_metadata_service_version: "MinimumInstanceMetadataServiceVersion", # required + # }, # } # # @!attribute [rw] notebook_instance_name @@ -8336,6 +8362,10 @@ class CreateMonitoringScheduleResponse < Struct.new( # environment. # @return [String] # + # @!attribute [rw] instance_metadata_service_configuration + # Information on the IMDS configuration of the notebook instance + # @return [Types::InstanceMetadataServiceConfiguration] + # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceInput AWS API Documentation # class CreateNotebookInstanceInput < Struct.new( @@ -8353,7 +8383,8 @@ class CreateNotebookInstanceInput < Struct.new( :default_code_repository, :additional_code_repositories, :root_access, - :platform_identifier) + :platform_identifier, + :instance_metadata_service_configuration) SENSITIVE = [] include Aws::Structure end @@ -9794,7 +9825,7 @@ class CreateTrialResponse < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # lifecycle_config_arns: ["StudioLifecycleConfigArn"], @@ -9803,7 +9834,7 @@ class CreateTrialResponse < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -9819,7 +9850,7 @@ class CreateTrialResponse < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # }, @@ -9831,7 +9862,7 @@ class CreateTrialResponse < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -15232,6 +15263,10 @@ class DescribeNotebookInstanceLifecycleConfigOutput < Struct.new( # environment. # @return [String] # + # @!attribute [rw] instance_metadata_service_configuration + # Information on the IMDS configuration of the notebook instance + # @return [Types::InstanceMetadataServiceConfiguration] + # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceOutput AWS API Documentation # class DescribeNotebookInstanceOutput < Struct.new( @@ -15255,7 +15290,8 @@ class DescribeNotebookInstanceOutput < Struct.new( :default_code_repository, :additional_code_repositories, :root_access, - :platform_identifier) + :platform_identifier, + :instance_metadata_service_configuration) SENSITIVE = [] include Aws::Structure end @@ -16982,7 +17018,7 @@ class DomainDetails < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # }, @@ -17019,7 +17055,7 @@ class DomainSettings < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # }, @@ -21609,6 +21645,31 @@ class InputConfig < Struct.new( include Aws::Structure end + # Information on the IMDS configuration of the notebook instance + # + # @note When making an API call, you may pass InstanceMetadataServiceConfiguration + # data as a hash: + # + # { + # minimum_instance_metadata_service_version: "MinimumInstanceMetadataServiceVersion", # required + # } + # + # @!attribute [rw] minimum_instance_metadata_service_version + # Indicates the minimum IMDS version that the notebook instance + # supports. When passed as part of `CreateNotebookInstance`, if no + # value is selected, then it defaults to IMDSv1. This means that both + # IMDSv1 and IMDSv2 are supported. If passed as part of + # `UpdateNotebookInstance`, there is no default. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InstanceMetadataServiceConfiguration AWS API Documentation + # + class InstanceMetadataServiceConfiguration < Struct.new( + :minimum_instance_metadata_service_version) + SENSITIVE = [] + include Aws::Structure + end + # For a hyperparameter of the integer type, specifies the range that a # hyperparameter tuning job searches. # @@ -21710,7 +21771,7 @@ class IntegerParameterRangeSpecification < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # lifecycle_config_arns: ["StudioLifecycleConfigArn"], @@ -21752,7 +21813,7 @@ class JupyterServerAppSettings < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -33674,7 +33735,7 @@ class QueryLineageResponse < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -33752,7 +33813,7 @@ class RStudioServerProAppSettings < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # } @@ -33797,7 +33858,7 @@ class RStudioServerProDomainSettings < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # } @@ -34592,7 +34653,7 @@ class ResourceNotFound < Struct.new( # { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # } # @@ -36417,7 +36478,7 @@ class TargetPlatform < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # } @@ -39057,7 +39118,7 @@ class UpdateDevicesRequest < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # lifecycle_config_arns: ["StudioLifecycleConfigArn"], @@ -39066,7 +39127,7 @@ class UpdateDevicesRequest < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -39082,7 +39143,7 @@ class UpdateDevicesRequest < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # }, @@ -39094,7 +39155,7 @@ class UpdateDevicesRequest < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -39112,7 +39173,7 @@ class UpdateDevicesRequest < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # }, @@ -39632,6 +39693,9 @@ class UpdateMonitoringScheduleResponse < Struct.new( # disassociate_default_code_repository: false, # disassociate_additional_code_repositories: false, # root_access: "Enabled", # accepts Enabled, Disabled + # instance_metadata_service_configuration: { + # minimum_instance_metadata_service_version: "MinimumInstanceMetadataServiceVersion", # required + # }, # } # # @!attribute [rw] notebook_instance_name @@ -39760,6 +39824,10 @@ class UpdateMonitoringScheduleResponse < Struct.new( # # @return [String] # + # @!attribute [rw] instance_metadata_service_configuration + # Information on the IMDS configuration of the notebook instance + # @return [Types::InstanceMetadataServiceConfiguration] + # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceInput AWS API Documentation # class UpdateNotebookInstanceInput < Struct.new( @@ -39775,7 +39843,8 @@ class UpdateNotebookInstanceInput < Struct.new( :disassociate_accelerator_types, :disassociate_default_code_repository, :disassociate_additional_code_repositories, - :root_access) + :root_access, + :instance_metadata_service_configuration) SENSITIVE = [] include Aws::Structure end @@ -40270,7 +40339,7 @@ class UpdateTrialResponse < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # lifecycle_config_arns: ["StudioLifecycleConfigArn"], @@ -40279,7 +40348,7 @@ class UpdateTrialResponse < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -40295,7 +40364,7 @@ class UpdateTrialResponse < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # }, @@ -40307,7 +40376,7 @@ class UpdateTrialResponse < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -40601,7 +40670,7 @@ class UserProfileDetails < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # lifecycle_config_arns: ["StudioLifecycleConfigArn"], @@ -40610,7 +40679,7 @@ class UserProfileDetails < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ @@ -40626,7 +40695,7 @@ class UserProfileDetails < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # }, @@ -40638,7 +40707,7 @@ class UserProfileDetails < Struct.new( # default_resource_spec: { # sage_maker_image_arn: "ImageArn", # sage_maker_image_version_arn: "ImageVersionArn", - # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge + # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, # custom_images: [ diff --git a/services.json b/services.json index 5d6ac86a8f2..c8808d5e25e 100644 --- a/services.json +++ b/services.json @@ -343,6 +343,9 @@ "EMRContainers": { "models": "emr-containers/2020-10-01" }, + "EMRServerless": { + "models": "emr-serverless/2021-07-13" + }, "ElastiCache": { "models": "elasticache/2015-02-02" },