From 1587d737f0ec279daa6c81eb1d5500982635acc4 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Mon, 26 Oct 2020 11:14:27 -0700 Subject: [PATCH] Release v1.35.15 (2020-10-26) (#3613) Release v1.35.15 (2020-10-26) === ### Service Client Updates * `service/kendra`: Updates service API and documentation * Amazon Kendra now supports indexing data from Confluence Server. * `service/neptune`: Updates service API, documentation, and paginators * This feature enables custom endpoints for Amazon Neptune clusters. Custom endpoints simplify connection management when clusters contain instances with different capacities and configuration settings. * `service/sagemaker`: Updates service API, documentation, and paginators * This release enables customers to bring custom images for use with SageMaker Studio notebooks. --- CHANGELOG.md | 11 + aws/endpoints/defaults.go | 12 + aws/version.go | 2 +- models/apis/kendra/2019-02-03/api-2.json | 182 +- models/apis/kendra/2019-02-03/docs-2.json | 137 + models/apis/neptune/2014-10-31/api-2.json | 245 +- models/apis/neptune/2014-10-31/docs-2.json | 150 +- .../apis/neptune/2014-10-31/paginators-1.json | 6 + models/apis/sagemaker/2017-07-24/api-2.json | 764 +++- models/apis/sagemaker/2017-07-24/docs-2.json | 515 ++- .../sagemaker/2017-07-24/paginators-1.json | 12 + models/endpoints/endpoints.json | 12 + service/kendra/api.go | 921 +++++ service/neptune/api.go | 1404 ++++++- service/neptune/errors.go | 25 + service/neptune/neptuneiface/interface.go | 19 + service/sagemaker/api.go | 3566 ++++++++++++++++- service/sagemaker/sagemakeriface/interface.go | 62 + 18 files changed, 7884 insertions(+), 161 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ebb141bfb45..e932953a087 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +Release v1.35.15 (2020-10-26) +=== + +### Service Client Updates +* `service/kendra`: Updates service API and documentation + * Amazon Kendra now supports indexing data from Confluence Server. +* `service/neptune`: Updates service API, documentation, and paginators + * This feature enables custom endpoints for Amazon Neptune clusters. Custom endpoints simplify connection management when clusters contain instances with different capacities and configuration settings. +* `service/sagemaker`: Updates service API, documentation, and paginators + * This release enables customers to bring custom images for use with SageMaker Studio notebooks. + Release v1.35.14 (2020-10-23) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 3d9c03bbfc9..3f1fa040c4d 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -4832,6 +4832,12 @@ var awsPartition = partition{ Region: "us-east-1", }, }, + "fips-aws-global": endpoint{ + Hostname: "route53-fips.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-1", + }, + }, }, }, "route53domains": service{ @@ -8662,6 +8668,12 @@ var awsusgovPartition = partition{ Region: "us-gov-west-1", }, }, + "fips-aws-us-gov-global": endpoint{ + Hostname: "route53.us-gov.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + }, }, }, "route53resolver": service{ diff --git a/aws/version.go b/aws/version.go index 49a2937d84c..d06132508ba 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.35.14" +const SDKVersion = "1.35.15" diff --git a/models/apis/kendra/2019-02-03/api-2.json b/models/apis/kendra/2019-02-03/api-2.json index 9dedf89a551..4ec5c604f6d 100644 --- a/models/apis/kendra/2019-02-03/api-2.json +++ b/models/apis/kendra/2019-02-03/api-2.json @@ -612,6 +612,182 @@ }, "exception":true }, + "ConfluenceAttachmentConfiguration":{ + "type":"structure", + "members":{ + "CrawlAttachments":{"shape":"Boolean"}, + "AttachmentFieldMappings":{"shape":"ConfluenceAttachmentFieldMappingsList"} + } + }, + "ConfluenceAttachmentFieldMappingsList":{ + "type":"list", + "member":{"shape":"ConfluenceAttachmentToIndexFieldMapping"}, + "max":11, + "min":1 + }, + "ConfluenceAttachmentFieldName":{ + "type":"string", + "enum":[ + "AUTHOR", + "CONTENT_TYPE", + "CREATED_DATE", + "DISPLAY_URL", + "FILE_SIZE", + "ITEM_TYPE", + "PARENT_ID", + "SPACE_KEY", + "SPACE_NAME", + "URL", + "VERSION" + ] + }, + "ConfluenceAttachmentToIndexFieldMapping":{ + "type":"structure", + "members":{ + "DataSourceFieldName":{"shape":"ConfluenceAttachmentFieldName"}, + "DateFieldFormat":{"shape":"DataSourceDateFieldFormat"}, + "IndexFieldName":{"shape":"IndexFieldName"} + } + }, + "ConfluenceBlogConfiguration":{ + "type":"structure", + "members":{ + "BlogFieldMappings":{"shape":"ConfluenceBlogFieldMappingsList"} + } + }, + "ConfluenceBlogFieldMappingsList":{ + "type":"list", + "member":{"shape":"ConfluenceBlogToIndexFieldMapping"}, + "max":9, + "min":1 + }, + "ConfluenceBlogFieldName":{ + "type":"string", + "enum":[ + "AUTHOR", + "DISPLAY_URL", + "ITEM_TYPE", + "LABELS", + "PUBLISH_DATE", + "SPACE_KEY", + "SPACE_NAME", + "URL", + "VERSION" + ] + }, + "ConfluenceBlogToIndexFieldMapping":{ + "type":"structure", + "members":{ + "DataSourceFieldName":{"shape":"ConfluenceBlogFieldName"}, + "DateFieldFormat":{"shape":"DataSourceDateFieldFormat"}, + "IndexFieldName":{"shape":"IndexFieldName"} + } + }, + "ConfluenceConfiguration":{ + "type":"structure", + "required":[ + "ServerUrl", + "SecretArn", + "Version" + ], + "members":{ + "ServerUrl":{"shape":"Url"}, + "SecretArn":{"shape":"SecretArn"}, + "Version":{"shape":"ConfluenceVersion"}, + "SpaceConfiguration":{"shape":"ConfluenceSpaceConfiguration"}, + "PageConfiguration":{"shape":"ConfluencePageConfiguration"}, + "BlogConfiguration":{"shape":"ConfluenceBlogConfiguration"}, + "AttachmentConfiguration":{"shape":"ConfluenceAttachmentConfiguration"}, + "VpcConfiguration":{"shape":"DataSourceVpcConfiguration"}, + "InclusionPatterns":{"shape":"DataSourceInclusionsExclusionsStrings"}, + "ExclusionPatterns":{"shape":"DataSourceInclusionsExclusionsStrings"} + } + }, + "ConfluencePageConfiguration":{ + "type":"structure", + "members":{ + "PageFieldMappings":{"shape":"ConfluencePageFieldMappingsList"} + } + }, + "ConfluencePageFieldMappingsList":{ + "type":"list", + "member":{"shape":"ConfluencePageToIndexFieldMapping"}, + "max":12, + "min":1 + }, + "ConfluencePageFieldName":{ + "type":"string", + "enum":[ + "AUTHOR", + "CONTENT_STATUS", + "CREATED_DATE", + "DISPLAY_URL", + "ITEM_TYPE", + "LABELS", + "MODIFIED_DATE", + "PARENT_ID", + "SPACE_KEY", + "SPACE_NAME", + "URL", + "VERSION" + ] + }, + "ConfluencePageToIndexFieldMapping":{ + "type":"structure", + "members":{ + "DataSourceFieldName":{"shape":"ConfluencePageFieldName"}, + "DateFieldFormat":{"shape":"DataSourceDateFieldFormat"}, + "IndexFieldName":{"shape":"IndexFieldName"} + } + }, + "ConfluenceSpaceConfiguration":{ + "type":"structure", + "members":{ + "CrawlPersonalSpaces":{"shape":"Boolean"}, + "CrawlArchivedSpaces":{"shape":"Boolean"}, + "IncludeSpaces":{"shape":"ConfluenceSpaceList"}, + "ExcludeSpaces":{"shape":"ConfluenceSpaceList"}, + "SpaceFieldMappings":{"shape":"ConfluenceSpaceFieldMappingsList"} + } + }, + "ConfluenceSpaceFieldMappingsList":{ + "type":"list", + "member":{"shape":"ConfluenceSpaceToIndexFieldMapping"}, + "max":4, + "min":1 + }, + "ConfluenceSpaceFieldName":{ + "type":"string", + "enum":[ + "DISPLAY_URL", + "ITEM_TYPE", + "SPACE_KEY", + "URL" + ] + }, + "ConfluenceSpaceIdentifier":{ + "type":"string", + "max":255, + "min":1, + "pattern":"^\\P{C}*$" + }, + "ConfluenceSpaceList":{ + "type":"list", + "member":{"shape":"ConfluenceSpaceIdentifier"}, + "min":1 + }, + "ConfluenceSpaceToIndexFieldMapping":{ + "type":"structure", + "members":{ + "DataSourceFieldName":{"shape":"ConfluenceSpaceFieldName"}, + "DateFieldFormat":{"shape":"DataSourceDateFieldFormat"}, + "IndexFieldName":{"shape":"IndexFieldName"} + } + }, + "ConfluenceVersion":{ + "type":"string", + "enum":["SERVER"] + }, "ConnectionConfiguration":{ "type":"structure", "required":[ @@ -729,7 +905,8 @@ "DatabaseConfiguration":{"shape":"DatabaseConfiguration"}, "SalesforceConfiguration":{"shape":"SalesforceConfiguration"}, "OneDriveConfiguration":{"shape":"OneDriveConfiguration"}, - "ServiceNowConfiguration":{"shape":"ServiceNowConfiguration"} + "ServiceNowConfiguration":{"shape":"ServiceNowConfiguration"}, + "ConfluenceConfiguration":{"shape":"ConfluenceConfiguration"} } }, "DataSourceDateFieldFormat":{ @@ -875,7 +1052,8 @@ "SALESFORCE", "ONEDRIVE", "SERVICENOW", - "CUSTOM" + "CUSTOM", + "CONFLUENCE" ] }, "DataSourceVpcConfiguration":{ diff --git a/models/apis/kendra/2019-02-03/docs-2.json b/models/apis/kendra/2019-02-03/docs-2.json index edb76e3a614..f4a05e230c5 100644 --- a/models/apis/kendra/2019-02-03/docs-2.json +++ b/models/apis/kendra/2019-02-03/docs-2.json @@ -145,6 +145,9 @@ "Boolean": { "base": null, "refs": { + "ConfluenceAttachmentConfiguration$CrawlAttachments": "

Indicates whether Amazon Kendra indexes attachments to the pages and blogs in the Confluence data source.

", + "ConfluenceSpaceConfiguration$CrawlPersonalSpaces": "

Specifies whether Amazon Kendra should index personal spaces. Users can add restrictions to items in personal spaces. If personal spaces are indexed, queries without user context information may return restricted items from a personal space in their results. For more information, see Filtering on user context.

", + "ConfluenceSpaceConfiguration$CrawlArchivedSpaces": "

Specifies whether Amazon Kendra should index archived spaces.

", "Highlight$TopAnswer": "

Indicates whether the response is the best response. True if this is the best response; otherwise, false.

", "SalesforceConfiguration$CrawlAttachments": "

Indicates whether Amazon Kendra should index attachments to Salesforce objects.

", "Search$Facetable": "

Indicates that the field can be used to create search facets, a count of results for each value in the field. The default is false .

", @@ -211,6 +214,127 @@ "refs": { } }, + "ConfluenceAttachmentConfiguration": { + "base": "

Specifies the attachment settings for the Confluence data source. Attachment settings are optional, if you don't specify settings attachments, Amazon Kendra won't index them.

", + "refs": { + "ConfluenceConfiguration$AttachmentConfiguration": "

Specifies configuration information for indexing attachments to Confluence blogs and pages.

" + } + }, + "ConfluenceAttachmentFieldMappingsList": { + "base": null, + "refs": { + "ConfluenceAttachmentConfiguration$AttachmentFieldMappings": "

Defines how attachment metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the UpdateIndex operation.

If you specify the AttachentFieldMappings parameter, you must specify at least one field mapping.

" + } + }, + "ConfluenceAttachmentFieldName": { + "base": null, + "refs": { + "ConfluenceAttachmentToIndexFieldMapping$DataSourceFieldName": "

The name of the field in the data source.

You must first create the index field using the operation.

" + } + }, + "ConfluenceAttachmentToIndexFieldMapping": { + "base": "

Defines the mapping between a field in the Confluence data source to a Amazon Kendra index field.

You must first create the index field using the operation.

", + "refs": { + "ConfluenceAttachmentFieldMappingsList$member": null + } + }, + "ConfluenceBlogConfiguration": { + "base": "

Specifies the blog settings for the Confluence data source. Blogs are always indexed unless filtered from the index by the ExclusionPatterns or InclusionPatterns fields in the data type.

", + "refs": { + "ConfluenceConfiguration$BlogConfiguration": "

Specifies configuration information for indexing Confluence blogs.

" + } + }, + "ConfluenceBlogFieldMappingsList": { + "base": null, + "refs": { + "ConfluenceBlogConfiguration$BlogFieldMappings": "

Defines how blog metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the UpdateIndex operation.

If you specify the BlogFieldMappings parameter, you must specify at least one field mapping.

" + } + }, + "ConfluenceBlogFieldName": { + "base": null, + "refs": { + "ConfluenceBlogToIndexFieldMapping$DataSourceFieldName": "

The name of the field in the data source.

" + } + }, + "ConfluenceBlogToIndexFieldMapping": { + "base": "

Defines the mapping between a blog field in the Confluence data source to a Amazon Kendra index field.

You must first create the index field using the operation.

", + "refs": { + "ConfluenceBlogFieldMappingsList$member": null + } + }, + "ConfluenceConfiguration": { + "base": "

Provides configuration information for data sources that connect to Confluence.

", + "refs": { + "DataSourceConfiguration$ConfluenceConfiguration": "

Provides configuration information for connecting to a Confluence data source.

" + } + }, + "ConfluencePageConfiguration": { + "base": "

Specifies the page settings for the Confluence data source.

", + "refs": { + "ConfluenceConfiguration$PageConfiguration": "

Specifies configuration information for indexing Confluence pages.

" + } + }, + "ConfluencePageFieldMappingsList": { + "base": null, + "refs": { + "ConfluencePageConfiguration$PageFieldMappings": "

Defines how page metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the UpdateIndex operation.

If you specify the PageFieldMappings parameter, you must specify at least one field mapping.

" + } + }, + "ConfluencePageFieldName": { + "base": null, + "refs": { + "ConfluencePageToIndexFieldMapping$DataSourceFieldName": "

The name of the field in the data source.

" + } + }, + "ConfluencePageToIndexFieldMapping": { + "base": "

Defines the mapping between a field in the Confluence data source to a Amazon Kendra index field.

You must first create the index field using the operation.

", + "refs": { + "ConfluencePageFieldMappingsList$member": null + } + }, + "ConfluenceSpaceConfiguration": { + "base": "

Specifies the configuration for indexing Confluence spaces.

", + "refs": { + "ConfluenceConfiguration$SpaceConfiguration": "

Specifies configuration information for indexing Confluence spaces.

" + } + }, + "ConfluenceSpaceFieldMappingsList": { + "base": null, + "refs": { + "ConfluenceSpaceConfiguration$SpaceFieldMappings": "

Defines how space metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the UpdateIndex operation.

If you specify the SpaceFieldMappings parameter, you must specify at least one field mapping.

" + } + }, + "ConfluenceSpaceFieldName": { + "base": null, + "refs": { + "ConfluenceSpaceToIndexFieldMapping$DataSourceFieldName": "

The name of the field in the data source.

" + } + }, + "ConfluenceSpaceIdentifier": { + "base": null, + "refs": { + "ConfluenceSpaceList$member": null + } + }, + "ConfluenceSpaceList": { + "base": null, + "refs": { + "ConfluenceSpaceConfiguration$IncludeSpaces": "

A list of space keys for Confluence spaces. If you include a key, the blogs, documents, and attachments in the space are indexed. Spaces that aren't in the list aren't indexed. A space in the list must exist. Otherwise, Amazon Kendra logs an error when the data source is synchronized. If a space is in both the IncludeSpaces and the ExcludeSpaces list, the space is excluded.

", + "ConfluenceSpaceConfiguration$ExcludeSpaces": "

A list of space keys of Confluence spaces. If you include a key, the blogs, documents, and attachments in the space are not indexed. If a space is in both the ExcludeSpaces and the IncludeSpaces list, the space is excluded.

" + } + }, + "ConfluenceSpaceToIndexFieldMapping": { + "base": "

Defines the mapping between a field in the Confluence data source to a Amazon Kendra index field.

You must first create the index field using the operation.

", + "refs": { + "ConfluenceSpaceFieldMappingsList$member": null + } + }, + "ConfluenceVersion": { + "base": null, + "refs": { + "ConfluenceConfiguration$Version": "

Specifies the version of the Confluence installation that you are connecting to.

" + } + }, "ConnectionConfiguration": { "base": "

Provides the information necessary to connect to a database.

", "refs": { @@ -264,6 +388,10 @@ "DataSourceDateFieldFormat": { "base": null, "refs": { + "ConfluenceAttachmentToIndexFieldMapping$DateFieldFormat": "

The format for date fields in the data source. If the field specified in DataSourceFieldName is a date field you must specify the date format. If the field is not a date field, an exception is thrown.

", + "ConfluenceBlogToIndexFieldMapping$DateFieldFormat": "

The format for date fields in the data source. If the field specified in DataSourceFieldName is a date field you must specify the date format. If the field is not a date field, an exception is thrown.

", + "ConfluencePageToIndexFieldMapping$DateFieldFormat": "

The format for date fields in the data source. If the field specified in DataSourceFieldName is a date field you must specify the date format. If the field is not a date field, an exception is thrown.

", + "ConfluenceSpaceToIndexFieldMapping$DateFieldFormat": "

The format for date fields in the data source. If the field specified in DataSourceFieldName is a date field you must specify the date format. If the field is not a date field, an exception is thrown.

", "DataSourceToIndexFieldMapping$DateFieldFormat": "

The type of data stored in the column or attribute.

" } }, @@ -305,6 +433,8 @@ "DataSourceInclusionsExclusionsStrings": { "base": null, "refs": { + "ConfluenceConfiguration$InclusionPatterns": "

A list of regular expression patterns that apply to a URL on the Confluence server. An inclusion pattern can apply to a blog post, a page, a space, or an attachment. Items that match the patterns are included in the index. Items that don't match the pattern are excluded from the index. If an item matches both an inclusion pattern and an exclusion pattern, the item isn't included in the index.

", + "ConfluenceConfiguration$ExclusionPatterns": "

A list of regular expression patterns that apply to a URL on the Confluence server. An exclusion pattern can apply to a blog post, a page, a space, or an attachment. Items that match the pattern are excluded from the index. Items that don't match the pattern are included in the index. If a item matches both an exclusion pattern and an inclusion pattern, the item isn't included in the index.

", "OneDriveConfiguration$InclusionPatterns": "

A list of regular expression patterns. Documents that match the pattern are included in the index. Documents that don't match the pattern are excluded from the index. If a document matches both an inclusion pattern and an exclusion pattern, the document is not included in the index.

The exclusion pattern is applied to the file name.

", "OneDriveConfiguration$ExclusionPatterns": "

List of regular expressions applied to documents. Items that match the exclusion pattern are not indexed. If you provide both an inclusion pattern and an exclusion pattern, any item that matches the exclusion pattern isn't indexed.

The exclusion pattern is applied to the file name.

", "S3DataSourceConfiguration$InclusionPrefixes": "

A list of S3 prefixes for the documents that should be included in the index.

", @@ -423,6 +553,7 @@ "DataSourceVpcConfiguration": { "base": "

Provides information for connecting to an Amazon VPC.

", "refs": { + "ConfluenceConfiguration$VpcConfiguration": "

Specifies the information for connecting to an Amazon VPC.

", "DatabaseConfiguration$VpcConfiguration": null, "SharePointConfiguration$VpcConfiguration": null } @@ -800,6 +931,10 @@ "IndexFieldName": { "base": null, "refs": { + "ConfluenceAttachmentToIndexFieldMapping$IndexFieldName": "

The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.

", + "ConfluenceBlogToIndexFieldMapping$IndexFieldName": "

The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.

", + "ConfluencePageToIndexFieldMapping$IndexFieldName": "

The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.

", + "ConfluenceSpaceToIndexFieldMapping$IndexFieldName": "

The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.

", "DataSourceToIndexFieldMapping$IndexFieldName": "

The name of the field in the index.

" } }, @@ -1326,6 +1461,7 @@ "SecretArn": { "base": null, "refs": { + "ConfluenceConfiguration$SecretArn": "

The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the key/value pairs required to connect to your Confluence server. The secret must contain a JSON structure with the following keys:

", "ConnectionConfiguration$SecretArn": "

The Amazon Resource Name (ARN) of credentials stored in AWS Secrets Manager. The credentials should be a user/password pair. For more information, see Using a Database Data Source. For more information about AWS Secrets Manager, see What Is AWS Secrets Manager in the AWS Secrets Manager user guide.

", "OneDriveConfiguration$SecretArn": "

The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password to connect to OneDrive. The user namd should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.

", "SalesforceConfiguration$SecretArn": "

The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the key/value pairs required to connect to your Salesforce instance. The secret must contain a JSON structure with the following keys:

", @@ -1600,6 +1736,7 @@ "Url": { "base": null, "refs": { + "ConfluenceConfiguration$ServerUrl": "

The URL of your Confluence instance. Use the full URL of the server. For example, https://server.example.com:port/. You can also use an IP address, for example, https://192.168.1.113/.

", "QueryResultItem$DocumentURI": "

The URI of the original location of the document.

", "SalesforceConfiguration$ServerUrl": "

The instance URL for the Salesforce site that you want to index.

", "SharePointUrlList$member": null diff --git a/models/apis/neptune/2014-10-31/api-2.json b/models/apis/neptune/2014-10-31/api-2.json index c2b773b8924..f25c453f80c 100644 --- a/models/apis/neptune/2014-10-31/api-2.json +++ b/models/apis/neptune/2014-10-31/api-2.json @@ -154,6 +154,26 @@ {"shape":"DBSubnetGroupDoesNotCoverEnoughAZs"} ] }, + "CreateDBClusterEndpoint":{ + "name":"CreateDBClusterEndpoint", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateDBClusterEndpointMessage"}, + "output":{ + "shape":"CreateDBClusterEndpointOutput", + "resultWrapper":"CreateDBClusterEndpointResult" + }, + "errors":[ + {"shape":"DBClusterEndpointQuotaExceededFault"}, + {"shape":"DBClusterEndpointAlreadyExistsFault"}, + {"shape":"DBClusterNotFoundFault"}, + {"shape":"InvalidDBClusterStateFault"}, + {"shape":"DBInstanceNotFoundFault"}, + {"shape":"InvalidDBInstanceStateFault"} + ] + }, "CreateDBClusterParameterGroup":{ "name":"CreateDBClusterParameterGroup", "http":{ @@ -296,6 +316,23 @@ {"shape":"InvalidDBClusterSnapshotStateFault"} ] }, + "DeleteDBClusterEndpoint":{ + "name":"DeleteDBClusterEndpoint", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteDBClusterEndpointMessage"}, + "output":{ + "shape":"DeleteDBClusterEndpointOutput", + "resultWrapper":"DeleteDBClusterEndpointResult" + }, + "errors":[ + {"shape":"InvalidDBClusterEndpointStateFault"}, + {"shape":"DBClusterEndpointNotFoundFault"}, + {"shape":"InvalidDBClusterStateFault"} + ] + }, "DeleteDBClusterParameterGroup":{ "name":"DeleteDBClusterParameterGroup", "http":{ @@ -384,6 +421,21 @@ {"shape":"InvalidEventSubscriptionStateFault"} ] }, + "DescribeDBClusterEndpoints":{ + "name":"DescribeDBClusterEndpoints", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeDBClusterEndpointsMessage"}, + "output":{ + "shape":"DBClusterEndpointMessage", + "resultWrapper":"DescribeDBClusterEndpointsResult" + }, + "errors":[ + {"shape":"DBClusterNotFoundFault"} + ] + }, "DescribeDBClusterParameterGroups":{ "name":"DescribeDBClusterParameterGroups", "http":{ @@ -696,6 +748,25 @@ {"shape":"DBClusterAlreadyExistsFault"} ] }, + "ModifyDBClusterEndpoint":{ + "name":"ModifyDBClusterEndpoint", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ModifyDBClusterEndpointMessage"}, + "output":{ + "shape":"ModifyDBClusterEndpointOutput", + "resultWrapper":"ModifyDBClusterEndpointResult" + }, + "errors":[ + {"shape":"InvalidDBClusterStateFault"}, + {"shape":"InvalidDBClusterEndpointStateFault"}, + {"shape":"DBClusterEndpointNotFoundFault"}, + {"shape":"DBInstanceNotFoundFault"}, + {"shape":"InvalidDBInstanceStateFault"} + ] + }, "ModifyDBClusterParameterGroup":{ "name":"ModifyDBClusterParameterGroup", "http":{ @@ -1027,7 +1098,8 @@ ], "members":{ "DBClusterIdentifier":{"shape":"String"}, - "RoleArn":{"shape":"String"} + "RoleArn":{"shape":"String"}, + "FeatureName":{"shape":"String"} } }, "AddSourceIdentifierToSubscriptionMessage":{ @@ -1211,6 +1283,37 @@ "DBParameterGroup":{"shape":"DBParameterGroup"} } }, + "CreateDBClusterEndpointMessage":{ + "type":"structure", + "required":[ + "DBClusterIdentifier", + "DBClusterEndpointIdentifier", + "EndpointType" + ], + "members":{ + "DBClusterIdentifier":{"shape":"String"}, + "DBClusterEndpointIdentifier":{"shape":"String"}, + "EndpointType":{"shape":"String"}, + "StaticMembers":{"shape":"StringList"}, + "ExcludedMembers":{"shape":"StringList"}, + "Tags":{"shape":"TagList"} + } + }, + "CreateDBClusterEndpointOutput":{ + "type":"structure", + "members":{ + "DBClusterEndpointIdentifier":{"shape":"String"}, + "DBClusterIdentifier":{"shape":"String"}, + "DBClusterEndpointResourceIdentifier":{"shape":"String"}, + "Endpoint":{"shape":"String"}, + "Status":{"shape":"String"}, + "EndpointType":{"shape":"String"}, + "CustomEndpointType":{"shape":"String"}, + "StaticMembers":{"shape":"StringList"}, + "ExcludedMembers":{"shape":"StringList"}, + "DBClusterEndpointArn":{"shape":"String"} + } + }, "CreateDBClusterMessage":{ "type":"structure", "required":[ @@ -1466,6 +1569,68 @@ }, "exception":true }, + "DBClusterEndpoint":{ + "type":"structure", + "members":{ + "DBClusterEndpointIdentifier":{"shape":"String"}, + "DBClusterIdentifier":{"shape":"String"}, + "DBClusterEndpointResourceIdentifier":{"shape":"String"}, + "Endpoint":{"shape":"String"}, + "Status":{"shape":"String"}, + "EndpointType":{"shape":"String"}, + "CustomEndpointType":{"shape":"String"}, + "StaticMembers":{"shape":"StringList"}, + "ExcludedMembers":{"shape":"StringList"}, + "DBClusterEndpointArn":{"shape":"String"} + } + }, + "DBClusterEndpointAlreadyExistsFault":{ + "type":"structure", + "members":{ + }, + "error":{ + "code":"DBClusterEndpointAlreadyExistsFault", + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, + "DBClusterEndpointList":{ + "type":"list", + "member":{ + "shape":"DBClusterEndpoint", + "locationName":"DBClusterEndpointList" + } + }, + "DBClusterEndpointMessage":{ + "type":"structure", + "members":{ + "Marker":{"shape":"String"}, + "DBClusterEndpoints":{"shape":"DBClusterEndpointList"} + } + }, + "DBClusterEndpointNotFoundFault":{ + "type":"structure", + "members":{ + }, + "error":{ + "code":"DBClusterEndpointNotFoundFault", + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, + "DBClusterEndpointQuotaExceededFault":{ + "type":"structure", + "members":{ + }, + "error":{ + "code":"DBClusterEndpointQuotaExceededFault", + "httpStatusCode":403, + "senderFault":true + }, + "exception":true + }, "DBClusterList":{ "type":"list", "member":{ @@ -1585,7 +1750,8 @@ "type":"structure", "members":{ "RoleArn":{"shape":"String"}, - "Status":{"shape":"String"} + "Status":{"shape":"String"}, + "FeatureName":{"shape":"String"} } }, "DBClusterRoleAlreadyExistsFault":{ @@ -2087,6 +2253,28 @@ }, "exception":true }, + "DeleteDBClusterEndpointMessage":{ + "type":"structure", + "required":["DBClusterEndpointIdentifier"], + "members":{ + "DBClusterEndpointIdentifier":{"shape":"String"} + } + }, + "DeleteDBClusterEndpointOutput":{ + "type":"structure", + "members":{ + "DBClusterEndpointIdentifier":{"shape":"String"}, + "DBClusterIdentifier":{"shape":"String"}, + "DBClusterEndpointResourceIdentifier":{"shape":"String"}, + "Endpoint":{"shape":"String"}, + "Status":{"shape":"String"}, + "EndpointType":{"shape":"String"}, + "CustomEndpointType":{"shape":"String"}, + "StaticMembers":{"shape":"StringList"}, + "ExcludedMembers":{"shape":"StringList"}, + "DBClusterEndpointArn":{"shape":"String"} + } + }, "DeleteDBClusterMessage":{ "type":"structure", "required":["DBClusterIdentifier"], @@ -2164,6 +2352,16 @@ "EventSubscription":{"shape":"EventSubscription"} } }, + "DescribeDBClusterEndpointsMessage":{ + "type":"structure", + "members":{ + "DBClusterIdentifier":{"shape":"String"}, + "DBClusterEndpointIdentifier":{"shape":"String"}, + "Filters":{"shape":"FilterList"}, + "MaxRecords":{"shape":"IntegerOptional"}, + "Marker":{"shape":"String"} + } + }, "DescribeDBClusterParameterGroupsMessage":{ "type":"structure", "members":{ @@ -2607,6 +2805,17 @@ }, "Integer":{"type":"integer"}, "IntegerOptional":{"type":"integer"}, + "InvalidDBClusterEndpointStateFault":{ + "type":"structure", + "members":{ + }, + "error":{ + "code":"InvalidDBClusterEndpointStateFault", + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, "InvalidDBClusterSnapshotStateFault":{ "type":"structure", "members":{ @@ -2766,6 +2975,31 @@ "type":"list", "member":{"shape":"String"} }, + "ModifyDBClusterEndpointMessage":{ + "type":"structure", + "required":["DBClusterEndpointIdentifier"], + "members":{ + "DBClusterEndpointIdentifier":{"shape":"String"}, + "EndpointType":{"shape":"String"}, + "StaticMembers":{"shape":"StringList"}, + "ExcludedMembers":{"shape":"StringList"} + } + }, + "ModifyDBClusterEndpointOutput":{ + "type":"structure", + "members":{ + "DBClusterEndpointIdentifier":{"shape":"String"}, + "DBClusterIdentifier":{"shape":"String"}, + "DBClusterEndpointResourceIdentifier":{"shape":"String"}, + "Endpoint":{"shape":"String"}, + "Status":{"shape":"String"}, + "EndpointType":{"shape":"String"}, + "CustomEndpointType":{"shape":"String"}, + "StaticMembers":{"shape":"StringList"}, + "ExcludedMembers":{"shape":"StringList"}, + "DBClusterEndpointArn":{"shape":"String"} + } + }, "ModifyDBClusterMessage":{ "type":"structure", "required":["DBClusterIdentifier"], @@ -3148,7 +3382,8 @@ ], "members":{ "DBClusterIdentifier":{"shape":"String"}, - "RoleArn":{"shape":"String"} + "RoleArn":{"shape":"String"}, + "FeatureName":{"shape":"String"} } }, "RemoveSourceIdentifierFromSubscriptionMessage":{ @@ -3411,6 +3646,10 @@ "exception":true }, "String":{"type":"string"}, + "StringList":{ + "type":"list", + "member":{"shape":"String"} + }, "Subnet":{ "type":"structure", "members":{ diff --git a/models/apis/neptune/2014-10-31/docs-2.json b/models/apis/neptune/2014-10-31/docs-2.json index 9a6e014c6e3..ea63b4df8e1 100644 --- a/models/apis/neptune/2014-10-31/docs-2.json +++ b/models/apis/neptune/2014-10-31/docs-2.json @@ -10,6 +10,7 @@ "CopyDBClusterSnapshot": "

Copies a snapshot of a DB cluster.

To copy a DB cluster snapshot from a shared manual DB cluster snapshot, SourceDBClusterSnapshotIdentifier must be the Amazon Resource Name (ARN) of the shared DB cluster snapshot.

", "CopyDBParameterGroup": "

Copies the specified DB parameter group.

", "CreateDBCluster": "

Creates a new Amazon Neptune DB cluster.

You can use the ReplicationSourceIdentifier parameter to create the DB cluster as a Read Replica of another DB cluster or Amazon Neptune DB instance.

Note that when you create a new cluster using CreateDBCluster directly, deletion protection is disabled by default (when you create a new production cluster in the console, deletion protection is enabled by default). You can only delete a DB cluster if its DeletionProtection field is set to false.

", + "CreateDBClusterEndpoint": "

Creates a new custom endpoint and associates it with an Amazon Neptune DB cluster.

", "CreateDBClusterParameterGroup": "

Creates a new DB cluster parameter group.

Parameters in a DB cluster parameter group apply to all of the instances in a DB cluster.

A DB cluster parameter group is initially created with the default parameters for the database engine used by instances in the DB cluster. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBClusterParameterGroup. Once you've created a DB cluster parameter group, you need to associate it with your DB cluster using ModifyDBCluster. When you associate a new DB cluster parameter group with a running DB cluster, you need to reboot the DB instances in the DB cluster without failover for the new DB cluster parameter group and associated settings to take effect.

After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon Neptune to fully complete the create action before the DB cluster parameter group is used as the default for a new DB cluster. This is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon Neptune console or the DescribeDBClusterParameters command to verify that your DB cluster parameter group has been created or modified.

", "CreateDBClusterSnapshot": "

Creates a snapshot of a DB cluster.

", "CreateDBInstance": "

Creates a new DB instance.

", @@ -17,12 +18,14 @@ "CreateDBSubnetGroup": "

Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the AWS Region.

", "CreateEventSubscription": "

Creates an event notification subscription. This action requires a topic ARN (Amazon Resource Name) created by either the Neptune console, the SNS console, or the SNS API. To obtain an ARN with SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console.

You can specify the type of source (SourceType) you want to be notified of, provide a list of Neptune sources (SourceIds) that triggers the events, and provide a list of event categories (EventCategories) for events you want to be notified of. For example, you can specify SourceType = db-instance, SourceIds = mydbinstance1, mydbinstance2 and EventCategories = Availability, Backup.

If you specify both the SourceType and SourceIds, such as SourceType = db-instance and SourceIdentifier = myDBInstance1, you are notified of all the db-instance events for the specified source. If you specify a SourceType but do not specify a SourceIdentifier, you receive notice of the events for that source type for all your Neptune sources. If you do not specify either the SourceType nor the SourceIdentifier, you are notified of events generated from all Neptune sources belonging to your customer account.

", "DeleteDBCluster": "

The DeleteDBCluster action deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted.

Note that the DB Cluster cannot be deleted if deletion protection is enabled. To delete it, you must first set its DeletionProtection field to False.

", + "DeleteDBClusterEndpoint": "

Deletes a custom endpoint and removes it from an Amazon Neptune DB cluster.

", "DeleteDBClusterParameterGroup": "

Deletes a specified DB cluster parameter group. The DB cluster parameter group to be deleted can't be associated with any DB clusters.

", "DeleteDBClusterSnapshot": "

Deletes a DB cluster snapshot. If the snapshot is being copied, the copy operation is terminated.

The DB cluster snapshot must be in the available state to be deleted.

", "DeleteDBInstance": "

The DeleteDBInstance action deletes a previously provisioned DB instance. When you delete a DB instance, all automated backups for that instance are deleted and can't be recovered. Manual DB snapshots of the DB instance to be deleted by DeleteDBInstance are not deleted.

If you request a final DB snapshot the status of the Amazon Neptune DB instance is deleting until the DB snapshot is created. The API action DescribeDBInstance is used to monitor the status of this operation. The action can't be canceled or reverted once submitted.

Note that when a DB instance is in a failure state and has a status of failed, incompatible-restore, or incompatible-network, you can only delete it when the SkipFinalSnapshot parameter is set to true.

You can't delete a DB instance if it is the only instance in the DB cluster, or if it has deletion protection enabled.

", "DeleteDBParameterGroup": "

Deletes a specified DBParameterGroup. The DBParameterGroup to be deleted can't be associated with any DB instances.

", "DeleteDBSubnetGroup": "

Deletes a DB subnet group.

The specified database subnet group must not be associated with any DB instances.

", "DeleteEventSubscription": "

Deletes an event notification subscription.

", + "DescribeDBClusterEndpoints": "

Returns information about endpoints for an Amazon Neptune DB cluster.

This operation can also return information for Amazon RDS clusters and Amazon DocDB clusters.

", "DescribeDBClusterParameterGroups": "

Returns a list of DBClusterParameterGroup descriptions. If a DBClusterParameterGroupName parameter is specified, the list will contain only the description of the specified DB cluster parameter group.

", "DescribeDBClusterParameters": "

Returns the detailed parameter list for a particular DB cluster parameter group.

", "DescribeDBClusterSnapshotAttributes": "

Returns a list of DB cluster snapshot attribute names and values for a manual DB cluster snapshot.

When sharing snapshots with other AWS accounts, DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual DB cluster snapshot. If all is included in the list of values for the restore attribute, then the manual DB cluster snapshot is public and can be copied or restored by all AWS accounts.

To add or remove access for an AWS account to copy or restore a manual DB cluster snapshot, or to make the manual DB cluster snapshot public or private, use the ModifyDBClusterSnapshotAttribute API action.

", @@ -44,6 +47,7 @@ "FailoverDBCluster": "

Forces a failover for a DB cluster.

A failover for a DB cluster promotes one of the Read Replicas (read-only instances) in the DB cluster to be the primary instance (the cluster writer).

Amazon Neptune will automatically fail over to a Read Replica, if one exists, when the primary instance fails. You can force a failover when you want to simulate a failure of a primary instance for testing. Because each instance in a DB cluster has its own endpoint address, you will need to clean up and re-establish any existing connections that use those endpoint addresses when the failover is complete.

", "ListTagsForResource": "

Lists all tags on an Amazon Neptune resource.

", "ModifyDBCluster": "

Modify a setting for a DB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.

", + "ModifyDBClusterEndpoint": "

Modifies the properties of an endpoint in an Amazon Neptune DB cluster.

", "ModifyDBClusterParameterGroup": "

Modifies the parameters of a DB cluster parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request.

Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot without failover to the DB cluster associated with the parameter group before the change can take effect.

After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon Neptune to fully complete the create action before the parameter group is used as the default for a new DB cluster. This is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon Neptune console or the DescribeDBClusterParameters command to verify that your DB cluster parameter group has been created or modified.

", "ModifyDBClusterSnapshotAttribute": "

Adds an attribute and values to, or removes an attribute and values from, a manual DB cluster snapshot.

To share a manual DB cluster snapshot with other AWS accounts, specify restore as the AttributeName and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual DB cluster snapshot. Use the value all to make the manual DB cluster snapshot public, which means that it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts. If a manual DB cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized AWS account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case.

To view which AWS accounts have access to copy or restore a manual DB cluster snapshot, or whether a manual DB cluster snapshot public or private, use the DescribeDBClusterSnapshotAttributes API action.

", "ModifyDBInstance": "

Modifies settings for a DB instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. To learn what modifications you can make to your DB instance, call DescribeValidDBInstanceModifications before you call ModifyDBInstance.

", @@ -182,7 +186,7 @@ "refs": { "CopyDBClusterSnapshotMessage$CopyTags": "

True to copy all tags from the source DB cluster snapshot to the target DB cluster snapshot, and otherwise false. The default is false.

", "CreateDBClusterMessage$StorageEncrypted": "

Specifies whether the DB cluster is encrypted.

", - "CreateDBClusterMessage$EnableIAMDatabaseAuthentication": "

True to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts, and otherwise false.

Default: false

", + "CreateDBClusterMessage$EnableIAMDatabaseAuthentication": "

Not supported by Neptune.

", "CreateDBClusterMessage$DeletionProtection": "

A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is enabled.

", "CreateDBInstanceMessage$MultiAZ": "

Specifies if the DB instance is a Multi-AZ deployment. You can't set the AvailabilityZone parameter if the MultiAZ parameter is set to true.

", "CreateDBInstanceMessage$AutoMinorVersionUpgrade": "

Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window.

Default: true

", @@ -266,6 +270,16 @@ "refs": { } }, + "CreateDBClusterEndpointMessage": { + "base": null, + "refs": { + } + }, + "CreateDBClusterEndpointOutput": { + "base": "

This data type represents the information you need to connect to an Amazon Neptune DB cluster. This data type is used as a response element in the following actions:

For the data structure that represents Amazon Neptune DB instance endpoints, see Endpoint.

", + "refs": { + } + }, "CreateDBClusterMessage": { "base": null, "refs": { @@ -356,6 +370,38 @@ "refs": { } }, + "DBClusterEndpoint": { + "base": "

This data type represents the information you need to connect to an Amazon Neptune DB cluster. This data type is used as a response element in the following actions:

For the data structure that represents Amazon Neptune DB instance endpoints, see Endpoint.

", + "refs": { + "DBClusterEndpointList$member": null + } + }, + "DBClusterEndpointAlreadyExistsFault": { + "base": "

The specified custom endpoint cannot be created because it already exists.

", + "refs": { + } + }, + "DBClusterEndpointList": { + "base": null, + "refs": { + "DBClusterEndpointMessage$DBClusterEndpoints": "

Contains the details of the endpoints associated with the cluster and matching any filter conditions.

" + } + }, + "DBClusterEndpointMessage": { + "base": null, + "refs": { + } + }, + "DBClusterEndpointNotFoundFault": { + "base": "

The specified custom endpoint doesn't exist.

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

The cluster already has the maximum number of custom endpoints.

", + "refs": { + } + }, "DBClusterList": { "base": null, "refs": { @@ -711,6 +757,16 @@ "refs": { } }, + "DeleteDBClusterEndpointMessage": { + "base": null, + "refs": { + } + }, + "DeleteDBClusterEndpointOutput": { + "base": "

This data type represents the information you need to connect to an Amazon Neptune DB cluster. This data type is used as a response element in the following actions:

For the data structure that represents Amazon RDS DB instance endpoints, see Endpoint.

", + "refs": { + } + }, "DeleteDBClusterMessage": { "base": null, "refs": { @@ -766,6 +822,11 @@ "refs": { } }, + "DescribeDBClusterEndpointsMessage": { + "base": null, + "refs": { + } + }, "DescribeDBClusterParameterGroupsMessage": { "base": null, "refs": { @@ -920,7 +981,7 @@ } }, "Endpoint": { - "base": "

Specifies a connection endpoint.

", + "base": "

Specifies a connection endpoint.

For the data structure that represents Amazon Neptune DB cluster endpoints, see DBClusterEndpoint.

", "refs": { "DBInstance$Endpoint": "

Specifies the connection endpoint.

" } @@ -1023,6 +1084,7 @@ "FilterList": { "base": null, "refs": { + "DescribeDBClusterEndpointsMessage$Filters": "

A set of name-value pairs that define which endpoints to include in the output. The filters are specified as name-value pairs, in the format Name=endpoint_type,Values=endpoint_type1,endpoint_type2,.... Name can be one of: db-cluster-endpoint-type, db-cluster-endpoint-custom-type, db-cluster-endpoint-id, db-cluster-endpoint-status. Values for the db-cluster-endpoint-type filter can be one or more of: reader, writer, custom. Values for the db-cluster-endpoint-custom-type filter can be one or more of: reader, any. Values for the db-cluster-endpoint-status filter can be one or more of: available, creating, deleting, inactive, modifying.

", "DescribeDBClusterParameterGroupsMessage$Filters": "

This parameter is not currently supported.

", "DescribeDBClusterParametersMessage$Filters": "

This parameter is not currently supported.

", "DescribeDBClusterSnapshotsMessage$Filters": "

This parameter is not currently supported.

", @@ -1100,6 +1162,7 @@ "DBInstance$Iops": "

Specifies the Provisioned IOPS (I/O operations per second) value.

", "DBInstance$MonitoringInterval": "

The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.

", "DBInstance$PromotionTier": "

A value that specifies the order in which a Read Replica is promoted to the primary instance after a failure of the existing primary instance.

", + "DescribeDBClusterEndpointsMessage$MaxRecords": "

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so you can retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

", "DescribeDBClusterParameterGroupsMessage$MaxRecords": "

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

", "DescribeDBClusterParametersMessage$MaxRecords": "

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

", "DescribeDBClusterSnapshotsMessage$MaxRecords": "

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

", @@ -1137,6 +1200,11 @@ "RestoreDBClusterToPointInTimeMessage$Port": "

The port number on which the new DB cluster accepts connections.

Constraints: Value must be 1150-65535

Default: The same port as the original DB cluster.

" } }, + "InvalidDBClusterEndpointStateFault": { + "base": "

The requested operation cannot be performed on the endpoint while the endpoint is in this state.

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

The supplied value is not a valid DB cluster snapshot state.

", "refs": { @@ -1229,6 +1297,16 @@ "RestoreDBClusterToPointInTimeMessage$EnableCloudwatchLogsExports": "

The list of logs that the restored DB cluster is to export to CloudWatch Logs.

" } }, + "ModifyDBClusterEndpointMessage": { + "base": null, + "refs": { + } + }, + "ModifyDBClusterEndpointOutput": { + "base": "

This data type represents the information you need to connect to an Amazon Aurora DB cluster. This data type is used as a response element in the following actions:

For the data structure that represents Amazon RDS DB instance endpoints, see Endpoint.

", + "refs": { + } + }, "ModifyDBClusterMessage": { "base": null, "refs": { @@ -1573,6 +1651,7 @@ "refs": { "AddRoleToDBClusterMessage$DBClusterIdentifier": "

The name of the DB cluster to associate the IAM role with.

", "AddRoleToDBClusterMessage$RoleArn": "

The Amazon Resource Name (ARN) of the IAM role to associate with the Neptune DB cluster, for example arn:aws:iam::123456789012:role/NeptuneAccessRole.

", + "AddRoleToDBClusterMessage$FeatureName": "

The name of the feature for the Neptune DB cluster that the IAM role is to be associated with. For the list of supported feature names, see DBEngineVersion.

", "AddSourceIdentifierToSubscriptionMessage$SubscriptionName": "

The name of the event notification subscription you want to add a source identifier to.

", "AddSourceIdentifierToSubscriptionMessage$SourceIdentifier": "

The identifier of the event source to be added.

Constraints:

", "AddTagsToResourceMessage$ResourceName": "

The Amazon Neptune resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

", @@ -1594,13 +1673,24 @@ "CopyDBParameterGroupMessage$SourceDBParameterGroupIdentifier": "

The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

Constraints:

", "CopyDBParameterGroupMessage$TargetDBParameterGroupIdentifier": "

The identifier for the copied DB parameter group.

Constraints:

Example: my-db-parameter-group

", "CopyDBParameterGroupMessage$TargetDBParameterGroupDescription": "

A description for the copied DB parameter group.

", + "CreateDBClusterEndpointMessage$DBClusterIdentifier": "

The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

", + "CreateDBClusterEndpointMessage$DBClusterEndpointIdentifier": "

The identifier to use for the new endpoint. This parameter is stored as a lowercase string.

", + "CreateDBClusterEndpointMessage$EndpointType": "

The type of the endpoint. One of: READER, WRITER, ANY.

", + "CreateDBClusterEndpointOutput$DBClusterEndpointIdentifier": "

The identifier associated with the endpoint. This parameter is stored as a lowercase string.

", + "CreateDBClusterEndpointOutput$DBClusterIdentifier": "

The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

", + "CreateDBClusterEndpointOutput$DBClusterEndpointResourceIdentifier": "

A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.

", + "CreateDBClusterEndpointOutput$Endpoint": "

The DNS address of the endpoint.

", + "CreateDBClusterEndpointOutput$Status": "

The current status of the endpoint. One of: creating, available, deleting, inactive, modifying. The inactive state applies to an endpoint that cannot be used for a certain kind of cluster, such as a writer endpoint for a read-only secondary cluster in a global database.

", + "CreateDBClusterEndpointOutput$EndpointType": "

The type of the endpoint. One of: READER, WRITER, CUSTOM.

", + "CreateDBClusterEndpointOutput$CustomEndpointType": "

The type associated with a custom endpoint. One of: READER, WRITER, ANY.

", + "CreateDBClusterEndpointOutput$DBClusterEndpointArn": "

The Amazon Resource Name (ARN) for the endpoint.

", "CreateDBClusterMessage$CharacterSetName": "

(Not supported by Neptune)

", "CreateDBClusterMessage$DatabaseName": "

The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon Neptune will not create a database in the DB cluster you are creating.

", "CreateDBClusterMessage$DBClusterIdentifier": "

The DB cluster identifier. This parameter is stored as a lowercase string.

Constraints:

Example: my-cluster1

", "CreateDBClusterMessage$DBClusterParameterGroupName": "

The name of the DB cluster parameter group to associate with this DB cluster. If this argument is omitted, the default is used.

Constraints:

", "CreateDBClusterMessage$DBSubnetGroupName": "

A DB subnet group to associate with this DB cluster.

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

", "CreateDBClusterMessage$Engine": "

The name of the database engine to be used for this DB cluster.

Valid Values: neptune

", - "CreateDBClusterMessage$EngineVersion": "

The version number of the database engine to use. Currently, setting this parameter has no effect.

Example: 1.0.1

", + "CreateDBClusterMessage$EngineVersion": "

The version number of the database engine to use for the new DB cluster.

Example: 1.0.2.1

", "CreateDBClusterMessage$MasterUsername": "

The name of the master user for the DB cluster.

Constraints:

", "CreateDBClusterMessage$MasterUserPassword": "

The password for the master database user. This password can contain any printable ASCII character except \"/\", \"\"\", or \"@\".

Constraints: Must contain from 8 to 41 characters.

", "CreateDBClusterMessage$OptionGroupName": "

(Not supported by Neptune)

", @@ -1667,6 +1757,15 @@ "DBCluster$DbClusterResourceId": "

The AWS Region-unique, immutable identifier for the DB cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB cluster is accessed.

", "DBCluster$DBClusterArn": "

The Amazon Resource Name (ARN) for the DB cluster.

", "DBCluster$CloneGroupId": "

Identifies the clone group to which the DB cluster is associated.

", + "DBClusterEndpoint$DBClusterEndpointIdentifier": "

The identifier associated with the endpoint. This parameter is stored as a lowercase string.

", + "DBClusterEndpoint$DBClusterIdentifier": "

The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

", + "DBClusterEndpoint$DBClusterEndpointResourceIdentifier": "

A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.

", + "DBClusterEndpoint$Endpoint": "

The DNS address of the endpoint.

", + "DBClusterEndpoint$Status": "

The current status of the endpoint. One of: creating, available, deleting, inactive, modifying. The inactive state applies to an endpoint that cannot be used for a certain kind of cluster, such as a writer endpoint for a read-only secondary cluster in a global database.

", + "DBClusterEndpoint$EndpointType": "

The type of the endpoint. One of: READER, WRITER, CUSTOM.

", + "DBClusterEndpoint$CustomEndpointType": "

The type associated with a custom endpoint. One of: READER, WRITER, ANY.

", + "DBClusterEndpoint$DBClusterEndpointArn": "

The Amazon Resource Name (ARN) for the endpoint.

", + "DBClusterEndpointMessage$Marker": "

An optional pagination token provided by a previous DescribeDBClusterEndpoints request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", "DBClusterMember$DBInstanceIdentifier": "

Specifies the instance identifier for this member of the DB cluster.

", "DBClusterMember$DBClusterParameterGroupStatus": "

Specifies the status of the DB cluster parameter group for this member of the DB cluster.

", "DBClusterMessage$Marker": "

A pagination token that can be used in a subsequent DescribeDBClusters request.

", @@ -1681,6 +1780,7 @@ "DBClusterParameterGroupsMessage$Marker": "

An optional pagination token provided by a previous DescribeDBClusterParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", "DBClusterRole$RoleArn": "

The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.

", "DBClusterRole$Status": "

Describes the state of association between the IAM role and the DB cluster. The Status property returns one of the following values:

", + "DBClusterRole$FeatureName": "

The name of the feature associated with the AWS Identity and Access Management (IAM) role. For the list of supported feature names, see DBEngineVersion.

", "DBClusterSnapshot$DBClusterSnapshotIdentifier": "

Specifies the identifier for a DB cluster snapshot. Must match the identifier of an existing snapshot.

After you restore a DB cluster using a DBClusterSnapshotIdentifier, you must specify the same DBClusterSnapshotIdentifier for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed.

However, if you don't specify the DBClusterSnapshotIdentifier, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, the DB cluster is restored from the snapshot specified by the DBClusterSnapshotIdentifier, and the original DB cluster is deleted.

", "DBClusterSnapshot$DBClusterIdentifier": "

Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.

", "DBClusterSnapshot$Engine": "

Specifies the name of the database engine.

", @@ -1749,6 +1849,15 @@ "DBSubnetGroup$SubnetGroupStatus": "

Provides the status of the DB subnet group.

", "DBSubnetGroup$DBSubnetGroupArn": "

The Amazon Resource Name (ARN) for the DB subnet group.

", "DBSubnetGroupMessage$Marker": "

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", + "DeleteDBClusterEndpointMessage$DBClusterEndpointIdentifier": "

The identifier associated with the custom endpoint. This parameter is stored as a lowercase string.

", + "DeleteDBClusterEndpointOutput$DBClusterEndpointIdentifier": "

The identifier associated with the endpoint. This parameter is stored as a lowercase string.

", + "DeleteDBClusterEndpointOutput$DBClusterIdentifier": "

The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

", + "DeleteDBClusterEndpointOutput$DBClusterEndpointResourceIdentifier": "

A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.

", + "DeleteDBClusterEndpointOutput$Endpoint": "

The DNS address of the endpoint.

", + "DeleteDBClusterEndpointOutput$Status": "

The current status of the endpoint. One of: creating, available, deleting, inactive, modifying. The inactive state applies to an endpoint that cannot be used for a certain kind of cluster, such as a writer endpoint for a read-only secondary cluster in a global database.

", + "DeleteDBClusterEndpointOutput$EndpointType": "

The type of the endpoint. One of: READER, WRITER, CUSTOM.

", + "DeleteDBClusterEndpointOutput$CustomEndpointType": "

The type associated with a custom endpoint. One of: READER, WRITER, ANY.

", + "DeleteDBClusterEndpointOutput$DBClusterEndpointArn": "

The Amazon Resource Name (ARN) for the endpoint.

", "DeleteDBClusterMessage$DBClusterIdentifier": "

The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive.

Constraints:

", "DeleteDBClusterMessage$FinalDBSnapshotIdentifier": "

The DB cluster snapshot identifier of the new DB cluster snapshot created when SkipFinalSnapshot is set to false.

Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error.

Constraints:

", "DeleteDBClusterParameterGroupMessage$DBClusterParameterGroupName": "

The name of the DB cluster parameter group.

Constraints:

", @@ -1758,6 +1867,9 @@ "DeleteDBParameterGroupMessage$DBParameterGroupName": "

The name of the DB parameter group.

Constraints:

", "DeleteDBSubnetGroupMessage$DBSubnetGroupName": "

The name of the database subnet group to delete.

You can't delete the default subnet group.

Constraints:

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

", "DeleteEventSubscriptionMessage$SubscriptionName": "

The name of the event notification subscription you want to delete.

", + "DescribeDBClusterEndpointsMessage$DBClusterIdentifier": "

The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

", + "DescribeDBClusterEndpointsMessage$DBClusterEndpointIdentifier": "

The identifier of the endpoint to describe. This parameter is stored as a lowercase string.

", + "DescribeDBClusterEndpointsMessage$Marker": "

An optional pagination token provided by a previous DescribeDBClusterEndpoints request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", "DescribeDBClusterParameterGroupsMessage$DBClusterParameterGroupName": "

The name of a specific DB cluster parameter group to return details for.

Constraints:

", "DescribeDBClusterParameterGroupsMessage$Marker": "

An optional pagination token provided by a previous DescribeDBClusterParameterGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", "DescribeDBClusterParametersMessage$DBClusterParameterGroupName": "

The name of a specific DB cluster parameter group to return parameter details for.

Constraints:

", @@ -1829,6 +1941,16 @@ "KeyList$member": null, "ListTagsForResourceMessage$ResourceName": "

The Amazon Neptune resource with tags to be listed. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

", "LogTypeList$member": null, + "ModifyDBClusterEndpointMessage$DBClusterEndpointIdentifier": "

The identifier of the endpoint to modify. This parameter is stored as a lowercase string.

", + "ModifyDBClusterEndpointMessage$EndpointType": "

The type of the endpoint. One of: READER, WRITER, ANY.

", + "ModifyDBClusterEndpointOutput$DBClusterEndpointIdentifier": "

The identifier associated with the endpoint. This parameter is stored as a lowercase string.

", + "ModifyDBClusterEndpointOutput$DBClusterIdentifier": "

The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

", + "ModifyDBClusterEndpointOutput$DBClusterEndpointResourceIdentifier": "

A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.

", + "ModifyDBClusterEndpointOutput$Endpoint": "

The DNS address of the endpoint.

", + "ModifyDBClusterEndpointOutput$Status": "

The current status of the endpoint. One of: creating, available, deleting, inactive, modifying. The inactive state applies to an endpoint that cannot be used for a certain kind of cluster, such as a writer endpoint for a read-only secondary cluster in a global database.

", + "ModifyDBClusterEndpointOutput$EndpointType": "

The type of the endpoint. One of: READER, WRITER, CUSTOM.

", + "ModifyDBClusterEndpointOutput$CustomEndpointType": "

The type associated with a custom endpoint. One of: READER, WRITER, ANY.

", + "ModifyDBClusterEndpointOutput$DBClusterEndpointArn": "

The Amazon Resource Name (ARN) for the endpoint.

", "ModifyDBClusterMessage$DBClusterIdentifier": "

The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive.

Constraints:

", "ModifyDBClusterMessage$NewDBClusterIdentifier": "

The new DB cluster identifier for the DB cluster when renaming a DB cluster. This value is stored as a lowercase string.

Constraints:

Example: my-cluster2

", "ModifyDBClusterMessage$DBClusterParameterGroupName": "

The name of the DB cluster parameter group to use for the DB cluster.

", @@ -1836,7 +1958,7 @@ "ModifyDBClusterMessage$OptionGroupName": "

(Not supported by Neptune)

", "ModifyDBClusterMessage$PreferredBackupWindow": "

The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriod parameter.

The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region.

Constraints:

", "ModifyDBClusterMessage$PreferredMaintenanceWindow": "

The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.

Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

Constraints: Minimum 30-minute window.

", - "ModifyDBClusterMessage$EngineVersion": "

The version number of the database engine. Currently, setting this parameter has no effect. To upgrade your database engine to the most recent release, use the ApplyPendingMaintenanceAction API.

For a list of valid engine versions, see CreateDBInstance, or call DescribeDBEngineVersions.

", + "ModifyDBClusterMessage$EngineVersion": "

The version number of the database engine to which you want to upgrade. Changing this parameter results in an outage. The change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true.

For a list of valid engine versions, see Engine Releases for Amazon Neptune, or call DescribeDBEngineVersions.

", "ModifyDBClusterParameterGroupMessage$DBClusterParameterGroupName": "

The name of the DB cluster parameter group to modify.

", "ModifyDBClusterSnapshotAttributeMessage$DBClusterSnapshotIdentifier": "

The identifier for the DB cluster snapshot to modify the attributes for.

", "ModifyDBClusterSnapshotAttributeMessage$AttributeName": "

The name of the DB cluster snapshot attribute to modify.

To manage authorization for other AWS accounts to copy or restore a manual DB cluster snapshot, set this value to restore.

", @@ -1900,6 +2022,7 @@ "RebootDBInstanceMessage$DBInstanceIdentifier": "

The DB instance identifier. This parameter is stored as a lowercase string.

Constraints:

", "RemoveRoleFromDBClusterMessage$DBClusterIdentifier": "

The name of the DB cluster to disassociate the IAM role from.

", "RemoveRoleFromDBClusterMessage$RoleArn": "

The Amazon Resource Name (ARN) of the IAM role to disassociate from the DB cluster, for example arn:aws:iam::123456789012:role/NeptuneAccessRole.

", + "RemoveRoleFromDBClusterMessage$FeatureName": "

The name of the feature for the DB cluster that the IAM role is to be disassociated from. For the list of supported feature names, see DBEngineVersion.

", "RemoveSourceIdentifierFromSubscriptionMessage$SubscriptionName": "

The name of the event notification subscription you want to remove a source identifier from.

", "RemoveSourceIdentifierFromSubscriptionMessage$SourceIdentifier": "

The source identifier to be removed from the subscription, such as the DB instance identifier for a DB instance or the name of a security group.

", "RemoveTagsFromResourceMessage$ResourceName": "

The Amazon Neptune resource that the tags are removed from. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

", @@ -1925,6 +2048,7 @@ "SourceIdsList$member": null, "StartDBClusterMessage$DBClusterIdentifier": "

The DB cluster identifier of the Neptune DB cluster to be started. This parameter is stored as a lowercase string.

", "StopDBClusterMessage$DBClusterIdentifier": "

The DB cluster identifier of the Neptune DB cluster to be stopped. This parameter is stored as a lowercase string.

", + "StringList$member": null, "Subnet$SubnetIdentifier": "

Specifies the identifier of the subnet.

", "Subnet$SubnetStatus": "

Specifies the status of the subnet.

", "SubnetIdentifierList$member": null, @@ -1940,6 +2064,23 @@ "VpcSecurityGroupMembership$Status": "

The status of the VPC security group.

" } }, + "StringList": { + "base": null, + "refs": { + "CreateDBClusterEndpointMessage$StaticMembers": "

List of DB instance identifiers that are part of the custom endpoint group.

", + "CreateDBClusterEndpointMessage$ExcludedMembers": "

List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

", + "CreateDBClusterEndpointOutput$StaticMembers": "

List of DB instance identifiers that are part of the custom endpoint group.

", + "CreateDBClusterEndpointOutput$ExcludedMembers": "

List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

", + "DBClusterEndpoint$StaticMembers": "

List of DB instance identifiers that are part of the custom endpoint group.

", + "DBClusterEndpoint$ExcludedMembers": "

List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

", + "DeleteDBClusterEndpointOutput$StaticMembers": "

List of DB instance identifiers that are part of the custom endpoint group.

", + "DeleteDBClusterEndpointOutput$ExcludedMembers": "

List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

", + "ModifyDBClusterEndpointMessage$StaticMembers": "

List of DB instance identifiers that are part of the custom endpoint group.

", + "ModifyDBClusterEndpointMessage$ExcludedMembers": "

List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

", + "ModifyDBClusterEndpointOutput$StaticMembers": "

List of DB instance identifiers that are part of the custom endpoint group.

", + "ModifyDBClusterEndpointOutput$ExcludedMembers": "

List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.

" + } + }, "Subnet": { "base": "

Specifies a subnet.

This data type is used as a response element in the DescribeDBSubnetGroups action.

", "refs": { @@ -2023,6 +2164,7 @@ "CopyDBClusterParameterGroupMessage$Tags": "

The tags to be assigned to the copied DB cluster parameter group.

", "CopyDBClusterSnapshotMessage$Tags": "

The tags to assign to the new DB cluster snapshot copy.

", "CopyDBParameterGroupMessage$Tags": "

The tags to be assigned to the copied DB parameter group.

", + "CreateDBClusterEndpointMessage$Tags": "

The tags to be assigned to the Amazon Neptune resource.

", "CreateDBClusterMessage$Tags": "

The tags to assign to the new DB cluster.

", "CreateDBClusterParameterGroupMessage$Tags": "

The tags to be assigned to the new DB cluster parameter group.

", "CreateDBClusterSnapshotMessage$Tags": "

The tags to be assigned to the DB cluster snapshot.

", diff --git a/models/apis/neptune/2014-10-31/paginators-1.json b/models/apis/neptune/2014-10-31/paginators-1.json index 2a4588640a8..fddbddd2e11 100644 --- a/models/apis/neptune/2014-10-31/paginators-1.json +++ b/models/apis/neptune/2014-10-31/paginators-1.json @@ -1,5 +1,11 @@ { "pagination": { + "DescribeDBClusterEndpoints": { + "input_token": "Marker", + "limit_key": "MaxRecords", + "output_token": "Marker", + "result_key": "DBClusterEndpoints" + }, "DescribeDBEngineVersions": { "input_token": "Marker", "limit_key": "MaxRecords", diff --git a/models/apis/sagemaker/2017-07-24/api-2.json b/models/apis/sagemaker/2017-07-24/api-2.json index a2b9aa7064a..7f6ac0d1b07 100644 --- a/models/apis/sagemaker/2017-07-24/api-2.json +++ b/models/apis/sagemaker/2017-07-24/api-2.json @@ -58,6 +58,18 @@ {"shape":"ResourceInUse"} ] }, + "CreateAppImageConfig":{ + "name":"CreateAppImageConfig", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateAppImageConfigRequest"}, + "output":{"shape":"CreateAppImageConfigResponse"}, + "errors":[ + {"shape":"ResourceInUse"} + ] + }, "CreateAutoMLJob":{ "name":"CreateAutoMLJob", "http":{ @@ -181,6 +193,33 @@ {"shape":"ResourceLimitExceeded"} ] }, + "CreateImage":{ + "name":"CreateImage", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateImageRequest"}, + "output":{"shape":"CreateImageResponse"}, + "errors":[ + {"shape":"ResourceInUse"}, + {"shape":"ResourceLimitExceeded"} + ] + }, + "CreateImageVersion":{ + "name":"CreateImageVersion", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateImageVersionRequest"}, + "output":{"shape":"CreateImageVersionResponse"}, + "errors":[ + {"shape":"ResourceInUse"}, + {"shape":"ResourceLimitExceeded"}, + {"shape":"ResourceNotFound"} + ] + }, "CreateLabelingJob":{ "name":"CreateLabelingJob", "http":{ @@ -213,7 +252,11 @@ "requestUri":"/" }, "input":{"shape":"CreateModelPackageInput"}, - "output":{"shape":"CreateModelPackageOutput"} + "output":{"shape":"CreateModelPackageOutput"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ResourceLimitExceeded"} + ] }, "CreateMonitoringSchedule":{ "name":"CreateMonitoringSchedule", @@ -395,6 +438,17 @@ {"shape":"ResourceNotFound"} ] }, + "DeleteAppImageConfig":{ + "name":"DeleteAppImageConfig", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteAppImageConfigRequest"}, + "errors":[ + {"shape":"ResourceNotFound"} + ] + }, "DeleteCodeRepository":{ "name":"DeleteCodeRepository", "http":{ @@ -468,6 +522,32 @@ {"shape":"ResourceNotFound"} ] }, + "DeleteImage":{ + "name":"DeleteImage", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteImageRequest"}, + "output":{"shape":"DeleteImageResponse"}, + "errors":[ + {"shape":"ResourceInUse"}, + {"shape":"ResourceNotFound"} + ] + }, + "DeleteImageVersion":{ + "name":"DeleteImageVersion", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteImageVersionRequest"}, + "output":{"shape":"DeleteImageVersionResponse"}, + "errors":[ + {"shape":"ResourceInUse"}, + {"shape":"ResourceNotFound"} + ] + }, "DeleteModel":{ "name":"DeleteModel", "http":{ @@ -482,7 +562,10 @@ "method":"POST", "requestUri":"/" }, - "input":{"shape":"DeleteModelPackageInput"} + "input":{"shape":"DeleteModelPackageInput"}, + "errors":[ + {"shape":"ConflictException"} + ] }, "DeleteMonitoringSchedule":{ "name":"DeleteMonitoringSchedule", @@ -598,6 +681,18 @@ {"shape":"ResourceNotFound"} ] }, + "DescribeAppImageConfig":{ + "name":"DescribeAppImageConfig", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeAppImageConfigRequest"}, + "output":{"shape":"DescribeAppImageConfigResponse"}, + "errors":[ + {"shape":"ResourceNotFound"} + ] + }, "DescribeAutoMLJob":{ "name":"DescribeAutoMLJob", "http":{ @@ -709,6 +804,30 @@ {"shape":"ResourceNotFound"} ] }, + "DescribeImage":{ + "name":"DescribeImage", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeImageRequest"}, + "output":{"shape":"DescribeImageResponse"}, + "errors":[ + {"shape":"ResourceNotFound"} + ] + }, + "DescribeImageVersion":{ + "name":"DescribeImageVersion", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeImageVersionRequest"}, + "output":{"shape":"DescribeImageVersionResponse"}, + "errors":[ + {"shape":"ResourceNotFound"} + ] + }, "DescribeLabelingJob":{ "name":"DescribeLabelingJob", "http":{ @@ -898,6 +1017,15 @@ "input":{"shape":"ListAlgorithmsInput"}, "output":{"shape":"ListAlgorithmsOutput"} }, + "ListAppImageConfigs":{ + "name":"ListAppImageConfigs", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListAppImageConfigsRequest"}, + "output":{"shape":"ListAppImageConfigsResponse"} + }, "ListApps":{ "name":"ListApps", "http":{ @@ -1009,6 +1137,27 @@ "input":{"shape":"ListHyperParameterTuningJobsRequest"}, "output":{"shape":"ListHyperParameterTuningJobsResponse"} }, + "ListImageVersions":{ + "name":"ListImageVersions", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListImageVersionsRequest"}, + "output":{"shape":"ListImageVersionsResponse"}, + "errors":[ + {"shape":"ResourceNotFound"} + ] + }, + "ListImages":{ + "name":"ListImages", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListImagesRequest"}, + "output":{"shape":"ListImagesResponse"} + }, "ListLabelingJobs":{ "name":"ListLabelingJobs", "http":{ @@ -1331,6 +1480,18 @@ {"shape":"ResourceNotFound"} ] }, + "UpdateAppImageConfig":{ + "name":"UpdateAppImageConfig", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateAppImageConfigRequest"}, + "output":{"shape":"UpdateAppImageConfigResponse"}, + "errors":[ + {"shape":"ResourceNotFound"} + ] + }, "UpdateCodeRepository":{ "name":"UpdateCodeRepository", "http":{ @@ -1391,6 +1552,19 @@ {"shape":"ResourceNotFound"} ] }, + "UpdateImage":{ + "name":"UpdateImage", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateImageRequest"}, + "output":{"shape":"UpdateImageResponse"}, + "errors":[ + {"shape":"ResourceInUse"}, + {"shape":"ResourceNotFound"} + ] + }, "UpdateMonitoringSchedule":{ "name":"UpdateMonitoringSchedule", "http":{ @@ -1656,6 +1830,38 @@ "CreationTime":{"shape":"CreationTime"} } }, + "AppImageConfigArn":{ + "type":"string", + "max":256, + "pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:app-image-config/.*" + }, + "AppImageConfigDetails":{ + "type":"structure", + "members":{ + "AppImageConfigArn":{"shape":"AppImageConfigArn"}, + "AppImageConfigName":{"shape":"AppImageConfigName"}, + "CreationTime":{"shape":"Timestamp"}, + "LastModifiedTime":{"shape":"Timestamp"}, + "KernelGatewayImageConfig":{"shape":"KernelGatewayImageConfig"} + } + }, + "AppImageConfigList":{ + "type":"list", + "member":{"shape":"AppImageConfigDetails"} + }, + "AppImageConfigName":{ + "type":"string", + "max":63, + "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*" + }, + "AppImageConfigSortKey":{ + "type":"string", + "enum":[ + "CreationTime", + "LastModifiedTime", + "Name" + ] + }, "AppInstanceType":{ "type":"string", "enum":[ @@ -2263,6 +2469,12 @@ "pattern":"[\\w+=/-]+", "sensitive":true }, + "ClientToken":{ + "type":"string", + "max":36, + "min":1, + "pattern":"^[a-zA-Z0-9-]+$" + }, "CodeRepositoryArn":{ "type":"string", "max":2048, @@ -2427,8 +2639,8 @@ "CompilerOptions":{ "type":"string", "max":1024, - "min":7, - "pattern":"^\\{.+\\}$" + "min":3, + "pattern":".*" }, "CompressionType":{ "type":"string", @@ -2479,7 +2691,7 @@ "Mode":{"shape":"ContainerMode"}, "ModelDataUrl":{"shape":"Url"}, "Environment":{"shape":"EnvironmentMap"}, - "ModelPackageName":{"shape":"ArnOrName"} + "ModelPackageName":{"shape":"VersionedArnOrName"} } }, "ContainerDefinitionList":{ @@ -2589,6 +2801,21 @@ "AlgorithmArn":{"shape":"AlgorithmArn"} } }, + "CreateAppImageConfigRequest":{ + "type":"structure", + "required":["AppImageConfigName"], + "members":{ + "AppImageConfigName":{"shape":"AppImageConfigName"}, + "Tags":{"shape":"TagList"}, + "KernelGatewayImageConfig":{"shape":"KernelGatewayImageConfig"} + } + }, + "CreateAppImageConfigResponse":{ + "type":"structure", + "members":{ + "AppImageConfigArn":{"shape":"AppImageConfigArn"} + } + }, "CreateAppRequest":{ "type":"structure", "required":[ @@ -2671,7 +2898,8 @@ "RoleArn":{"shape":"RoleArn"}, "InputConfig":{"shape":"InputConfig"}, "OutputConfig":{"shape":"OutputConfig"}, - "StoppingCondition":{"shape":"StoppingCondition"} + "StoppingCondition":{"shape":"StoppingCondition"}, + "Tags":{"shape":"TagList"} } }, "CreateCompilationJobResponse":{ @@ -2697,8 +2925,8 @@ "SubnetIds":{"shape":"Subnets"}, "VpcId":{"shape":"VpcId"}, "Tags":{"shape":"TagList"}, - "HomeEfsFileSystemKmsKeyId":{"shape":"KmsKeyId"}, - "AppNetworkAccessType":{"shape":"AppNetworkAccessType"} + "AppNetworkAccessType":{"shape":"AppNetworkAccessType"}, + "HomeEfsFileSystemKmsKeyId":{"shape":"KmsKeyId"} } }, "CreateDomainResponse":{ @@ -2830,6 +3058,48 @@ "HyperParameterTuningJobArn":{"shape":"HyperParameterTuningJobArn"} } }, + "CreateImageRequest":{ + "type":"structure", + "required":[ + "ImageName", + "RoleArn" + ], + "members":{ + "Description":{"shape":"ImageDescription"}, + "DisplayName":{"shape":"ImageDisplayName"}, + "ImageName":{"shape":"ImageName"}, + "RoleArn":{"shape":"RoleArn"}, + "Tags":{"shape":"TagList"} + } + }, + "CreateImageResponse":{ + "type":"structure", + "members":{ + "ImageArn":{"shape":"ImageArn"} + } + }, + "CreateImageVersionRequest":{ + "type":"structure", + "required":[ + "BaseImage", + "ClientToken", + "ImageName" + ], + "members":{ + "BaseImage":{"shape":"ImageBaseImage"}, + "ClientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + }, + "ImageName":{"shape":"ImageName"} + } + }, + "CreateImageVersionResponse":{ + "type":"structure", + "members":{ + "ImageVersionArn":{"shape":"ImageVersionArn"} + } + }, "CreateLabelingJobRequest":{ "type":"structure", "required":[ @@ -2885,7 +3155,6 @@ }, "CreateModelPackageInput":{ "type":"structure", - "required":["ModelPackageName"], "members":{ "ModelPackageName":{"shape":"EntityName"}, "ModelPackageDescription":{"shape":"EntityDescription"}, @@ -3211,6 +3480,26 @@ "max":10, "min":1 }, + "CustomImage":{ + "type":"structure", + "required":[ + "ImageName", + "AppImageConfigName" + ], + "members":{ + "ImageName":{"shape":"ImageName"}, + "ImageVersionNumber":{ + "shape":"ImageVersionNumber", + "box":true + }, + "AppImageConfigName":{"shape":"AppImageConfigName"} + } + }, + "CustomImages":{ + "type":"list", + "member":{"shape":"CustomImage"}, + "max":30 + }, "DataCaptureConfig":{ "type":"structure", "required":[ @@ -3317,6 +3606,16 @@ "max":20, "min":0 }, + "DefaultGid":{ + "type":"integer", + "max":65535, + "min":0 + }, + "DefaultUid":{ + "type":"integer", + "max":65535, + "min":0 + }, "DeleteAlgorithmInput":{ "type":"structure", "required":["AlgorithmName"], @@ -3324,6 +3623,13 @@ "AlgorithmName":{"shape":"EntityName"} } }, + "DeleteAppImageConfigRequest":{ + "type":"structure", + "required":["AppImageConfigName"], + "members":{ + "AppImageConfigName":{"shape":"AppImageConfigName"} + } + }, "DeleteAppRequest":{ "type":"structure", "required":[ @@ -3405,6 +3711,34 @@ "members":{ } }, + "DeleteImageRequest":{ + "type":"structure", + "required":["ImageName"], + "members":{ + "ImageName":{"shape":"ImageName"} + } + }, + "DeleteImageResponse":{ + "type":"structure", + "members":{ + } + }, + "DeleteImageVersionRequest":{ + "type":"structure", + "required":[ + "ImageName", + "Version" + ], + "members":{ + "ImageName":{"shape":"ImageName"}, + "Version":{"shape":"ImageVersionNumber"} + } + }, + "DeleteImageVersionResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteModelInput":{ "type":"structure", "required":["ModelName"], @@ -3416,7 +3750,7 @@ "type":"structure", "required":["ModelPackageName"], "members":{ - "ModelPackageName":{"shape":"EntityName"} + "ModelPackageName":{"shape":"VersionedArnOrName"} } }, "DeleteMonitoringScheduleRequest":{ @@ -3562,6 +3896,23 @@ "CertifyForMarketplace":{"shape":"CertifyForMarketplace"} } }, + "DescribeAppImageConfigRequest":{ + "type":"structure", + "required":["AppImageConfigName"], + "members":{ + "AppImageConfigName":{"shape":"AppImageConfigName"} + } + }, + "DescribeAppImageConfigResponse":{ + "type":"structure", + "members":{ + "AppImageConfigArn":{"shape":"AppImageConfigArn"}, + "AppImageConfigName":{"shape":"AppImageConfigName"}, + "CreationTime":{"shape":"Timestamp"}, + "LastModifiedTime":{"shape":"Timestamp"}, + "KernelGatewayImageConfig":{"shape":"KernelGatewayImageConfig"} + } + }, "DescribeAppRequest":{ "type":"structure", "required":[ @@ -3716,11 +4067,11 @@ "FailureReason":{"shape":"FailureReason"}, "AuthMode":{"shape":"AuthMode"}, "DefaultUserSettings":{"shape":"UserSettings"}, + "AppNetworkAccessType":{"shape":"AppNetworkAccessType"}, "HomeEfsFileSystemKmsKeyId":{"shape":"KmsKeyId"}, "SubnetIds":{"shape":"Subnets"}, "Url":{"shape":"String1024"}, - "VpcId":{"shape":"VpcId"}, - "AppNetworkAccessType":{"shape":"AppNetworkAccessType"} + "VpcId":{"shape":"VpcId"} } }, "DescribeEndpointConfigInput":{ @@ -3887,6 +4238,49 @@ "FailureReason":{"shape":"FailureReason"} } }, + "DescribeImageRequest":{ + "type":"structure", + "required":["ImageName"], + "members":{ + "ImageName":{"shape":"ImageName"} + } + }, + "DescribeImageResponse":{ + "type":"structure", + "members":{ + "CreationTime":{"shape":"Timestamp"}, + "Description":{"shape":"ImageDescription"}, + "DisplayName":{"shape":"ImageDisplayName"}, + "FailureReason":{"shape":"FailureReason"}, + "ImageArn":{"shape":"ImageArn"}, + "ImageName":{"shape":"ImageName"}, + "ImageStatus":{"shape":"ImageStatus"}, + "LastModifiedTime":{"shape":"Timestamp"}, + "RoleArn":{"shape":"RoleArn"} + } + }, + "DescribeImageVersionRequest":{ + "type":"structure", + "required":["ImageName"], + "members":{ + "ImageName":{"shape":"ImageName"}, + "Version":{"shape":"ImageVersionNumber"} + } + }, + "DescribeImageVersionResponse":{ + "type":"structure", + "members":{ + "BaseImage":{"shape":"ImageBaseImage"}, + "ContainerImage":{"shape":"ImageContainerImage"}, + "CreationTime":{"shape":"Timestamp"}, + "FailureReason":{"shape":"FailureReason"}, + "ImageArn":{"shape":"ImageArn"}, + "ImageVersionArn":{"shape":"ImageVersionArn"}, + "ImageVersionStatus":{"shape":"ImageVersionStatus"}, + "LastModifiedTime":{"shape":"Timestamp"}, + "Version":{"shape":"ImageVersionNumber"} + } + }, "DescribeLabelingJobRequest":{ "type":"structure", "required":["LabelingJobName"], @@ -3960,7 +4354,7 @@ "type":"structure", "required":["ModelPackageName"], "members":{ - "ModelPackageName":{"shape":"ArnOrName"} + "ModelPackageName":{"shape":"VersionedArnOrName"} } }, "DescribeModelPackageOutput":{ @@ -4432,7 +4826,10 @@ "Deleting", "Failed", "InService", - "Pending" + "Pending", + "Updating", + "Update_Failed", + "Delete_Failed" ] }, "DoubleParameterValue":{"type":"double"}, @@ -4632,7 +5029,7 @@ }, "ExperimentEntityName":{ "type":"string", - "max":82, + "max":120, "min":1, "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*" }, @@ -4675,6 +5072,20 @@ "ro" ] }, + "FileSystemConfig":{ + "type":"structure", + "members":{ + "MountPath":{"shape":"MountPath"}, + "DefaultUid":{ + "shape":"DefaultUid", + "box":true + }, + "DefaultGid":{ + "shape":"DefaultGid", + "box":true + } + } + }, "FileSystemDataSource":{ "type":"structure", "required":[ @@ -4850,7 +5261,8 @@ "ONNX", "PYTORCH", "XGBOOST", - "TFLITE" + "TFLITE", + "DARKNET" ] }, "GenerateCandidateDefinitionsOnly":{"type":"boolean"}, @@ -5027,6 +5439,11 @@ "MetricDefinitions":{"shape":"MetricDefinitionList"} } }, + "HyperParameterKey":{ + "type":"string", + "max":256, + "pattern":".*" + }, "HyperParameterScalingType":{ "type":"string", "enum":[ @@ -5049,7 +5466,7 @@ "Range":{"shape":"ParameterRange"}, "IsTunable":{"shape":"Boolean"}, "IsRequired":{"shape":"Boolean"}, - "DefaultValue":{"shape":"ParameterValue"} + "DefaultValue":{"shape":"HyperParameterValue"} } }, "HyperParameterSpecifications":{ @@ -5244,18 +5661,49 @@ "TransferLearning" ] }, + "HyperParameterValue":{ + "type":"string", + "max":2500, + "pattern":".*" + }, "HyperParameters":{ "type":"map", - "key":{"shape":"ParameterKey"}, - "value":{"shape":"ParameterValue"}, + "key":{"shape":"HyperParameterKey"}, + "value":{"shape":"HyperParameterValue"}, "max":100, "min":0 }, + "Image":{ + "type":"structure", + "required":[ + "CreationTime", + "ImageArn", + "ImageName", + "ImageStatus", + "LastModifiedTime" + ], + "members":{ + "CreationTime":{"shape":"Timestamp"}, + "Description":{"shape":"ImageDescription"}, + "DisplayName":{"shape":"ImageDisplayName"}, + "FailureReason":{"shape":"FailureReason"}, + "ImageArn":{"shape":"ImageArn"}, + "ImageName":{"shape":"ImageName"}, + "ImageStatus":{"shape":"ImageStatus"}, + "LastModifiedTime":{"shape":"Timestamp"} + } + }, "ImageArn":{ "type":"string", "max":256, "pattern":"^arn:aws(-[\\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$" }, + "ImageBaseImage":{ + "type":"string", + "max":255, + "min":1, + "pattern":".*" + }, "ImageConfig":{ "type":"structure", "required":["RepositoryAccessMode"], @@ -5263,16 +5711,144 @@ "RepositoryAccessMode":{"shape":"RepositoryAccessMode"} } }, + "ImageContainerImage":{ + "type":"string", + "max":255, + "min":1 + }, + "ImageDeleteProperty":{ + "type":"string", + "max":11, + "min":1, + "pattern":"(^DisplayName$)|(^Description$)" + }, + "ImageDeletePropertyList":{ + "type":"list", + "member":{"shape":"ImageDeleteProperty"}, + "max":2 + }, + "ImageDescription":{ + "type":"string", + "max":512, + "min":1, + "pattern":"^\\S(.*\\S)?$" + }, "ImageDigest":{ "type":"string", "max":72, "pattern":"^[Ss][Hh][Aa]256:[0-9a-fA-F]{64}$" }, + "ImageDisplayName":{ + "type":"string", + "max":128, + "min":1, + "pattern":"^\\S(.*\\S)?$" + }, + "ImageName":{ + "type":"string", + "max":63, + "min":1, + "pattern":"^[a-zA-Z0-9]([-.]?[a-zA-Z0-9])*$" + }, + "ImageNameContains":{ + "type":"string", + "max":63, + "pattern":"^[a-zA-Z0-9\\-.]+$" + }, + "ImageSortBy":{ + "type":"string", + "enum":[ + "CREATION_TIME", + "LAST_MODIFIED_TIME", + "IMAGE_NAME" + ] + }, + "ImageSortOrder":{ + "type":"string", + "enum":[ + "ASCENDING", + "DESCENDING" + ] + }, + "ImageStatus":{ + "type":"string", + "enum":[ + "CREATING", + "CREATED", + "CREATE_FAILED", + "UPDATING", + "UPDATE_FAILED", + "DELETING", + "DELETE_FAILED" + ] + }, "ImageUri":{ "type":"string", "max":255, "pattern":".*" }, + "ImageVersion":{ + "type":"structure", + "required":[ + "CreationTime", + "ImageArn", + "ImageVersionArn", + "ImageVersionStatus", + "LastModifiedTime", + "Version" + ], + "members":{ + "CreationTime":{"shape":"Timestamp"}, + "FailureReason":{"shape":"FailureReason"}, + "ImageArn":{"shape":"ImageArn"}, + "ImageVersionArn":{"shape":"ImageVersionArn"}, + "ImageVersionStatus":{"shape":"ImageVersionStatus"}, + "LastModifiedTime":{"shape":"Timestamp"}, + "Version":{"shape":"ImageVersionNumber"} + } + }, + "ImageVersionArn":{ + "type":"string", + "max":256, + "pattern":"^arn:aws(-[\\w]+)*:sagemaker:.+:[0-9]{12}:image-version/[a-z0-9]([-.]?[a-z0-9])*/[0-9]+$" + }, + "ImageVersionNumber":{ + "type":"integer", + "min":0 + }, + "ImageVersionSortBy":{ + "type":"string", + "enum":[ + "CREATION_TIME", + "LAST_MODIFIED_TIME", + "VERSION" + ] + }, + "ImageVersionSortOrder":{ + "type":"string", + "enum":[ + "ASCENDING", + "DESCENDING" + ] + }, + "ImageVersionStatus":{ + "type":"string", + "enum":[ + "CREATING", + "CREATED", + "CREATE_FAILED", + "DELETING", + "DELETE_FAILED" + ] + }, + "ImageVersions":{ + "type":"list", + "member":{"shape":"ImageVersion"} + }, + "Images":{ + "type":"list", + "member":{"shape":"Image"} + }, "InferenceSpecification":{ "type":"structure", "required":[ @@ -5439,12 +6015,43 @@ "DefaultResourceSpec":{"shape":"ResourceSpec"} } }, + "KernelDisplayName":{ + "type":"string", + "max":1024 + }, "KernelGatewayAppSettings":{ "type":"structure", "members":{ - "DefaultResourceSpec":{"shape":"ResourceSpec"} + "DefaultResourceSpec":{"shape":"ResourceSpec"}, + "CustomImages":{"shape":"CustomImages"} + } + }, + "KernelGatewayImageConfig":{ + "type":"structure", + "required":["KernelSpecs"], + "members":{ + "KernelSpecs":{"shape":"KernelSpecs"}, + "FileSystemConfig":{"shape":"FileSystemConfig"} + } + }, + "KernelName":{ + "type":"string", + "max":1024 + }, + "KernelSpec":{ + "type":"structure", + "required":["Name"], + "members":{ + "Name":{"shape":"KernelName"}, + "DisplayName":{"shape":"KernelDisplayName"} } }, + "KernelSpecs":{ + "type":"list", + "member":{"shape":"KernelSpec"}, + "max":1, + "min":1 + }, "KmsKeyId":{ "type":"string", "max":2048, @@ -5656,6 +6263,27 @@ "NextToken":{"shape":"NextToken"} } }, + "ListAppImageConfigsRequest":{ + "type":"structure", + "members":{ + "MaxResults":{"shape":"MaxResults"}, + "NextToken":{"shape":"NextToken"}, + "NameContains":{"shape":"AppImageConfigName"}, + "CreationTimeBefore":{"shape":"Timestamp"}, + "CreationTimeAfter":{"shape":"Timestamp"}, + "ModifiedTimeBefore":{"shape":"Timestamp"}, + "ModifiedTimeAfter":{"shape":"Timestamp"}, + "SortBy":{"shape":"AppImageConfigSortKey"}, + "SortOrder":{"shape":"SortOrder"} + } + }, + "ListAppImageConfigsResponse":{ + "type":"structure", + "members":{ + "NextToken":{"shape":"NextToken"}, + "AppImageConfigs":{"shape":"AppImageConfigList"} + } + }, "ListAppsRequest":{ "type":"structure", "members":{ @@ -5923,6 +6551,49 @@ "NextToken":{"shape":"NextToken"} } }, + "ListImageVersionsRequest":{ + "type":"structure", + "required":["ImageName"], + "members":{ + "CreationTimeAfter":{"shape":"Timestamp"}, + "CreationTimeBefore":{"shape":"Timestamp"}, + "ImageName":{"shape":"ImageName"}, + "LastModifiedTimeAfter":{"shape":"Timestamp"}, + "LastModifiedTimeBefore":{"shape":"Timestamp"}, + "MaxResults":{"shape":"MaxResults"}, + "NextToken":{"shape":"NextToken"}, + "SortBy":{"shape":"ImageVersionSortBy"}, + "SortOrder":{"shape":"ImageVersionSortOrder"} + } + }, + "ListImageVersionsResponse":{ + "type":"structure", + "members":{ + "ImageVersions":{"shape":"ImageVersions"}, + "NextToken":{"shape":"NextToken"} + } + }, + "ListImagesRequest":{ + "type":"structure", + "members":{ + "CreationTimeAfter":{"shape":"Timestamp"}, + "CreationTimeBefore":{"shape":"Timestamp"}, + "LastModifiedTimeAfter":{"shape":"Timestamp"}, + "LastModifiedTimeBefore":{"shape":"Timestamp"}, + "MaxResults":{"shape":"MaxResults"}, + "NameContains":{"shape":"ImageNameContains"}, + "NextToken":{"shape":"NextToken"}, + "SortBy":{"shape":"ImageSortBy"}, + "SortOrder":{"shape":"ImageSortOrder"} + } + }, + "ListImagesResponse":{ + "type":"structure", + "members":{ + "Images":{"shape":"Images"}, + "NextToken":{"shape":"NextToken"} + } + }, "ListLabelingJobsForWorkteamRequest":{ "type":"structure", "required":["WorkteamArn"], @@ -6421,7 +7092,7 @@ "MediaType":{ "type":"string", "max":64, - "pattern":"^[\\w]+\\/[\\w+]+$" + "pattern":"^[-\\w]+\\/[-\\w+]+$" }, "MemberDefinition":{ "type":"structure", @@ -6868,6 +7539,11 @@ "MaxRuntimeInSeconds":{"shape":"MonitoringMaxRuntimeInSeconds"} } }, + "MountPath":{ + "type":"string", + "max":1024, + "pattern":"^\\/.*" + }, "NameContains":{ "type":"string", "max":63, @@ -7852,6 +8528,7 @@ "type":"structure", "members":{ "SageMakerImageArn":{"shape":"ImageArn"}, + "SageMakerImageVersionArn":{"shape":"ImageVersionArn"}, "InstanceType":{"shape":"AppInstanceType"} } }, @@ -8119,7 +8796,7 @@ "SnsTopicArn":{ "type":"string", "max":2048, - "pattern":"arn:aws[a-z\\-]*:sns:[a-z0-9\\-]*:[0-9]{12}:[a-zA-Z0-9_.-]*" + "pattern":"arn:aws[a-z\\-]*:sns:[a-z0-9\\-]*:[0-9]{12}:[a-zA-Z0-9_.-]+" }, "SortBy":{ "type":"string", @@ -8572,6 +9249,7 @@ "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", + "ml.p4d.24xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", @@ -9183,6 +9861,20 @@ "ContentSha256":{"shape":"TemplateContentSha256"} } }, + "UpdateAppImageConfigRequest":{ + "type":"structure", + "required":["AppImageConfigName"], + "members":{ + "AppImageConfigName":{"shape":"AppImageConfigName"}, + "KernelGatewayImageConfig":{"shape":"KernelGatewayImageConfig"} + } + }, + "UpdateAppImageConfigResponse":{ + "type":"structure", + "members":{ + "AppImageConfigArn":{"shape":"AppImageConfigArn"} + } + }, "UpdateCodeRepositoryInput":{ "type":"structure", "required":["CodeRepositoryName"], @@ -9265,6 +9957,23 @@ "ExperimentArn":{"shape":"ExperimentArn"} } }, + "UpdateImageRequest":{ + "type":"structure", + "required":["ImageName"], + "members":{ + "DeleteProperties":{"shape":"ImageDeletePropertyList"}, + "Description":{"shape":"ImageDescription"}, + "DisplayName":{"shape":"ImageDisplayName"}, + "ImageName":{"shape":"ImageName"}, + "RoleArn":{"shape":"RoleArn"} + } + }, + "UpdateImageResponse":{ + "type":"structure", + "members":{ + "ImageArn":{"shape":"ImageArn"} + } + }, "UpdateMonitoringScheduleRequest":{ "type":"structure", "required":[ @@ -9459,7 +10168,10 @@ "Deleting", "Failed", "InService", - "Pending" + "Pending", + "Updating", + "Update_Failed", + "Delete_Failed" ] }, "UserSettings":{ @@ -9503,6 +10215,12 @@ "type":"float", "min":0 }, + "VersionedArnOrName":{ + "type":"string", + "max":176, + "min":1, + "pattern":"(arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:[a-z\\-]*\\/)?([a-zA-Z0-9]([a-zA-Z0-9-]){0,62})(?Associates a trial component with a trial. A trial component can be associated with multiple trials. To disassociate a trial component from a trial, call the DisassociateTrialComponent API.

", "CreateAlgorithm": "

Create a machine learning algorithm that you can use in Amazon SageMaker and list in the AWS Marketplace.

", "CreateApp": "

Creates a running App for the specified UserProfile. Supported Apps are JupyterServer and KernelGateway. This operation is automatically invoked by Amazon SageMaker Studio upon access to the associated Domain, and when new kernel configurations are selected by the user. A user may have multiple Apps active simultaneously.

", + "CreateAppImageConfig": "

Creates a configuration for running an Amazon SageMaker image as a KernelGateway app.

", "CreateAutoMLJob": "

Creates an Autopilot job.

Find the best performing model after you run an Autopilot job by calling . Deploy that model by following the steps described in Step 6.1: Deploy the Model to Amazon SageMaker Hosting Services.

For information about how to use Autopilot, see Automate Model Development with Amazon SageMaker Autopilot.

", "CreateCodeRepository": "

Creates a Git repository as a resource in your Amazon SageMaker account. You can associate the repository with notebook instances so that you can use Git source control for the notebooks you create. The Git repository is a resource in your Amazon SageMaker account, so it can be associated with more than one notebook instance, and it persists independently from the lifecycle of any notebook instances it is associated with.

The repository can be hosted either in AWS CodeCommit or in any other Git repository.

", "CreateCompilationJob": "

Starts a model compilation job. After the model has been compiled, Amazon SageMaker saves the resulting model artifacts to an Amazon Simple Storage Service (Amazon S3) bucket that you specify.

If you choose to host your model using Amazon SageMaker hosting services, you can use the resulting model artifacts as part of the model. You can also use the artifacts with AWS IoT Greengrass. In that case, deploy them as an ML resource.

In the request body, you provide the following:

You can also provide a Tag to track the model compilation job's resource use and costs. The response body contains the CompilationJobArn for the compiled job.

To stop a model compilation job, use StopCompilationJob. To get information about a particular model compilation job, use DescribeCompilationJob. To get information about multiple model compilation jobs, use ListCompilationJobs.

", - "CreateDomain": "

Creates a Domain used by Amazon SageMaker Studio. A domain consists of an associated Amazon Elastic File System (EFS) volume, a list of authorized users, and a variety of security, application, policy, and Amazon Virtual Private Cloud (VPC) configurations. An AWS account is limited to one domain per region. Users within a domain can share notebook files and other artifacts with each other.

When a domain is created, an EFS volume is created for use by all of the users within the domain. Each user receives a private home directory within the EFS volume for notebooks, Git repositories, and data files.

VPC configuration

All SageMaker Studio traffic between the domain and the EFS volume is through the specified VPC and subnets. For other Studio traffic, you can specify the AppNetworkAccessType parameter. AppNetworkAccessType corresponds to the network access type that you choose when you onboard to Studio. The following options are available:

VpcOnly network access type

When you choose VpcOnly, you must specify the following:

For more information, see:

", + "CreateDomain": "

Creates a Domain used by Amazon SageMaker Studio. A domain consists of an associated Amazon Elastic File System (EFS) volume, a list of authorized users, and a variety of security, application, policy, and Amazon Virtual Private Cloud (VPC) configurations. An AWS account is limited to one domain per region. Users within a domain can share notebook files and other artifacts with each other.

When a domain is created, an EFS volume is created for use by all of the users within the domain. Each user receives a private home directory within the EFS volume for notebooks, Git repositories, and data files.

VPC configuration

All SageMaker Studio traffic between the domain and the EFS volume is through the specified VPC and subnets. For other Studio traffic, you can specify the AppNetworkAccessType parameter. AppNetworkAccessType corresponds to the network access type that you choose when you onboard to Studio. The following options are available:

For more information, see Connect SageMaker Studio Notebooks to Resources in a VPC.

", "CreateEndpoint": "

Creates an endpoint using the endpoint configuration specified in the request. Amazon SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API.

Use this API to deploy models using Amazon SageMaker hosting services.

For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see Deploy the Model to Amazon SageMaker Hosting Services (AWS SDK for Python (Boto 3)).

You must not delete an EndpointConfig that is in use by an endpoint that is live or while the UpdateEndpoint or CreateEndpoint operations are being performed on the endpoint. To update an endpoint, you must create a new EndpointConfig.

The endpoint name must be unique within an AWS Region in your AWS account.

When it receives the request, Amazon SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them.

When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read.

When Amazon SageMaker receives the request, it sets the endpoint status to Creating. After it creates the endpoint, it sets the status to InService. Amazon SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint API.

If any of the models hosted at this endpoint get model data from an Amazon S3 location, Amazon SageMaker uses AWS Security Token Service to download model artifacts from the S3 path you provided. AWS STS is activated in your IAM user account by default. If you previously deactivated AWS STS for a region, you need to reactivate AWS STS for that region. For more information, see Activating and Deactivating AWS STS in an AWS Region in the AWS Identity and Access Management User Guide.

", "CreateEndpointConfig": "

Creates an endpoint configuration that Amazon SageMaker hosting services uses to deploy models. In the configuration, you identify one or more models, created using the CreateModel API, to deploy and the resources that you want Amazon SageMaker to provision. Then you call the CreateEndpoint API.

Use this API if you want to use Amazon SageMaker hosting services to deploy models into production.

In the request, you define a ProductionVariant, for each model that you want to deploy. Each ProductionVariant parameter also describes the resources that you want Amazon SageMaker to provision. This includes the number and type of ML compute instances to deploy.

If you are hosting multiple models, you also assign a VariantWeight to specify how much traffic you want to allocate to each model. For example, suppose that you want to host two models, A and B, and you assign traffic weight 2 for model A and 1 for model B. Amazon SageMaker distributes two-thirds of the traffic to Model A, and one-third to model B.

For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see Deploy the Model to Amazon SageMaker Hosting Services (AWS SDK for Python (Boto 3)).

When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read.

", "CreateExperiment": "

Creates an SageMaker experiment. An experiment is a collection of trials that are observed, compared and evaluated as a group. A trial is a set of steps, called trial components, that produce a machine learning model.

The goal of an experiment is to determine the components that produce the best model. Multiple trials are performed, each one isolating and measuring the impact of a change to one or more inputs, while keeping the remaining inputs constant.

When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK, all experiments, trials, and trial components are automatically tracked, logged, and indexed. When you use the AWS SDK for Python (Boto), you must use the logging APIs provided by the SDK.

You can add tags to experiments, trials, trial components and then use the Search API to search for the tags.

To add a description to an experiment, specify the optional Description parameter. To add a description later, or to change the description, call the UpdateExperiment API.

To get a list of all your experiments, call the ListExperiments API. To view an experiment's properties, call the DescribeExperiment API. To get a list of all the trials associated with an experiment, call the ListTrials API. To create a trial call the CreateTrial API.

", "CreateFlowDefinition": "

Creates a flow definition.

", "CreateHumanTaskUi": "

Defines the settings you will use for the human review workflow user interface. Reviewers will see a three-panel interface with an instruction area, the item to review, and an input area.

", "CreateHyperParameterTuningJob": "

Starts a hyperparameter tuning job. A hyperparameter tuning job finds the best version of a model by running many training jobs on your dataset using the algorithm you choose and values for hyperparameters within ranges that you specify. It then chooses the hyperparameter values that result in a model that performs the best, as measured by an objective metric that you choose.

", + "CreateImage": "

Creates a SageMaker Image. A SageMaker image represents a set of container images. Each of these container images is represented by a SageMaker ImageVersion.

", + "CreateImageVersion": "

Creates a version of the SageMaker image specified by ImageName. The version represents the Amazon Container Registry (ECR) container image specified by BaseImage.

", "CreateLabelingJob": "

Creates a job that uses workers to label the data objects in your input dataset. You can use the labeled data to train machine learning models.

You can select your workforce from one of three providers:

You can also use automated data labeling to reduce the number of data objects that need to be labeled by a human. Automated data labeling uses active learning to determine if a data object can be labeled by machine or if it needs to be sent to a human worker. For more information, see Using Automated Data Labeling.

The data objects to be labeled are contained in an Amazon S3 bucket. You create a manifest file that describes the location of each object. For more information, see Using Input and Output Data.

The output can be used as the manifest file for another labeling job or as training data for your machine learning models.

", "CreateModel": "

Creates a model in Amazon SageMaker. In the request, you name the model and describe a primary container. For the primary container, you specify the Docker image that contains inference code, artifacts (from prior training), and a custom environment map that the inference code uses when you deploy the model for predictions.

Use this API to create a model if you want to use Amazon SageMaker hosting services or run a batch transform job.

To host your model, you create an endpoint configuration with the CreateEndpointConfig API, and then create an endpoint with the CreateEndpoint API. Amazon SageMaker then deploys all of the containers that you defined for the model in the hosting environment.

For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see Deploy the Model to Amazon SageMaker Hosting Services (AWS SDK for Python (Boto 3)).

To run a batch transform using your model, you start a job with the CreateTransformJob API. Amazon SageMaker uses your model and your dataset to get inferences which are then saved to a specified S3 location.

In the CreateModel request, you must define a container with the PrimaryContainer parameter.

In the request, you also provide an IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on ML compute hosting instances or for batch transform jobs. In addition, you also use the IAM role to manage permissions the inference code needs. For example, if the inference code access any other AWS resources, you grant necessary permissions via this role.

", "CreateModelPackage": "

Creates a model package that you can use to create Amazon SageMaker models or list on AWS Marketplace. Buyers can subscribe to model packages listed on AWS Marketplace to create models in Amazon SageMaker.

To create a model package by specifying a Docker container that contains your inference code and the Amazon S3 location of your model artifacts, provide values for InferenceSpecification. To create a model from an algorithm resource that you created or subscribed to in AWS Marketplace, provide a value for SourceAlgorithmSpecification.

", @@ -34,6 +37,7 @@ "CreateWorkteam": "

Creates a new work team for labeling your data. A work team is defined by one or more Amazon Cognito user pools. You must first create the user pools before you can create a work team.

You cannot create more than 25 work teams in an account and region.

", "DeleteAlgorithm": "

Removes the specified algorithm from your account.

", "DeleteApp": "

Used to stop and delete an app.

", + "DeleteAppImageConfig": "

Deletes an AppImageConfig.

", "DeleteCodeRepository": "

Deletes the specified Git repository from your account.

", "DeleteDomain": "

Used to delete a domain. If you onboarded with IAM mode, you will need to delete your domain to onboard again using SSO. Use with caution. All of the members of the domain will lose access to their EFS volume, including data, notebooks, and other artifacts.

", "DeleteEndpoint": "

Deletes an endpoint. Amazon SageMaker frees up all of the resources that were deployed when the endpoint was created.

Amazon SageMaker retires any custom KMS key grants associated with the endpoint, meaning you don't need to use the RevokeGrant API call.

", @@ -41,6 +45,8 @@ "DeleteExperiment": "

Deletes an Amazon SageMaker experiment. All trials associated with the experiment must be deleted first. Use the ListTrials API to get a list of the trials associated with the experiment.

", "DeleteFlowDefinition": "

Deletes the specified flow definition.

", "DeleteHumanTaskUi": "

Use this operation to delete a human task user interface (worker task template).

To see a list of human task user interfaces (work task templates) in your account, use . When you delete a worker task template, it no longer appears when you call ListHumanTaskUis.

", + "DeleteImage": "

Deletes a SageMaker image and all versions of the image. The container images aren't deleted.

", + "DeleteImageVersion": "

Deletes a version of a SageMaker image. The container image the version represents isn't deleted.

", "DeleteModel": "

Deletes a model. The DeleteModel API deletes only the model entry that was created in Amazon SageMaker when you called the CreateModel API. It does not delete model artifacts, inference code, or the IAM role that you specified when creating the model.

", "DeleteModelPackage": "

Deletes a model package.

A model package is used to create Amazon SageMaker models or list on AWS Marketplace. Buyers can subscribe to model packages listed on AWS Marketplace to create models in Amazon SageMaker.

", "DeleteMonitoringSchedule": "

Deletes a monitoring schedule. Also stops the schedule had not already been stopped. This does not delete the job execution history of the monitoring schedule.

", @@ -54,6 +60,7 @@ "DeleteWorkteam": "

Deletes an existing work team. This operation can't be undone.

", "DescribeAlgorithm": "

Returns a description of the specified algorithm that is in your account.

", "DescribeApp": "

Describes the app.

", + "DescribeAppImageConfig": "

Describes an AppImageConfig.

", "DescribeAutoMLJob": "

Returns information about an Amazon SageMaker job.

", "DescribeCodeRepository": "

Gets details about the specified Git repository.

", "DescribeCompilationJob": "

Returns information about a model compilation job.

To create a model compilation job, use CreateCompilationJob. To get information about multiple model compilation jobs, use ListCompilationJobs.

", @@ -64,6 +71,8 @@ "DescribeFlowDefinition": "

Returns information about the specified flow definition.

", "DescribeHumanTaskUi": "

Returns information about the requested human task user interface (worker task template).

", "DescribeHyperParameterTuningJob": "

Gets a description of a hyperparameter tuning job.

", + "DescribeImage": "

Describes a SageMaker image.

", + "DescribeImageVersion": "

Describes a version of a SageMaker image.

", "DescribeLabelingJob": "

Gets information about a labeling job.

", "DescribeModel": "

Describes a model that you created using the CreateModel API.

", "DescribeModelPackage": "

Returns a description of the specified model package, which is used to create Amazon SageMaker models or list them on AWS Marketplace.

To create models in Amazon SageMaker, buyers can subscribe to model packages listed on AWS Marketplace.

", @@ -82,6 +91,7 @@ "DisassociateTrialComponent": "

Disassociates a trial component from a trial. This doesn't effect other trials the component is associated with. Before you can delete a component, you must disassociate the component from all trials it is associated with. To associate a trial component with a trial, call the AssociateTrialComponent API.

To get a list of the trials a component is associated with, use the Search API. Specify ExperimentTrialComponent for the Resource parameter. The list appears in the response under Results.TrialComponent.Parents.

", "GetSearchSuggestions": "

An auto-complete API for the search functionality in the Amazon SageMaker console. It returns suggestions of possible matches for the property name to use in Search queries. Provides suggestions for HyperParameters, Tags, and Metrics.

", "ListAlgorithms": "

Lists the machine learning algorithms that have been created.

", + "ListAppImageConfigs": "

Lists the AppImageConfigs in your account and their properties. The list can be filtered by creation time or modified time, and whether the AppImageConfig name contains a specified string.

", "ListApps": "

Lists apps.

", "ListAutoMLJobs": "

Request a list of jobs.

", "ListCandidatesForAutoMLJob": "

List the Candidates created for the job.

", @@ -94,6 +104,8 @@ "ListFlowDefinitions": "

Returns information about the flow definitions in your account.

", "ListHumanTaskUis": "

Returns information about the human task user interfaces in your account.

", "ListHyperParameterTuningJobs": "

Gets a list of HyperParameterTuningJobSummary objects that describe the hyperparameter tuning jobs launched in your account.

", + "ListImageVersions": "

Lists the versions of a specified image and their properties. The list can be filtered by creation time or modified time.

", + "ListImages": "

Lists the images in your account and their properties. The list can be filtered by creation time or modified time, and whether the image name contains a specified string.

", "ListLabelingJobs": "

Gets a list of labeling jobs.

", "ListLabelingJobsForWorkteam": "

Gets a list of labeling jobs assigned to a specified work team.

", "ListModelPackages": "

Lists the model packages that have been created.

", @@ -126,11 +138,13 @@ "StopProcessingJob": "

Stops a processing job.

", "StopTrainingJob": "

Stops a training job. To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which delays job termination for 120 seconds. Algorithms might use this 120-second window to save the model artifacts, so the results of the training is not lost.

When it receives a StopTrainingJob request, Amazon SageMaker changes the status of the job to Stopping. After Amazon SageMaker stops the job, it sets the status to Stopped.

", "StopTransformJob": "

Stops a transform job.

When Amazon SageMaker receives a StopTransformJob request, the status of the job changes to Stopping. After Amazon SageMaker stops the job, the status is set to Stopped. When you stop a transform job before it is completed, Amazon SageMaker doesn't store the job's output in Amazon S3.

", + "UpdateAppImageConfig": "

Updates the properties of an AppImageConfig.

", "UpdateCodeRepository": "

Updates the specified Git repository with the specified values.

", "UpdateDomain": "

Updates the default settings for new user profiles in the domain.

", "UpdateEndpoint": "

Deploys the new EndpointConfig specified in the request, switches to using newly created endpoint, and then deletes resources provisioned for the endpoint using the previous EndpointConfig (there is no availability loss).

When Amazon SageMaker receives the request, it sets the endpoint status to Updating. After updating the endpoint, it sets the status to InService. To check the status of an endpoint, use the DescribeEndpoint API.

You must not delete an EndpointConfig in use by an endpoint that is live or while the UpdateEndpoint or CreateEndpoint operations are being performed on the endpoint. To update an endpoint, you must create a new EndpointConfig.

If you delete the EndpointConfig of an endpoint that is active or being created or updated you may lose visibility into the instance type the endpoint is using. The endpoint must be deleted in order to stop incurring charges.

", "UpdateEndpointWeightsAndCapacities": "

Updates variant weight of one or more variants associated with an existing endpoint, or capacity of one variant associated with an existing endpoint. When it receives the request, Amazon SageMaker sets the endpoint status to Updating. After updating the endpoint, it sets the status to InService. To check the status of an endpoint, use the DescribeEndpoint API.

", "UpdateExperiment": "

Adds, updates, or removes the description of an experiment. Updates the display name of an experiment.

", + "UpdateImage": "

Updates the properties of a SageMaker image. To change the image's tags, use the AddTags and DeleteTags APIs.

", "UpdateMonitoringSchedule": "

Updates a previously created schedule.

", "UpdateNotebookInstance": "

Updates a notebook instance. NotebookInstance updates include upgrading or downgrading the ML compute instance used for your notebook instance to accommodate changes in your workload requirements.

", "UpdateNotebookInstanceLifecycleConfig": "

Updates a notebook instance lifecycle configuration created with the CreateNotebookInstanceLifecycleConfig API.

", @@ -268,20 +282,60 @@ "AppArn": { "base": null, "refs": { - "CreateAppResponse$AppArn": "

The App's Amazon Resource Name (ARN).

", - "DescribeAppResponse$AppArn": "

The app's Amazon Resource Name (ARN).

" + "CreateAppResponse$AppArn": "

The Amazon Resource Name (ARN) of the app.

", + "DescribeAppResponse$AppArn": "

The Amazon Resource Name (ARN) of the app.

" } }, "AppDetails": { - "base": "

The app's details.

", + "base": "

Details about an Amazon SageMaker app.

", "refs": { "AppList$member": null } }, + "AppImageConfigArn": { + "base": null, + "refs": { + "AppImageConfigDetails$AppImageConfigArn": "

The Amazon Resource Name (ARN) of the AppImageConfig.

", + "CreateAppImageConfigResponse$AppImageConfigArn": "

The Amazon Resource Name (ARN) of the AppImageConfig.

", + "DescribeAppImageConfigResponse$AppImageConfigArn": "

The Amazon Resource Name (ARN) of the AppImageConfig.

", + "UpdateAppImageConfigResponse$AppImageConfigArn": "

The Amazon Resource Name (ARN) for the AppImageConfig.

" + } + }, + "AppImageConfigDetails": { + "base": "

The configuration for running an Amazon SageMaker image as a KernelGateway app.

", + "refs": { + "AppImageConfigList$member": null + } + }, + "AppImageConfigList": { + "base": null, + "refs": { + "ListAppImageConfigsResponse$AppImageConfigs": "

A list of AppImageConfigs and their properties.

" + } + }, + "AppImageConfigName": { + "base": null, + "refs": { + "AppImageConfigDetails$AppImageConfigName": "

The name of the AppImageConfig.

", + "CreateAppImageConfigRequest$AppImageConfigName": "

The name of the AppImageConfig. Must be unique to your account.

", + "CustomImage$AppImageConfigName": "

The name of the AppImageConfig.

", + "DeleteAppImageConfigRequest$AppImageConfigName": "

The name of the AppImageConfig to delete.

", + "DescribeAppImageConfigRequest$AppImageConfigName": "

The name of the AppImageConfig to describe.

", + "DescribeAppImageConfigResponse$AppImageConfigName": "

The name of the AppImageConfig.

", + "ListAppImageConfigsRequest$NameContains": "

A filter that returns only AppImageConfigs whose name contains the specified string.

", + "UpdateAppImageConfigRequest$AppImageConfigName": "

The name of the AppImageConfig to update.

" + } + }, + "AppImageConfigSortKey": { + "base": null, + "refs": { + "ListAppImageConfigsRequest$SortBy": "

The property used to sort results. The default value is CreationTime.

" + } + }, "AppInstanceType": { "base": null, "refs": { - "ResourceSpec$InstanceType": "

The instance type.

" + "ResourceSpec$InstanceType": "

The instance type that the image version runs on.

" } }, "AppList": { @@ -342,9 +396,7 @@ "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 AWS Marketplace. If you specify a value for this parameter, you can't specify a value for TrainingImage.

", - "ContainerDefinition$ModelPackageName": "

The name or Amazon Resource Name (ARN) of the model package to use to create the model.

", "DescribeAlgorithmInput$AlgorithmName": "

The name of the algorithm to describe.

", - "DescribeModelPackageInput$ModelPackageName": "

The name of the model package to describe.

", "HyperParameterAlgorithmSpecification$AlgorithmName": "

The name of the resource algorithm to use for the hyperparameter tuning job. If you specify a value for this parameter, do not specify a value for TrainingImage.

", "SourceAlgorithm$AlgorithmName": "

The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your Amazon SageMaker account or an algorithm in AWS Marketplace that you are subscribed to.

" } @@ -822,6 +874,12 @@ "OidcConfig$ClientSecret": "

The OIDC IdP client secret used to configure your private workforce.

" } }, + "ClientToken": { + "base": null, + "refs": { + "CreateImageVersionRequest$ClientToken": "

A unique ID. If not specified, the AWS CLI and AWS SDKs, such as the SDK for Python (Boto3), add a unique value to the call.

" + } + }, "CodeRepositoryArn": { "base": null, "refs": { @@ -959,7 +1017,7 @@ "CompilerOptions": { "base": null, "refs": { - "OutputConfig$CompilerOptions": "

Specifies additional parameters for compiler options in JSON format. The compiler options are TargetPlatform specific. It is required for NVIDIA accelerators and highly recommended for CPU compilations. For any other cases, it is optional to specify CompilerOptions.

" + "OutputConfig$CompilerOptions": "

Specifies additional parameters for compiler options in JSON format. The compiler options are TargetPlatform specific. It is required for NVIDIA accelerators and highly recommended for CPU compilations. For any other cases, it is optional to specify CompilerOptions.

" } }, "CompressionType": { @@ -1118,6 +1176,16 @@ "refs": { } }, + "CreateAppImageConfigRequest": { + "base": null, + "refs": { + } + }, + "CreateAppImageConfigResponse": { + "base": null, + "refs": { + } + }, "CreateAppRequest": { "base": null, "refs": { @@ -1228,6 +1296,26 @@ "refs": { } }, + "CreateImageRequest": { + "base": null, + "refs": { + } + }, + "CreateImageResponse": { + "base": null, + "refs": { + } + }, + "CreateImageVersionRequest": { + "base": null, + "refs": { + } + }, + "CreateImageVersionResponse": { + "base": null, + "refs": { + } + }, "CreateLabelingJobRequest": { "base": null, "refs": { @@ -1435,6 +1523,18 @@ "CaptureContentTypeHeader$CsvContentTypes": "

" } }, + "CustomImage": { + "base": "

A custom image.

", + "refs": { + "CustomImages$member": null + } + }, + "CustomImages": { + "base": null, + "refs": { + "KernelGatewayAppSettings$CustomImages": "

A list of custom images that are configured to run as a KernelGateway app.

" + } + }, "DataCaptureConfig": { "base": "

", "refs": { @@ -1509,11 +1609,28 @@ "TrainingJob$DebugRuleEvaluationStatuses": "

Information about the evaluation status of the rules for the training job.

" } }, + "DefaultGid": { + "base": null, + "refs": { + "FileSystemConfig$DefaultGid": "

The default POSIX group ID. If not specified, defaults to 100.

" + } + }, + "DefaultUid": { + "base": null, + "refs": { + "FileSystemConfig$DefaultUid": "

The default POSIX user ID. If not specified, defaults to 1000.

" + } + }, "DeleteAlgorithmInput": { "base": null, "refs": { } }, + "DeleteAppImageConfigRequest": { + "base": null, + "refs": { + } + }, "DeleteAppRequest": { "base": null, "refs": { @@ -1569,6 +1686,26 @@ "refs": { } }, + "DeleteImageRequest": { + "base": null, + "refs": { + } + }, + "DeleteImageResponse": { + "base": null, + "refs": { + } + }, + "DeleteImageVersionRequest": { + "base": null, + "refs": { + } + }, + "DeleteImageVersionResponse": { + "base": null, + "refs": { + } + }, "DeleteModelInput": { "base": null, "refs": { @@ -1671,6 +1808,16 @@ "refs": { } }, + "DescribeAppImageConfigRequest": { + "base": null, + "refs": { + } + }, + "DescribeAppImageConfigResponse": { + "base": null, + "refs": { + } + }, "DescribeAppRequest": { "base": null, "refs": { @@ -1781,6 +1928,26 @@ "refs": { } }, + "DescribeImageRequest": { + "base": null, + "refs": { + } + }, + "DescribeImageResponse": { + "base": null, + "refs": { + } + }, + "DescribeImageVersionRequest": { + "base": null, + "refs": { + } + }, + "DescribeImageVersionResponse": { + "base": null, + "refs": { + } + }, "DescribeLabelingJobRequest": { "base": null, "refs": { @@ -2162,7 +2329,7 @@ "EndpointName": { "base": null, "refs": { - "CreateEndpointInput$EndpointName": "

The name of the endpoint. The name must be unique within an AWS Region in your AWS account.

", + "CreateEndpointInput$EndpointName": "

The name of the endpoint.The name must be unique within an AWS Region in your AWS account. The name is case-insensitive in CreateEndpoint, but the case is preserved and must be matched in .

", "DeleteEndpointInput$EndpointName": "

The name of the endpoint that you want to delete.

", "DescribeEndpointInput$EndpointName": "

The name of the endpoint.

", "DescribeEndpointOutput$EndpointName": "

Name of the endpoint.

", @@ -2236,7 +2403,6 @@ "CreateModelPackageInput$ModelPackageName": "

The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

", "DeleteAlgorithmInput$AlgorithmName": "

The name of the algorithm to delete.

", "DeleteCodeRepositoryInput$CodeRepositoryName": "

The name of the Git repository to delete.

", - "DeleteModelPackageInput$ModelPackageName": "

The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

", "DescribeAlgorithmOutput$AlgorithmName": "

The name of the algorithm being described.

", "DescribeCodeRepositoryInput$CodeRepositoryName": "

The name of the Git repository to describe.

", "DescribeCodeRepositoryOutput$CodeRepositoryName": "

The name of the Git repository.

", @@ -2418,6 +2584,8 @@ "DescribeEndpointOutput$FailureReason": "

If the status of the endpoint is Failed, the reason why it failed.

", "DescribeFlowDefinitionResponse$FailureReason": "

The reason your flow definition failed.

", "DescribeHyperParameterTuningJobResponse$FailureReason": "

If the tuning job failed, the reason it failed.

", + "DescribeImageResponse$FailureReason": "

When a create, update, or delete operation fails, the reason for the failure.

", + "DescribeImageVersionResponse$FailureReason": "

When a create or delete operation fails, the reason for the failure.

", "DescribeLabelingJobResponse$FailureReason": "

If the job failed, the reason that it failed.

", "DescribeMonitoringScheduleResponse$FailureReason": "

A string, up to one KB in size, that contains the reason a monitoring job failed, if it failed.

", "DescribeNotebookInstanceOutput$FailureReason": "

If status is Failed, the reason it failed.

", @@ -2427,6 +2595,8 @@ "DescribeUserProfileResponse$FailureReason": "

The failure reason.

", "FlowDefinitionSummary$FailureReason": "

The reason why the flow definition creation failed. A failure reason is returned only when the flow definition status is Failed.

", "HyperParameterTrainingJobSummary$FailureReason": "

The reason that the training job failed.

", + "Image$FailureReason": "

When a create, update, or delete operation fails, the reason for the failure.

", + "ImageVersion$FailureReason": "

When a create or delete operation fails, the reason for the failure.

", "LabelingJobSummary$FailureReason": "

If the LabelingJobStatus field is Failed, this field contains a description of the error.

", "MonitoringExecutionSummary$FailureReason": "

Contains the reason a monitoring job failed, if it failed.

", "ProcessingJob$FailureReason": "

A string, up to one KB in size, that contains the reason a processing job failed, if it failed.

", @@ -2445,6 +2615,12 @@ "FileSystemDataSource$FileSystemAccessMode": "

The access mode of the mount of the directory associated with the channel. A directory can be mounted either in ro (read-only) or rw (read-write) mode.

" } }, + "FileSystemConfig": { + "base": "

The Amazon Elastic File System (EFS) storage configuration for an image.

", + "refs": { + "KernelGatewayImageConfig$FileSystemConfig": "

The file system configuration.

" + } + }, "FileSystemDataSource": { "base": "

Specifies a file system data source for a channel.

", "refs": { @@ -2739,6 +2915,12 @@ "HyperParameterTrainingJobDefinition$AlgorithmSpecification": "

The HyperParameterAlgorithmSpecification object that specifies the resource algorithm to use for the training jobs that the tuning job launches.

" } }, + "HyperParameterKey": { + "base": null, + "refs": { + "HyperParameters$key": null + } + }, "HyperParameterScalingType": { "base": null, "refs": { @@ -2814,7 +2996,7 @@ "HyperParameterTuningJobName": { "base": null, "refs": { - "CreateHyperParameterTuningJobRequest$HyperParameterTuningJobName": "

The name of the tuning job. This name is the prefix for the names of all training jobs that this tuning job launches. The name must be unique within the same AWS account and AWS Region. The name must have { } to { } characters. Valid characters are a-z, A-Z, 0-9, and : + = @ _ % - (hyphen). The name is not case sensitive.

", + "CreateHyperParameterTuningJobRequest$HyperParameterTuningJobName": "

The name of the tuning job. This name is the prefix for the names of all training jobs that this tuning job launches. The name must be unique within the same AWS account and AWS Region. The name must have 1 to 32 characters. Valid characters are a-z, A-Z, 0-9, and : + = @ _ % - (hyphen). The name is not case sensitive.

", "DescribeHyperParameterTuningJobRequest$HyperParameterTuningJobName": "

The name of the tuning job.

", "DescribeHyperParameterTuningJobResponse$HyperParameterTuningJobName": "

The name of the tuning job.

", "HyperParameterTrainingJobSummary$TuningJobName": "

The HyperParameter tuning job that launched the training job.

", @@ -2891,6 +3073,13 @@ "HyperParameterTuningJobWarmStartConfig$WarmStartType": "

Specifies one of the following:

IDENTICAL_DATA_AND_ALGORITHM

The new hyperparameter tuning job uses the same input data and training image as the parent tuning jobs. You can change the hyperparameter ranges to search and the maximum number of training jobs that the hyperparameter tuning job launches. You cannot use a new version of the training algorithm, unless the changes in the new version do not affect the algorithm itself. For example, changes that improve logging or adding support for a different data format are allowed. You can also change hyperparameters from tunable to static, and from static to tunable, but the total number of static plus tunable hyperparameters must remain the same as it is in all parent jobs. The objective metric for the new tuning job must be the same as for all parent jobs.

TRANSFER_LEARNING

The new hyperparameter tuning job can include input data, hyperparameter ranges, maximum number of concurrent training jobs, and maximum number of training jobs that are different than those of its parent hyperparameter tuning jobs. The training image can also be a different version from the version used in the parent hyperparameter tuning job. You can also change hyperparameters from tunable to static, and from static to tunable, but the total number of static plus tunable hyperparameters must remain the same as it is in all parent jobs. The objective metric for the new tuning job must be the same as for all parent jobs.

" } }, + "HyperParameterValue": { + "base": null, + "refs": { + "HyperParameterSpecification$DefaultValue": "

The default value for this hyperparameter. If a default value is specified, a hyperparameter cannot be required.

", + "HyperParameters$value": null + } + }, "HyperParameters": { "base": null, "refs": { @@ -2902,10 +3091,29 @@ "TrainingJobDefinition$HyperParameters": "

The hyperparameters used for the training job.

" } }, + "Image": { + "base": "

A SageMaker image. A SageMaker image represents a set of container images that are derived from a common base container image. Each of these container images is represented by a SageMaker ImageVersion.

", + "refs": { + "Images$member": null + } + }, "ImageArn": { "base": null, "refs": { - "ResourceSpec$SageMakerImageArn": "

The Amazon Resource Name (ARN) of the SageMaker image created on the instance.

" + "CreateImageResponse$ImageArn": "

The Amazon Resource Name (ARN) of the image.

", + "DescribeImageResponse$ImageArn": "

The Amazon Resource Name (ARN) of the image.

", + "DescribeImageVersionResponse$ImageArn": "

The Amazon Resource Name (ARN) of the image the version is based on.

", + "Image$ImageArn": "

The Amazon Resource Name (ARN) of the image.

", + "ImageVersion$ImageArn": "

The Amazon Resource Name (ARN) of the image the version is based on.

", + "ResourceSpec$SageMakerImageArn": "

The ARN of the SageMaker image that the image version belongs to.

", + "UpdateImageResponse$ImageArn": "

The Amazon Resource Name (ARN) of the image.

" + } + }, + "ImageBaseImage": { + "base": null, + "refs": { + "CreateImageVersionRequest$BaseImage": "

The registry path of the container image to use as the starting point for this version. The path is an Amazon Container Registry (ECR) URI in the following format:

<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>

", + "DescribeImageVersionResponse$BaseImage": "

The registry path of the container image on which this image version is based.

" } }, "ImageConfig": { @@ -2914,6 +3122,33 @@ "ContainerDefinition$ImageConfig": "

Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC). For information about storing containers in a private Docker registry, see Use a Private Docker Registry for Real-Time Inference Containers

" } }, + "ImageContainerImage": { + "base": null, + "refs": { + "DescribeImageVersionResponse$ContainerImage": "

The registry path of the container image that contains this image version.

" + } + }, + "ImageDeleteProperty": { + "base": null, + "refs": { + "ImageDeletePropertyList$member": null + } + }, + "ImageDeletePropertyList": { + "base": null, + "refs": { + "UpdateImageRequest$DeleteProperties": "

A list of properties to delete. Only the Description and DisplayName properties can be deleted.

" + } + }, + "ImageDescription": { + "base": null, + "refs": { + "CreateImageRequest$Description": "

The description of the image.

", + "DescribeImageResponse$Description": "

The description of the image.

", + "Image$Description": "

The description of the image.

", + "UpdateImageRequest$Description": "

The new description for the image.

" + } + }, "ImageDigest": { "base": null, "refs": { @@ -2921,6 +3156,56 @@ "TrainingSpecification$TrainingImageDigest": "

An MD5 hash of the training algorithm that identifies the Docker image used for training.

" } }, + "ImageDisplayName": { + "base": null, + "refs": { + "CreateImageRequest$DisplayName": "

The display name of the image. When the image is added to a domain, DisplayName must be unique to the domain.

", + "DescribeImageResponse$DisplayName": "

The name of the image as displayed.

", + "Image$DisplayName": "

The name of the image as displayed.

", + "UpdateImageRequest$DisplayName": "

The new display name for the image.

" + } + }, + "ImageName": { + "base": null, + "refs": { + "CreateImageRequest$ImageName": "

The name of the image. Must be unique to your account.

", + "CreateImageVersionRequest$ImageName": "

The ImageName of the Image to create a version of.

", + "CustomImage$ImageName": "

The name of the CustomImage. Must be unique to your account.

", + "DeleteImageRequest$ImageName": "

The name of the image to delete.

", + "DeleteImageVersionRequest$ImageName": "

The name of the image.

", + "DescribeImageRequest$ImageName": "

The name of the image to describe.

", + "DescribeImageResponse$ImageName": "

The name of the image.

", + "DescribeImageVersionRequest$ImageName": "

The name of the image.

", + "Image$ImageName": "

The name of the image.

", + "ListImageVersionsRequest$ImageName": "

The name of the image to list the versions of.

", + "UpdateImageRequest$ImageName": "

The name of the image to update.

" + } + }, + "ImageNameContains": { + "base": null, + "refs": { + "ListImagesRequest$NameContains": "

A filter that returns only images whose name contains the specified string.

" + } + }, + "ImageSortBy": { + "base": null, + "refs": { + "ListImagesRequest$SortBy": "

The property used to sort results. The default value is CREATION_TIME.

" + } + }, + "ImageSortOrder": { + "base": null, + "refs": { + "ListImagesRequest$SortOrder": "

The sort order. The default value is DESCENDING.

" + } + }, + "ImageStatus": { + "base": null, + "refs": { + "DescribeImageResponse$ImageStatus": "

The status of the image.

", + "Image$ImageStatus": "

The status of the image.

" + } + }, "ImageUri": { "base": null, "refs": { @@ -2928,6 +3213,62 @@ "MonitoringAppSpecification$ImageUri": "

The container image to be run by the monitoring job.

" } }, + "ImageVersion": { + "base": "

A version of a SageMaker Image. A version represents an existing container image.

", + "refs": { + "ImageVersions$member": null + } + }, + "ImageVersionArn": { + "base": null, + "refs": { + "CreateImageVersionResponse$ImageVersionArn": "

The Amazon Resource Name (ARN) of the image version.

", + "DescribeImageVersionResponse$ImageVersionArn": "

The ARN of the version.

", + "ImageVersion$ImageVersionArn": "

The ARN of the version.

", + "ResourceSpec$SageMakerImageVersionArn": "

The ARN of the image version created on the instance.

" + } + }, + "ImageVersionNumber": { + "base": null, + "refs": { + "CustomImage$ImageVersionNumber": "

The version number of the CustomImage.

", + "DeleteImageVersionRequest$Version": "

The version to delete.

", + "DescribeImageVersionRequest$Version": "

The version of the image. If not specified, the latest version is described.

", + "DescribeImageVersionResponse$Version": "

The version number.

", + "ImageVersion$Version": "

The version number.

" + } + }, + "ImageVersionSortBy": { + "base": null, + "refs": { + "ListImageVersionsRequest$SortBy": "

The property used to sort results. The default value is CREATION_TIME.

" + } + }, + "ImageVersionSortOrder": { + "base": null, + "refs": { + "ListImageVersionsRequest$SortOrder": "

The sort order. The default value is DESCENDING.

" + } + }, + "ImageVersionStatus": { + "base": null, + "refs": { + "DescribeImageVersionResponse$ImageVersionStatus": "

The status of the version.

", + "ImageVersion$ImageVersionStatus": "

The status of the version.

" + } + }, + "ImageVersions": { + "base": null, + "refs": { + "ListImageVersionsResponse$ImageVersions": "

A list of versions and their properties.

" + } + }, + "Images": { + "base": null, + "refs": { + "ListImagesResponse$Images": "

A list of images and their properties.

" + } + }, "InferenceSpecification": { "base": "

Defines how to perform inference generation after a training job is run.

", "refs": { @@ -3043,12 +3384,45 @@ "UserSettings$JupyterServerAppSettings": "

The Jupyter server's app settings.

" } }, + "KernelDisplayName": { + "base": null, + "refs": { + "KernelSpec$DisplayName": "

The display name of the kernel.

" + } + }, "KernelGatewayAppSettings": { - "base": "

The kernel gateway app settings.

", + "base": "

The KernelGateway app settings.

", "refs": { "UserSettings$KernelGatewayAppSettings": "

The kernel gateway app settings.

" } }, + "KernelGatewayImageConfig": { + "base": "

The configuration for an Amazon SageMaker KernelGateway app.

", + "refs": { + "AppImageConfigDetails$KernelGatewayImageConfig": "

The KernelGateway app.

", + "CreateAppImageConfigRequest$KernelGatewayImageConfig": "

The KernelGatewayImageConfig.

", + "DescribeAppImageConfigResponse$KernelGatewayImageConfig": "

The KernelGateway app.

", + "UpdateAppImageConfigRequest$KernelGatewayImageConfig": "

The new KernelGateway app to run on the image.

" + } + }, + "KernelName": { + "base": null, + "refs": { + "KernelSpec$Name": "

The name of the kernel. Must be unique to your account.

" + } + }, + "KernelSpec": { + "base": "

Defines how a kernel is started and the arguments, environment variables, and metadata that are available to the kernel.

", + "refs": { + "KernelSpecs$member": null + } + }, + "KernelSpecs": { + "base": null, + "refs": { + "KernelGatewayImageConfig$KernelSpecs": "

Defines how a kernel is started and the arguments, environment variables, and metadata that are available to the kernel.

" + } + }, "KmsKeyId": { "base": null, "refs": { @@ -3278,6 +3652,16 @@ "refs": { } }, + "ListAppImageConfigsRequest": { + "base": null, + "refs": { + } + }, + "ListAppImageConfigsResponse": { + "base": null, + "refs": { + } + }, "ListAppsRequest": { "base": null, "refs": { @@ -3404,6 +3788,26 @@ "refs": { } }, + "ListImageVersionsRequest": { + "base": null, + "refs": { + } + }, + "ListImageVersionsResponse": { + "base": null, + "refs": { + } + }, + "ListImagesRequest": { + "base": null, + "refs": { + } + }, + "ListImagesResponse": { + "base": null, + "refs": { + } + }, "ListLabelingJobsForWorkteamRequest": { "base": null, "refs": { @@ -3690,6 +4094,7 @@ "base": null, "refs": { "ListAlgorithmsInput$MaxResults": "

The maximum number of algorithms to return in the response.

", + "ListAppImageConfigsRequest$MaxResults": "

The maximum number of AppImageConfigs to return in the response. The default value is 10.

", "ListAppsRequest$MaxResults": "

Returns a list up to a specified limit.

", "ListCodeRepositoriesInput$MaxResults": "

The maximum number of Git repositories to return in the response.

", "ListCompilationJobsRequest$MaxResults": "

The maximum number of model compilation jobs to return in the response.

", @@ -3700,6 +4105,8 @@ "ListFlowDefinitionsRequest$MaxResults": "

The total number of items to return. If the total number of available items is more than the value specified in MaxResults, then a NextToken will be provided in the output that you can use to resume pagination.

", "ListHumanTaskUisRequest$MaxResults": "

The total number of items to return. If the total number of available items is more than the value specified in MaxResults, then a NextToken will be provided in the output that you can use to resume pagination.

", "ListHyperParameterTuningJobsRequest$MaxResults": "

The maximum number of tuning jobs to return. The default value is 10.

", + "ListImageVersionsRequest$MaxResults": "

The maximum number of versions to return in the response. The default value is 10.

", + "ListImagesRequest$MaxResults": "

The maximum number of images to return in the response. The default value is 10.

", "ListLabelingJobsForWorkteamRequest$MaxResults": "

The maximum number of labeling jobs to return in each page of the response.

", "ListLabelingJobsRequest$MaxResults": "

The maximum number of labeling jobs to return in each page of the response.

", "ListModelPackagesInput$MaxResults": "

The maximum number of model packages to return in the response.

", @@ -4128,6 +4535,12 @@ "MonitoringJobDefinition$StoppingCondition": "

Specifies a time limit for how long the monitoring job is allowed to run.

" } }, + "MountPath": { + "base": null, + "refs": { + "FileSystemConfig$MountPath": "

The path within the image to mount the user's EFS home directory. The directory should be empty. If not specified, defaults to /home/sagemaker-user.

" + } + }, "NameContains": { "base": null, "refs": { @@ -4173,6 +4586,8 @@ "refs": { "ListAlgorithmsInput$NextToken": "

If the response to a previous ListAlgorithms request was truncated, the response includes a NextToken. To retrieve the next set of algorithms, use the token in the next request.

", "ListAlgorithmsOutput$NextToken": "

If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of algorithms, use it in the subsequent request.

", + "ListAppImageConfigsRequest$NextToken": "

If the previous call to ListImages didn't return the full set of AppImageConfigs, the call returns a token for getting the next set of AppImageConfigs.

", + "ListAppImageConfigsResponse$NextToken": "

A token for getting the next set of AppImageConfigs, if there are any.

", "ListAppsRequest$NextToken": "

If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.

", "ListAppsResponse$NextToken": "

If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.

", "ListAutoMLJobsRequest$NextToken": "

If the previous response was truncated, you receive this token. Use it in your next request to receive the next set of results.

", @@ -4193,6 +4608,10 @@ "ListHumanTaskUisResponse$NextToken": "

A token to resume pagination.

", "ListHyperParameterTuningJobsRequest$NextToken": "

If the result of the previous ListHyperParameterTuningJobs request was truncated, the response includes a NextToken. To retrieve the next set of tuning jobs, use the token in the next request.

", "ListHyperParameterTuningJobsResponse$NextToken": "

If the result of this ListHyperParameterTuningJobs request was truncated, the response includes a NextToken. To retrieve the next set of tuning jobs, use the token in the next request.

", + "ListImageVersionsRequest$NextToken": "

If the previous call to ListImageVersions didn't return the full set of versions, the call returns a token for getting the next set of versions.

", + "ListImageVersionsResponse$NextToken": "

A token for getting the next set of versions, if there are any.

", + "ListImagesRequest$NextToken": "

If the previous call to ListImages didn't return the full set of images, the call returns a token for getting the next set of images.

", + "ListImagesResponse$NextToken": "

A token for getting the next set of images, if there are any.

", "ListLabelingJobsForWorkteamRequest$NextToken": "

If the result of the previous ListLabelingJobsForWorkteam request was truncated, the response includes a NextToken. To retrieve the next set of labeling jobs, use the token in the next request.

", "ListLabelingJobsForWorkteamResponse$NextToken": "

If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of labeling jobs, use it in the subsequent request.

", "ListLabelingJobsRequest$NextToken": "

If the result of the previous ListLabelingJobs request was truncated, the response includes a NextToken. To retrieve the next set of labeling jobs, use the token in the next request.

", @@ -4554,7 +4973,6 @@ "refs": { "CategoricalParameterRange$Name": "

The name of the categorical hyperparameter to tune.

", "ContinuousParameterRange$Name": "

The name of the continuous hyperparameter to tune.

", - "HyperParameters$key": null, "IntegerParameterRange$Name": "

The name of the hyperparameter to search.

" } }, @@ -4590,8 +5008,6 @@ "ContinuousParameterRange$MaxValue": "

The maximum value for the hyperparameter. The tuning job uses floating-point values between MinValue value and this value for tuning.

", "ContinuousParameterRangeSpecification$MinValue": "

The minimum floating-point value allowed.

", "ContinuousParameterRangeSpecification$MaxValue": "

The maximum floating-point value allowed.

", - "HyperParameterSpecification$DefaultValue": "

The default value for this hyperparameter. If a default value is specified, a hyperparameter cannot be required.

", - "HyperParameters$value": null, "IntegerParameterRange$MinValue": "

The minimum value of the hyperparameter to search.

", "IntegerParameterRange$MaxValue": "

The maximum value of the hyperparameter to search.

", "IntegerParameterRangeSpecification$MinValue": "

The minimum integer value allowed.

", @@ -5043,12 +5459,12 @@ } }, "ResourceSpec": { - "base": "

The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. The ARN is stored as metadata in SageMaker Studio notebooks.

", + "base": "

Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.

", "refs": { "CreateAppRequest$ResourceSpec": "

The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

", "DescribeAppResponse$ResourceSpec": "

The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

", "JupyterServerAppSettings$DefaultResourceSpec": "

The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

", - "KernelGatewayAppSettings$DefaultResourceSpec": "

The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

", + "KernelGatewayAppSettings$DefaultResourceSpec": "

The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.

", "TensorBoardAppSettings$DefaultResourceSpec": "

The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

" } }, @@ -5090,6 +5506,7 @@ "CreateAutoMLJobRequest$RoleArn": "

The ARN of the role that is used to access the data.

", "CreateCompilationJobRequest$RoleArn": "

The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

During model compilation, Amazon SageMaker needs your permission to:

You grant permissions for all of these tasks to an IAM role. To pass this role to Amazon SageMaker, the caller of this API must have the iam:PassRole permission. For more information, see Amazon SageMaker Roles.

", "CreateFlowDefinitionRequest$RoleArn": "

The Amazon Resource Name (ARN) of the role needed to call other services on your behalf. For example, arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298.

", + "CreateImageRequest$RoleArn": "

The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

", "CreateLabelingJobRequest$RoleArn": "

The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during data labeling. You must grant this role the necessary permissions so that Amazon SageMaker can successfully complete data labeling.

", "CreateModelInput$ExecutionRoleArn": "

The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on ML compute instances or for batch transform jobs. Deploying on ML compute instances is part of model hosting. For more information, see Amazon SageMaker Roles.

To be able to pass this role to Amazon SageMaker, the caller of this API must have the iam:PassRole permission.

", "CreateNotebookInstanceInput$RoleArn": "

When you send any requests to AWS resources from the notebook instance, Amazon SageMaker assumes this role to perform tasks on your behalf. You must grant this role necessary permissions so Amazon SageMaker can perform these tasks. The policy must allow the Amazon SageMaker service principal (sagemaker.amazonaws.com) permissions to assume this role. For more information, see Amazon SageMaker Roles.

To be able to pass this role to Amazon SageMaker, the caller of this API must have the iam:PassRole permission.

", @@ -5098,6 +5515,7 @@ "DescribeAutoMLJobResponse$RoleArn": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that has read permission to the input data location and write permission to the output data location in Amazon S3.

", "DescribeCompilationJobResponse$RoleArn": "

The Amazon Resource Name (ARN) of the model compilation job.

", "DescribeFlowDefinitionResponse$RoleArn": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) execution role for the flow definition.

", + "DescribeImageResponse$RoleArn": "

The Amazon Resource Name (ARN) of the IAM role that enables Amazon SageMaker to perform tasks on your behalf.

", "DescribeLabelingJobResponse$RoleArn": "

The Amazon Resource Name (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during data labeling.

", "DescribeModelOutput$ExecutionRoleArn": "

The Amazon Resource Name (ARN) of the IAM role that you specified for the model.

", "DescribeNotebookInstanceOutput$RoleArn": "

The Amazon Resource Name (ARN) of the IAM role associated with the instance.

", @@ -5109,6 +5527,7 @@ "ProcessingJob$RoleArn": "

The ARN of the role used to create the processing job.

", "RenderUiTemplateRequest$RoleArn": "

The Amazon Resource Name (ARN) that has access to the S3 objects that are used by the template.

", "TrainingJob$RoleArn": "

The AWS Identity and Access Management (IAM) role configured for the training job.

", + "UpdateImageRequest$RoleArn": "

The new Amazon Resource Name (ARN) for the IAM role that enables Amazon SageMaker to perform tasks on your behalf.

", "UpdateNotebookInstanceInput$RoleArn": "

The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access the notebook instance. For more information, see Amazon SageMaker Roles.

To be able to pass this role to Amazon SageMaker, the caller of this API must have the iam:PassRole permission.

", "UserSettings$ExecutionRole": "

The execution role for the user.

" } @@ -5165,7 +5584,7 @@ "AutoMLOutputDataConfig$S3OutputPath": "

The Amazon S3 output path. Must be 128 characters or less.

", "AutoMLS3DataSource$S3Uri": "

The URL to the Amazon S3 data source.

", "CheckpointConfig$S3Uri": "

Identifies the S3 path where you want Amazon SageMaker to store checkpoints. For example, s3://bucket-name/key-name-prefix.

", - "CreateLabelingJobRequest$LabelCategoryConfigS3Uri": "

The S3 URL of the file that defines the categories used to label the data objects.

For 3D point cloud task types, see Create a Labeling Category Configuration File for 3D Point Cloud Labeling Jobs.

For all other built-in task types and custom tasks, your label category configuration file must be a JSON file in the following format. Identify the labels you want to use by replacing label_1, label_2,...,label_n with your label categories.

{

\"document-version\": \"2018-11-28\"

\"labels\": [

{

\"label\": \"label_1\"

},

{

\"label\": \"label_2\"

},

...

{

\"label\": \"label_n\"

}

]

}

", + "CreateLabelingJobRequest$LabelCategoryConfigS3Uri": "

The S3 URI of the file that defines the categories used to label the data objects.

For 3D point cloud task types, see Create a Labeling Category Configuration File for 3D Point Cloud Labeling Jobs.

For all other built-in task types and custom tasks, your label category configuration file must be a JSON file in the following format. Identify the labels you want to use by replacing label_1, label_2,...,label_n with your label categories.

{

\"document-version\": \"2018-11-28\"

\"labels\": [

{

\"label\": \"label_1\"

},

{

\"label\": \"label_2\"

},

...

{

\"label\": \"label_n\"

}

]

}

", "DebugHookConfig$S3OutputPath": "

Path to Amazon S3 storage location for tensors.

", "DebugRuleConfiguration$S3OutputPath": "

Path to Amazon S3 storage location for rules.

", "DescribeLabelingJobResponse$LabelCategoryConfigS3Uri": "

The S3 location of the JSON file that defines the categories used to label data objects. Please note the following label-category limits:

The file is a JSON structure in the following format:

{

\"document-version\": \"2018-11-28\"

\"labels\": [

{

\"label\": \"label 1\"

},

{

\"label\": \"label 2\"

},

...

{

\"label\": \"label n\"

}

]

}

", @@ -5299,7 +5718,7 @@ "refs": { "CreateNotebookInstanceInput$SecurityGroupIds": "

The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet.

", "DescribeNotebookInstanceOutput$SecurityGroups": "

The IDs of the VPC security groups.

", - "UserSettings$SecurityGroups": "

The security groups.

" + "UserSettings$SecurityGroups": "

The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.

Optional when the CreateDomain.AppNetworkAccessType parameter is set to PublicInternetOnly.

Required when the CreateDomain.AppNetworkAccessType parameter is set to VpcOnly.

" } }, "Seed": { @@ -5360,6 +5779,7 @@ "base": null, "refs": { "ListAlgorithmsInput$SortOrder": "

The sort order for the results. The default is Ascending.

", + "ListAppImageConfigsRequest$SortOrder": "

The sort order. The default value is Descending.

", "ListAppsRequest$SortOrder": "

The sort order for the results. The default is Ascending.

", "ListCompilationJobsRequest$SortOrder": "

The sort order for results. The default is Ascending.

", "ListExperimentsRequest$SortOrder": "

The sort order. The default value is Descending.

", @@ -5633,8 +6053,10 @@ "refs": { "AddTagsInput$Tags": "

An array of Tag objects. Each tag is a key-value pair. Only the key parameter is required. If you don't specify a value, Amazon SageMaker sets the value to an empty string.

", "AddTagsOutput$Tags": "

A list of tags associated with the Amazon SageMaker resource.

", + "CreateAppImageConfigRequest$Tags": "

A list of tags to apply to the AppImageConfig.

", "CreateAppRequest$Tags": "

Each tag consists of a key and an optional value. Tag keys must be unique per resource.

", "CreateAutoMLJobRequest$Tags": "

Each tag consists of a key and an optional value. Tag keys must be unique per resource.

", + "CreateCompilationJobRequest$Tags": "

An array of key-value pairs that you want to use to organize and track your AWS resource costs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

", "CreateDomainRequest$Tags": "

Tags to associated with the Domain. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API.

", "CreateEndpointConfigInput$Tags": "

A list of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

", "CreateEndpointInput$Tags": "

An array of key-value pairs. For more information, see Using Cost Allocation Tagsin the AWS Billing and Cost Management User Guide.

", @@ -5642,6 +6064,7 @@ "CreateFlowDefinitionRequest$Tags": "

An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define.

", "CreateHumanTaskUiRequest$Tags": "

An array of key-value pairs that contain metadata to help you categorize and organize a human review workflow user interface. Each tag consists of a key and a value, both of which you define.

", "CreateHyperParameterTuningJobRequest$Tags": "

An array of key-value pairs. You can use tags to categorize your AWS resources in different ways, for example, by purpose, owner, or environment. For more information, see AWS Tagging Strategies.

Tags that you specify for the tuning job are also added to all training jobs that the tuning job launches.

", + "CreateImageRequest$Tags": "

A list of tags to apply to the image.

", "CreateLabelingJobRequest$Tags": "

An array of key/value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

", "CreateModelInput$Tags": "

An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

", "CreateMonitoringScheduleRequest$Tags": "

(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

", @@ -5808,6 +6231,8 @@ "Timestamp": { "base": null, "refs": { + "AppImageConfigDetails$CreationTime": "

When the AppImageConfig was created.

", + "AppImageConfigDetails$LastModifiedTime": "

When the AppImageConfig was last modified.

", "AutoMLCandidate$CreationTime": "

The creation time.

", "AutoMLCandidate$EndTime": "

The end time.

", "AutoMLCandidate$LastModifiedTime": "

The last modified time.

", @@ -5820,6 +6245,8 @@ "CreateTrialComponentRequest$EndTime": "

When the component ended.

", "DebugRuleEvaluationStatus$LastModifiedTime": "

Timestamp when the rule evaluation status was last modified.

", "DeployedImage$ResolutionTime": "

The date and time when the image path for the model resolved to the ResolvedImage

", + "DescribeAppImageConfigResponse$CreationTime": "

When the AppImageConfig was created.

", + "DescribeAppImageConfigResponse$LastModifiedTime": "

When the AppImageConfig was last modified.

", "DescribeAppResponse$LastHealthCheckTimestamp": "

The timestamp of the last health check.

", "DescribeAppResponse$LastUserActivityTimestamp": "

The timestamp of the last user's activity.

", "DescribeAutoMLJobResponse$CreationTime": "

Returns the job's creation time.

", @@ -5837,6 +6264,10 @@ "DescribeHyperParameterTuningJobResponse$CreationTime": "

The date and time that the tuning job started.

", "DescribeHyperParameterTuningJobResponse$HyperParameterTuningEndTime": "

The date and time that the tuning job ended.

", "DescribeHyperParameterTuningJobResponse$LastModifiedTime": "

The date and time that the status of the tuning job was modified.

", + "DescribeImageResponse$CreationTime": "

When the image was created.

", + "DescribeImageResponse$LastModifiedTime": "

When the image was last modified.

", + "DescribeImageVersionResponse$CreationTime": "

When the version was created.

", + "DescribeImageVersionResponse$LastModifiedTime": "

When the version was last modified.

", "DescribeLabelingJobResponse$CreationTime": "

The date and time that the labeling job was created.

", "DescribeLabelingJobResponse$LastModifiedTime": "

The date and time that the labeling job was last updated.

", "DescribeModelOutput$CreationTime": "

A timestamp that shows when the model was created.

", @@ -5874,9 +6305,17 @@ "HyperParameterTuningJobSummary$CreationTime": "

The date and time that the tuning job was created.

", "HyperParameterTuningJobSummary$HyperParameterTuningEndTime": "

The date and time that the tuning job ended.

", "HyperParameterTuningJobSummary$LastModifiedTime": "

The date and time that the tuning job was modified.

", + "Image$CreationTime": "

When the image was created.

", + "Image$LastModifiedTime": "

When the image was last modified.

", + "ImageVersion$CreationTime": "

When the version was created.

", + "ImageVersion$LastModifiedTime": "

When the version was last modified.

", "LabelingJobForWorkteamSummary$CreationTime": "

The date and time that the labeling job was created.

", "LabelingJobSummary$CreationTime": "

The date and time that the job was created (timestamp).

", "LabelingJobSummary$LastModifiedTime": "

The date and time that the job was last modified (timestamp).

", + "ListAppImageConfigsRequest$CreationTimeBefore": "

A filter that returns only AppImageConfigs created on or before the specified time.

", + "ListAppImageConfigsRequest$CreationTimeAfter": "

A filter that returns only AppImageConfigs created on or after the specified time.

", + "ListAppImageConfigsRequest$ModifiedTimeBefore": "

A filter that returns only AppImageConfigs modified on or before the specified time.

", + "ListAppImageConfigsRequest$ModifiedTimeAfter": "

A filter that returns only AppImageConfigs modified on or after the specified time.

", "ListAutoMLJobsRequest$CreationTimeAfter": "

Request a list of jobs, using a filter for time.

", "ListAutoMLJobsRequest$CreationTimeBefore": "

Request a list of jobs, using a filter for time.

", "ListAutoMLJobsRequest$LastModifiedTimeAfter": "

Request a list of jobs, using a filter for time.

", @@ -5899,6 +6338,14 @@ "ListHyperParameterTuningJobsRequest$CreationTimeBefore": "

A filter that returns only tuning jobs that were created before the specified time.

", "ListHyperParameterTuningJobsRequest$LastModifiedTimeAfter": "

A filter that returns only tuning jobs that were modified after the specified time.

", "ListHyperParameterTuningJobsRequest$LastModifiedTimeBefore": "

A filter that returns only tuning jobs that were modified before the specified time.

", + "ListImageVersionsRequest$CreationTimeAfter": "

A filter that returns only versions created on or after the specified time.

", + "ListImageVersionsRequest$CreationTimeBefore": "

A filter that returns only versions created on or before the specified time.

", + "ListImageVersionsRequest$LastModifiedTimeAfter": "

A filter that returns only versions modified on or after the specified time.

", + "ListImageVersionsRequest$LastModifiedTimeBefore": "

A filter that returns only versions modified on or before the specified time.

", + "ListImagesRequest$CreationTimeAfter": "

A filter that returns only images created on or after the specified time.

", + "ListImagesRequest$CreationTimeBefore": "

A filter that returns only images created on or before the specified time.

", + "ListImagesRequest$LastModifiedTimeAfter": "

A filter that returns only images modified on or after the specified time.

", + "ListImagesRequest$LastModifiedTimeBefore": "

A filter that returns only images modified on or before the specified time.

", "ListLabelingJobsForWorkteamRequest$CreationTimeAfter": "

A filter that returns only labeling jobs created after the specified time (timestamp).

", "ListLabelingJobsForWorkteamRequest$CreationTimeBefore": "

A filter that returns only labeling jobs created before the specified time (timestamp).

", "ListLabelingJobsRequest$CreationTimeAfter": "

A filter that returns only labeling jobs created after the specified time (timestamp).

", @@ -6480,6 +6927,16 @@ "DescribeHumanTaskUiResponse$UiTemplate": null } }, + "UpdateAppImageConfigRequest": { + "base": null, + "refs": { + } + }, + "UpdateAppImageConfigResponse": { + "base": null, + "refs": { + } + }, "UpdateCodeRepositoryInput": { "base": null, "refs": { @@ -6530,6 +6987,16 @@ "refs": { } }, + "UpdateImageRequest": { + "base": null, + "refs": { + } + }, + "UpdateImageResponse": { + "base": null, + "refs": { + } + }, "UpdateMonitoringScheduleRequest": { "base": null, "refs": { @@ -6737,6 +7204,14 @@ "ProductionVariantSummary$DesiredWeight": "

The requested weight, as specified in the UpdateEndpointWeightsAndCapacities request.

" } }, + "VersionedArnOrName": { + "base": null, + "refs": { + "ContainerDefinition$ModelPackageName": "

The name or Amazon Resource Name (ARN) of the model package to use to create the model.

", + "DeleteModelPackageInput$ModelPackageName": "

The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

", + "DescribeModelPackageInput$ModelPackageName": "

The name of the model package to describe.

" + } + }, "VolumeSizeInGB": { "base": null, "refs": { diff --git a/models/apis/sagemaker/2017-07-24/paginators-1.json b/models/apis/sagemaker/2017-07-24/paginators-1.json index 7f87ca77493..e4cb62d8038 100644 --- a/models/apis/sagemaker/2017-07-24/paginators-1.json +++ b/models/apis/sagemaker/2017-07-24/paginators-1.json @@ -78,6 +78,18 @@ "limit_key": "MaxResults", "result_key": "HyperParameterTuningJobSummaries" }, + "ListImageVersions": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "ImageVersions" + }, + "ListImages": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Images" + }, "ListLabelingJobs": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 728bd1fc212..8fcd3e500f1 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -4632,6 +4632,12 @@ "region" : "us-east-1" }, "hostname" : "route53.amazonaws.com" + }, + "fips-aws-global" : { + "credentialScope" : { + "region" : "us-east-1" + }, + "hostname" : "route53-fips.amazonaws.com" } }, "isRegionalized" : false, @@ -8263,6 +8269,12 @@ "region" : "us-gov-west-1" }, "hostname" : "route53.us-gov.amazonaws.com" + }, + "fips-aws-us-gov-global" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "hostname" : "route53.us-gov.amazonaws.com" } }, "isRegionalized" : false, diff --git a/service/kendra/api.go b/service/kendra/api.go index bdd1b16c181..0c9cb2f8a60 100644 --- a/service/kendra/api.go +++ b/service/kendra/api.go @@ -3337,6 +3337,721 @@ func (s *ConflictException) RequestID() string { return s.RespMetadata.RequestID } +// Specifies the attachment settings for the Confluence data source. Attachment +// settings are optional, if you don't specify settings attachments, Amazon +// Kendra won't index them. +type ConfluenceAttachmentConfiguration struct { + _ struct{} `type:"structure"` + + // Defines how attachment metadata fields should be mapped to index fields. + // Before you can map a field, you must first create an index field with a matching + // type using the console or the UpdateIndex operation. + // + // If you specify the AttachentFieldMappings parameter, you must specify at + // least one field mapping. + AttachmentFieldMappings []*ConfluenceAttachmentToIndexFieldMapping `min:"1" type:"list"` + + // Indicates whether Amazon Kendra indexes attachments to the pages and blogs + // in the Confluence data source. + CrawlAttachments *bool `type:"boolean"` +} + +// String returns the string representation +func (s ConfluenceAttachmentConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ConfluenceAttachmentConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ConfluenceAttachmentConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConfluenceAttachmentConfiguration"} + if s.AttachmentFieldMappings != nil && len(s.AttachmentFieldMappings) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AttachmentFieldMappings", 1)) + } + if s.AttachmentFieldMappings != nil { + for i, v := range s.AttachmentFieldMappings { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AttachmentFieldMappings", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAttachmentFieldMappings sets the AttachmentFieldMappings field's value. +func (s *ConfluenceAttachmentConfiguration) SetAttachmentFieldMappings(v []*ConfluenceAttachmentToIndexFieldMapping) *ConfluenceAttachmentConfiguration { + s.AttachmentFieldMappings = v + return s +} + +// SetCrawlAttachments sets the CrawlAttachments field's value. +func (s *ConfluenceAttachmentConfiguration) SetCrawlAttachments(v bool) *ConfluenceAttachmentConfiguration { + s.CrawlAttachments = &v + return s +} + +// Defines the mapping between a field in the Confluence data source to a Amazon +// Kendra index field. +// +// You must first create the index field using the operation. +type ConfluenceAttachmentToIndexFieldMapping struct { + _ struct{} `type:"structure"` + + // The name of the field in the data source. + // + // You must first create the index field using the operation. + DataSourceFieldName *string `type:"string" enum:"ConfluenceAttachmentFieldName"` + + // The format for date fields in the data source. If the field specified in + // DataSourceFieldName is a date field you must specify the date format. If + // the field is not a date field, an exception is thrown. + DateFieldFormat *string `min:"4" type:"string"` + + // The name of the index field to map to the Confluence data source field. The + // index field type must match the Confluence field type. + IndexFieldName *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s ConfluenceAttachmentToIndexFieldMapping) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ConfluenceAttachmentToIndexFieldMapping) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ConfluenceAttachmentToIndexFieldMapping) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConfluenceAttachmentToIndexFieldMapping"} + if s.DateFieldFormat != nil && len(*s.DateFieldFormat) < 4 { + invalidParams.Add(request.NewErrParamMinLen("DateFieldFormat", 4)) + } + if s.IndexFieldName != nil && len(*s.IndexFieldName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IndexFieldName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDataSourceFieldName sets the DataSourceFieldName field's value. +func (s *ConfluenceAttachmentToIndexFieldMapping) SetDataSourceFieldName(v string) *ConfluenceAttachmentToIndexFieldMapping { + s.DataSourceFieldName = &v + return s +} + +// SetDateFieldFormat sets the DateFieldFormat field's value. +func (s *ConfluenceAttachmentToIndexFieldMapping) SetDateFieldFormat(v string) *ConfluenceAttachmentToIndexFieldMapping { + s.DateFieldFormat = &v + return s +} + +// SetIndexFieldName sets the IndexFieldName field's value. +func (s *ConfluenceAttachmentToIndexFieldMapping) SetIndexFieldName(v string) *ConfluenceAttachmentToIndexFieldMapping { + s.IndexFieldName = &v + return s +} + +// Specifies the blog settings for the Confluence data source. Blogs are always +// indexed unless filtered from the index by the ExclusionPatterns or InclusionPatterns +// fields in the data type. +type ConfluenceBlogConfiguration struct { + _ struct{} `type:"structure"` + + // Defines how blog metadata fields should be mapped to index fields. Before + // you can map a field, you must first create an index field with a matching + // type using the console or the UpdateIndex operation. + // + // If you specify the BlogFieldMappings parameter, you must specify at least + // one field mapping. + BlogFieldMappings []*ConfluenceBlogToIndexFieldMapping `min:"1" type:"list"` +} + +// String returns the string representation +func (s ConfluenceBlogConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ConfluenceBlogConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ConfluenceBlogConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConfluenceBlogConfiguration"} + if s.BlogFieldMappings != nil && len(s.BlogFieldMappings) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BlogFieldMappings", 1)) + } + if s.BlogFieldMappings != nil { + for i, v := range s.BlogFieldMappings { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "BlogFieldMappings", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBlogFieldMappings sets the BlogFieldMappings field's value. +func (s *ConfluenceBlogConfiguration) SetBlogFieldMappings(v []*ConfluenceBlogToIndexFieldMapping) *ConfluenceBlogConfiguration { + s.BlogFieldMappings = v + return s +} + +// Defines the mapping between a blog field in the Confluence data source to +// a Amazon Kendra index field. +// +// You must first create the index field using the operation. +type ConfluenceBlogToIndexFieldMapping struct { + _ struct{} `type:"structure"` + + // The name of the field in the data source. + DataSourceFieldName *string `type:"string" enum:"ConfluenceBlogFieldName"` + + // The format for date fields in the data source. If the field specified in + // DataSourceFieldName is a date field you must specify the date format. If + // the field is not a date field, an exception is thrown. + DateFieldFormat *string `min:"4" type:"string"` + + // The name of the index field to map to the Confluence data source field. The + // index field type must match the Confluence field type. + IndexFieldName *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s ConfluenceBlogToIndexFieldMapping) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ConfluenceBlogToIndexFieldMapping) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ConfluenceBlogToIndexFieldMapping) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConfluenceBlogToIndexFieldMapping"} + if s.DateFieldFormat != nil && len(*s.DateFieldFormat) < 4 { + invalidParams.Add(request.NewErrParamMinLen("DateFieldFormat", 4)) + } + if s.IndexFieldName != nil && len(*s.IndexFieldName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IndexFieldName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDataSourceFieldName sets the DataSourceFieldName field's value. +func (s *ConfluenceBlogToIndexFieldMapping) SetDataSourceFieldName(v string) *ConfluenceBlogToIndexFieldMapping { + s.DataSourceFieldName = &v + return s +} + +// SetDateFieldFormat sets the DateFieldFormat field's value. +func (s *ConfluenceBlogToIndexFieldMapping) SetDateFieldFormat(v string) *ConfluenceBlogToIndexFieldMapping { + s.DateFieldFormat = &v + return s +} + +// SetIndexFieldName sets the IndexFieldName field's value. +func (s *ConfluenceBlogToIndexFieldMapping) SetIndexFieldName(v string) *ConfluenceBlogToIndexFieldMapping { + s.IndexFieldName = &v + return s +} + +// Provides configuration information for data sources that connect to Confluence. +type ConfluenceConfiguration struct { + _ struct{} `type:"structure"` + + // Specifies configuration information for indexing attachments to Confluence + // blogs and pages. + AttachmentConfiguration *ConfluenceAttachmentConfiguration `type:"structure"` + + // Specifies configuration information for indexing Confluence blogs. + BlogConfiguration *ConfluenceBlogConfiguration `type:"structure"` + + // A list of regular expression patterns that apply to a URL on the Confluence + // server. An exclusion pattern can apply to a blog post, a page, a space, or + // an attachment. Items that match the pattern are excluded from the index. + // Items that don't match the pattern are included in the index. If a item matches + // both an exclusion pattern and an inclusion pattern, the item isn't included + // in the index. + ExclusionPatterns []*string `type:"list"` + + // A list of regular expression patterns that apply to a URL on the Confluence + // server. An inclusion pattern can apply to a blog post, a page, a space, or + // an attachment. Items that match the patterns are included in the index. Items + // that don't match the pattern are excluded from the index. If an item matches + // both an inclusion pattern and an exclusion pattern, the item isn't included + // in the index. + InclusionPatterns []*string `type:"list"` + + // Specifies configuration information for indexing Confluence pages. + PageConfiguration *ConfluencePageConfiguration `type:"structure"` + + // The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains + // the key/value pairs required to connect to your Confluence server. The secret + // must contain a JSON structure with the following keys: + // + // * username - The user name of a user with administrative privileges for + // the Confluence server. + // + // * password - The password associated with the user logging in to the Confluence + // server. + // + // SecretArn is a required field + SecretArn *string `min:"1" type:"string" required:"true"` + + // The URL of your Confluence instance. Use the full URL of the server. For + // example, https://server.example.com:port/. You can also use an IP address, + // for example, https://192.168.1.113/. + // + // ServerUrl is a required field + ServerUrl *string `min:"1" type:"string" required:"true"` + + // Specifies configuration information for indexing Confluence spaces. + SpaceConfiguration *ConfluenceSpaceConfiguration `type:"structure"` + + // Specifies the version of the Confluence installation that you are connecting + // to. + // + // Version is a required field + Version *string `type:"string" required:"true" enum:"ConfluenceVersion"` + + // Specifies the information for connecting to an Amazon VPC. + VpcConfiguration *DataSourceVpcConfiguration `type:"structure"` +} + +// String returns the string representation +func (s ConfluenceConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ConfluenceConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ConfluenceConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConfluenceConfiguration"} + if s.SecretArn == nil { + invalidParams.Add(request.NewErrParamRequired("SecretArn")) + } + if s.SecretArn != nil && len(*s.SecretArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1)) + } + if s.ServerUrl == nil { + invalidParams.Add(request.NewErrParamRequired("ServerUrl")) + } + if s.ServerUrl != nil && len(*s.ServerUrl) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ServerUrl", 1)) + } + if s.Version == nil { + invalidParams.Add(request.NewErrParamRequired("Version")) + } + if s.AttachmentConfiguration != nil { + if err := s.AttachmentConfiguration.Validate(); err != nil { + invalidParams.AddNested("AttachmentConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.BlogConfiguration != nil { + if err := s.BlogConfiguration.Validate(); err != nil { + invalidParams.AddNested("BlogConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.PageConfiguration != nil { + if err := s.PageConfiguration.Validate(); err != nil { + invalidParams.AddNested("PageConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.SpaceConfiguration != nil { + if err := s.SpaceConfiguration.Validate(); err != nil { + invalidParams.AddNested("SpaceConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.VpcConfiguration != nil { + if err := s.VpcConfiguration.Validate(); err != nil { + invalidParams.AddNested("VpcConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAttachmentConfiguration sets the AttachmentConfiguration field's value. +func (s *ConfluenceConfiguration) SetAttachmentConfiguration(v *ConfluenceAttachmentConfiguration) *ConfluenceConfiguration { + s.AttachmentConfiguration = v + return s +} + +// SetBlogConfiguration sets the BlogConfiguration field's value. +func (s *ConfluenceConfiguration) SetBlogConfiguration(v *ConfluenceBlogConfiguration) *ConfluenceConfiguration { + s.BlogConfiguration = v + return s +} + +// SetExclusionPatterns sets the ExclusionPatterns field's value. +func (s *ConfluenceConfiguration) SetExclusionPatterns(v []*string) *ConfluenceConfiguration { + s.ExclusionPatterns = v + return s +} + +// SetInclusionPatterns sets the InclusionPatterns field's value. +func (s *ConfluenceConfiguration) SetInclusionPatterns(v []*string) *ConfluenceConfiguration { + s.InclusionPatterns = v + return s +} + +// SetPageConfiguration sets the PageConfiguration field's value. +func (s *ConfluenceConfiguration) SetPageConfiguration(v *ConfluencePageConfiguration) *ConfluenceConfiguration { + s.PageConfiguration = v + return s +} + +// SetSecretArn sets the SecretArn field's value. +func (s *ConfluenceConfiguration) SetSecretArn(v string) *ConfluenceConfiguration { + s.SecretArn = &v + return s +} + +// SetServerUrl sets the ServerUrl field's value. +func (s *ConfluenceConfiguration) SetServerUrl(v string) *ConfluenceConfiguration { + s.ServerUrl = &v + return s +} + +// SetSpaceConfiguration sets the SpaceConfiguration field's value. +func (s *ConfluenceConfiguration) SetSpaceConfiguration(v *ConfluenceSpaceConfiguration) *ConfluenceConfiguration { + s.SpaceConfiguration = v + return s +} + +// SetVersion sets the Version field's value. +func (s *ConfluenceConfiguration) SetVersion(v string) *ConfluenceConfiguration { + s.Version = &v + return s +} + +// SetVpcConfiguration sets the VpcConfiguration field's value. +func (s *ConfluenceConfiguration) SetVpcConfiguration(v *DataSourceVpcConfiguration) *ConfluenceConfiguration { + s.VpcConfiguration = v + return s +} + +// Specifies the page settings for the Confluence data source. +type ConfluencePageConfiguration struct { + _ struct{} `type:"structure"` + + // Defines how page metadata fields should be mapped to index fields. Before + // you can map a field, you must first create an index field with a matching + // type using the console or the UpdateIndex operation. + // + // If you specify the PageFieldMappings parameter, you must specify at least + // one field mapping. + PageFieldMappings []*ConfluencePageToIndexFieldMapping `min:"1" type:"list"` +} + +// String returns the string representation +func (s ConfluencePageConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ConfluencePageConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ConfluencePageConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConfluencePageConfiguration"} + if s.PageFieldMappings != nil && len(s.PageFieldMappings) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PageFieldMappings", 1)) + } + if s.PageFieldMappings != nil { + for i, v := range s.PageFieldMappings { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PageFieldMappings", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPageFieldMappings sets the PageFieldMappings field's value. +func (s *ConfluencePageConfiguration) SetPageFieldMappings(v []*ConfluencePageToIndexFieldMapping) *ConfluencePageConfiguration { + s.PageFieldMappings = v + return s +} + +// Defines the mapping between a field in the Confluence data source to a Amazon +// Kendra index field. +// +// You must first create the index field using the operation. +type ConfluencePageToIndexFieldMapping struct { + _ struct{} `type:"structure"` + + // The name of the field in the data source. + DataSourceFieldName *string `type:"string" enum:"ConfluencePageFieldName"` + + // The format for date fields in the data source. If the field specified in + // DataSourceFieldName is a date field you must specify the date format. If + // the field is not a date field, an exception is thrown. + DateFieldFormat *string `min:"4" type:"string"` + + // The name of the index field to map to the Confluence data source field. The + // index field type must match the Confluence field type. + IndexFieldName *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s ConfluencePageToIndexFieldMapping) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ConfluencePageToIndexFieldMapping) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ConfluencePageToIndexFieldMapping) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConfluencePageToIndexFieldMapping"} + if s.DateFieldFormat != nil && len(*s.DateFieldFormat) < 4 { + invalidParams.Add(request.NewErrParamMinLen("DateFieldFormat", 4)) + } + if s.IndexFieldName != nil && len(*s.IndexFieldName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IndexFieldName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDataSourceFieldName sets the DataSourceFieldName field's value. +func (s *ConfluencePageToIndexFieldMapping) SetDataSourceFieldName(v string) *ConfluencePageToIndexFieldMapping { + s.DataSourceFieldName = &v + return s +} + +// SetDateFieldFormat sets the DateFieldFormat field's value. +func (s *ConfluencePageToIndexFieldMapping) SetDateFieldFormat(v string) *ConfluencePageToIndexFieldMapping { + s.DateFieldFormat = &v + return s +} + +// SetIndexFieldName sets the IndexFieldName field's value. +func (s *ConfluencePageToIndexFieldMapping) SetIndexFieldName(v string) *ConfluencePageToIndexFieldMapping { + s.IndexFieldName = &v + return s +} + +// Specifies the configuration for indexing Confluence spaces. +type ConfluenceSpaceConfiguration struct { + _ struct{} `type:"structure"` + + // Specifies whether Amazon Kendra should index archived spaces. + CrawlArchivedSpaces *bool `type:"boolean"` + + // Specifies whether Amazon Kendra should index personal spaces. Users can add + // restrictions to items in personal spaces. If personal spaces are indexed, + // queries without user context information may return restricted items from + // a personal space in their results. For more information, see Filtering on + // user context (https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html). + CrawlPersonalSpaces *bool `type:"boolean"` + + // A list of space keys of Confluence spaces. If you include a key, the blogs, + // documents, and attachments in the space are not indexed. If a space is in + // both the ExcludeSpaces and the IncludeSpaces list, the space is excluded. + ExcludeSpaces []*string `min:"1" type:"list"` + + // A list of space keys for Confluence spaces. If you include a key, the blogs, + // documents, and attachments in the space are indexed. Spaces that aren't in + // the list aren't indexed. A space in the list must exist. Otherwise, Amazon + // Kendra logs an error when the data source is synchronized. If a space is + // in both the IncludeSpaces and the ExcludeSpaces list, the space is excluded. + IncludeSpaces []*string `min:"1" type:"list"` + + // Defines how space metadata fields should be mapped to index fields. Before + // you can map a field, you must first create an index field with a matching + // type using the console or the UpdateIndex operation. + // + // If you specify the SpaceFieldMappings parameter, you must specify at least + // one field mapping. + SpaceFieldMappings []*ConfluenceSpaceToIndexFieldMapping `min:"1" type:"list"` +} + +// String returns the string representation +func (s ConfluenceSpaceConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ConfluenceSpaceConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ConfluenceSpaceConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConfluenceSpaceConfiguration"} + if s.ExcludeSpaces != nil && len(s.ExcludeSpaces) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ExcludeSpaces", 1)) + } + if s.IncludeSpaces != nil && len(s.IncludeSpaces) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IncludeSpaces", 1)) + } + if s.SpaceFieldMappings != nil && len(s.SpaceFieldMappings) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SpaceFieldMappings", 1)) + } + if s.SpaceFieldMappings != nil { + for i, v := range s.SpaceFieldMappings { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SpaceFieldMappings", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCrawlArchivedSpaces sets the CrawlArchivedSpaces field's value. +func (s *ConfluenceSpaceConfiguration) SetCrawlArchivedSpaces(v bool) *ConfluenceSpaceConfiguration { + s.CrawlArchivedSpaces = &v + return s +} + +// SetCrawlPersonalSpaces sets the CrawlPersonalSpaces field's value. +func (s *ConfluenceSpaceConfiguration) SetCrawlPersonalSpaces(v bool) *ConfluenceSpaceConfiguration { + s.CrawlPersonalSpaces = &v + return s +} + +// SetExcludeSpaces sets the ExcludeSpaces field's value. +func (s *ConfluenceSpaceConfiguration) SetExcludeSpaces(v []*string) *ConfluenceSpaceConfiguration { + s.ExcludeSpaces = v + return s +} + +// SetIncludeSpaces sets the IncludeSpaces field's value. +func (s *ConfluenceSpaceConfiguration) SetIncludeSpaces(v []*string) *ConfluenceSpaceConfiguration { + s.IncludeSpaces = v + return s +} + +// SetSpaceFieldMappings sets the SpaceFieldMappings field's value. +func (s *ConfluenceSpaceConfiguration) SetSpaceFieldMappings(v []*ConfluenceSpaceToIndexFieldMapping) *ConfluenceSpaceConfiguration { + s.SpaceFieldMappings = v + return s +} + +// Defines the mapping between a field in the Confluence data source to a Amazon +// Kendra index field. +// +// You must first create the index field using the operation. +type ConfluenceSpaceToIndexFieldMapping struct { + _ struct{} `type:"structure"` + + // The name of the field in the data source. + DataSourceFieldName *string `type:"string" enum:"ConfluenceSpaceFieldName"` + + // The format for date fields in the data source. If the field specified in + // DataSourceFieldName is a date field you must specify the date format. If + // the field is not a date field, an exception is thrown. + DateFieldFormat *string `min:"4" type:"string"` + + // The name of the index field to map to the Confluence data source field. The + // index field type must match the Confluence field type. + IndexFieldName *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s ConfluenceSpaceToIndexFieldMapping) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ConfluenceSpaceToIndexFieldMapping) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ConfluenceSpaceToIndexFieldMapping) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ConfluenceSpaceToIndexFieldMapping"} + if s.DateFieldFormat != nil && len(*s.DateFieldFormat) < 4 { + invalidParams.Add(request.NewErrParamMinLen("DateFieldFormat", 4)) + } + if s.IndexFieldName != nil && len(*s.IndexFieldName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IndexFieldName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDataSourceFieldName sets the DataSourceFieldName field's value. +func (s *ConfluenceSpaceToIndexFieldMapping) SetDataSourceFieldName(v string) *ConfluenceSpaceToIndexFieldMapping { + s.DataSourceFieldName = &v + return s +} + +// SetDateFieldFormat sets the DateFieldFormat field's value. +func (s *ConfluenceSpaceToIndexFieldMapping) SetDateFieldFormat(v string) *ConfluenceSpaceToIndexFieldMapping { + s.DateFieldFormat = &v + return s +} + +// SetIndexFieldName sets the IndexFieldName field's value. +func (s *ConfluenceSpaceToIndexFieldMapping) SetIndexFieldName(v string) *ConfluenceSpaceToIndexFieldMapping { + s.IndexFieldName = &v + return s +} + // Provides the information necessary to connect to a database. type ConnectionConfiguration struct { _ struct{} `type:"structure"` @@ -3986,6 +4701,9 @@ func (s *CreateIndexOutput) SetId(v string) *CreateIndexOutput { type DataSourceConfiguration struct { _ struct{} `type:"structure"` + // Provides configuration information for connecting to a Confluence data source. + ConfluenceConfiguration *ConfluenceConfiguration `type:"structure"` + // Provides information necessary to create a data source connector for a database. DatabaseConfiguration *DatabaseConfiguration `type:"structure"` @@ -4021,6 +4739,11 @@ func (s DataSourceConfiguration) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *DataSourceConfiguration) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DataSourceConfiguration"} + if s.ConfluenceConfiguration != nil { + if err := s.ConfluenceConfiguration.Validate(); err != nil { + invalidParams.AddNested("ConfluenceConfiguration", err.(request.ErrInvalidParams)) + } + } if s.DatabaseConfiguration != nil { if err := s.DatabaseConfiguration.Validate(); err != nil { invalidParams.AddNested("DatabaseConfiguration", err.(request.ErrInvalidParams)) @@ -4058,6 +4781,12 @@ func (s *DataSourceConfiguration) Validate() error { return nil } +// SetConfluenceConfiguration sets the ConfluenceConfiguration field's value. +func (s *DataSourceConfiguration) SetConfluenceConfiguration(v *ConfluenceConfiguration) *DataSourceConfiguration { + s.ConfluenceConfiguration = v + return s +} + // SetDatabaseConfiguration sets the DatabaseConfiguration field's value. func (s *DataSourceConfiguration) SetDatabaseConfiguration(v *DatabaseConfiguration) *DataSourceConfiguration { s.DatabaseConfiguration = v @@ -10278,6 +11007,194 @@ func AdditionalResultAttributeValueType_Values() []string { } } +const ( + // ConfluenceAttachmentFieldNameAuthor is a ConfluenceAttachmentFieldName enum value + ConfluenceAttachmentFieldNameAuthor = "AUTHOR" + + // ConfluenceAttachmentFieldNameContentType is a ConfluenceAttachmentFieldName enum value + ConfluenceAttachmentFieldNameContentType = "CONTENT_TYPE" + + // ConfluenceAttachmentFieldNameCreatedDate is a ConfluenceAttachmentFieldName enum value + ConfluenceAttachmentFieldNameCreatedDate = "CREATED_DATE" + + // ConfluenceAttachmentFieldNameDisplayUrl is a ConfluenceAttachmentFieldName enum value + ConfluenceAttachmentFieldNameDisplayUrl = "DISPLAY_URL" + + // ConfluenceAttachmentFieldNameFileSize is a ConfluenceAttachmentFieldName enum value + ConfluenceAttachmentFieldNameFileSize = "FILE_SIZE" + + // ConfluenceAttachmentFieldNameItemType is a ConfluenceAttachmentFieldName enum value + ConfluenceAttachmentFieldNameItemType = "ITEM_TYPE" + + // ConfluenceAttachmentFieldNameParentId is a ConfluenceAttachmentFieldName enum value + ConfluenceAttachmentFieldNameParentId = "PARENT_ID" + + // ConfluenceAttachmentFieldNameSpaceKey is a ConfluenceAttachmentFieldName enum value + ConfluenceAttachmentFieldNameSpaceKey = "SPACE_KEY" + + // ConfluenceAttachmentFieldNameSpaceName is a ConfluenceAttachmentFieldName enum value + ConfluenceAttachmentFieldNameSpaceName = "SPACE_NAME" + + // ConfluenceAttachmentFieldNameUrl is a ConfluenceAttachmentFieldName enum value + ConfluenceAttachmentFieldNameUrl = "URL" + + // ConfluenceAttachmentFieldNameVersion is a ConfluenceAttachmentFieldName enum value + ConfluenceAttachmentFieldNameVersion = "VERSION" +) + +// ConfluenceAttachmentFieldName_Values returns all elements of the ConfluenceAttachmentFieldName enum +func ConfluenceAttachmentFieldName_Values() []string { + return []string{ + ConfluenceAttachmentFieldNameAuthor, + ConfluenceAttachmentFieldNameContentType, + ConfluenceAttachmentFieldNameCreatedDate, + ConfluenceAttachmentFieldNameDisplayUrl, + ConfluenceAttachmentFieldNameFileSize, + ConfluenceAttachmentFieldNameItemType, + ConfluenceAttachmentFieldNameParentId, + ConfluenceAttachmentFieldNameSpaceKey, + ConfluenceAttachmentFieldNameSpaceName, + ConfluenceAttachmentFieldNameUrl, + ConfluenceAttachmentFieldNameVersion, + } +} + +const ( + // ConfluenceBlogFieldNameAuthor is a ConfluenceBlogFieldName enum value + ConfluenceBlogFieldNameAuthor = "AUTHOR" + + // ConfluenceBlogFieldNameDisplayUrl is a ConfluenceBlogFieldName enum value + ConfluenceBlogFieldNameDisplayUrl = "DISPLAY_URL" + + // ConfluenceBlogFieldNameItemType is a ConfluenceBlogFieldName enum value + ConfluenceBlogFieldNameItemType = "ITEM_TYPE" + + // ConfluenceBlogFieldNameLabels is a ConfluenceBlogFieldName enum value + ConfluenceBlogFieldNameLabels = "LABELS" + + // ConfluenceBlogFieldNamePublishDate is a ConfluenceBlogFieldName enum value + ConfluenceBlogFieldNamePublishDate = "PUBLISH_DATE" + + // ConfluenceBlogFieldNameSpaceKey is a ConfluenceBlogFieldName enum value + ConfluenceBlogFieldNameSpaceKey = "SPACE_KEY" + + // ConfluenceBlogFieldNameSpaceName is a ConfluenceBlogFieldName enum value + ConfluenceBlogFieldNameSpaceName = "SPACE_NAME" + + // ConfluenceBlogFieldNameUrl is a ConfluenceBlogFieldName enum value + ConfluenceBlogFieldNameUrl = "URL" + + // ConfluenceBlogFieldNameVersion is a ConfluenceBlogFieldName enum value + ConfluenceBlogFieldNameVersion = "VERSION" +) + +// ConfluenceBlogFieldName_Values returns all elements of the ConfluenceBlogFieldName enum +func ConfluenceBlogFieldName_Values() []string { + return []string{ + ConfluenceBlogFieldNameAuthor, + ConfluenceBlogFieldNameDisplayUrl, + ConfluenceBlogFieldNameItemType, + ConfluenceBlogFieldNameLabels, + ConfluenceBlogFieldNamePublishDate, + ConfluenceBlogFieldNameSpaceKey, + ConfluenceBlogFieldNameSpaceName, + ConfluenceBlogFieldNameUrl, + ConfluenceBlogFieldNameVersion, + } +} + +const ( + // ConfluencePageFieldNameAuthor is a ConfluencePageFieldName enum value + ConfluencePageFieldNameAuthor = "AUTHOR" + + // ConfluencePageFieldNameContentStatus is a ConfluencePageFieldName enum value + ConfluencePageFieldNameContentStatus = "CONTENT_STATUS" + + // ConfluencePageFieldNameCreatedDate is a ConfluencePageFieldName enum value + ConfluencePageFieldNameCreatedDate = "CREATED_DATE" + + // ConfluencePageFieldNameDisplayUrl is a ConfluencePageFieldName enum value + ConfluencePageFieldNameDisplayUrl = "DISPLAY_URL" + + // ConfluencePageFieldNameItemType is a ConfluencePageFieldName enum value + ConfluencePageFieldNameItemType = "ITEM_TYPE" + + // ConfluencePageFieldNameLabels is a ConfluencePageFieldName enum value + ConfluencePageFieldNameLabels = "LABELS" + + // ConfluencePageFieldNameModifiedDate is a ConfluencePageFieldName enum value + ConfluencePageFieldNameModifiedDate = "MODIFIED_DATE" + + // ConfluencePageFieldNameParentId is a ConfluencePageFieldName enum value + ConfluencePageFieldNameParentId = "PARENT_ID" + + // ConfluencePageFieldNameSpaceKey is a ConfluencePageFieldName enum value + ConfluencePageFieldNameSpaceKey = "SPACE_KEY" + + // ConfluencePageFieldNameSpaceName is a ConfluencePageFieldName enum value + ConfluencePageFieldNameSpaceName = "SPACE_NAME" + + // ConfluencePageFieldNameUrl is a ConfluencePageFieldName enum value + ConfluencePageFieldNameUrl = "URL" + + // ConfluencePageFieldNameVersion is a ConfluencePageFieldName enum value + ConfluencePageFieldNameVersion = "VERSION" +) + +// ConfluencePageFieldName_Values returns all elements of the ConfluencePageFieldName enum +func ConfluencePageFieldName_Values() []string { + return []string{ + ConfluencePageFieldNameAuthor, + ConfluencePageFieldNameContentStatus, + ConfluencePageFieldNameCreatedDate, + ConfluencePageFieldNameDisplayUrl, + ConfluencePageFieldNameItemType, + ConfluencePageFieldNameLabels, + ConfluencePageFieldNameModifiedDate, + ConfluencePageFieldNameParentId, + ConfluencePageFieldNameSpaceKey, + ConfluencePageFieldNameSpaceName, + ConfluencePageFieldNameUrl, + ConfluencePageFieldNameVersion, + } +} + +const ( + // ConfluenceSpaceFieldNameDisplayUrl is a ConfluenceSpaceFieldName enum value + ConfluenceSpaceFieldNameDisplayUrl = "DISPLAY_URL" + + // ConfluenceSpaceFieldNameItemType is a ConfluenceSpaceFieldName enum value + ConfluenceSpaceFieldNameItemType = "ITEM_TYPE" + + // ConfluenceSpaceFieldNameSpaceKey is a ConfluenceSpaceFieldName enum value + ConfluenceSpaceFieldNameSpaceKey = "SPACE_KEY" + + // ConfluenceSpaceFieldNameUrl is a ConfluenceSpaceFieldName enum value + ConfluenceSpaceFieldNameUrl = "URL" +) + +// ConfluenceSpaceFieldName_Values returns all elements of the ConfluenceSpaceFieldName enum +func ConfluenceSpaceFieldName_Values() []string { + return []string{ + ConfluenceSpaceFieldNameDisplayUrl, + ConfluenceSpaceFieldNameItemType, + ConfluenceSpaceFieldNameSpaceKey, + ConfluenceSpaceFieldNameUrl, + } +} + +const ( + // ConfluenceVersionServer is a ConfluenceVersion enum value + ConfluenceVersionServer = "SERVER" +) + +// ConfluenceVersion_Values returns all elements of the ConfluenceVersion enum +func ConfluenceVersion_Values() []string { + return []string{ + ConfluenceVersionServer, + } +} + const ( // ContentTypePdf is a ContentType enum value ContentTypePdf = "PDF" @@ -10391,6 +11308,9 @@ const ( // DataSourceTypeCustom is a DataSourceType enum value DataSourceTypeCustom = "CUSTOM" + + // DataSourceTypeConfluence is a DataSourceType enum value + DataSourceTypeConfluence = "CONFLUENCE" ) // DataSourceType_Values returns all elements of the DataSourceType enum @@ -10403,6 +11323,7 @@ func DataSourceType_Values() []string { DataSourceTypeOnedrive, DataSourceTypeServicenow, DataSourceTypeCustom, + DataSourceTypeConfluence, } } diff --git a/service/neptune/api.go b/service/neptune/api.go index b764c829512..80c4cdcc56a 100644 --- a/service/neptune/api.go +++ b/service/neptune/api.go @@ -762,6 +762,101 @@ func (c *Neptune) CreateDBClusterWithContext(ctx aws.Context, input *CreateDBClu return out, req.Send() } +const opCreateDBClusterEndpoint = "CreateDBClusterEndpoint" + +// CreateDBClusterEndpointRequest generates a "aws/request.Request" representing the +// client's request for the CreateDBClusterEndpoint operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateDBClusterEndpoint for more information on using the CreateDBClusterEndpoint +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateDBClusterEndpointRequest method. +// req, resp := client.CreateDBClusterEndpointRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBClusterEndpoint +func (c *Neptune) CreateDBClusterEndpointRequest(input *CreateDBClusterEndpointInput) (req *request.Request, output *CreateDBClusterEndpointOutput) { + op := &request.Operation{ + Name: opCreateDBClusterEndpoint, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateDBClusterEndpointInput{} + } + + output = &CreateDBClusterEndpointOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateDBClusterEndpoint API operation for Amazon Neptune. +// +// Creates a new custom endpoint and associates it with an Amazon Neptune DB +// cluster. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Neptune's +// API operation CreateDBClusterEndpoint for usage and error information. +// +// Returned Error Codes: +// * ErrCodeDBClusterEndpointQuotaExceededFault "DBClusterEndpointQuotaExceededFault" +// The cluster already has the maximum number of custom endpoints. +// +// * ErrCodeDBClusterEndpointAlreadyExistsFault "DBClusterEndpointAlreadyExistsFault" +// The specified custom endpoint cannot be created because it already exists. +// +// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. +// +// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. +// +// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier does not refer to an existing DB instance. +// +// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified DB instance is not in the available state. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBClusterEndpoint +func (c *Neptune) CreateDBClusterEndpoint(input *CreateDBClusterEndpointInput) (*CreateDBClusterEndpointOutput, error) { + req, out := c.CreateDBClusterEndpointRequest(input) + return out, req.Send() +} + +// CreateDBClusterEndpointWithContext is the same as CreateDBClusterEndpoint with the addition of +// the ability to pass a context and additional request options. +// +// See CreateDBClusterEndpoint for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Neptune) CreateDBClusterEndpointWithContext(ctx aws.Context, input *CreateDBClusterEndpointInput, opts ...request.Option) (*CreateDBClusterEndpointOutput, error) { + req, out := c.CreateDBClusterEndpointRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateDBClusterParameterGroup = "CreateDBClusterParameterGroup" // CreateDBClusterParameterGroupRequest generates a "aws/request.Request" representing the @@ -1510,6 +1605,92 @@ func (c *Neptune) DeleteDBClusterWithContext(ctx aws.Context, input *DeleteDBClu return out, req.Send() } +const opDeleteDBClusterEndpoint = "DeleteDBClusterEndpoint" + +// DeleteDBClusterEndpointRequest generates a "aws/request.Request" representing the +// client's request for the DeleteDBClusterEndpoint operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteDBClusterEndpoint for more information on using the DeleteDBClusterEndpoint +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteDBClusterEndpointRequest method. +// req, resp := client.DeleteDBClusterEndpointRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBClusterEndpoint +func (c *Neptune) DeleteDBClusterEndpointRequest(input *DeleteDBClusterEndpointInput) (req *request.Request, output *DeleteDBClusterEndpointOutput) { + op := &request.Operation{ + Name: opDeleteDBClusterEndpoint, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteDBClusterEndpointInput{} + } + + output = &DeleteDBClusterEndpointOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteDBClusterEndpoint API operation for Amazon Neptune. +// +// Deletes a custom endpoint and removes it from an Amazon Neptune DB cluster. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Neptune's +// API operation DeleteDBClusterEndpoint for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidDBClusterEndpointStateFault "InvalidDBClusterEndpointStateFault" +// The requested operation cannot be performed on the endpoint while the endpoint +// is in this state. +// +// * ErrCodeDBClusterEndpointNotFoundFault "DBClusterEndpointNotFoundFault" +// The specified custom endpoint doesn't exist. +// +// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBClusterEndpoint +func (c *Neptune) DeleteDBClusterEndpoint(input *DeleteDBClusterEndpointInput) (*DeleteDBClusterEndpointOutput, error) { + req, out := c.DeleteDBClusterEndpointRequest(input) + return out, req.Send() +} + +// DeleteDBClusterEndpointWithContext is the same as DeleteDBClusterEndpoint with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteDBClusterEndpoint for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Neptune) DeleteDBClusterEndpointWithContext(ctx aws.Context, input *DeleteDBClusterEndpointInput, opts ...request.Option) (*DeleteDBClusterEndpointOutput, error) { + req, out := c.DeleteDBClusterEndpointRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteDBClusterParameterGroup = "DeleteDBClusterParameterGroup" // DeleteDBClusterParameterGroupRequest generates a "aws/request.Request" representing the @@ -2043,6 +2224,146 @@ func (c *Neptune) DeleteEventSubscriptionWithContext(ctx aws.Context, input *Del return out, req.Send() } +const opDescribeDBClusterEndpoints = "DescribeDBClusterEndpoints" + +// DescribeDBClusterEndpointsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeDBClusterEndpoints operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeDBClusterEndpoints for more information on using the DescribeDBClusterEndpoints +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeDBClusterEndpointsRequest method. +// req, resp := client.DescribeDBClusterEndpointsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterEndpoints +func (c *Neptune) DescribeDBClusterEndpointsRequest(input *DescribeDBClusterEndpointsInput) (req *request.Request, output *DescribeDBClusterEndpointsOutput) { + op := &request.Operation{ + Name: opDescribeDBClusterEndpoints, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"Marker"}, + OutputTokens: []string{"Marker"}, + LimitToken: "MaxRecords", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeDBClusterEndpointsInput{} + } + + output = &DescribeDBClusterEndpointsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeDBClusterEndpoints API operation for Amazon Neptune. +// +// Returns information about endpoints for an Amazon Neptune DB cluster. +// +// This operation can also return information for Amazon RDS clusters and Amazon +// DocDB clusters. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Neptune's +// API operation DescribeDBClusterEndpoints for usage and error information. +// +// Returned Error Codes: +// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterEndpoints +func (c *Neptune) DescribeDBClusterEndpoints(input *DescribeDBClusterEndpointsInput) (*DescribeDBClusterEndpointsOutput, error) { + req, out := c.DescribeDBClusterEndpointsRequest(input) + return out, req.Send() +} + +// DescribeDBClusterEndpointsWithContext is the same as DescribeDBClusterEndpoints with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeDBClusterEndpoints for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Neptune) DescribeDBClusterEndpointsWithContext(ctx aws.Context, input *DescribeDBClusterEndpointsInput, opts ...request.Option) (*DescribeDBClusterEndpointsOutput, error) { + req, out := c.DescribeDBClusterEndpointsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeDBClusterEndpointsPages iterates over the pages of a DescribeDBClusterEndpoints operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeDBClusterEndpoints method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeDBClusterEndpoints operation. +// pageNum := 0 +// err := client.DescribeDBClusterEndpointsPages(params, +// func(page *neptune.DescribeDBClusterEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *Neptune) DescribeDBClusterEndpointsPages(input *DescribeDBClusterEndpointsInput, fn func(*DescribeDBClusterEndpointsOutput, bool) bool) error { + return c.DescribeDBClusterEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeDBClusterEndpointsPagesWithContext same as DescribeDBClusterEndpointsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Neptune) DescribeDBClusterEndpointsPagesWithContext(ctx aws.Context, input *DescribeDBClusterEndpointsInput, fn func(*DescribeDBClusterEndpointsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeDBClusterEndpointsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeDBClusterEndpointsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeDBClusterEndpointsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opDescribeDBClusterParameterGroups = "DescribeDBClusterParameterGroups" // DescribeDBClusterParameterGroupsRequest generates a "aws/request.Request" representing the @@ -4294,57 +4615,149 @@ func (c *Neptune) ModifyDBClusterWithContext(ctx aws.Context, input *ModifyDBClu return out, req.Send() } -const opModifyDBClusterParameterGroup = "ModifyDBClusterParameterGroup" +const opModifyDBClusterEndpoint = "ModifyDBClusterEndpoint" -// ModifyDBClusterParameterGroupRequest generates a "aws/request.Request" representing the -// client's request for the ModifyDBClusterParameterGroup operation. The "output" return +// ModifyDBClusterEndpointRequest generates a "aws/request.Request" representing the +// client's request for the ModifyDBClusterEndpoint operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ModifyDBClusterParameterGroup for more information on using the ModifyDBClusterParameterGroup +// See ModifyDBClusterEndpoint for more information on using the ModifyDBClusterEndpoint // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ModifyDBClusterParameterGroupRequest method. -// req, resp := client.ModifyDBClusterParameterGroupRequest(params) +// // Example sending a request using the ModifyDBClusterEndpointRequest method. +// req, resp := client.ModifyDBClusterEndpointRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBClusterParameterGroup -func (c *Neptune) ModifyDBClusterParameterGroupRequest(input *ModifyDBClusterParameterGroupInput) (req *request.Request, output *ResetDBClusterParameterGroupOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBClusterEndpoint +func (c *Neptune) ModifyDBClusterEndpointRequest(input *ModifyDBClusterEndpointInput) (req *request.Request, output *ModifyDBClusterEndpointOutput) { op := &request.Operation{ - Name: opModifyDBClusterParameterGroup, + Name: opModifyDBClusterEndpoint, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &ModifyDBClusterParameterGroupInput{} + input = &ModifyDBClusterEndpointInput{} } - output = &ResetDBClusterParameterGroupOutput{} + output = &ModifyDBClusterEndpointOutput{} req = c.newRequest(op, input, output) return } -// ModifyDBClusterParameterGroup API operation for Amazon Neptune. +// ModifyDBClusterEndpoint API operation for Amazon Neptune. // -// Modifies the parameters of a DB cluster parameter group. To modify more than -// one parameter, submit a list of the following: ParameterName, ParameterValue, -// and ApplyMethod. A maximum of 20 parameters can be modified in a single request. +// Modifies the properties of an endpoint in an Amazon Neptune DB cluster. // -// Changes to dynamic parameters are applied immediately. Changes to static -// parameters require a reboot without failover to the DB cluster associated -// with the parameter group before the change can take effect. +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Neptune's +// API operation ModifyDBClusterEndpoint for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. +// +// * ErrCodeInvalidDBClusterEndpointStateFault "InvalidDBClusterEndpointStateFault" +// The requested operation cannot be performed on the endpoint while the endpoint +// is in this state. +// +// * ErrCodeDBClusterEndpointNotFoundFault "DBClusterEndpointNotFoundFault" +// The specified custom endpoint doesn't exist. +// +// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier does not refer to an existing DB instance. +// +// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified DB instance is not in the available state. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBClusterEndpoint +func (c *Neptune) ModifyDBClusterEndpoint(input *ModifyDBClusterEndpointInput) (*ModifyDBClusterEndpointOutput, error) { + req, out := c.ModifyDBClusterEndpointRequest(input) + return out, req.Send() +} + +// ModifyDBClusterEndpointWithContext is the same as ModifyDBClusterEndpoint with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyDBClusterEndpoint for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Neptune) ModifyDBClusterEndpointWithContext(ctx aws.Context, input *ModifyDBClusterEndpointInput, opts ...request.Option) (*ModifyDBClusterEndpointOutput, error) { + req, out := c.ModifyDBClusterEndpointRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opModifyDBClusterParameterGroup = "ModifyDBClusterParameterGroup" + +// ModifyDBClusterParameterGroupRequest generates a "aws/request.Request" representing the +// client's request for the ModifyDBClusterParameterGroup operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ModifyDBClusterParameterGroup for more information on using the ModifyDBClusterParameterGroup +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ModifyDBClusterParameterGroupRequest method. +// req, resp := client.ModifyDBClusterParameterGroupRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBClusterParameterGroup +func (c *Neptune) ModifyDBClusterParameterGroupRequest(input *ModifyDBClusterParameterGroupInput) (req *request.Request, output *ResetDBClusterParameterGroupOutput) { + op := &request.Operation{ + Name: opModifyDBClusterParameterGroup, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyDBClusterParameterGroupInput{} + } + + output = &ResetDBClusterParameterGroupOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyDBClusterParameterGroup API operation for Amazon Neptune. +// +// Modifies the parameters of a DB cluster parameter group. To modify more than +// one parameter, submit a list of the following: ParameterName, ParameterValue, +// and ApplyMethod. A maximum of 20 parameters can be modified in a single request. +// +// Changes to dynamic parameters are applied immediately. Changes to static +// parameters require a reboot without failover to the DB cluster associated +// with the parameter group before the change can take effect. // // After you create a DB cluster parameter group, you should wait at least 5 // minutes before creating your first DB cluster that uses that DB cluster parameter @@ -6010,6 +6423,10 @@ type AddRoleToDBClusterInput struct { // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` + // The name of the feature for the Neptune DB cluster that the IAM role is to + // be associated with. For the list of supported feature names, see DBEngineVersion. + FeatureName *string `type:"string"` + // The Amazon Resource Name (ARN) of the IAM role to associate with the Neptune // DB cluster, for example arn:aws:iam::123456789012:role/NeptuneAccessRole. // @@ -6049,6 +6466,12 @@ func (s *AddRoleToDBClusterInput) SetDBClusterIdentifier(v string) *AddRoleToDBC return s } +// SetFeatureName sets the FeatureName field's value. +func (s *AddRoleToDBClusterInput) SetFeatureName(v string) *AddRoleToDBClusterInput { + s.FeatureName = &v + return s +} + // SetRoleArn sets the RoleArn field's value. func (s *AddRoleToDBClusterInput) SetRoleArn(v string) *AddRoleToDBClusterInput { s.RoleArn = &v @@ -6827,6 +7250,229 @@ func (s *CopyDBParameterGroupOutput) SetDBParameterGroup(v *DBParameterGroup) *C return s } +type CreateDBClusterEndpointInput struct { + _ struct{} `type:"structure"` + + // The identifier to use for the new endpoint. This parameter is stored as a + // lowercase string. + // + // DBClusterEndpointIdentifier is a required field + DBClusterEndpointIdentifier *string `type:"string" required:"true"` + + // The DB cluster identifier of the DB cluster associated with the endpoint. + // This parameter is stored as a lowercase string. + // + // DBClusterIdentifier is a required field + DBClusterIdentifier *string `type:"string" required:"true"` + + // The type of the endpoint. One of: READER, WRITER, ANY. + // + // EndpointType is a required field + EndpointType *string `type:"string" required:"true"` + + // List of DB instance identifiers that aren't part of the custom endpoint group. + // All other eligible instances are reachable through the custom endpoint. Only + // relevant if the list of static members is empty. + ExcludedMembers []*string `type:"list"` + + // List of DB instance identifiers that are part of the custom endpoint group. + StaticMembers []*string `type:"list"` + + // The tags to be assigned to the Amazon Neptune resource. + Tags []*Tag `locationNameList:"Tag" type:"list"` +} + +// String returns the string representation +func (s CreateDBClusterEndpointInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateDBClusterEndpointInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateDBClusterEndpointInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateDBClusterEndpointInput"} + if s.DBClusterEndpointIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("DBClusterEndpointIdentifier")) + } + if s.DBClusterIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("DBClusterIdentifier")) + } + if s.EndpointType == nil { + invalidParams.Add(request.NewErrParamRequired("EndpointType")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDBClusterEndpointIdentifier sets the DBClusterEndpointIdentifier field's value. +func (s *CreateDBClusterEndpointInput) SetDBClusterEndpointIdentifier(v string) *CreateDBClusterEndpointInput { + s.DBClusterEndpointIdentifier = &v + return s +} + +// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. +func (s *CreateDBClusterEndpointInput) SetDBClusterIdentifier(v string) *CreateDBClusterEndpointInput { + s.DBClusterIdentifier = &v + return s +} + +// SetEndpointType sets the EndpointType field's value. +func (s *CreateDBClusterEndpointInput) SetEndpointType(v string) *CreateDBClusterEndpointInput { + s.EndpointType = &v + return s +} + +// SetExcludedMembers sets the ExcludedMembers field's value. +func (s *CreateDBClusterEndpointInput) SetExcludedMembers(v []*string) *CreateDBClusterEndpointInput { + s.ExcludedMembers = v + return s +} + +// SetStaticMembers sets the StaticMembers field's value. +func (s *CreateDBClusterEndpointInput) SetStaticMembers(v []*string) *CreateDBClusterEndpointInput { + s.StaticMembers = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateDBClusterEndpointInput) SetTags(v []*Tag) *CreateDBClusterEndpointInput { + s.Tags = v + return s +} + +// This data type represents the information you need to connect to an Amazon +// Neptune DB cluster. This data type is used as a response element in the following +// actions: +// +// * CreateDBClusterEndpoint +// +// * DescribeDBClusterEndpoints +// +// * ModifyDBClusterEndpoint +// +// * DeleteDBClusterEndpoint +// +// For the data structure that represents Amazon Neptune DB instance endpoints, +// see Endpoint. +type CreateDBClusterEndpointOutput struct { + _ struct{} `type:"structure"` + + // The type associated with a custom endpoint. One of: READER, WRITER, ANY. + CustomEndpointType *string `type:"string"` + + // The Amazon Resource Name (ARN) for the endpoint. + DBClusterEndpointArn *string `type:"string"` + + // The identifier associated with the endpoint. This parameter is stored as + // a lowercase string. + DBClusterEndpointIdentifier *string `type:"string"` + + // A unique system-generated identifier for an endpoint. It remains the same + // for the whole life of the endpoint. + DBClusterEndpointResourceIdentifier *string `type:"string"` + + // The DB cluster identifier of the DB cluster associated with the endpoint. + // This parameter is stored as a lowercase string. + DBClusterIdentifier *string `type:"string"` + + // The DNS address of the endpoint. + Endpoint *string `type:"string"` + + // The type of the endpoint. One of: READER, WRITER, CUSTOM. + EndpointType *string `type:"string"` + + // List of DB instance identifiers that aren't part of the custom endpoint group. + // All other eligible instances are reachable through the custom endpoint. Only + // relevant if the list of static members is empty. + ExcludedMembers []*string `type:"list"` + + // List of DB instance identifiers that are part of the custom endpoint group. + StaticMembers []*string `type:"list"` + + // The current status of the endpoint. One of: creating, available, deleting, + // inactive, modifying. The inactive state applies to an endpoint that cannot + // be used for a certain kind of cluster, such as a writer endpoint for a read-only + // secondary cluster in a global database. + Status *string `type:"string"` +} + +// String returns the string representation +func (s CreateDBClusterEndpointOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateDBClusterEndpointOutput) GoString() string { + return s.String() +} + +// SetCustomEndpointType sets the CustomEndpointType field's value. +func (s *CreateDBClusterEndpointOutput) SetCustomEndpointType(v string) *CreateDBClusterEndpointOutput { + s.CustomEndpointType = &v + return s +} + +// SetDBClusterEndpointArn sets the DBClusterEndpointArn field's value. +func (s *CreateDBClusterEndpointOutput) SetDBClusterEndpointArn(v string) *CreateDBClusterEndpointOutput { + s.DBClusterEndpointArn = &v + return s +} + +// SetDBClusterEndpointIdentifier sets the DBClusterEndpointIdentifier field's value. +func (s *CreateDBClusterEndpointOutput) SetDBClusterEndpointIdentifier(v string) *CreateDBClusterEndpointOutput { + s.DBClusterEndpointIdentifier = &v + return s +} + +// SetDBClusterEndpointResourceIdentifier sets the DBClusterEndpointResourceIdentifier field's value. +func (s *CreateDBClusterEndpointOutput) SetDBClusterEndpointResourceIdentifier(v string) *CreateDBClusterEndpointOutput { + s.DBClusterEndpointResourceIdentifier = &v + return s +} + +// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. +func (s *CreateDBClusterEndpointOutput) SetDBClusterIdentifier(v string) *CreateDBClusterEndpointOutput { + s.DBClusterIdentifier = &v + return s +} + +// SetEndpoint sets the Endpoint field's value. +func (s *CreateDBClusterEndpointOutput) SetEndpoint(v string) *CreateDBClusterEndpointOutput { + s.Endpoint = &v + return s +} + +// SetEndpointType sets the EndpointType field's value. +func (s *CreateDBClusterEndpointOutput) SetEndpointType(v string) *CreateDBClusterEndpointOutput { + s.EndpointType = &v + return s +} + +// SetExcludedMembers sets the ExcludedMembers field's value. +func (s *CreateDBClusterEndpointOutput) SetExcludedMembers(v []*string) *CreateDBClusterEndpointOutput { + s.ExcludedMembers = v + return s +} + +// SetStaticMembers sets the StaticMembers field's value. +func (s *CreateDBClusterEndpointOutput) SetStaticMembers(v []*string) *CreateDBClusterEndpointOutput { + s.StaticMembers = v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateDBClusterEndpointOutput) SetStatus(v string) *CreateDBClusterEndpointOutput { + s.Status = &v + return s +} + type CreateDBClusterInput struct { _ struct{} `type:"structure"` @@ -6892,10 +7538,7 @@ type CreateDBClusterInput struct { // Logs. EnableCloudwatchLogsExports []*string `type:"list"` - // True to enable mapping of AWS Identity and Access Management (IAM) accounts - // to database accounts, and otherwise false. - // - // Default: false + // Not supported by Neptune. EnableIAMDatabaseAuthentication *bool `type:"boolean"` // The name of the database engine to be used for this DB cluster. @@ -6905,10 +7548,9 @@ type CreateDBClusterInput struct { // Engine is a required field Engine *string `type:"string" required:"true"` - // The version number of the database engine to use. Currently, setting this - // parameter has no effect. + // The version number of the database engine to use for the new DB cluster. // - // Example: 1.0.1 + // Example: 1.0.2.1 EngineVersion *string `type:"string"` // The AWS KMS key identifier for an encrypted DB cluster. @@ -8770,6 +9412,132 @@ func (s *DBCluster) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *DBClu return s } +// This data type represents the information you need to connect to an Amazon +// Neptune DB cluster. This data type is used as a response element in the following +// actions: +// +// * CreateDBClusterEndpoint +// +// * DescribeDBClusterEndpoints +// +// * ModifyDBClusterEndpoint +// +// * DeleteDBClusterEndpoint +// +// For the data structure that represents Amazon Neptune DB instance endpoints, +// see Endpoint. +type DBClusterEndpoint struct { + _ struct{} `type:"structure"` + + // The type associated with a custom endpoint. One of: READER, WRITER, ANY. + CustomEndpointType *string `type:"string"` + + // The Amazon Resource Name (ARN) for the endpoint. + DBClusterEndpointArn *string `type:"string"` + + // The identifier associated with the endpoint. This parameter is stored as + // a lowercase string. + DBClusterEndpointIdentifier *string `type:"string"` + + // A unique system-generated identifier for an endpoint. It remains the same + // for the whole life of the endpoint. + DBClusterEndpointResourceIdentifier *string `type:"string"` + + // The DB cluster identifier of the DB cluster associated with the endpoint. + // This parameter is stored as a lowercase string. + DBClusterIdentifier *string `type:"string"` + + // The DNS address of the endpoint. + Endpoint *string `type:"string"` + + // The type of the endpoint. One of: READER, WRITER, CUSTOM. + EndpointType *string `type:"string"` + + // List of DB instance identifiers that aren't part of the custom endpoint group. + // All other eligible instances are reachable through the custom endpoint. Only + // relevant if the list of static members is empty. + ExcludedMembers []*string `type:"list"` + + // List of DB instance identifiers that are part of the custom endpoint group. + StaticMembers []*string `type:"list"` + + // The current status of the endpoint. One of: creating, available, deleting, + // inactive, modifying. The inactive state applies to an endpoint that cannot + // be used for a certain kind of cluster, such as a writer endpoint for a read-only + // secondary cluster in a global database. + Status *string `type:"string"` +} + +// String returns the string representation +func (s DBClusterEndpoint) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DBClusterEndpoint) GoString() string { + return s.String() +} + +// SetCustomEndpointType sets the CustomEndpointType field's value. +func (s *DBClusterEndpoint) SetCustomEndpointType(v string) *DBClusterEndpoint { + s.CustomEndpointType = &v + return s +} + +// SetDBClusterEndpointArn sets the DBClusterEndpointArn field's value. +func (s *DBClusterEndpoint) SetDBClusterEndpointArn(v string) *DBClusterEndpoint { + s.DBClusterEndpointArn = &v + return s +} + +// SetDBClusterEndpointIdentifier sets the DBClusterEndpointIdentifier field's value. +func (s *DBClusterEndpoint) SetDBClusterEndpointIdentifier(v string) *DBClusterEndpoint { + s.DBClusterEndpointIdentifier = &v + return s +} + +// SetDBClusterEndpointResourceIdentifier sets the DBClusterEndpointResourceIdentifier field's value. +func (s *DBClusterEndpoint) SetDBClusterEndpointResourceIdentifier(v string) *DBClusterEndpoint { + s.DBClusterEndpointResourceIdentifier = &v + return s +} + +// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. +func (s *DBClusterEndpoint) SetDBClusterIdentifier(v string) *DBClusterEndpoint { + s.DBClusterIdentifier = &v + return s +} + +// SetEndpoint sets the Endpoint field's value. +func (s *DBClusterEndpoint) SetEndpoint(v string) *DBClusterEndpoint { + s.Endpoint = &v + return s +} + +// SetEndpointType sets the EndpointType field's value. +func (s *DBClusterEndpoint) SetEndpointType(v string) *DBClusterEndpoint { + s.EndpointType = &v + return s +} + +// SetExcludedMembers sets the ExcludedMembers field's value. +func (s *DBClusterEndpoint) SetExcludedMembers(v []*string) *DBClusterEndpoint { + s.ExcludedMembers = v + return s +} + +// SetStaticMembers sets the StaticMembers field's value. +func (s *DBClusterEndpoint) SetStaticMembers(v []*string) *DBClusterEndpoint { + s.StaticMembers = v + return s +} + +// SetStatus sets the Status field's value. +func (s *DBClusterEndpoint) SetStatus(v string) *DBClusterEndpoint { + s.Status = &v + return s +} + // Contains information about an instance that is part of a DB cluster. type DBClusterMember struct { _ struct{} `type:"structure"` @@ -8918,6 +9686,10 @@ func (s *DBClusterParameterGroup) SetDescription(v string) *DBClusterParameterGr type DBClusterRole struct { _ struct{} `type:"structure"` + // The name of the feature associated with the AWS Identity and Access Management + // (IAM) role. For the list of supported feature names, see DBEngineVersion. + FeatureName *string `type:"string"` + // The Amazon Resource Name (ARN) of the IAM role that is associated with the // DB cluster. RoleArn *string `type:"string"` @@ -8946,6 +9718,12 @@ func (s DBClusterRole) GoString() string { return s.String() } +// SetFeatureName sets the FeatureName field's value. +func (s *DBClusterRole) SetFeatureName(v string) *DBClusterRole { + s.FeatureName = &v + return s +} + // SetRoleArn sets the RoleArn field's value. func (s *DBClusterRole) SetRoleArn(v string) *DBClusterRole { s.RoleArn = &v @@ -10106,68 +10884,233 @@ func (s *DBSecurityGroupMembership) SetStatus(v string) *DBSecurityGroupMembersh type DBSubnetGroup struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) for the DB subnet group. - DBSubnetGroupArn *string `type:"string"` + // The Amazon Resource Name (ARN) for the DB subnet group. + DBSubnetGroupArn *string `type:"string"` + + // Provides the description of the DB subnet group. + DBSubnetGroupDescription *string `type:"string"` + + // The name of the DB subnet group. + DBSubnetGroupName *string `type:"string"` + + // Provides the status of the DB subnet group. + SubnetGroupStatus *string `type:"string"` + + // Contains a list of Subnet elements. + Subnets []*Subnet `locationNameList:"Subnet" type:"list"` + + // Provides the VpcId of the DB subnet group. + VpcId *string `type:"string"` +} + +// String returns the string representation +func (s DBSubnetGroup) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DBSubnetGroup) GoString() string { + return s.String() +} + +// SetDBSubnetGroupArn sets the DBSubnetGroupArn field's value. +func (s *DBSubnetGroup) SetDBSubnetGroupArn(v string) *DBSubnetGroup { + s.DBSubnetGroupArn = &v + return s +} + +// SetDBSubnetGroupDescription sets the DBSubnetGroupDescription field's value. +func (s *DBSubnetGroup) SetDBSubnetGroupDescription(v string) *DBSubnetGroup { + s.DBSubnetGroupDescription = &v + return s +} + +// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. +func (s *DBSubnetGroup) SetDBSubnetGroupName(v string) *DBSubnetGroup { + s.DBSubnetGroupName = &v + return s +} + +// SetSubnetGroupStatus sets the SubnetGroupStatus field's value. +func (s *DBSubnetGroup) SetSubnetGroupStatus(v string) *DBSubnetGroup { + s.SubnetGroupStatus = &v + return s +} + +// SetSubnets sets the Subnets field's value. +func (s *DBSubnetGroup) SetSubnets(v []*Subnet) *DBSubnetGroup { + s.Subnets = v + return s +} + +// SetVpcId sets the VpcId field's value. +func (s *DBSubnetGroup) SetVpcId(v string) *DBSubnetGroup { + s.VpcId = &v + return s +} + +type DeleteDBClusterEndpointInput struct { + _ struct{} `type:"structure"` + + // The identifier associated with the custom endpoint. This parameter is stored + // as a lowercase string. + // + // DBClusterEndpointIdentifier is a required field + DBClusterEndpointIdentifier *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteDBClusterEndpointInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteDBClusterEndpointInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteDBClusterEndpointInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteDBClusterEndpointInput"} + if s.DBClusterEndpointIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("DBClusterEndpointIdentifier")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDBClusterEndpointIdentifier sets the DBClusterEndpointIdentifier field's value. +func (s *DeleteDBClusterEndpointInput) SetDBClusterEndpointIdentifier(v string) *DeleteDBClusterEndpointInput { + s.DBClusterEndpointIdentifier = &v + return s +} + +// This data type represents the information you need to connect to an Amazon +// Neptune DB cluster. This data type is used as a response element in the following +// actions: +// +// * CreateDBClusterEndpoint +// +// * DescribeDBClusterEndpoints +// +// * ModifyDBClusterEndpoint +// +// * DeleteDBClusterEndpoint +// +// For the data structure that represents Amazon RDS DB instance endpoints, +// see Endpoint. +type DeleteDBClusterEndpointOutput struct { + _ struct{} `type:"structure"` + + // The type associated with a custom endpoint. One of: READER, WRITER, ANY. + CustomEndpointType *string `type:"string"` + + // The Amazon Resource Name (ARN) for the endpoint. + DBClusterEndpointArn *string `type:"string"` + + // The identifier associated with the endpoint. This parameter is stored as + // a lowercase string. + DBClusterEndpointIdentifier *string `type:"string"` - // Provides the description of the DB subnet group. - DBSubnetGroupDescription *string `type:"string"` + // A unique system-generated identifier for an endpoint. It remains the same + // for the whole life of the endpoint. + DBClusterEndpointResourceIdentifier *string `type:"string"` - // The name of the DB subnet group. - DBSubnetGroupName *string `type:"string"` + // The DB cluster identifier of the DB cluster associated with the endpoint. + // This parameter is stored as a lowercase string. + DBClusterIdentifier *string `type:"string"` - // Provides the status of the DB subnet group. - SubnetGroupStatus *string `type:"string"` + // The DNS address of the endpoint. + Endpoint *string `type:"string"` - // Contains a list of Subnet elements. - Subnets []*Subnet `locationNameList:"Subnet" type:"list"` + // The type of the endpoint. One of: READER, WRITER, CUSTOM. + EndpointType *string `type:"string"` - // Provides the VpcId of the DB subnet group. - VpcId *string `type:"string"` + // List of DB instance identifiers that aren't part of the custom endpoint group. + // All other eligible instances are reachable through the custom endpoint. Only + // relevant if the list of static members is empty. + ExcludedMembers []*string `type:"list"` + + // List of DB instance identifiers that are part of the custom endpoint group. + StaticMembers []*string `type:"list"` + + // The current status of the endpoint. One of: creating, available, deleting, + // inactive, modifying. The inactive state applies to an endpoint that cannot + // be used for a certain kind of cluster, such as a writer endpoint for a read-only + // secondary cluster in a global database. + Status *string `type:"string"` } // String returns the string representation -func (s DBSubnetGroup) String() string { +func (s DeleteDBClusterEndpointOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DBSubnetGroup) GoString() string { +func (s DeleteDBClusterEndpointOutput) GoString() string { return s.String() } -// SetDBSubnetGroupArn sets the DBSubnetGroupArn field's value. -func (s *DBSubnetGroup) SetDBSubnetGroupArn(v string) *DBSubnetGroup { - s.DBSubnetGroupArn = &v +// SetCustomEndpointType sets the CustomEndpointType field's value. +func (s *DeleteDBClusterEndpointOutput) SetCustomEndpointType(v string) *DeleteDBClusterEndpointOutput { + s.CustomEndpointType = &v return s } -// SetDBSubnetGroupDescription sets the DBSubnetGroupDescription field's value. -func (s *DBSubnetGroup) SetDBSubnetGroupDescription(v string) *DBSubnetGroup { - s.DBSubnetGroupDescription = &v +// SetDBClusterEndpointArn sets the DBClusterEndpointArn field's value. +func (s *DeleteDBClusterEndpointOutput) SetDBClusterEndpointArn(v string) *DeleteDBClusterEndpointOutput { + s.DBClusterEndpointArn = &v return s } -// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. -func (s *DBSubnetGroup) SetDBSubnetGroupName(v string) *DBSubnetGroup { - s.DBSubnetGroupName = &v +// SetDBClusterEndpointIdentifier sets the DBClusterEndpointIdentifier field's value. +func (s *DeleteDBClusterEndpointOutput) SetDBClusterEndpointIdentifier(v string) *DeleteDBClusterEndpointOutput { + s.DBClusterEndpointIdentifier = &v return s } -// SetSubnetGroupStatus sets the SubnetGroupStatus field's value. -func (s *DBSubnetGroup) SetSubnetGroupStatus(v string) *DBSubnetGroup { - s.SubnetGroupStatus = &v +// SetDBClusterEndpointResourceIdentifier sets the DBClusterEndpointResourceIdentifier field's value. +func (s *DeleteDBClusterEndpointOutput) SetDBClusterEndpointResourceIdentifier(v string) *DeleteDBClusterEndpointOutput { + s.DBClusterEndpointResourceIdentifier = &v return s } -// SetSubnets sets the Subnets field's value. -func (s *DBSubnetGroup) SetSubnets(v []*Subnet) *DBSubnetGroup { - s.Subnets = v +// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. +func (s *DeleteDBClusterEndpointOutput) SetDBClusterIdentifier(v string) *DeleteDBClusterEndpointOutput { + s.DBClusterIdentifier = &v return s } -// SetVpcId sets the VpcId field's value. -func (s *DBSubnetGroup) SetVpcId(v string) *DBSubnetGroup { - s.VpcId = &v +// SetEndpoint sets the Endpoint field's value. +func (s *DeleteDBClusterEndpointOutput) SetEndpoint(v string) *DeleteDBClusterEndpointOutput { + s.Endpoint = &v + return s +} + +// SetEndpointType sets the EndpointType field's value. +func (s *DeleteDBClusterEndpointOutput) SetEndpointType(v string) *DeleteDBClusterEndpointOutput { + s.EndpointType = &v + return s +} + +// SetExcludedMembers sets the ExcludedMembers field's value. +func (s *DeleteDBClusterEndpointOutput) SetExcludedMembers(v []*string) *DeleteDBClusterEndpointOutput { + s.ExcludedMembers = v + return s +} + +// SetStaticMembers sets the StaticMembers field's value. +func (s *DeleteDBClusterEndpointOutput) SetStaticMembers(v []*string) *DeleteDBClusterEndpointOutput { + s.StaticMembers = v + return s +} + +// SetStatus sets the Status field's value. +func (s *DeleteDBClusterEndpointOutput) SetStatus(v string) *DeleteDBClusterEndpointOutput { + s.Status = &v return s } @@ -10699,6 +11642,136 @@ func (s *DeleteEventSubscriptionOutput) SetEventSubscription(v *EventSubscriptio return s } +type DescribeDBClusterEndpointsInput struct { + _ struct{} `type:"structure"` + + // The identifier of the endpoint to describe. This parameter is stored as a + // lowercase string. + DBClusterEndpointIdentifier *string `type:"string"` + + // The DB cluster identifier of the DB cluster associated with the endpoint. + // This parameter is stored as a lowercase string. + DBClusterIdentifier *string `type:"string"` + + // A set of name-value pairs that define which endpoints to include in the output. + // The filters are specified as name-value pairs, in the format Name=endpoint_type,Values=endpoint_type1,endpoint_type2,.... + // Name can be one of: db-cluster-endpoint-type, db-cluster-endpoint-custom-type, + // db-cluster-endpoint-id, db-cluster-endpoint-status. Values for the db-cluster-endpoint-type + // filter can be one or more of: reader, writer, custom. Values for the db-cluster-endpoint-custom-type + // filter can be one or more of: reader, any. Values for the db-cluster-endpoint-status + // filter can be one or more of: available, creating, deleting, inactive, modifying. + Filters []*Filter `locationNameList:"Filter" type:"list"` + + // An optional pagination token provided by a previous DescribeDBClusterEndpoints + // request. If this parameter is specified, the response includes only records + // beyond the marker, up to the value specified by MaxRecords. + Marker *string `type:"string"` + + // The maximum number of records to include in the response. If more records + // exist than the specified MaxRecords value, a pagination token called a marker + // is included in the response so you can retrieve the remaining results. + // + // Default: 100 + // + // Constraints: Minimum 20, maximum 100. + MaxRecords *int64 `type:"integer"` +} + +// String returns the string representation +func (s DescribeDBClusterEndpointsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeDBClusterEndpointsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeDBClusterEndpointsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeDBClusterEndpointsInput"} + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDBClusterEndpointIdentifier sets the DBClusterEndpointIdentifier field's value. +func (s *DescribeDBClusterEndpointsInput) SetDBClusterEndpointIdentifier(v string) *DescribeDBClusterEndpointsInput { + s.DBClusterEndpointIdentifier = &v + return s +} + +// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. +func (s *DescribeDBClusterEndpointsInput) SetDBClusterIdentifier(v string) *DescribeDBClusterEndpointsInput { + s.DBClusterIdentifier = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeDBClusterEndpointsInput) SetFilters(v []*Filter) *DescribeDBClusterEndpointsInput { + s.Filters = v + return s +} + +// SetMarker sets the Marker field's value. +func (s *DescribeDBClusterEndpointsInput) SetMarker(v string) *DescribeDBClusterEndpointsInput { + s.Marker = &v + return s +} + +// SetMaxRecords sets the MaxRecords field's value. +func (s *DescribeDBClusterEndpointsInput) SetMaxRecords(v int64) *DescribeDBClusterEndpointsInput { + s.MaxRecords = &v + return s +} + +type DescribeDBClusterEndpointsOutput struct { + _ struct{} `type:"structure"` + + // Contains the details of the endpoints associated with the cluster and matching + // any filter conditions. + DBClusterEndpoints []*DBClusterEndpoint `locationNameList:"DBClusterEndpointList" type:"list"` + + // An optional pagination token provided by a previous DescribeDBClusterEndpoints + // request. If this parameter is specified, the response includes only records + // beyond the marker, up to the value specified by MaxRecords. + Marker *string `type:"string"` +} + +// String returns the string representation +func (s DescribeDBClusterEndpointsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeDBClusterEndpointsOutput) GoString() string { + return s.String() +} + +// SetDBClusterEndpoints sets the DBClusterEndpoints field's value. +func (s *DescribeDBClusterEndpointsOutput) SetDBClusterEndpoints(v []*DBClusterEndpoint) *DescribeDBClusterEndpointsOutput { + s.DBClusterEndpoints = v + return s +} + +// SetMarker sets the Marker field's value. +func (s *DescribeDBClusterEndpointsOutput) SetMarker(v string) *DescribeDBClusterEndpointsOutput { + s.Marker = &v + return s +} + type DescribeDBClusterParameterGroupsInput struct { _ struct{} `type:"structure"` @@ -13019,6 +14092,9 @@ func (s *DoubleRange) SetTo(v float64) *DoubleRange { } // Specifies a connection endpoint. +// +// For the data structure that represents Amazon Neptune DB cluster endpoints, +// see DBClusterEndpoint. type Endpoint struct { _ struct{} `type:"structure"` @@ -13524,6 +14600,200 @@ func (s *ListTagsForResourceOutput) SetTagList(v []*Tag) *ListTagsForResourceOut return s } +type ModifyDBClusterEndpointInput struct { + _ struct{} `type:"structure"` + + // The identifier of the endpoint to modify. This parameter is stored as a lowercase + // string. + // + // DBClusterEndpointIdentifier is a required field + DBClusterEndpointIdentifier *string `type:"string" required:"true"` + + // The type of the endpoint. One of: READER, WRITER, ANY. + EndpointType *string `type:"string"` + + // List of DB instance identifiers that aren't part of the custom endpoint group. + // All other eligible instances are reachable through the custom endpoint. Only + // relevant if the list of static members is empty. + ExcludedMembers []*string `type:"list"` + + // List of DB instance identifiers that are part of the custom endpoint group. + StaticMembers []*string `type:"list"` +} + +// String returns the string representation +func (s ModifyDBClusterEndpointInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyDBClusterEndpointInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyDBClusterEndpointInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyDBClusterEndpointInput"} + if s.DBClusterEndpointIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("DBClusterEndpointIdentifier")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDBClusterEndpointIdentifier sets the DBClusterEndpointIdentifier field's value. +func (s *ModifyDBClusterEndpointInput) SetDBClusterEndpointIdentifier(v string) *ModifyDBClusterEndpointInput { + s.DBClusterEndpointIdentifier = &v + return s +} + +// SetEndpointType sets the EndpointType field's value. +func (s *ModifyDBClusterEndpointInput) SetEndpointType(v string) *ModifyDBClusterEndpointInput { + s.EndpointType = &v + return s +} + +// SetExcludedMembers sets the ExcludedMembers field's value. +func (s *ModifyDBClusterEndpointInput) SetExcludedMembers(v []*string) *ModifyDBClusterEndpointInput { + s.ExcludedMembers = v + return s +} + +// SetStaticMembers sets the StaticMembers field's value. +func (s *ModifyDBClusterEndpointInput) SetStaticMembers(v []*string) *ModifyDBClusterEndpointInput { + s.StaticMembers = v + return s +} + +// This data type represents the information you need to connect to an Amazon +// Aurora DB cluster. This data type is used as a response element in the following +// actions: +// +// * CreateDBClusterEndpoint +// +// * DescribeDBClusterEndpoints +// +// * ModifyDBClusterEndpoint +// +// * DeleteDBClusterEndpoint +// +// For the data structure that represents Amazon RDS DB instance endpoints, +// see Endpoint. +type ModifyDBClusterEndpointOutput struct { + _ struct{} `type:"structure"` + + // The type associated with a custom endpoint. One of: READER, WRITER, ANY. + CustomEndpointType *string `type:"string"` + + // The Amazon Resource Name (ARN) for the endpoint. + DBClusterEndpointArn *string `type:"string"` + + // The identifier associated with the endpoint. This parameter is stored as + // a lowercase string. + DBClusterEndpointIdentifier *string `type:"string"` + + // A unique system-generated identifier for an endpoint. It remains the same + // for the whole life of the endpoint. + DBClusterEndpointResourceIdentifier *string `type:"string"` + + // The DB cluster identifier of the DB cluster associated with the endpoint. + // This parameter is stored as a lowercase string. + DBClusterIdentifier *string `type:"string"` + + // The DNS address of the endpoint. + Endpoint *string `type:"string"` + + // The type of the endpoint. One of: READER, WRITER, CUSTOM. + EndpointType *string `type:"string"` + + // List of DB instance identifiers that aren't part of the custom endpoint group. + // All other eligible instances are reachable through the custom endpoint. Only + // relevant if the list of static members is empty. + ExcludedMembers []*string `type:"list"` + + // List of DB instance identifiers that are part of the custom endpoint group. + StaticMembers []*string `type:"list"` + + // The current status of the endpoint. One of: creating, available, deleting, + // inactive, modifying. The inactive state applies to an endpoint that cannot + // be used for a certain kind of cluster, such as a writer endpoint for a read-only + // secondary cluster in a global database. + Status *string `type:"string"` +} + +// String returns the string representation +func (s ModifyDBClusterEndpointOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyDBClusterEndpointOutput) GoString() string { + return s.String() +} + +// SetCustomEndpointType sets the CustomEndpointType field's value. +func (s *ModifyDBClusterEndpointOutput) SetCustomEndpointType(v string) *ModifyDBClusterEndpointOutput { + s.CustomEndpointType = &v + return s +} + +// SetDBClusterEndpointArn sets the DBClusterEndpointArn field's value. +func (s *ModifyDBClusterEndpointOutput) SetDBClusterEndpointArn(v string) *ModifyDBClusterEndpointOutput { + s.DBClusterEndpointArn = &v + return s +} + +// SetDBClusterEndpointIdentifier sets the DBClusterEndpointIdentifier field's value. +func (s *ModifyDBClusterEndpointOutput) SetDBClusterEndpointIdentifier(v string) *ModifyDBClusterEndpointOutput { + s.DBClusterEndpointIdentifier = &v + return s +} + +// SetDBClusterEndpointResourceIdentifier sets the DBClusterEndpointResourceIdentifier field's value. +func (s *ModifyDBClusterEndpointOutput) SetDBClusterEndpointResourceIdentifier(v string) *ModifyDBClusterEndpointOutput { + s.DBClusterEndpointResourceIdentifier = &v + return s +} + +// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. +func (s *ModifyDBClusterEndpointOutput) SetDBClusterIdentifier(v string) *ModifyDBClusterEndpointOutput { + s.DBClusterIdentifier = &v + return s +} + +// SetEndpoint sets the Endpoint field's value. +func (s *ModifyDBClusterEndpointOutput) SetEndpoint(v string) *ModifyDBClusterEndpointOutput { + s.Endpoint = &v + return s +} + +// SetEndpointType sets the EndpointType field's value. +func (s *ModifyDBClusterEndpointOutput) SetEndpointType(v string) *ModifyDBClusterEndpointOutput { + s.EndpointType = &v + return s +} + +// SetExcludedMembers sets the ExcludedMembers field's value. +func (s *ModifyDBClusterEndpointOutput) SetExcludedMembers(v []*string) *ModifyDBClusterEndpointOutput { + s.ExcludedMembers = v + return s +} + +// SetStaticMembers sets the StaticMembers field's value. +func (s *ModifyDBClusterEndpointOutput) SetStaticMembers(v []*string) *ModifyDBClusterEndpointOutput { + s.StaticMembers = v + return s +} + +// SetStatus sets the Status field's value. +func (s *ModifyDBClusterEndpointOutput) SetStatus(v string) *ModifyDBClusterEndpointOutput { + s.Status = &v + return s +} + type ModifyDBClusterInput struct { _ struct{} `type:"structure"` @@ -13581,11 +14851,13 @@ type ModifyDBClusterInput struct { // Default: false EnableIAMDatabaseAuthentication *bool `type:"boolean"` - // The version number of the database engine. Currently, setting this parameter - // has no effect. To upgrade your database engine to the most recent release, - // use the ApplyPendingMaintenanceAction API. + // The version number of the database engine to which you want to upgrade. Changing + // this parameter results in an outage. The change is applied during the next + // maintenance window unless the ApplyImmediately parameter is set to true. // - // For a list of valid engine versions, see CreateDBInstance, or call DescribeDBEngineVersions. + // For a list of valid engine versions, see Engine Releases for Amazon Neptune + // (https://docs.aws.amazon.com/neptune/latest/userguide/engine-releases.html), + // or call DescribeDBEngineVersions (https://docs.aws.amazon.com/neptune/latest/userguide/api-other-apis.html#DescribeDBEngineVersions). EngineVersion *string `type:"string"` // The new password for the master database user. This password can contain @@ -15566,6 +16838,10 @@ type RemoveRoleFromDBClusterInput struct { // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` + // The name of the feature for the DB cluster that the IAM role is to be disassociated + // from. For the list of supported feature names, see DBEngineVersion. + FeatureName *string `type:"string"` + // The Amazon Resource Name (ARN) of the IAM role to disassociate from the DB // cluster, for example arn:aws:iam::123456789012:role/NeptuneAccessRole. // @@ -15605,6 +16881,12 @@ func (s *RemoveRoleFromDBClusterInput) SetDBClusterIdentifier(v string) *RemoveR return s } +// SetFeatureName sets the FeatureName field's value. +func (s *RemoveRoleFromDBClusterInput) SetFeatureName(v string) *RemoveRoleFromDBClusterInput { + s.FeatureName = &v + return s +} + // SetRoleArn sets the RoleArn field's value. func (s *RemoveRoleFromDBClusterInput) SetRoleArn(v string) *RemoveRoleFromDBClusterInput { s.RoleArn = &v diff --git a/service/neptune/errors.go b/service/neptune/errors.go index 2d94bef6115..d7fff6471c7 100644 --- a/service/neptune/errors.go +++ b/service/neptune/errors.go @@ -26,6 +26,24 @@ const ( // User already has a DB cluster with the given identifier. ErrCodeDBClusterAlreadyExistsFault = "DBClusterAlreadyExistsFault" + // ErrCodeDBClusterEndpointAlreadyExistsFault for service response error code + // "DBClusterEndpointAlreadyExistsFault". + // + // The specified custom endpoint cannot be created because it already exists. + ErrCodeDBClusterEndpointAlreadyExistsFault = "DBClusterEndpointAlreadyExistsFault" + + // ErrCodeDBClusterEndpointNotFoundFault for service response error code + // "DBClusterEndpointNotFoundFault". + // + // The specified custom endpoint doesn't exist. + ErrCodeDBClusterEndpointNotFoundFault = "DBClusterEndpointNotFoundFault" + + // ErrCodeDBClusterEndpointQuotaExceededFault for service response error code + // "DBClusterEndpointQuotaExceededFault". + // + // The cluster already has the maximum number of custom endpoints. + ErrCodeDBClusterEndpointQuotaExceededFault = "DBClusterEndpointQuotaExceededFault" + // ErrCodeDBClusterNotFoundFault for service response error code // "DBClusterNotFoundFault". // @@ -205,6 +223,13 @@ const ( // Availability Zones that have more storage available. ErrCodeInsufficientStorageClusterCapacityFault = "InsufficientStorageClusterCapacity" + // ErrCodeInvalidDBClusterEndpointStateFault for service response error code + // "InvalidDBClusterEndpointStateFault". + // + // The requested operation cannot be performed on the endpoint while the endpoint + // is in this state. + ErrCodeInvalidDBClusterEndpointStateFault = "InvalidDBClusterEndpointStateFault" + // ErrCodeInvalidDBClusterSnapshotStateFault for service response error code // "InvalidDBClusterSnapshotStateFault". // diff --git a/service/neptune/neptuneiface/interface.go b/service/neptune/neptuneiface/interface.go index b4a9499014f..081bb527ee8 100644 --- a/service/neptune/neptuneiface/interface.go +++ b/service/neptune/neptuneiface/interface.go @@ -92,6 +92,10 @@ type NeptuneAPI interface { CreateDBClusterWithContext(aws.Context, *neptune.CreateDBClusterInput, ...request.Option) (*neptune.CreateDBClusterOutput, error) CreateDBClusterRequest(*neptune.CreateDBClusterInput) (*request.Request, *neptune.CreateDBClusterOutput) + CreateDBClusterEndpoint(*neptune.CreateDBClusterEndpointInput) (*neptune.CreateDBClusterEndpointOutput, error) + CreateDBClusterEndpointWithContext(aws.Context, *neptune.CreateDBClusterEndpointInput, ...request.Option) (*neptune.CreateDBClusterEndpointOutput, error) + CreateDBClusterEndpointRequest(*neptune.CreateDBClusterEndpointInput) (*request.Request, *neptune.CreateDBClusterEndpointOutput) + CreateDBClusterParameterGroup(*neptune.CreateDBClusterParameterGroupInput) (*neptune.CreateDBClusterParameterGroupOutput, error) CreateDBClusterParameterGroupWithContext(aws.Context, *neptune.CreateDBClusterParameterGroupInput, ...request.Option) (*neptune.CreateDBClusterParameterGroupOutput, error) CreateDBClusterParameterGroupRequest(*neptune.CreateDBClusterParameterGroupInput) (*request.Request, *neptune.CreateDBClusterParameterGroupOutput) @@ -120,6 +124,10 @@ type NeptuneAPI interface { DeleteDBClusterWithContext(aws.Context, *neptune.DeleteDBClusterInput, ...request.Option) (*neptune.DeleteDBClusterOutput, error) DeleteDBClusterRequest(*neptune.DeleteDBClusterInput) (*request.Request, *neptune.DeleteDBClusterOutput) + DeleteDBClusterEndpoint(*neptune.DeleteDBClusterEndpointInput) (*neptune.DeleteDBClusterEndpointOutput, error) + DeleteDBClusterEndpointWithContext(aws.Context, *neptune.DeleteDBClusterEndpointInput, ...request.Option) (*neptune.DeleteDBClusterEndpointOutput, error) + DeleteDBClusterEndpointRequest(*neptune.DeleteDBClusterEndpointInput) (*request.Request, *neptune.DeleteDBClusterEndpointOutput) + DeleteDBClusterParameterGroup(*neptune.DeleteDBClusterParameterGroupInput) (*neptune.DeleteDBClusterParameterGroupOutput, error) DeleteDBClusterParameterGroupWithContext(aws.Context, *neptune.DeleteDBClusterParameterGroupInput, ...request.Option) (*neptune.DeleteDBClusterParameterGroupOutput, error) DeleteDBClusterParameterGroupRequest(*neptune.DeleteDBClusterParameterGroupInput) (*request.Request, *neptune.DeleteDBClusterParameterGroupOutput) @@ -144,6 +152,13 @@ type NeptuneAPI interface { DeleteEventSubscriptionWithContext(aws.Context, *neptune.DeleteEventSubscriptionInput, ...request.Option) (*neptune.DeleteEventSubscriptionOutput, error) DeleteEventSubscriptionRequest(*neptune.DeleteEventSubscriptionInput) (*request.Request, *neptune.DeleteEventSubscriptionOutput) + DescribeDBClusterEndpoints(*neptune.DescribeDBClusterEndpointsInput) (*neptune.DescribeDBClusterEndpointsOutput, error) + DescribeDBClusterEndpointsWithContext(aws.Context, *neptune.DescribeDBClusterEndpointsInput, ...request.Option) (*neptune.DescribeDBClusterEndpointsOutput, error) + DescribeDBClusterEndpointsRequest(*neptune.DescribeDBClusterEndpointsInput) (*request.Request, *neptune.DescribeDBClusterEndpointsOutput) + + DescribeDBClusterEndpointsPages(*neptune.DescribeDBClusterEndpointsInput, func(*neptune.DescribeDBClusterEndpointsOutput, bool) bool) error + DescribeDBClusterEndpointsPagesWithContext(aws.Context, *neptune.DescribeDBClusterEndpointsInput, func(*neptune.DescribeDBClusterEndpointsOutput, bool) bool, ...request.Option) error + DescribeDBClusterParameterGroups(*neptune.DescribeDBClusterParameterGroupsInput) (*neptune.DescribeDBClusterParameterGroupsOutput, error) DescribeDBClusterParameterGroupsWithContext(aws.Context, *neptune.DescribeDBClusterParameterGroupsInput, ...request.Option) (*neptune.DescribeDBClusterParameterGroupsOutput, error) DescribeDBClusterParameterGroupsRequest(*neptune.DescribeDBClusterParameterGroupsInput) (*request.Request, *neptune.DescribeDBClusterParameterGroupsOutput) @@ -255,6 +270,10 @@ type NeptuneAPI interface { ModifyDBClusterWithContext(aws.Context, *neptune.ModifyDBClusterInput, ...request.Option) (*neptune.ModifyDBClusterOutput, error) ModifyDBClusterRequest(*neptune.ModifyDBClusterInput) (*request.Request, *neptune.ModifyDBClusterOutput) + ModifyDBClusterEndpoint(*neptune.ModifyDBClusterEndpointInput) (*neptune.ModifyDBClusterEndpointOutput, error) + ModifyDBClusterEndpointWithContext(aws.Context, *neptune.ModifyDBClusterEndpointInput, ...request.Option) (*neptune.ModifyDBClusterEndpointOutput, error) + ModifyDBClusterEndpointRequest(*neptune.ModifyDBClusterEndpointInput) (*request.Request, *neptune.ModifyDBClusterEndpointOutput) + ModifyDBClusterParameterGroup(*neptune.ModifyDBClusterParameterGroupInput) (*neptune.ResetDBClusterParameterGroupOutput, error) ModifyDBClusterParameterGroupWithContext(aws.Context, *neptune.ModifyDBClusterParameterGroupInput, ...request.Option) (*neptune.ResetDBClusterParameterGroupOutput, error) ModifyDBClusterParameterGroupRequest(*neptune.ModifyDBClusterParameterGroupInput) (*request.Request, *neptune.ResetDBClusterParameterGroupOutput) diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index 57a9f9b0aff..4254c93c049 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -348,6 +348,86 @@ func (c *SageMaker) CreateAppWithContext(ctx aws.Context, input *CreateAppInput, return out, req.Send() } +const opCreateAppImageConfig = "CreateAppImageConfig" + +// CreateAppImageConfigRequest generates a "aws/request.Request" representing the +// client's request for the CreateAppImageConfig operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateAppImageConfig for more information on using the CreateAppImageConfig +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateAppImageConfigRequest method. +// req, resp := client.CreateAppImageConfigRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAppImageConfig +func (c *SageMaker) CreateAppImageConfigRequest(input *CreateAppImageConfigInput) (req *request.Request, output *CreateAppImageConfigOutput) { + op := &request.Operation{ + Name: opCreateAppImageConfig, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateAppImageConfigInput{} + } + + output = &CreateAppImageConfigOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateAppImageConfig API operation for Amazon SageMaker Service. +// +// Creates a configuration for running an Amazon SageMaker image as a KernelGateway +// app. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon SageMaker Service's +// API operation CreateAppImageConfig for usage and error information. +// +// Returned Error Types: +// * ResourceInUse +// Resource being accessed is in use. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAppImageConfig +func (c *SageMaker) CreateAppImageConfig(input *CreateAppImageConfigInput) (*CreateAppImageConfigOutput, error) { + req, out := c.CreateAppImageConfigRequest(input) + return out, req.Send() +} + +// CreateAppImageConfigWithContext is the same as CreateAppImageConfig with the addition of +// the ability to pass a context and additional request options. +// +// See CreateAppImageConfig for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SageMaker) CreateAppImageConfigWithContext(ctx aws.Context, input *CreateAppImageConfigInput, opts ...request.Option) (*CreateAppImageConfigOutput, error) { + req, out := c.CreateAppImageConfigRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateAutoMLJob = "CreateAutoMLJob" // CreateAutoMLJobRequest generates a "aws/request.Request" representing the @@ -699,29 +779,12 @@ func (c *SageMaker) CreateDomainRequest(input *CreateDomainInput) (req *request. // * VpcOnly - All Studio traffic is through the specified VPC and subnets. // Internet access is disabled by default. To allow internet access, you // must specify a NAT gateway. When internet access is disabled, you won't -// be able to train or host models unless your VPC has an interface endpoint -// (PrivateLink) or a NAT gateway and your security groups allow outbound -// connections. -// -// VpcOnly network access type -// -// When you choose VpcOnly, you must specify the following: -// -// * Security group inbound and outbound rules to allow NFS traffic over -// TCP on port 2049 between the domain and the EFS volume -// -// * Security group inbound and outbound rules to allow traffic between the -// JupyterServer app and the KernelGateway apps -// -// * Interface endpoints to access the SageMaker API and SageMaker runtime -// -// For more information, see: -// -// * Security groups for your VPC (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html) -// -// * VPC with public and private subnets (NAT) (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Scenario2.html) +// be able to run a Studio notebook or to train or host models unless your +// VPC has an interface endpoint to the SageMaker API and runtime or a NAT +// gateway and your security groups allow outbound connections. // -// * Connect to SageMaker through a VPC interface endpoint (https://docs.aws.amazon.com/sagemaker/latest/dg/interface-vpc-endpoint.html) +// For more information, see Connect SageMaker Studio Notebooks to Resources +// in a VPC (https://docs.aws.amazon.com/sagemaker/latest/dg/studio-notebooks-and-internet-access.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1352,6 +1415,178 @@ func (c *SageMaker) CreateHyperParameterTuningJobWithContext(ctx aws.Context, in return out, req.Send() } +const opCreateImage = "CreateImage" + +// CreateImageRequest generates a "aws/request.Request" representing the +// client's request for the CreateImage operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateImage for more information on using the CreateImage +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateImageRequest method. +// req, resp := client.CreateImageRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImage +func (c *SageMaker) CreateImageRequest(input *CreateImageInput) (req *request.Request, output *CreateImageOutput) { + op := &request.Operation{ + Name: opCreateImage, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateImageInput{} + } + + output = &CreateImageOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateImage API operation for Amazon SageMaker Service. +// +// Creates a SageMaker Image. A SageMaker image represents a set of container +// images. Each of these container images is represented by a SageMaker ImageVersion. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon SageMaker Service's +// API operation CreateImage for usage and error information. +// +// Returned Error Types: +// * ResourceInUse +// Resource being accessed is in use. +// +// * ResourceLimitExceeded +// You have exceeded an Amazon SageMaker resource limit. For example, you might +// have too many training jobs created. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImage +func (c *SageMaker) CreateImage(input *CreateImageInput) (*CreateImageOutput, error) { + req, out := c.CreateImageRequest(input) + return out, req.Send() +} + +// CreateImageWithContext is the same as CreateImage with the addition of +// the ability to pass a context and additional request options. +// +// See CreateImage for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SageMaker) CreateImageWithContext(ctx aws.Context, input *CreateImageInput, opts ...request.Option) (*CreateImageOutput, error) { + req, out := c.CreateImageRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateImageVersion = "CreateImageVersion" + +// CreateImageVersionRequest generates a "aws/request.Request" representing the +// client's request for the CreateImageVersion operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateImageVersion for more information on using the CreateImageVersion +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateImageVersionRequest method. +// req, resp := client.CreateImageVersionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImageVersion +func (c *SageMaker) CreateImageVersionRequest(input *CreateImageVersionInput) (req *request.Request, output *CreateImageVersionOutput) { + op := &request.Operation{ + Name: opCreateImageVersion, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateImageVersionInput{} + } + + output = &CreateImageVersionOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateImageVersion API operation for Amazon SageMaker Service. +// +// Creates a version of the SageMaker image specified by ImageName. The version +// represents the Amazon Container Registry (ECR) container image specified +// by BaseImage. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon SageMaker Service's +// API operation CreateImageVersion for usage and error information. +// +// Returned Error Types: +// * ResourceInUse +// Resource being accessed is in use. +// +// * ResourceLimitExceeded +// You have exceeded an Amazon SageMaker resource limit. For example, you might +// have too many training jobs created. +// +// * ResourceNotFound +// Resource being access is not found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImageVersion +func (c *SageMaker) CreateImageVersion(input *CreateImageVersionInput) (*CreateImageVersionOutput, error) { + req, out := c.CreateImageVersionRequest(input) + return out, req.Send() +} + +// CreateImageVersionWithContext is the same as CreateImageVersion with the addition of +// the ability to pass a context and additional request options. +// +// See CreateImageVersion for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SageMaker) CreateImageVersionWithContext(ctx aws.Context, input *CreateImageVersionInput, opts ...request.Option) (*CreateImageVersionOutput, error) { + req, out := c.CreateImageVersionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateLabelingJob = "CreateLabelingJob" // CreateLabelingJobRequest generates a "aws/request.Request" representing the @@ -1632,6 +1867,16 @@ func (c *SageMaker) CreateModelPackageRequest(input *CreateModelPackageInput) (r // // See the AWS API reference guide for Amazon SageMaker Service's // API operation CreateModelPackage for usage and error information. +// +// Returned Error Types: +// * ConflictException +// There was a conflict when you attempted to modify an experiment, trial, or +// trial component. +// +// * ResourceLimitExceeded +// You have exceeded an Amazon SageMaker resource limit. For example, you might +// have too many training jobs created. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackage func (c *SageMaker) CreateModelPackage(input *CreateModelPackageInput) (*CreateModelPackageOutput, error) { req, out := c.CreateModelPackageRequest(input) @@ -3077,6 +3322,86 @@ func (c *SageMaker) DeleteAppWithContext(ctx aws.Context, input *DeleteAppInput, return out, req.Send() } +const opDeleteAppImageConfig = "DeleteAppImageConfig" + +// DeleteAppImageConfigRequest generates a "aws/request.Request" representing the +// client's request for the DeleteAppImageConfig operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteAppImageConfig for more information on using the DeleteAppImageConfig +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteAppImageConfigRequest method. +// req, resp := client.DeleteAppImageConfigRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAppImageConfig +func (c *SageMaker) DeleteAppImageConfigRequest(input *DeleteAppImageConfigInput) (req *request.Request, output *DeleteAppImageConfigOutput) { + op := &request.Operation{ + Name: opDeleteAppImageConfig, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteAppImageConfigInput{} + } + + output = &DeleteAppImageConfigOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteAppImageConfig API operation for Amazon SageMaker Service. +// +// Deletes an AppImageConfig. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon SageMaker Service's +// API operation DeleteAppImageConfig for usage and error information. +// +// Returned Error Types: +// * ResourceNotFound +// Resource being access is not found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAppImageConfig +func (c *SageMaker) DeleteAppImageConfig(input *DeleteAppImageConfigInput) (*DeleteAppImageConfigOutput, error) { + req, out := c.DeleteAppImageConfigRequest(input) + return out, req.Send() +} + +// DeleteAppImageConfigWithContext is the same as DeleteAppImageConfig with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteAppImageConfig for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SageMaker) DeleteAppImageConfigWithContext(ctx aws.Context, input *DeleteAppImageConfigInput, opts ...request.Option) (*DeleteAppImageConfigOutput, error) { + req, out := c.DeleteAppImageConfigRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteCodeRepository = "DeleteCodeRepository" // DeleteCodeRepositoryRequest generates a "aws/request.Request" representing the @@ -3650,6 +3975,174 @@ func (c *SageMaker) DeleteHumanTaskUiWithContext(ctx aws.Context, input *DeleteH return out, req.Send() } +const opDeleteImage = "DeleteImage" + +// DeleteImageRequest generates a "aws/request.Request" representing the +// client's request for the DeleteImage operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteImage for more information on using the DeleteImage +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteImageRequest method. +// req, resp := client.DeleteImageRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImage +func (c *SageMaker) DeleteImageRequest(input *DeleteImageInput) (req *request.Request, output *DeleteImageOutput) { + op := &request.Operation{ + Name: opDeleteImage, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteImageInput{} + } + + output = &DeleteImageOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteImage API operation for Amazon SageMaker Service. +// +// Deletes a SageMaker image and all versions of the image. The container images +// aren't deleted. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon SageMaker Service's +// API operation DeleteImage for usage and error information. +// +// Returned Error Types: +// * ResourceInUse +// Resource being accessed is in use. +// +// * ResourceNotFound +// Resource being access is not found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImage +func (c *SageMaker) DeleteImage(input *DeleteImageInput) (*DeleteImageOutput, error) { + req, out := c.DeleteImageRequest(input) + return out, req.Send() +} + +// DeleteImageWithContext is the same as DeleteImage with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteImage for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SageMaker) DeleteImageWithContext(ctx aws.Context, input *DeleteImageInput, opts ...request.Option) (*DeleteImageOutput, error) { + req, out := c.DeleteImageRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteImageVersion = "DeleteImageVersion" + +// DeleteImageVersionRequest generates a "aws/request.Request" representing the +// client's request for the DeleteImageVersion operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteImageVersion for more information on using the DeleteImageVersion +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteImageVersionRequest method. +// req, resp := client.DeleteImageVersionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImageVersion +func (c *SageMaker) DeleteImageVersionRequest(input *DeleteImageVersionInput) (req *request.Request, output *DeleteImageVersionOutput) { + op := &request.Operation{ + Name: opDeleteImageVersion, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteImageVersionInput{} + } + + output = &DeleteImageVersionOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteImageVersion API operation for Amazon SageMaker Service. +// +// Deletes a version of a SageMaker image. The container image the version represents +// isn't deleted. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon SageMaker Service's +// API operation DeleteImageVersion for usage and error information. +// +// Returned Error Types: +// * ResourceInUse +// Resource being accessed is in use. +// +// * ResourceNotFound +// Resource being access is not found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImageVersion +func (c *SageMaker) DeleteImageVersion(input *DeleteImageVersionInput) (*DeleteImageVersionOutput, error) { + req, out := c.DeleteImageVersionRequest(input) + return out, req.Send() +} + +// DeleteImageVersionWithContext is the same as DeleteImageVersion with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteImageVersion for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SageMaker) DeleteImageVersionWithContext(ctx aws.Context, input *DeleteImageVersionInput, opts ...request.Option) (*DeleteImageVersionOutput, error) { + req, out := c.DeleteImageVersionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteModel = "DeleteModel" // DeleteModelRequest generates a "aws/request.Request" representing the @@ -3785,6 +4278,12 @@ func (c *SageMaker) DeleteModelPackageRequest(input *DeleteModelPackageInput) (r // // See the AWS API reference guide for Amazon SageMaker Service's // API operation DeleteModelPackage for usage and error information. +// +// Returned Error Types: +// * ConflictException +// There was a conflict when you attempted to modify an experiment, trial, or +// trial component. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackage func (c *SageMaker) DeleteModelPackage(input *DeleteModelPackageInput) (*DeleteModelPackageOutput, error) { req, out := c.DeleteModelPackageRequest(input) @@ -4688,6 +5187,85 @@ func (c *SageMaker) DescribeAppWithContext(ctx aws.Context, input *DescribeAppIn return out, req.Send() } +const opDescribeAppImageConfig = "DescribeAppImageConfig" + +// DescribeAppImageConfigRequest generates a "aws/request.Request" representing the +// client's request for the DescribeAppImageConfig operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeAppImageConfig for more information on using the DescribeAppImageConfig +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeAppImageConfigRequest method. +// req, resp := client.DescribeAppImageConfigRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAppImageConfig +func (c *SageMaker) DescribeAppImageConfigRequest(input *DescribeAppImageConfigInput) (req *request.Request, output *DescribeAppImageConfigOutput) { + op := &request.Operation{ + Name: opDescribeAppImageConfig, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeAppImageConfigInput{} + } + + output = &DescribeAppImageConfigOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeAppImageConfig API operation for Amazon SageMaker Service. +// +// Describes an AppImageConfig. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon SageMaker Service's +// API operation DescribeAppImageConfig for usage and error information. +// +// Returned Error Types: +// * ResourceNotFound +// Resource being access is not found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAppImageConfig +func (c *SageMaker) DescribeAppImageConfig(input *DescribeAppImageConfigInput) (*DescribeAppImageConfigOutput, error) { + req, out := c.DescribeAppImageConfigRequest(input) + return out, req.Send() +} + +// DescribeAppImageConfigWithContext is the same as DescribeAppImageConfig with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeAppImageConfig for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SageMaker) DescribeAppImageConfigWithContext(ctx aws.Context, input *DescribeAppImageConfigInput, opts ...request.Option) (*DescribeAppImageConfigOutput, error) { + req, out := c.DescribeAppImageConfigRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeAutoMLJob = "DescribeAutoMLJob" // DescribeAutoMLJobRequest generates a "aws/request.Request" representing the @@ -5468,6 +6046,164 @@ func (c *SageMaker) DescribeHyperParameterTuningJobWithContext(ctx aws.Context, return out, req.Send() } +const opDescribeImage = "DescribeImage" + +// DescribeImageRequest generates a "aws/request.Request" representing the +// client's request for the DescribeImage operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeImage for more information on using the DescribeImage +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeImageRequest method. +// req, resp := client.DescribeImageRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImage +func (c *SageMaker) DescribeImageRequest(input *DescribeImageInput) (req *request.Request, output *DescribeImageOutput) { + op := &request.Operation{ + Name: opDescribeImage, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeImageInput{} + } + + output = &DescribeImageOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeImage API operation for Amazon SageMaker Service. +// +// Describes a SageMaker image. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon SageMaker Service's +// API operation DescribeImage for usage and error information. +// +// Returned Error Types: +// * ResourceNotFound +// Resource being access is not found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImage +func (c *SageMaker) DescribeImage(input *DescribeImageInput) (*DescribeImageOutput, error) { + req, out := c.DescribeImageRequest(input) + return out, req.Send() +} + +// DescribeImageWithContext is the same as DescribeImage with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeImage for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SageMaker) DescribeImageWithContext(ctx aws.Context, input *DescribeImageInput, opts ...request.Option) (*DescribeImageOutput, error) { + req, out := c.DescribeImageRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeImageVersion = "DescribeImageVersion" + +// DescribeImageVersionRequest generates a "aws/request.Request" representing the +// client's request for the DescribeImageVersion operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeImageVersion for more information on using the DescribeImageVersion +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeImageVersionRequest method. +// req, resp := client.DescribeImageVersionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImageVersion +func (c *SageMaker) DescribeImageVersionRequest(input *DescribeImageVersionInput) (req *request.Request, output *DescribeImageVersionOutput) { + op := &request.Operation{ + Name: opDescribeImageVersion, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeImageVersionInput{} + } + + output = &DescribeImageVersionOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeImageVersion API operation for Amazon SageMaker Service. +// +// Describes a version of a SageMaker image. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon SageMaker Service's +// API operation DescribeImageVersion for usage and error information. +// +// Returned Error Types: +// * ResourceNotFound +// Resource being access is not found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImageVersion +func (c *SageMaker) DescribeImageVersion(input *DescribeImageVersionInput) (*DescribeImageVersionOutput, error) { + req, out := c.DescribeImageVersionRequest(input) + return out, req.Send() +} + +// DescribeImageVersionWithContext is the same as DescribeImageVersion with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeImageVersion for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SageMaker) DescribeImageVersionWithContext(ctx aws.Context, input *DescribeImageVersionInput, opts ...request.Option) (*DescribeImageVersionOutput, error) { + req, out := c.DescribeImageVersionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeLabelingJob = "DescribeLabelingJob" // DescribeLabelingJobRequest generates a "aws/request.Request" representing the @@ -6929,6 +7665,82 @@ func (c *SageMaker) ListAlgorithmsPagesWithContext(ctx aws.Context, input *ListA return p.Err() } +const opListAppImageConfigs = "ListAppImageConfigs" + +// ListAppImageConfigsRequest generates a "aws/request.Request" representing the +// client's request for the ListAppImageConfigs operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListAppImageConfigs for more information on using the ListAppImageConfigs +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListAppImageConfigsRequest method. +// req, resp := client.ListAppImageConfigsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAppImageConfigs +func (c *SageMaker) ListAppImageConfigsRequest(input *ListAppImageConfigsInput) (req *request.Request, output *ListAppImageConfigsOutput) { + op := &request.Operation{ + Name: opListAppImageConfigs, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ListAppImageConfigsInput{} + } + + output = &ListAppImageConfigsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListAppImageConfigs API operation for Amazon SageMaker Service. +// +// Lists the AppImageConfigs in your account and their properties. The list +// can be filtered by creation time or modified time, and whether the AppImageConfig +// name contains a specified string. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon SageMaker Service's +// API operation ListAppImageConfigs for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAppImageConfigs +func (c *SageMaker) ListAppImageConfigs(input *ListAppImageConfigsInput) (*ListAppImageConfigsOutput, error) { + req, out := c.ListAppImageConfigsRequest(input) + return out, req.Send() +} + +// ListAppImageConfigsWithContext is the same as ListAppImageConfigs with the addition of +// the ability to pass a context and additional request options. +// +// See ListAppImageConfigs for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SageMaker) ListAppImageConfigsWithContext(ctx aws.Context, input *ListAppImageConfigsInput, opts ...request.Option) (*ListAppImageConfigsOutput, error) { + req, out := c.ListAppImageConfigsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListApps = "ListApps" // ListAppsRequest generates a "aws/request.Request" representing the @@ -8524,6 +9336,278 @@ func (c *SageMaker) ListHyperParameterTuningJobsPagesWithContext(ctx aws.Context return p.Err() } +const opListImageVersions = "ListImageVersions" + +// ListImageVersionsRequest generates a "aws/request.Request" representing the +// client's request for the ListImageVersions operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListImageVersions for more information on using the ListImageVersions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListImageVersionsRequest method. +// req, resp := client.ListImageVersionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImageVersions +func (c *SageMaker) ListImageVersionsRequest(input *ListImageVersionsInput) (req *request.Request, output *ListImageVersionsOutput) { + op := &request.Operation{ + Name: opListImageVersions, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListImageVersionsInput{} + } + + output = &ListImageVersionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListImageVersions API operation for Amazon SageMaker Service. +// +// Lists the versions of a specified image and their properties. The list can +// be filtered by creation time or modified time. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon SageMaker Service's +// API operation ListImageVersions for usage and error information. +// +// Returned Error Types: +// * ResourceNotFound +// Resource being access is not found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImageVersions +func (c *SageMaker) ListImageVersions(input *ListImageVersionsInput) (*ListImageVersionsOutput, error) { + req, out := c.ListImageVersionsRequest(input) + return out, req.Send() +} + +// ListImageVersionsWithContext is the same as ListImageVersions with the addition of +// the ability to pass a context and additional request options. +// +// See ListImageVersions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SageMaker) ListImageVersionsWithContext(ctx aws.Context, input *ListImageVersionsInput, opts ...request.Option) (*ListImageVersionsOutput, error) { + req, out := c.ListImageVersionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListImageVersionsPages iterates over the pages of a ListImageVersions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListImageVersions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListImageVersions operation. +// pageNum := 0 +// err := client.ListImageVersionsPages(params, +// func(page *sagemaker.ListImageVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *SageMaker) ListImageVersionsPages(input *ListImageVersionsInput, fn func(*ListImageVersionsOutput, bool) bool) error { + return c.ListImageVersionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListImageVersionsPagesWithContext same as ListImageVersionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SageMaker) ListImageVersionsPagesWithContext(ctx aws.Context, input *ListImageVersionsInput, fn func(*ListImageVersionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListImageVersionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListImageVersionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListImageVersionsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListImages = "ListImages" + +// ListImagesRequest generates a "aws/request.Request" representing the +// client's request for the ListImages operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListImages for more information on using the ListImages +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListImagesRequest method. +// req, resp := client.ListImagesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImages +func (c *SageMaker) ListImagesRequest(input *ListImagesInput) (req *request.Request, output *ListImagesOutput) { + op := &request.Operation{ + Name: opListImages, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListImagesInput{} + } + + output = &ListImagesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListImages API operation for Amazon SageMaker Service. +// +// Lists the images in your account and their properties. The list can be filtered +// by creation time or modified time, and whether the image name contains a +// specified string. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon SageMaker Service's +// API operation ListImages for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImages +func (c *SageMaker) ListImages(input *ListImagesInput) (*ListImagesOutput, error) { + req, out := c.ListImagesRequest(input) + return out, req.Send() +} + +// ListImagesWithContext is the same as ListImages with the addition of +// the ability to pass a context and additional request options. +// +// See ListImages for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SageMaker) ListImagesWithContext(ctx aws.Context, input *ListImagesInput, opts ...request.Option) (*ListImagesOutput, error) { + req, out := c.ListImagesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListImagesPages iterates over the pages of a ListImages operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListImages method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListImages operation. +// pageNum := 0 +// err := client.ListImagesPages(params, +// func(page *sagemaker.ListImagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *SageMaker) ListImagesPages(input *ListImagesInput, fn func(*ListImagesOutput, bool) bool) error { + return c.ListImagesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListImagesPagesWithContext same as ListImagesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SageMaker) ListImagesPagesWithContext(ctx aws.Context, input *ListImagesInput, fn func(*ListImagesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListImagesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListImagesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListImagesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListLabelingJobs = "ListLabelingJobs" // ListLabelingJobsRequest generates a "aws/request.Request" representing the @@ -12209,6 +13293,85 @@ func (c *SageMaker) StopTransformJobWithContext(ctx aws.Context, input *StopTran return out, req.Send() } +const opUpdateAppImageConfig = "UpdateAppImageConfig" + +// UpdateAppImageConfigRequest generates a "aws/request.Request" representing the +// client's request for the UpdateAppImageConfig operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateAppImageConfig for more information on using the UpdateAppImageConfig +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateAppImageConfigRequest method. +// req, resp := client.UpdateAppImageConfigRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAppImageConfig +func (c *SageMaker) UpdateAppImageConfigRequest(input *UpdateAppImageConfigInput) (req *request.Request, output *UpdateAppImageConfigOutput) { + op := &request.Operation{ + Name: opUpdateAppImageConfig, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateAppImageConfigInput{} + } + + output = &UpdateAppImageConfigOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateAppImageConfig API operation for Amazon SageMaker Service. +// +// Updates the properties of an AppImageConfig. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon SageMaker Service's +// API operation UpdateAppImageConfig for usage and error information. +// +// Returned Error Types: +// * ResourceNotFound +// Resource being access is not found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAppImageConfig +func (c *SageMaker) UpdateAppImageConfig(input *UpdateAppImageConfigInput) (*UpdateAppImageConfigOutput, error) { + req, out := c.UpdateAppImageConfigRequest(input) + return out, req.Send() +} + +// UpdateAppImageConfigWithContext is the same as UpdateAppImageConfig with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateAppImageConfig for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SageMaker) UpdateAppImageConfigWithContext(ctx aws.Context, input *UpdateAppImageConfigInput, opts ...request.Option) (*UpdateAppImageConfigOutput, error) { + req, out := c.UpdateAppImageConfigRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateCodeRepository = "UpdateCodeRepository" // UpdateCodeRepositoryRequest generates a "aws/request.Request" representing the @@ -12631,6 +13794,89 @@ func (c *SageMaker) UpdateExperimentWithContext(ctx aws.Context, input *UpdateEx return out, req.Send() } +const opUpdateImage = "UpdateImage" + +// UpdateImageRequest generates a "aws/request.Request" representing the +// client's request for the UpdateImage operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateImage for more information on using the UpdateImage +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateImageRequest method. +// req, resp := client.UpdateImageRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImage +func (c *SageMaker) UpdateImageRequest(input *UpdateImageInput) (req *request.Request, output *UpdateImageOutput) { + op := &request.Operation{ + Name: opUpdateImage, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateImageInput{} + } + + output = &UpdateImageOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateImage API operation for Amazon SageMaker Service. +// +// Updates the properties of a SageMaker image. To change the image's tags, +// use the AddTags and DeleteTags APIs. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon SageMaker Service's +// API operation UpdateImage for usage and error information. +// +// Returned Error Types: +// * ResourceInUse +// Resource being accessed is in use. +// +// * ResourceNotFound +// Resource being access is not found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImage +func (c *SageMaker) UpdateImage(input *UpdateImageInput) (*UpdateImageOutput, error) { + req, out := c.UpdateImageRequest(input) + return out, req.Send() +} + +// UpdateImageWithContext is the same as UpdateImage with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateImage for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *SageMaker) UpdateImageWithContext(ctx aws.Context, input *UpdateImageInput, opts ...request.Option) (*UpdateImageOutput, error) { + req, out := c.UpdateImageRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateMonitoringSchedule = "UpdateMonitoringSchedule" // UpdateMonitoringScheduleRequest generates a "aws/request.Request" representing the @@ -14252,7 +15498,7 @@ func (s *AnnotationConsolidationConfig) SetAnnotationConsolidationLambdaArn(v st return s } -// The app's details. +// Details about an Amazon SageMaker app. type AppDetails struct { _ struct{} `type:"structure"` @@ -14321,6 +15567,67 @@ func (s *AppDetails) SetUserProfileName(v string) *AppDetails { return s } +// The configuration for running an Amazon SageMaker image as a KernelGateway +// app. +type AppImageConfigDetails struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the AppImageConfig. + AppImageConfigArn *string `type:"string"` + + // The name of the AppImageConfig. + AppImageConfigName *string `type:"string"` + + // When the AppImageConfig was created. + CreationTime *time.Time `type:"timestamp"` + + // The KernelGateway app. + KernelGatewayImageConfig *KernelGatewayImageConfig `type:"structure"` + + // When the AppImageConfig was last modified. + LastModifiedTime *time.Time `type:"timestamp"` +} + +// String returns the string representation +func (s AppImageConfigDetails) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AppImageConfigDetails) GoString() string { + return s.String() +} + +// SetAppImageConfigArn sets the AppImageConfigArn field's value. +func (s *AppImageConfigDetails) SetAppImageConfigArn(v string) *AppImageConfigDetails { + s.AppImageConfigArn = &v + return s +} + +// SetAppImageConfigName sets the AppImageConfigName field's value. +func (s *AppImageConfigDetails) SetAppImageConfigName(v string) *AppImageConfigDetails { + s.AppImageConfigName = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *AppImageConfigDetails) SetCreationTime(v time.Time) *AppImageConfigDetails { + s.CreationTime = &v + return s +} + +// SetKernelGatewayImageConfig sets the KernelGatewayImageConfig field's value. +func (s *AppImageConfigDetails) SetKernelGatewayImageConfig(v *KernelGatewayImageConfig) *AppImageConfigDetails { + s.KernelGatewayImageConfig = v + return s +} + +// SetLastModifiedTime sets the LastModifiedTime field's value. +func (s *AppImageConfigDetails) SetLastModifiedTime(v time.Time) *AppImageConfigDetails { + s.LastModifiedTime = &v + return s +} + // Configuration to run a processing job in a specified container image. type AppSpecification struct { _ struct{} `type:"structure"` @@ -16700,6 +18007,100 @@ func (s *CreateAlgorithmOutput) SetAlgorithmArn(v string) *CreateAlgorithmOutput return s } +type CreateAppImageConfigInput struct { + _ struct{} `type:"structure"` + + // The name of the AppImageConfig. Must be unique to your account. + // + // AppImageConfigName is a required field + AppImageConfigName *string `type:"string" required:"true"` + + // The KernelGatewayImageConfig. + KernelGatewayImageConfig *KernelGatewayImageConfig `type:"structure"` + + // A list of tags to apply to the AppImageConfig. + Tags []*Tag `type:"list"` +} + +// String returns the string representation +func (s CreateAppImageConfigInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateAppImageConfigInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateAppImageConfigInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateAppImageConfigInput"} + if s.AppImageConfigName == nil { + invalidParams.Add(request.NewErrParamRequired("AppImageConfigName")) + } + if s.KernelGatewayImageConfig != nil { + if err := s.KernelGatewayImageConfig.Validate(); err != nil { + invalidParams.AddNested("KernelGatewayImageConfig", err.(request.ErrInvalidParams)) + } + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAppImageConfigName sets the AppImageConfigName field's value. +func (s *CreateAppImageConfigInput) SetAppImageConfigName(v string) *CreateAppImageConfigInput { + s.AppImageConfigName = &v + return s +} + +// SetKernelGatewayImageConfig sets the KernelGatewayImageConfig field's value. +func (s *CreateAppImageConfigInput) SetKernelGatewayImageConfig(v *KernelGatewayImageConfig) *CreateAppImageConfigInput { + s.KernelGatewayImageConfig = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateAppImageConfigInput) SetTags(v []*Tag) *CreateAppImageConfigInput { + s.Tags = v + return s +} + +type CreateAppImageConfigOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the AppImageConfig. + AppImageConfigArn *string `type:"string"` +} + +// String returns the string representation +func (s CreateAppImageConfigOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateAppImageConfigOutput) GoString() string { + return s.String() +} + +// SetAppImageConfigArn sets the AppImageConfigArn field's value. +func (s *CreateAppImageConfigOutput) SetAppImageConfigArn(v string) *CreateAppImageConfigOutput { + s.AppImageConfigArn = &v + return s +} + type CreateAppInput struct { _ struct{} `type:"structure"` @@ -16813,7 +18214,7 @@ func (s *CreateAppInput) SetUserProfileName(v string) *CreateAppInput { type CreateAppOutput struct { _ struct{} `type:"structure"` - // The App's Amazon Resource Name (ARN). + // The Amazon Resource Name (ARN) of the app. AppArn *string `type:"string"` } @@ -17169,6 +18570,12 @@ type CreateCompilationJobInput struct { // // StoppingCondition is a required field StoppingCondition *StoppingCondition `type:"structure" required:"true"` + + // An array of key-value pairs that you want to use to organize and track your + // AWS resource costs. For more information, see Using Cost Allocation Tags + // (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what) + // in the AWS Billing and Cost Management User Guide. + Tags []*Tag `type:"list"` } // String returns the string representation @@ -17220,6 +18627,16 @@ func (s *CreateCompilationJobInput) Validate() error { invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams)) } } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -17257,6 +18674,12 @@ func (s *CreateCompilationJobInput) SetStoppingCondition(v *StoppingCondition) * return s } +// SetTags sets the Tags field's value. +func (s *CreateCompilationJobInput) SetTags(v []*Tag) *CreateCompilationJobInput { + s.Tags = v + return s +} + type CreateCompilationJobOutput struct { _ struct{} `type:"structure"` @@ -17638,8 +19061,9 @@ type CreateEndpointInput struct { // EndpointConfigName is a required field EndpointConfigName *string `type:"string" required:"true"` - // The name of the endpoint. The name must be unique within an AWS Region in - // your AWS account. + // The name of the endpoint.The name must be unique within an AWS Region in + // your AWS account. The name is case-insensitive in CreateEndpoint, but the + // case is preserved and must be matched in . // // EndpointName is a required field EndpointName *string `type:"string" required:"true"` @@ -18130,7 +19554,7 @@ type CreateHyperParameterTuningJobInput struct { // The name of the tuning job. This name is the prefix for the names of all // training jobs that this tuning job launches. The name must be unique within - // the same AWS account and AWS Region. The name must have { } to { } characters. + // the same AWS account and AWS Region. The name must have 1 to 32 characters. // Valid characters are a-z, A-Z, 0-9, and : + = @ _ % - (hyphen). The name // is not case sensitive. // @@ -18303,6 +19727,230 @@ func (s *CreateHyperParameterTuningJobOutput) SetHyperParameterTuningJobArn(v st return s } +type CreateImageInput struct { + _ struct{} `type:"structure"` + + // The description of the image. + Description *string `min:"1" type:"string"` + + // The display name of the image. When the image is added to a domain, DisplayName + // must be unique to the domain. + DisplayName *string `min:"1" type:"string"` + + // The name of the image. Must be unique to your account. + // + // ImageName is a required field + ImageName *string `min:"1" type:"string" required:"true"` + + // The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker + // to perform tasks on your behalf. + // + // RoleArn is a required field + RoleArn *string `min:"20" type:"string" required:"true"` + + // A list of tags to apply to the image. + Tags []*Tag `type:"list"` +} + +// String returns the string representation +func (s CreateImageInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateImageInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateImageInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateImageInput"} + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.DisplayName != nil && len(*s.DisplayName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1)) + } + if s.ImageName == nil { + invalidParams.Add(request.NewErrParamRequired("ImageName")) + } + if s.ImageName != nil && len(*s.ImageName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.RoleArn != nil && len(*s.RoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *CreateImageInput) SetDescription(v string) *CreateImageInput { + s.Description = &v + return s +} + +// SetDisplayName sets the DisplayName field's value. +func (s *CreateImageInput) SetDisplayName(v string) *CreateImageInput { + s.DisplayName = &v + return s +} + +// SetImageName sets the ImageName field's value. +func (s *CreateImageInput) SetImageName(v string) *CreateImageInput { + s.ImageName = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *CreateImageInput) SetRoleArn(v string) *CreateImageInput { + s.RoleArn = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateImageInput) SetTags(v []*Tag) *CreateImageInput { + s.Tags = v + return s +} + +type CreateImageOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the image. + ImageArn *string `type:"string"` +} + +// String returns the string representation +func (s CreateImageOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateImageOutput) GoString() string { + return s.String() +} + +// SetImageArn sets the ImageArn field's value. +func (s *CreateImageOutput) SetImageArn(v string) *CreateImageOutput { + s.ImageArn = &v + return s +} + +type CreateImageVersionInput struct { + _ struct{} `type:"structure"` + + // The registry path of the container image to use as the starting point for + // this version. The path is an Amazon Container Registry (ECR) URI in the following + // format: + // + // .dkr.ecr..amazonaws.com/ + // + // BaseImage is a required field + BaseImage *string `min:"1" type:"string" required:"true"` + + // A unique ID. If not specified, the AWS CLI and AWS SDKs, such as the SDK + // for Python (Boto3), add a unique value to the call. + ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` + + // The ImageName of the Image to create a version of. + // + // ImageName is a required field + ImageName *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateImageVersionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateImageVersionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateImageVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateImageVersionInput"} + if s.BaseImage == nil { + invalidParams.Add(request.NewErrParamRequired("BaseImage")) + } + if s.BaseImage != nil && len(*s.BaseImage) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BaseImage", 1)) + } + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.ImageName == nil { + invalidParams.Add(request.NewErrParamRequired("ImageName")) + } + if s.ImageName != nil && len(*s.ImageName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBaseImage sets the BaseImage field's value. +func (s *CreateImageVersionInput) SetBaseImage(v string) *CreateImageVersionInput { + s.BaseImage = &v + return s +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateImageVersionInput) SetClientToken(v string) *CreateImageVersionInput { + s.ClientToken = &v + return s +} + +// SetImageName sets the ImageName field's value. +func (s *CreateImageVersionInput) SetImageName(v string) *CreateImageVersionInput { + s.ImageName = &v + return s +} + +type CreateImageVersionOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the image version. + ImageVersionArn *string `type:"string"` +} + +// String returns the string representation +func (s CreateImageVersionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateImageVersionOutput) GoString() string { + return s.String() +} + +// SetImageVersionArn sets the ImageVersionArn field's value. +func (s *CreateImageVersionOutput) SetImageVersionArn(v string) *CreateImageVersionOutput { + s.ImageVersionArn = &v + return s +} + type CreateLabelingJobInput struct { _ struct{} `type:"structure"` @@ -18328,7 +19976,7 @@ type CreateLabelingJobInput struct { // LabelAttributeName is a required field LabelAttributeName *string `min:"1" type:"string" required:"true"` - // The S3 URL of the file that defines the categories used to label the data + // The S3 URI of the file that defines the categories used to label the data // objects. // // For 3D point cloud task types, see Create a Labeling Category Configuration @@ -18768,9 +20416,7 @@ type CreateModelPackageInput struct { // The name of the model package. The name must have 1 to 63 characters. Valid // characters are a-z, A-Z, 0-9, and - (hyphen). - // - // ModelPackageName is a required field - ModelPackageName *string `min:"1" type:"string" required:"true"` + ModelPackageName *string `min:"1" type:"string"` // Details about the algorithm that was used to create the model package. SourceAlgorithmSpecification *SourceAlgorithmSpecification `type:"structure"` @@ -18793,9 +20439,6 @@ func (s CreateModelPackageInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *CreateModelPackageInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateModelPackageInput"} - if s.ModelPackageName == nil { - invalidParams.Add(request.NewErrParamRequired("ModelPackageName")) - } if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 { invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1)) } @@ -21168,6 +22811,71 @@ func (s *CreateWorkteamOutput) SetWorkteamArn(v string) *CreateWorkteamOutput { return s } +// A custom image. +type CustomImage struct { + _ struct{} `type:"structure"` + + // The name of the AppImageConfig. + // + // AppImageConfigName is a required field + AppImageConfigName *string `type:"string" required:"true"` + + // The name of the CustomImage. Must be unique to your account. + // + // ImageName is a required field + ImageName *string `min:"1" type:"string" required:"true"` + + // The version number of the CustomImage. + ImageVersionNumber *int64 `type:"integer"` +} + +// String returns the string representation +func (s CustomImage) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CustomImage) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CustomImage) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CustomImage"} + if s.AppImageConfigName == nil { + invalidParams.Add(request.NewErrParamRequired("AppImageConfigName")) + } + if s.ImageName == nil { + invalidParams.Add(request.NewErrParamRequired("ImageName")) + } + if s.ImageName != nil && len(*s.ImageName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAppImageConfigName sets the AppImageConfigName field's value. +func (s *CustomImage) SetAppImageConfigName(v string) *CustomImage { + s.AppImageConfigName = &v + return s +} + +// SetImageName sets the ImageName field's value. +func (s *CustomImage) SetImageName(v string) *CustomImage { + s.ImageName = &v + return s +} + +// SetImageVersionNumber sets the ImageVersionNumber field's value. +func (s *CustomImage) SetImageVersionNumber(v int64) *CustomImage { + s.ImageVersionNumber = &v + return s +} + type DataCaptureConfig struct { _ struct{} `type:"structure"` @@ -21753,6 +23461,58 @@ func (s DeleteAlgorithmOutput) GoString() string { return s.String() } +type DeleteAppImageConfigInput struct { + _ struct{} `type:"structure"` + + // The name of the AppImageConfig to delete. + // + // AppImageConfigName is a required field + AppImageConfigName *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteAppImageConfigInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteAppImageConfigInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteAppImageConfigInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteAppImageConfigInput"} + if s.AppImageConfigName == nil { + invalidParams.Add(request.NewErrParamRequired("AppImageConfigName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAppImageConfigName sets the AppImageConfigName field's value. +func (s *DeleteAppImageConfigInput) SetAppImageConfigName(v string) *DeleteAppImageConfigInput { + s.AppImageConfigName = &v + return s +} + +type DeleteAppImageConfigOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteAppImageConfigOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteAppImageConfigOutput) GoString() string { + return s.String() +} + type DeleteAppInput struct { _ struct{} `type:"structure"` @@ -22244,6 +24004,130 @@ func (s DeleteHumanTaskUiOutput) GoString() string { return s.String() } +type DeleteImageInput struct { + _ struct{} `type:"structure"` + + // The name of the image to delete. + // + // ImageName is a required field + ImageName *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteImageInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteImageInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteImageInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteImageInput"} + if s.ImageName == nil { + invalidParams.Add(request.NewErrParamRequired("ImageName")) + } + if s.ImageName != nil && len(*s.ImageName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetImageName sets the ImageName field's value. +func (s *DeleteImageInput) SetImageName(v string) *DeleteImageInput { + s.ImageName = &v + return s +} + +type DeleteImageOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteImageOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteImageOutput) GoString() string { + return s.String() +} + +type DeleteImageVersionInput struct { + _ struct{} `type:"structure"` + + // The name of the image. + // + // ImageName is a required field + ImageName *string `min:"1" type:"string" required:"true"` + + // The version to delete. + // + // Version is a required field + Version *int64 `type:"integer" required:"true"` +} + +// String returns the string representation +func (s DeleteImageVersionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteImageVersionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteImageVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteImageVersionInput"} + if s.ImageName == nil { + invalidParams.Add(request.NewErrParamRequired("ImageName")) + } + if s.ImageName != nil && len(*s.ImageName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) + } + if s.Version == nil { + invalidParams.Add(request.NewErrParamRequired("Version")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetImageName sets the ImageName field's value. +func (s *DeleteImageVersionInput) SetImageName(v string) *DeleteImageVersionInput { + s.ImageName = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *DeleteImageVersionInput) SetVersion(v int64) *DeleteImageVersionInput { + s.Version = &v + return s +} + +type DeleteImageVersionOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteImageVersionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteImageVersionOutput) GoString() string { + return s.String() +} + type DeleteModelInput struct { _ struct{} `type:"structure"` @@ -23113,6 +24997,103 @@ func (s *DescribeAlgorithmOutput) SetValidationSpecification(v *AlgorithmValidat return s } +type DescribeAppImageConfigInput struct { + _ struct{} `type:"structure"` + + // The name of the AppImageConfig to describe. + // + // AppImageConfigName is a required field + AppImageConfigName *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeAppImageConfigInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeAppImageConfigInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeAppImageConfigInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeAppImageConfigInput"} + if s.AppImageConfigName == nil { + invalidParams.Add(request.NewErrParamRequired("AppImageConfigName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAppImageConfigName sets the AppImageConfigName field's value. +func (s *DescribeAppImageConfigInput) SetAppImageConfigName(v string) *DescribeAppImageConfigInput { + s.AppImageConfigName = &v + return s +} + +type DescribeAppImageConfigOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the AppImageConfig. + AppImageConfigArn *string `type:"string"` + + // The name of the AppImageConfig. + AppImageConfigName *string `type:"string"` + + // When the AppImageConfig was created. + CreationTime *time.Time `type:"timestamp"` + + // The KernelGateway app. + KernelGatewayImageConfig *KernelGatewayImageConfig `type:"structure"` + + // When the AppImageConfig was last modified. + LastModifiedTime *time.Time `type:"timestamp"` +} + +// String returns the string representation +func (s DescribeAppImageConfigOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeAppImageConfigOutput) GoString() string { + return s.String() +} + +// SetAppImageConfigArn sets the AppImageConfigArn field's value. +func (s *DescribeAppImageConfigOutput) SetAppImageConfigArn(v string) *DescribeAppImageConfigOutput { + s.AppImageConfigArn = &v + return s +} + +// SetAppImageConfigName sets the AppImageConfigName field's value. +func (s *DescribeAppImageConfigOutput) SetAppImageConfigName(v string) *DescribeAppImageConfigOutput { + s.AppImageConfigName = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *DescribeAppImageConfigOutput) SetCreationTime(v time.Time) *DescribeAppImageConfigOutput { + s.CreationTime = &v + return s +} + +// SetKernelGatewayImageConfig sets the KernelGatewayImageConfig field's value. +func (s *DescribeAppImageConfigOutput) SetKernelGatewayImageConfig(v *KernelGatewayImageConfig) *DescribeAppImageConfigOutput { + s.KernelGatewayImageConfig = v + return s +} + +// SetLastModifiedTime sets the LastModifiedTime field's value. +func (s *DescribeAppImageConfigOutput) SetLastModifiedTime(v time.Time) *DescribeAppImageConfigOutput { + s.LastModifiedTime = &v + return s +} + type DescribeAppInput struct { _ struct{} `type:"structure"` @@ -23196,7 +25177,7 @@ func (s *DescribeAppInput) SetUserProfileName(v string) *DescribeAppInput { type DescribeAppOutput struct { _ struct{} `type:"structure"` - // The app's Amazon Resource Name (ARN). + // The Amazon Resource Name (ARN) of the app. AppArn *string `type:"string"` // The name of the app. @@ -24984,6 +26965,288 @@ func (s *DescribeHyperParameterTuningJobOutput) SetWarmStartConfig(v *HyperParam return s } +type DescribeImageInput struct { + _ struct{} `type:"structure"` + + // The name of the image to describe. + // + // ImageName is a required field + ImageName *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeImageInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeImageInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeImageInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeImageInput"} + if s.ImageName == nil { + invalidParams.Add(request.NewErrParamRequired("ImageName")) + } + if s.ImageName != nil && len(*s.ImageName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetImageName sets the ImageName field's value. +func (s *DescribeImageInput) SetImageName(v string) *DescribeImageInput { + s.ImageName = &v + return s +} + +type DescribeImageOutput struct { + _ struct{} `type:"structure"` + + // When the image was created. + CreationTime *time.Time `type:"timestamp"` + + // The description of the image. + Description *string `min:"1" type:"string"` + + // The name of the image as displayed. + DisplayName *string `min:"1" type:"string"` + + // When a create, update, or delete operation fails, the reason for the failure. + FailureReason *string `type:"string"` + + // The Amazon Resource Name (ARN) of the image. + ImageArn *string `type:"string"` + + // The name of the image. + ImageName *string `min:"1" type:"string"` + + // The status of the image. + ImageStatus *string `type:"string" enum:"ImageStatus"` + + // When the image was last modified. + LastModifiedTime *time.Time `type:"timestamp"` + + // The Amazon Resource Name (ARN) of the IAM role that enables Amazon SageMaker + // to perform tasks on your behalf. + RoleArn *string `min:"20" type:"string"` +} + +// String returns the string representation +func (s DescribeImageOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeImageOutput) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *DescribeImageOutput) SetCreationTime(v time.Time) *DescribeImageOutput { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *DescribeImageOutput) SetDescription(v string) *DescribeImageOutput { + s.Description = &v + return s +} + +// SetDisplayName sets the DisplayName field's value. +func (s *DescribeImageOutput) SetDisplayName(v string) *DescribeImageOutput { + s.DisplayName = &v + return s +} + +// SetFailureReason sets the FailureReason field's value. +func (s *DescribeImageOutput) SetFailureReason(v string) *DescribeImageOutput { + s.FailureReason = &v + return s +} + +// SetImageArn sets the ImageArn field's value. +func (s *DescribeImageOutput) SetImageArn(v string) *DescribeImageOutput { + s.ImageArn = &v + return s +} + +// SetImageName sets the ImageName field's value. +func (s *DescribeImageOutput) SetImageName(v string) *DescribeImageOutput { + s.ImageName = &v + return s +} + +// SetImageStatus sets the ImageStatus field's value. +func (s *DescribeImageOutput) SetImageStatus(v string) *DescribeImageOutput { + s.ImageStatus = &v + return s +} + +// SetLastModifiedTime sets the LastModifiedTime field's value. +func (s *DescribeImageOutput) SetLastModifiedTime(v time.Time) *DescribeImageOutput { + s.LastModifiedTime = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *DescribeImageOutput) SetRoleArn(v string) *DescribeImageOutput { + s.RoleArn = &v + return s +} + +type DescribeImageVersionInput struct { + _ struct{} `type:"structure"` + + // The name of the image. + // + // ImageName is a required field + ImageName *string `min:"1" type:"string" required:"true"` + + // The version of the image. If not specified, the latest version is described. + Version *int64 `type:"integer"` +} + +// String returns the string representation +func (s DescribeImageVersionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeImageVersionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeImageVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeImageVersionInput"} + if s.ImageName == nil { + invalidParams.Add(request.NewErrParamRequired("ImageName")) + } + if s.ImageName != nil && len(*s.ImageName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetImageName sets the ImageName field's value. +func (s *DescribeImageVersionInput) SetImageName(v string) *DescribeImageVersionInput { + s.ImageName = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *DescribeImageVersionInput) SetVersion(v int64) *DescribeImageVersionInput { + s.Version = &v + return s +} + +type DescribeImageVersionOutput struct { + _ struct{} `type:"structure"` + + // The registry path of the container image on which this image version is based. + BaseImage *string `min:"1" type:"string"` + + // The registry path of the container image that contains this image version. + ContainerImage *string `min:"1" type:"string"` + + // When the version was created. + CreationTime *time.Time `type:"timestamp"` + + // When a create or delete operation fails, the reason for the failure. + FailureReason *string `type:"string"` + + // The Amazon Resource Name (ARN) of the image the version is based on. + ImageArn *string `type:"string"` + + // The ARN of the version. + ImageVersionArn *string `type:"string"` + + // The status of the version. + ImageVersionStatus *string `type:"string" enum:"ImageVersionStatus"` + + // When the version was last modified. + LastModifiedTime *time.Time `type:"timestamp"` + + // The version number. + Version *int64 `type:"integer"` +} + +// String returns the string representation +func (s DescribeImageVersionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeImageVersionOutput) GoString() string { + return s.String() +} + +// SetBaseImage sets the BaseImage field's value. +func (s *DescribeImageVersionOutput) SetBaseImage(v string) *DescribeImageVersionOutput { + s.BaseImage = &v + return s +} + +// SetContainerImage sets the ContainerImage field's value. +func (s *DescribeImageVersionOutput) SetContainerImage(v string) *DescribeImageVersionOutput { + s.ContainerImage = &v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *DescribeImageVersionOutput) SetCreationTime(v time.Time) *DescribeImageVersionOutput { + s.CreationTime = &v + return s +} + +// SetFailureReason sets the FailureReason field's value. +func (s *DescribeImageVersionOutput) SetFailureReason(v string) *DescribeImageVersionOutput { + s.FailureReason = &v + return s +} + +// SetImageArn sets the ImageArn field's value. +func (s *DescribeImageVersionOutput) SetImageArn(v string) *DescribeImageVersionOutput { + s.ImageArn = &v + return s +} + +// SetImageVersionArn sets the ImageVersionArn field's value. +func (s *DescribeImageVersionOutput) SetImageVersionArn(v string) *DescribeImageVersionOutput { + s.ImageVersionArn = &v + return s +} + +// SetImageVersionStatus sets the ImageVersionStatus field's value. +func (s *DescribeImageVersionOutput) SetImageVersionStatus(v string) *DescribeImageVersionOutput { + s.ImageVersionStatus = &v + return s +} + +// SetLastModifiedTime sets the LastModifiedTime field's value. +func (s *DescribeImageVersionOutput) SetLastModifiedTime(v time.Time) *DescribeImageVersionOutput { + s.LastModifiedTime = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *DescribeImageVersionOutput) SetVersion(v int64) *DescribeImageVersionOutput { + s.Version = &v + return s +} + type DescribeLabelingJobInput struct { _ struct{} `type:"structure"` @@ -28563,6 +30826,49 @@ func (s *ExperimentSummary) SetLastModifiedTime(v time.Time) *ExperimentSummary return s } +// The Amazon Elastic File System (EFS) storage configuration for an image. +type FileSystemConfig struct { + _ struct{} `type:"structure"` + + // The default POSIX group ID. If not specified, defaults to 100. + DefaultGid *int64 `type:"integer"` + + // The default POSIX user ID. If not specified, defaults to 1000. + DefaultUid *int64 `type:"integer"` + + // The path within the image to mount the user's EFS home directory. The directory + // should be empty. If not specified, defaults to /home/sagemaker-user. + MountPath *string `type:"string"` +} + +// String returns the string representation +func (s FileSystemConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s FileSystemConfig) GoString() string { + return s.String() +} + +// SetDefaultGid sets the DefaultGid field's value. +func (s *FileSystemConfig) SetDefaultGid(v int64) *FileSystemConfig { + s.DefaultGid = &v + return s +} + +// SetDefaultUid sets the DefaultUid field's value. +func (s *FileSystemConfig) SetDefaultUid(v int64) *FileSystemConfig { + s.DefaultUid = &v + return s +} + +// SetMountPath sets the MountPath field's value. +func (s *FileSystemConfig) SetMountPath(v string) *FileSystemConfig { + s.MountPath = &v + return s +} + // Specifies a file system data source for a channel. type FileSystemDataSource struct { _ struct{} `type:"structure"` @@ -31672,6 +33978,105 @@ func (s *HyperParameterTuningJobWarmStartConfig) SetWarmStartType(v string) *Hyp return s } +// A SageMaker image. A SageMaker image represents a set of container images +// that are derived from a common base container image. Each of these container +// images is represented by a SageMaker ImageVersion. +type Image struct { + _ struct{} `type:"structure"` + + // When the image was created. + // + // CreationTime is a required field + CreationTime *time.Time `type:"timestamp" required:"true"` + + // The description of the image. + Description *string `min:"1" type:"string"` + + // The name of the image as displayed. + DisplayName *string `min:"1" type:"string"` + + // When a create, update, or delete operation fails, the reason for the failure. + FailureReason *string `type:"string"` + + // The Amazon Resource Name (ARN) of the image. + // + // ImageArn is a required field + ImageArn *string `type:"string" required:"true"` + + // The name of the image. + // + // ImageName is a required field + ImageName *string `min:"1" type:"string" required:"true"` + + // The status of the image. + // + // ImageStatus is a required field + ImageStatus *string `type:"string" required:"true" enum:"ImageStatus"` + + // When the image was last modified. + // + // LastModifiedTime is a required field + LastModifiedTime *time.Time `type:"timestamp" required:"true"` +} + +// String returns the string representation +func (s Image) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Image) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *Image) SetCreationTime(v time.Time) *Image { + s.CreationTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *Image) SetDescription(v string) *Image { + s.Description = &v + return s +} + +// SetDisplayName sets the DisplayName field's value. +func (s *Image) SetDisplayName(v string) *Image { + s.DisplayName = &v + return s +} + +// SetFailureReason sets the FailureReason field's value. +func (s *Image) SetFailureReason(v string) *Image { + s.FailureReason = &v + return s +} + +// SetImageArn sets the ImageArn field's value. +func (s *Image) SetImageArn(v string) *Image { + s.ImageArn = &v + return s +} + +// SetImageName sets the ImageName field's value. +func (s *Image) SetImageName(v string) *Image { + s.ImageName = &v + return s +} + +// SetImageStatus sets the ImageStatus field's value. +func (s *Image) SetImageStatus(v string) *Image { + s.ImageStatus = &v + return s +} + +// SetLastModifiedTime sets the LastModifiedTime field's value. +func (s *Image) SetLastModifiedTime(v time.Time) *Image { + s.LastModifiedTime = &v + return s +} + // Specifies whether the model container is in Amazon ECR or a private Docker // registry accessible from your Amazon Virtual Private Cloud (VPC). type ImageConfig struct { @@ -31717,6 +34122,97 @@ func (s *ImageConfig) SetRepositoryAccessMode(v string) *ImageConfig { return s } +// A version of a SageMaker Image. A version represents an existing container +// image. +type ImageVersion struct { + _ struct{} `type:"structure"` + + // When the version was created. + // + // CreationTime is a required field + CreationTime *time.Time `type:"timestamp" required:"true"` + + // When a create or delete operation fails, the reason for the failure. + FailureReason *string `type:"string"` + + // The Amazon Resource Name (ARN) of the image the version is based on. + // + // ImageArn is a required field + ImageArn *string `type:"string" required:"true"` + + // The ARN of the version. + // + // ImageVersionArn is a required field + ImageVersionArn *string `type:"string" required:"true"` + + // The status of the version. + // + // ImageVersionStatus is a required field + ImageVersionStatus *string `type:"string" required:"true" enum:"ImageVersionStatus"` + + // When the version was last modified. + // + // LastModifiedTime is a required field + LastModifiedTime *time.Time `type:"timestamp" required:"true"` + + // The version number. + // + // Version is a required field + Version *int64 `type:"integer" required:"true"` +} + +// String returns the string representation +func (s ImageVersion) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ImageVersion) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *ImageVersion) SetCreationTime(v time.Time) *ImageVersion { + s.CreationTime = &v + return s +} + +// SetFailureReason sets the FailureReason field's value. +func (s *ImageVersion) SetFailureReason(v string) *ImageVersion { + s.FailureReason = &v + return s +} + +// SetImageArn sets the ImageArn field's value. +func (s *ImageVersion) SetImageArn(v string) *ImageVersion { + s.ImageArn = &v + return s +} + +// SetImageVersionArn sets the ImageVersionArn field's value. +func (s *ImageVersion) SetImageVersionArn(v string) *ImageVersion { + s.ImageVersionArn = &v + return s +} + +// SetImageVersionStatus sets the ImageVersionStatus field's value. +func (s *ImageVersion) SetImageVersionStatus(v string) *ImageVersion { + s.ImageVersionStatus = &v + return s +} + +// SetLastModifiedTime sets the LastModifiedTime field's value. +func (s *ImageVersion) SetLastModifiedTime(v time.Time) *ImageVersion { + s.LastModifiedTime = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *ImageVersion) SetVersion(v int64) *ImageVersion { + s.Version = &v + return s +} + // Defines how to perform inference generation after a training job is run. type InferenceSpecification struct { _ struct{} `type:"structure"` @@ -32166,12 +34662,15 @@ func (s *JupyterServerAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *Jupy return s } -// The kernel gateway app settings. +// The KernelGateway app settings. type KernelGatewayAppSettings struct { _ struct{} `type:"structure"` - // The default instance type and the Amazon Resource Name (ARN) of the SageMaker - // image created on the instance. + // A list of custom images that are configured to run as a KernelGateway app. + CustomImages []*CustomImage `type:"list"` + + // The default instance type and the Amazon Resource Name (ARN) of the default + // SageMaker image used by the KernelGateway app. DefaultResourceSpec *ResourceSpec `type:"structure"` } @@ -32185,12 +34684,149 @@ func (s KernelGatewayAppSettings) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *KernelGatewayAppSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KernelGatewayAppSettings"} + if s.CustomImages != nil { + for i, v := range s.CustomImages { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CustomImages", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCustomImages sets the CustomImages field's value. +func (s *KernelGatewayAppSettings) SetCustomImages(v []*CustomImage) *KernelGatewayAppSettings { + s.CustomImages = v + return s +} + // SetDefaultResourceSpec sets the DefaultResourceSpec field's value. func (s *KernelGatewayAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *KernelGatewayAppSettings { s.DefaultResourceSpec = v return s } +// The configuration for an Amazon SageMaker KernelGateway app. +type KernelGatewayImageConfig struct { + _ struct{} `type:"structure"` + + // The file system configuration. + FileSystemConfig *FileSystemConfig `type:"structure"` + + // Defines how a kernel is started and the arguments, environment variables, + // and metadata that are available to the kernel. + // + // KernelSpecs is a required field + KernelSpecs []*KernelSpec `min:"1" type:"list" required:"true"` +} + +// String returns the string representation +func (s KernelGatewayImageConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s KernelGatewayImageConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KernelGatewayImageConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KernelGatewayImageConfig"} + if s.KernelSpecs == nil { + invalidParams.Add(request.NewErrParamRequired("KernelSpecs")) + } + if s.KernelSpecs != nil && len(s.KernelSpecs) < 1 { + invalidParams.Add(request.NewErrParamMinLen("KernelSpecs", 1)) + } + if s.KernelSpecs != nil { + for i, v := range s.KernelSpecs { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "KernelSpecs", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFileSystemConfig sets the FileSystemConfig field's value. +func (s *KernelGatewayImageConfig) SetFileSystemConfig(v *FileSystemConfig) *KernelGatewayImageConfig { + s.FileSystemConfig = v + return s +} + +// SetKernelSpecs sets the KernelSpecs field's value. +func (s *KernelGatewayImageConfig) SetKernelSpecs(v []*KernelSpec) *KernelGatewayImageConfig { + s.KernelSpecs = v + return s +} + +// Defines how a kernel is started and the arguments, environment variables, +// and metadata that are available to the kernel. +type KernelSpec struct { + _ struct{} `type:"structure"` + + // The display name of the kernel. + DisplayName *string `type:"string"` + + // The name of the kernel. Must be unique to your account. + // + // Name is a required field + Name *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s KernelSpec) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s KernelSpec) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KernelSpec) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KernelSpec"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDisplayName sets the DisplayName field's value. +func (s *KernelSpec) SetDisplayName(v string) *KernelSpec { + s.DisplayName = &v + return s +} + +// SetName sets the Name field's value. +func (s *KernelSpec) SetName(v string) *KernelSpec { + s.Name = &v + return s +} + // Provides a breakdown of the number of objects labeled. type LabelCounters struct { _ struct{} `type:"structure"` @@ -33137,6 +35773,153 @@ func (s *ListAlgorithmsOutput) SetNextToken(v string) *ListAlgorithmsOutput { return s } +type ListAppImageConfigsInput struct { + _ struct{} `type:"structure"` + + // A filter that returns only AppImageConfigs created on or after the specified + // time. + CreationTimeAfter *time.Time `type:"timestamp"` + + // A filter that returns only AppImageConfigs created on or before the specified + // time. + CreationTimeBefore *time.Time `type:"timestamp"` + + // The maximum number of AppImageConfigs to return in the response. The default + // value is 10. + MaxResults *int64 `min:"1" type:"integer"` + + // A filter that returns only AppImageConfigs modified on or after the specified + // time. + ModifiedTimeAfter *time.Time `type:"timestamp"` + + // A filter that returns only AppImageConfigs modified on or before the specified + // time. + ModifiedTimeBefore *time.Time `type:"timestamp"` + + // A filter that returns only AppImageConfigs whose name contains the specified + // string. + NameContains *string `type:"string"` + + // If the previous call to ListImages didn't return the full set of AppImageConfigs, + // the call returns a token for getting the next set of AppImageConfigs. + NextToken *string `type:"string"` + + // The property used to sort results. The default value is CreationTime. + SortBy *string `type:"string" enum:"AppImageConfigSortKey"` + + // The sort order. The default value is Descending. + SortOrder *string `type:"string" enum:"SortOrder"` +} + +// String returns the string representation +func (s ListAppImageConfigsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListAppImageConfigsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListAppImageConfigsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAppImageConfigsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCreationTimeAfter sets the CreationTimeAfter field's value. +func (s *ListAppImageConfigsInput) SetCreationTimeAfter(v time.Time) *ListAppImageConfigsInput { + s.CreationTimeAfter = &v + return s +} + +// SetCreationTimeBefore sets the CreationTimeBefore field's value. +func (s *ListAppImageConfigsInput) SetCreationTimeBefore(v time.Time) *ListAppImageConfigsInput { + s.CreationTimeBefore = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListAppImageConfigsInput) SetMaxResults(v int64) *ListAppImageConfigsInput { + s.MaxResults = &v + return s +} + +// SetModifiedTimeAfter sets the ModifiedTimeAfter field's value. +func (s *ListAppImageConfigsInput) SetModifiedTimeAfter(v time.Time) *ListAppImageConfigsInput { + s.ModifiedTimeAfter = &v + return s +} + +// SetModifiedTimeBefore sets the ModifiedTimeBefore field's value. +func (s *ListAppImageConfigsInput) SetModifiedTimeBefore(v time.Time) *ListAppImageConfigsInput { + s.ModifiedTimeBefore = &v + return s +} + +// SetNameContains sets the NameContains field's value. +func (s *ListAppImageConfigsInput) SetNameContains(v string) *ListAppImageConfigsInput { + s.NameContains = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAppImageConfigsInput) SetNextToken(v string) *ListAppImageConfigsInput { + s.NextToken = &v + return s +} + +// SetSortBy sets the SortBy field's value. +func (s *ListAppImageConfigsInput) SetSortBy(v string) *ListAppImageConfigsInput { + s.SortBy = &v + return s +} + +// SetSortOrder sets the SortOrder field's value. +func (s *ListAppImageConfigsInput) SetSortOrder(v string) *ListAppImageConfigsInput { + s.SortOrder = &v + return s +} + +type ListAppImageConfigsOutput struct { + _ struct{} `type:"structure"` + + // A list of AppImageConfigs and their properties. + AppImageConfigs []*AppImageConfigDetails `type:"list"` + + // A token for getting the next set of AppImageConfigs, if there are any. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s ListAppImageConfigsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListAppImageConfigsOutput) GoString() string { + return s.String() +} + +// SetAppImageConfigs sets the AppImageConfigs field's value. +func (s *ListAppImageConfigsOutput) SetAppImageConfigs(v []*AppImageConfigDetails) *ListAppImageConfigsOutput { + s.AppImageConfigs = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAppImageConfigsOutput) SetNextToken(v string) *ListAppImageConfigsOutput { + s.NextToken = &v + return s +} + type ListAppsInput struct { _ struct{} `type:"structure"` @@ -34734,6 +37517,298 @@ func (s *ListHyperParameterTuningJobsOutput) SetNextToken(v string) *ListHyperPa return s } +type ListImageVersionsInput struct { + _ struct{} `type:"structure"` + + // A filter that returns only versions created on or after the specified time. + CreationTimeAfter *time.Time `type:"timestamp"` + + // A filter that returns only versions created on or before the specified time. + CreationTimeBefore *time.Time `type:"timestamp"` + + // The name of the image to list the versions of. + // + // ImageName is a required field + ImageName *string `min:"1" type:"string" required:"true"` + + // A filter that returns only versions modified on or after the specified time. + LastModifiedTimeAfter *time.Time `type:"timestamp"` + + // A filter that returns only versions modified on or before the specified time. + LastModifiedTimeBefore *time.Time `type:"timestamp"` + + // The maximum number of versions to return in the response. The default value + // is 10. + MaxResults *int64 `min:"1" type:"integer"` + + // If the previous call to ListImageVersions didn't return the full set of versions, + // the call returns a token for getting the next set of versions. + NextToken *string `type:"string"` + + // The property used to sort results. The default value is CREATION_TIME. + SortBy *string `type:"string" enum:"ImageVersionSortBy"` + + // The sort order. The default value is DESCENDING. + SortOrder *string `type:"string" enum:"ImageVersionSortOrder"` +} + +// String returns the string representation +func (s ListImageVersionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListImageVersionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListImageVersionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListImageVersionsInput"} + if s.ImageName == nil { + invalidParams.Add(request.NewErrParamRequired("ImageName")) + } + if s.ImageName != nil && len(*s.ImageName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCreationTimeAfter sets the CreationTimeAfter field's value. +func (s *ListImageVersionsInput) SetCreationTimeAfter(v time.Time) *ListImageVersionsInput { + s.CreationTimeAfter = &v + return s +} + +// SetCreationTimeBefore sets the CreationTimeBefore field's value. +func (s *ListImageVersionsInput) SetCreationTimeBefore(v time.Time) *ListImageVersionsInput { + s.CreationTimeBefore = &v + return s +} + +// SetImageName sets the ImageName field's value. +func (s *ListImageVersionsInput) SetImageName(v string) *ListImageVersionsInput { + s.ImageName = &v + return s +} + +// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. +func (s *ListImageVersionsInput) SetLastModifiedTimeAfter(v time.Time) *ListImageVersionsInput { + s.LastModifiedTimeAfter = &v + return s +} + +// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. +func (s *ListImageVersionsInput) SetLastModifiedTimeBefore(v time.Time) *ListImageVersionsInput { + s.LastModifiedTimeBefore = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListImageVersionsInput) SetMaxResults(v int64) *ListImageVersionsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListImageVersionsInput) SetNextToken(v string) *ListImageVersionsInput { + s.NextToken = &v + return s +} + +// SetSortBy sets the SortBy field's value. +func (s *ListImageVersionsInput) SetSortBy(v string) *ListImageVersionsInput { + s.SortBy = &v + return s +} + +// SetSortOrder sets the SortOrder field's value. +func (s *ListImageVersionsInput) SetSortOrder(v string) *ListImageVersionsInput { + s.SortOrder = &v + return s +} + +type ListImageVersionsOutput struct { + _ struct{} `type:"structure"` + + // A list of versions and their properties. + ImageVersions []*ImageVersion `type:"list"` + + // A token for getting the next set of versions, if there are any. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s ListImageVersionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListImageVersionsOutput) GoString() string { + return s.String() +} + +// SetImageVersions sets the ImageVersions field's value. +func (s *ListImageVersionsOutput) SetImageVersions(v []*ImageVersion) *ListImageVersionsOutput { + s.ImageVersions = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListImageVersionsOutput) SetNextToken(v string) *ListImageVersionsOutput { + s.NextToken = &v + return s +} + +type ListImagesInput struct { + _ struct{} `type:"structure"` + + // A filter that returns only images created on or after the specified time. + CreationTimeAfter *time.Time `type:"timestamp"` + + // A filter that returns only images created on or before the specified time. + CreationTimeBefore *time.Time `type:"timestamp"` + + // A filter that returns only images modified on or after the specified time. + LastModifiedTimeAfter *time.Time `type:"timestamp"` + + // A filter that returns only images modified on or before the specified time. + LastModifiedTimeBefore *time.Time `type:"timestamp"` + + // The maximum number of images to return in the response. The default value + // is 10. + MaxResults *int64 `min:"1" type:"integer"` + + // A filter that returns only images whose name contains the specified string. + NameContains *string `type:"string"` + + // If the previous call to ListImages didn't return the full set of images, + // the call returns a token for getting the next set of images. + NextToken *string `type:"string"` + + // The property used to sort results. The default value is CREATION_TIME. + SortBy *string `type:"string" enum:"ImageSortBy"` + + // The sort order. The default value is DESCENDING. + SortOrder *string `type:"string" enum:"ImageSortOrder"` +} + +// String returns the string representation +func (s ListImagesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListImagesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListImagesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListImagesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCreationTimeAfter sets the CreationTimeAfter field's value. +func (s *ListImagesInput) SetCreationTimeAfter(v time.Time) *ListImagesInput { + s.CreationTimeAfter = &v + return s +} + +// SetCreationTimeBefore sets the CreationTimeBefore field's value. +func (s *ListImagesInput) SetCreationTimeBefore(v time.Time) *ListImagesInput { + s.CreationTimeBefore = &v + return s +} + +// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. +func (s *ListImagesInput) SetLastModifiedTimeAfter(v time.Time) *ListImagesInput { + s.LastModifiedTimeAfter = &v + return s +} + +// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. +func (s *ListImagesInput) SetLastModifiedTimeBefore(v time.Time) *ListImagesInput { + s.LastModifiedTimeBefore = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListImagesInput) SetMaxResults(v int64) *ListImagesInput { + s.MaxResults = &v + return s +} + +// SetNameContains sets the NameContains field's value. +func (s *ListImagesInput) SetNameContains(v string) *ListImagesInput { + s.NameContains = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListImagesInput) SetNextToken(v string) *ListImagesInput { + s.NextToken = &v + return s +} + +// SetSortBy sets the SortBy field's value. +func (s *ListImagesInput) SetSortBy(v string) *ListImagesInput { + s.SortBy = &v + return s +} + +// SetSortOrder sets the SortOrder field's value. +func (s *ListImagesInput) SetSortOrder(v string) *ListImagesInput { + s.SortOrder = &v + return s +} + +type ListImagesOutput struct { + _ struct{} `type:"structure"` + + // A list of images and their properties. + Images []*Image `type:"list"` + + // A token for getting the next set of images, if there are any. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s ListImagesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListImagesOutput) GoString() string { + return s.String() +} + +// SetImages sets the Images field's value. +func (s *ListImagesOutput) SetImages(v []*Image) *ListImagesOutput { + s.Images = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListImagesOutput) SetNextToken(v string) *ListImagesOutput { + s.NextToken = &v + return s +} + type ListLabelingJobsForWorkteamInput struct { _ struct{} `type:"structure"` @@ -39822,12 +42897,17 @@ type OutputConfig struct { // Add {'mattr': ['+neon']} to compiler options if compiling for ARM 32-bit // platform with NEON support. // + // * INFERENTIA: Compilation for target ml_inf1 uses compiler options passed + // in as a JSON string. For example, "CompilerOptions": "\"--verbose 1 --num-neuroncores + // 2 -O2\"". For information about supported compiler options, see Neuron + // Compiler CLI (https://github.com/aws/aws-neuron-sdk/blob/master/docs/neuron-cc/command-line-reference.md). + // // * CoreML: Compilation for the CoreML OutputConfig$TargetDevice supports // the following compiler options: class_labels: Specifies the classification // labels file name inside input tar.gz file. For example, {"class_labels": // "imagenet_labels_1000.txt"}. Labels inside the txt file should be separated // by newlines. - CompilerOptions *string `min:"7" type:"string"` + CompilerOptions *string `min:"3" type:"string"` // Identifies the S3 bucket where you want Amazon SageMaker to store the model // artifacts. For example, s3://bucket-name/key-name-prefix. @@ -39882,8 +42962,8 @@ func (s OutputConfig) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *OutputConfig) Validate() error { invalidParams := request.ErrInvalidParams{Context: "OutputConfig"} - if s.CompilerOptions != nil && len(*s.CompilerOptions) < 7 { - invalidParams.Add(request.NewErrParamMinLen("CompilerOptions", 7)) + if s.CompilerOptions != nil && len(*s.CompilerOptions) < 3 { + invalidParams.Add(request.NewErrParamMinLen("CompilerOptions", 3)) } if s.S3OutputLocation == nil { invalidParams.Add(request.NewErrParamRequired("S3OutputLocation")) @@ -42186,17 +45266,19 @@ func (s *ResourceNotFound) RequestID() string { return s.RespMetadata.RequestID } -// The instance type and the Amazon Resource Name (ARN) of the SageMaker image -// created on the instance. The ARN is stored as metadata in SageMaker Studio -// notebooks. +// Specifies the ARN's of a SageMaker image and SageMaker image version, and +// the instance type that the version runs on. type ResourceSpec struct { _ struct{} `type:"structure"` - // The instance type. + // The instance type that the image version runs on. InstanceType *string `type:"string" enum:"AppInstanceType"` - // The Amazon Resource Name (ARN) of the SageMaker image created on the instance. + // The ARN of the SageMaker image that the image version belongs to. SageMakerImageArn *string `type:"string"` + + // The ARN of the image version created on the instance. + SageMakerImageVersionArn *string `type:"string"` } // String returns the string representation @@ -42221,6 +45303,12 @@ func (s *ResourceSpec) SetSageMakerImageArn(v string) *ResourceSpec { return s } +// SetSageMakerImageVersionArn sets the SageMakerImageVersionArn field's value. +func (s *ResourceSpec) SetSageMakerImageVersionArn(v string) *ResourceSpec { + s.SageMakerImageVersionArn = &v + return s +} + // The retention policy for data stored on an Amazon Elastic File System (EFS) // volume. type RetentionPolicy struct { @@ -47042,6 +50130,81 @@ func (s *UiTemplateInfo) SetUrl(v string) *UiTemplateInfo { return s } +type UpdateAppImageConfigInput struct { + _ struct{} `type:"structure"` + + // The name of the AppImageConfig to update. + // + // AppImageConfigName is a required field + AppImageConfigName *string `type:"string" required:"true"` + + // The new KernelGateway app to run on the image. + KernelGatewayImageConfig *KernelGatewayImageConfig `type:"structure"` +} + +// String returns the string representation +func (s UpdateAppImageConfigInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateAppImageConfigInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateAppImageConfigInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateAppImageConfigInput"} + if s.AppImageConfigName == nil { + invalidParams.Add(request.NewErrParamRequired("AppImageConfigName")) + } + if s.KernelGatewayImageConfig != nil { + if err := s.KernelGatewayImageConfig.Validate(); err != nil { + invalidParams.AddNested("KernelGatewayImageConfig", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAppImageConfigName sets the AppImageConfigName field's value. +func (s *UpdateAppImageConfigInput) SetAppImageConfigName(v string) *UpdateAppImageConfigInput { + s.AppImageConfigName = &v + return s +} + +// SetKernelGatewayImageConfig sets the KernelGatewayImageConfig field's value. +func (s *UpdateAppImageConfigInput) SetKernelGatewayImageConfig(v *KernelGatewayImageConfig) *UpdateAppImageConfigInput { + s.KernelGatewayImageConfig = v + return s +} + +type UpdateAppImageConfigOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) for the AppImageConfig. + AppImageConfigArn *string `type:"string"` +} + +// String returns the string representation +func (s UpdateAppImageConfigOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateAppImageConfigOutput) GoString() string { + return s.String() +} + +// SetAppImageConfigArn sets the AppImageConfigArn field's value. +func (s *UpdateAppImageConfigOutput) SetAppImageConfigArn(v string) *UpdateAppImageConfigOutput { + s.AppImageConfigArn = &v + return s +} + type UpdateCodeRepositoryInput struct { _ struct{} `type:"structure"` @@ -47491,6 +50654,117 @@ func (s *UpdateExperimentOutput) SetExperimentArn(v string) *UpdateExperimentOut return s } +type UpdateImageInput struct { + _ struct{} `type:"structure"` + + // A list of properties to delete. Only the Description and DisplayName properties + // can be deleted. + DeleteProperties []*string `type:"list"` + + // The new description for the image. + Description *string `min:"1" type:"string"` + + // The new display name for the image. + DisplayName *string `min:"1" type:"string"` + + // The name of the image to update. + // + // ImageName is a required field + ImageName *string `min:"1" type:"string" required:"true"` + + // The new Amazon Resource Name (ARN) for the IAM role that enables Amazon SageMaker + // to perform tasks on your behalf. + RoleArn *string `min:"20" type:"string"` +} + +// String returns the string representation +func (s UpdateImageInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateImageInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateImageInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateImageInput"} + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.DisplayName != nil && len(*s.DisplayName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1)) + } + if s.ImageName == nil { + invalidParams.Add(request.NewErrParamRequired("ImageName")) + } + if s.ImageName != nil && len(*s.ImageName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) + } + if s.RoleArn != nil && len(*s.RoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDeleteProperties sets the DeleteProperties field's value. +func (s *UpdateImageInput) SetDeleteProperties(v []*string) *UpdateImageInput { + s.DeleteProperties = v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateImageInput) SetDescription(v string) *UpdateImageInput { + s.Description = &v + return s +} + +// SetDisplayName sets the DisplayName field's value. +func (s *UpdateImageInput) SetDisplayName(v string) *UpdateImageInput { + s.DisplayName = &v + return s +} + +// SetImageName sets the ImageName field's value. +func (s *UpdateImageInput) SetImageName(v string) *UpdateImageInput { + s.ImageName = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *UpdateImageInput) SetRoleArn(v string) *UpdateImageInput { + s.RoleArn = &v + return s +} + +type UpdateImageOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the image. + ImageArn *string `type:"string"` +} + +// String returns the string representation +func (s UpdateImageOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateImageOutput) GoString() string { + return s.String() +} + +// SetImageArn sets the ImageArn field's value. +func (s *UpdateImageOutput) SetImageArn(v string) *UpdateImageOutput { + s.ImageArn = &v + return s +} + type UpdateMonitoringScheduleInput struct { _ struct{} `type:"structure"` @@ -48575,7 +51849,12 @@ type UserSettings struct { // The kernel gateway app settings. KernelGatewayAppSettings *KernelGatewayAppSettings `type:"structure"` - // The security groups. + // The security groups for the Amazon Virtual Private Cloud (VPC) that Studio + // uses for communication. + // + // Optional when the CreateDomain.AppNetworkAccessType parameter is set to PublicInternetOnly. + // + // Required when the CreateDomain.AppNetworkAccessType parameter is set to VpcOnly. SecurityGroups []*string `type:"list"` // The sharing settings. @@ -48601,6 +51880,11 @@ func (s *UserSettings) Validate() error { if s.ExecutionRole != nil && len(*s.ExecutionRole) < 20 { invalidParams.Add(request.NewErrParamMinLen("ExecutionRole", 20)) } + if s.KernelGatewayAppSettings != nil { + if err := s.KernelGatewayAppSettings.Validate(); err != nil { + invalidParams.AddNested("KernelGatewayAppSettings", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -49025,6 +52309,26 @@ func AlgorithmStatus_Values() []string { } } +const ( + // AppImageConfigSortKeyCreationTime is a AppImageConfigSortKey enum value + AppImageConfigSortKeyCreationTime = "CreationTime" + + // AppImageConfigSortKeyLastModifiedTime is a AppImageConfigSortKey enum value + AppImageConfigSortKeyLastModifiedTime = "LastModifiedTime" + + // AppImageConfigSortKeyName is a AppImageConfigSortKey enum value + AppImageConfigSortKeyName = "Name" +) + +// AppImageConfigSortKey_Values returns all elements of the AppImageConfigSortKey enum +func AppImageConfigSortKey_Values() []string { + return []string{ + AppImageConfigSortKeyCreationTime, + AppImageConfigSortKeyLastModifiedTime, + AppImageConfigSortKeyName, + } +} + const ( // AppInstanceTypeSystem is a AppInstanceType enum value AppInstanceTypeSystem = "system" @@ -49781,6 +53085,15 @@ const ( // DomainStatusPending is a DomainStatus enum value DomainStatusPending = "Pending" + + // DomainStatusUpdating is a DomainStatus enum value + DomainStatusUpdating = "Updating" + + // DomainStatusUpdateFailed is a DomainStatus enum value + DomainStatusUpdateFailed = "Update_Failed" + + // DomainStatusDeleteFailed is a DomainStatus enum value + DomainStatusDeleteFailed = "Delete_Failed" ) // DomainStatus_Values returns all elements of the DomainStatus enum @@ -49790,6 +53103,9 @@ func DomainStatus_Values() []string { DomainStatusFailed, DomainStatusInService, DomainStatusPending, + DomainStatusUpdating, + DomainStatusUpdateFailed, + DomainStatusDeleteFailed, } } @@ -49982,6 +53298,9 @@ const ( // FrameworkTflite is a Framework enum value FrameworkTflite = "TFLITE" + + // FrameworkDarknet is a Framework enum value + FrameworkDarknet = "DARKNET" ) // Framework_Values returns all elements of the Framework enum @@ -49994,6 +53313,7 @@ func Framework_Values() []string { FrameworkPytorch, FrameworkXgboost, FrameworkTflite, + FrameworkDarknet, } } @@ -50135,6 +53455,142 @@ func HyperParameterTuningJobWarmStartType_Values() []string { } } +const ( + // ImageSortByCreationTime is a ImageSortBy enum value + ImageSortByCreationTime = "CREATION_TIME" + + // ImageSortByLastModifiedTime is a ImageSortBy enum value + ImageSortByLastModifiedTime = "LAST_MODIFIED_TIME" + + // ImageSortByImageName is a ImageSortBy enum value + ImageSortByImageName = "IMAGE_NAME" +) + +// ImageSortBy_Values returns all elements of the ImageSortBy enum +func ImageSortBy_Values() []string { + return []string{ + ImageSortByCreationTime, + ImageSortByLastModifiedTime, + ImageSortByImageName, + } +} + +const ( + // ImageSortOrderAscending is a ImageSortOrder enum value + ImageSortOrderAscending = "ASCENDING" + + // ImageSortOrderDescending is a ImageSortOrder enum value + ImageSortOrderDescending = "DESCENDING" +) + +// ImageSortOrder_Values returns all elements of the ImageSortOrder enum +func ImageSortOrder_Values() []string { + return []string{ + ImageSortOrderAscending, + ImageSortOrderDescending, + } +} + +const ( + // ImageStatusCreating is a ImageStatus enum value + ImageStatusCreating = "CREATING" + + // ImageStatusCreated is a ImageStatus enum value + ImageStatusCreated = "CREATED" + + // ImageStatusCreateFailed is a ImageStatus enum value + ImageStatusCreateFailed = "CREATE_FAILED" + + // ImageStatusUpdating is a ImageStatus enum value + ImageStatusUpdating = "UPDATING" + + // ImageStatusUpdateFailed is a ImageStatus enum value + ImageStatusUpdateFailed = "UPDATE_FAILED" + + // ImageStatusDeleting is a ImageStatus enum value + ImageStatusDeleting = "DELETING" + + // ImageStatusDeleteFailed is a ImageStatus enum value + ImageStatusDeleteFailed = "DELETE_FAILED" +) + +// ImageStatus_Values returns all elements of the ImageStatus enum +func ImageStatus_Values() []string { + return []string{ + ImageStatusCreating, + ImageStatusCreated, + ImageStatusCreateFailed, + ImageStatusUpdating, + ImageStatusUpdateFailed, + ImageStatusDeleting, + ImageStatusDeleteFailed, + } +} + +const ( + // ImageVersionSortByCreationTime is a ImageVersionSortBy enum value + ImageVersionSortByCreationTime = "CREATION_TIME" + + // ImageVersionSortByLastModifiedTime is a ImageVersionSortBy enum value + ImageVersionSortByLastModifiedTime = "LAST_MODIFIED_TIME" + + // ImageVersionSortByVersion is a ImageVersionSortBy enum value + ImageVersionSortByVersion = "VERSION" +) + +// ImageVersionSortBy_Values returns all elements of the ImageVersionSortBy enum +func ImageVersionSortBy_Values() []string { + return []string{ + ImageVersionSortByCreationTime, + ImageVersionSortByLastModifiedTime, + ImageVersionSortByVersion, + } +} + +const ( + // ImageVersionSortOrderAscending is a ImageVersionSortOrder enum value + ImageVersionSortOrderAscending = "ASCENDING" + + // ImageVersionSortOrderDescending is a ImageVersionSortOrder enum value + ImageVersionSortOrderDescending = "DESCENDING" +) + +// ImageVersionSortOrder_Values returns all elements of the ImageVersionSortOrder enum +func ImageVersionSortOrder_Values() []string { + return []string{ + ImageVersionSortOrderAscending, + ImageVersionSortOrderDescending, + } +} + +const ( + // ImageVersionStatusCreating is a ImageVersionStatus enum value + ImageVersionStatusCreating = "CREATING" + + // ImageVersionStatusCreated is a ImageVersionStatus enum value + ImageVersionStatusCreated = "CREATED" + + // ImageVersionStatusCreateFailed is a ImageVersionStatus enum value + ImageVersionStatusCreateFailed = "CREATE_FAILED" + + // ImageVersionStatusDeleting is a ImageVersionStatus enum value + ImageVersionStatusDeleting = "DELETING" + + // ImageVersionStatusDeleteFailed is a ImageVersionStatus enum value + ImageVersionStatusDeleteFailed = "DELETE_FAILED" +) + +// ImageVersionStatus_Values returns all elements of the ImageVersionStatus enum +func ImageVersionStatus_Values() []string { + return []string{ + ImageVersionStatusCreating, + ImageVersionStatusCreated, + ImageVersionStatusCreateFailed, + ImageVersionStatusDeleting, + ImageVersionStatusDeleteFailed, + } +} + const ( // InstanceTypeMlT2Medium is a InstanceType enum value InstanceTypeMlT2Medium = "ml.t2.medium" @@ -52012,6 +55468,9 @@ const ( // TrainingInstanceTypeMlP3dn24xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlP3dn24xlarge = "ml.p3dn.24xlarge" + // TrainingInstanceTypeMlP4d24xlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlP4d24xlarge = "ml.p4d.24xlarge" + // TrainingInstanceTypeMlC5Xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlC5Xlarge = "ml.c5.xlarge" @@ -52074,6 +55533,7 @@ func TrainingInstanceType_Values() []string { TrainingInstanceTypeMlP38xlarge, TrainingInstanceTypeMlP316xlarge, TrainingInstanceTypeMlP3dn24xlarge, + TrainingInstanceTypeMlP4d24xlarge, TrainingInstanceTypeMlC5Xlarge, TrainingInstanceTypeMlC52xlarge, TrainingInstanceTypeMlC54xlarge, @@ -52351,6 +55811,15 @@ const ( // UserProfileStatusPending is a UserProfileStatus enum value UserProfileStatusPending = "Pending" + + // UserProfileStatusUpdating is a UserProfileStatus enum value + UserProfileStatusUpdating = "Updating" + + // UserProfileStatusUpdateFailed is a UserProfileStatus enum value + UserProfileStatusUpdateFailed = "Update_Failed" + + // UserProfileStatusDeleteFailed is a UserProfileStatus enum value + UserProfileStatusDeleteFailed = "Delete_Failed" ) // UserProfileStatus_Values returns all elements of the UserProfileStatus enum @@ -52360,6 +55829,9 @@ func UserProfileStatus_Values() []string { UserProfileStatusFailed, UserProfileStatusInService, UserProfileStatusPending, + UserProfileStatusUpdating, + UserProfileStatusUpdateFailed, + UserProfileStatusDeleteFailed, } } diff --git a/service/sagemaker/sagemakeriface/interface.go b/service/sagemaker/sagemakeriface/interface.go index 58e42a3cc66..93036e0bdb8 100644 --- a/service/sagemaker/sagemakeriface/interface.go +++ b/service/sagemaker/sagemakeriface/interface.go @@ -76,6 +76,10 @@ type SageMakerAPI interface { CreateAppWithContext(aws.Context, *sagemaker.CreateAppInput, ...request.Option) (*sagemaker.CreateAppOutput, error) CreateAppRequest(*sagemaker.CreateAppInput) (*request.Request, *sagemaker.CreateAppOutput) + CreateAppImageConfig(*sagemaker.CreateAppImageConfigInput) (*sagemaker.CreateAppImageConfigOutput, error) + CreateAppImageConfigWithContext(aws.Context, *sagemaker.CreateAppImageConfigInput, ...request.Option) (*sagemaker.CreateAppImageConfigOutput, error) + CreateAppImageConfigRequest(*sagemaker.CreateAppImageConfigInput) (*request.Request, *sagemaker.CreateAppImageConfigOutput) + CreateAutoMLJob(*sagemaker.CreateAutoMLJobInput) (*sagemaker.CreateAutoMLJobOutput, error) CreateAutoMLJobWithContext(aws.Context, *sagemaker.CreateAutoMLJobInput, ...request.Option) (*sagemaker.CreateAutoMLJobOutput, error) CreateAutoMLJobRequest(*sagemaker.CreateAutoMLJobInput) (*request.Request, *sagemaker.CreateAutoMLJobOutput) @@ -116,6 +120,14 @@ type SageMakerAPI interface { CreateHyperParameterTuningJobWithContext(aws.Context, *sagemaker.CreateHyperParameterTuningJobInput, ...request.Option) (*sagemaker.CreateHyperParameterTuningJobOutput, error) CreateHyperParameterTuningJobRequest(*sagemaker.CreateHyperParameterTuningJobInput) (*request.Request, *sagemaker.CreateHyperParameterTuningJobOutput) + CreateImage(*sagemaker.CreateImageInput) (*sagemaker.CreateImageOutput, error) + CreateImageWithContext(aws.Context, *sagemaker.CreateImageInput, ...request.Option) (*sagemaker.CreateImageOutput, error) + CreateImageRequest(*sagemaker.CreateImageInput) (*request.Request, *sagemaker.CreateImageOutput) + + CreateImageVersion(*sagemaker.CreateImageVersionInput) (*sagemaker.CreateImageVersionOutput, error) + CreateImageVersionWithContext(aws.Context, *sagemaker.CreateImageVersionInput, ...request.Option) (*sagemaker.CreateImageVersionOutput, error) + CreateImageVersionRequest(*sagemaker.CreateImageVersionInput) (*request.Request, *sagemaker.CreateImageVersionOutput) + CreateLabelingJob(*sagemaker.CreateLabelingJobInput) (*sagemaker.CreateLabelingJobOutput, error) CreateLabelingJobWithContext(aws.Context, *sagemaker.CreateLabelingJobInput, ...request.Option) (*sagemaker.CreateLabelingJobOutput, error) CreateLabelingJobRequest(*sagemaker.CreateLabelingJobInput) (*request.Request, *sagemaker.CreateLabelingJobOutput) @@ -188,6 +200,10 @@ type SageMakerAPI interface { DeleteAppWithContext(aws.Context, *sagemaker.DeleteAppInput, ...request.Option) (*sagemaker.DeleteAppOutput, error) DeleteAppRequest(*sagemaker.DeleteAppInput) (*request.Request, *sagemaker.DeleteAppOutput) + DeleteAppImageConfig(*sagemaker.DeleteAppImageConfigInput) (*sagemaker.DeleteAppImageConfigOutput, error) + DeleteAppImageConfigWithContext(aws.Context, *sagemaker.DeleteAppImageConfigInput, ...request.Option) (*sagemaker.DeleteAppImageConfigOutput, error) + DeleteAppImageConfigRequest(*sagemaker.DeleteAppImageConfigInput) (*request.Request, *sagemaker.DeleteAppImageConfigOutput) + DeleteCodeRepository(*sagemaker.DeleteCodeRepositoryInput) (*sagemaker.DeleteCodeRepositoryOutput, error) DeleteCodeRepositoryWithContext(aws.Context, *sagemaker.DeleteCodeRepositoryInput, ...request.Option) (*sagemaker.DeleteCodeRepositoryOutput, error) DeleteCodeRepositoryRequest(*sagemaker.DeleteCodeRepositoryInput) (*request.Request, *sagemaker.DeleteCodeRepositoryOutput) @@ -216,6 +232,14 @@ type SageMakerAPI interface { DeleteHumanTaskUiWithContext(aws.Context, *sagemaker.DeleteHumanTaskUiInput, ...request.Option) (*sagemaker.DeleteHumanTaskUiOutput, error) DeleteHumanTaskUiRequest(*sagemaker.DeleteHumanTaskUiInput) (*request.Request, *sagemaker.DeleteHumanTaskUiOutput) + DeleteImage(*sagemaker.DeleteImageInput) (*sagemaker.DeleteImageOutput, error) + DeleteImageWithContext(aws.Context, *sagemaker.DeleteImageInput, ...request.Option) (*sagemaker.DeleteImageOutput, error) + DeleteImageRequest(*sagemaker.DeleteImageInput) (*request.Request, *sagemaker.DeleteImageOutput) + + DeleteImageVersion(*sagemaker.DeleteImageVersionInput) (*sagemaker.DeleteImageVersionOutput, error) + DeleteImageVersionWithContext(aws.Context, *sagemaker.DeleteImageVersionInput, ...request.Option) (*sagemaker.DeleteImageVersionOutput, error) + DeleteImageVersionRequest(*sagemaker.DeleteImageVersionInput) (*request.Request, *sagemaker.DeleteImageVersionOutput) + DeleteModel(*sagemaker.DeleteModelInput) (*sagemaker.DeleteModelOutput, error) DeleteModelWithContext(aws.Context, *sagemaker.DeleteModelInput, ...request.Option) (*sagemaker.DeleteModelOutput, error) DeleteModelRequest(*sagemaker.DeleteModelInput) (*request.Request, *sagemaker.DeleteModelOutput) @@ -268,6 +292,10 @@ type SageMakerAPI interface { DescribeAppWithContext(aws.Context, *sagemaker.DescribeAppInput, ...request.Option) (*sagemaker.DescribeAppOutput, error) DescribeAppRequest(*sagemaker.DescribeAppInput) (*request.Request, *sagemaker.DescribeAppOutput) + DescribeAppImageConfig(*sagemaker.DescribeAppImageConfigInput) (*sagemaker.DescribeAppImageConfigOutput, error) + DescribeAppImageConfigWithContext(aws.Context, *sagemaker.DescribeAppImageConfigInput, ...request.Option) (*sagemaker.DescribeAppImageConfigOutput, error) + DescribeAppImageConfigRequest(*sagemaker.DescribeAppImageConfigInput) (*request.Request, *sagemaker.DescribeAppImageConfigOutput) + DescribeAutoMLJob(*sagemaker.DescribeAutoMLJobInput) (*sagemaker.DescribeAutoMLJobOutput, error) DescribeAutoMLJobWithContext(aws.Context, *sagemaker.DescribeAutoMLJobInput, ...request.Option) (*sagemaker.DescribeAutoMLJobOutput, error) DescribeAutoMLJobRequest(*sagemaker.DescribeAutoMLJobInput) (*request.Request, *sagemaker.DescribeAutoMLJobOutput) @@ -308,6 +336,14 @@ type SageMakerAPI interface { DescribeHyperParameterTuningJobWithContext(aws.Context, *sagemaker.DescribeHyperParameterTuningJobInput, ...request.Option) (*sagemaker.DescribeHyperParameterTuningJobOutput, error) DescribeHyperParameterTuningJobRequest(*sagemaker.DescribeHyperParameterTuningJobInput) (*request.Request, *sagemaker.DescribeHyperParameterTuningJobOutput) + DescribeImage(*sagemaker.DescribeImageInput) (*sagemaker.DescribeImageOutput, error) + DescribeImageWithContext(aws.Context, *sagemaker.DescribeImageInput, ...request.Option) (*sagemaker.DescribeImageOutput, error) + DescribeImageRequest(*sagemaker.DescribeImageInput) (*request.Request, *sagemaker.DescribeImageOutput) + + DescribeImageVersion(*sagemaker.DescribeImageVersionInput) (*sagemaker.DescribeImageVersionOutput, error) + DescribeImageVersionWithContext(aws.Context, *sagemaker.DescribeImageVersionInput, ...request.Option) (*sagemaker.DescribeImageVersionOutput, error) + DescribeImageVersionRequest(*sagemaker.DescribeImageVersionInput) (*request.Request, *sagemaker.DescribeImageVersionOutput) + DescribeLabelingJob(*sagemaker.DescribeLabelingJobInput) (*sagemaker.DescribeLabelingJobOutput, error) DescribeLabelingJobWithContext(aws.Context, *sagemaker.DescribeLabelingJobInput, ...request.Option) (*sagemaker.DescribeLabelingJobOutput, error) DescribeLabelingJobRequest(*sagemaker.DescribeLabelingJobInput) (*request.Request, *sagemaker.DescribeLabelingJobOutput) @@ -383,6 +419,10 @@ type SageMakerAPI interface { ListAlgorithmsPages(*sagemaker.ListAlgorithmsInput, func(*sagemaker.ListAlgorithmsOutput, bool) bool) error ListAlgorithmsPagesWithContext(aws.Context, *sagemaker.ListAlgorithmsInput, func(*sagemaker.ListAlgorithmsOutput, bool) bool, ...request.Option) error + ListAppImageConfigs(*sagemaker.ListAppImageConfigsInput) (*sagemaker.ListAppImageConfigsOutput, error) + ListAppImageConfigsWithContext(aws.Context, *sagemaker.ListAppImageConfigsInput, ...request.Option) (*sagemaker.ListAppImageConfigsOutput, error) + ListAppImageConfigsRequest(*sagemaker.ListAppImageConfigsInput) (*request.Request, *sagemaker.ListAppImageConfigsOutput) + ListApps(*sagemaker.ListAppsInput) (*sagemaker.ListAppsOutput, error) ListAppsWithContext(aws.Context, *sagemaker.ListAppsInput, ...request.Option) (*sagemaker.ListAppsOutput, error) ListAppsRequest(*sagemaker.ListAppsInput) (*request.Request, *sagemaker.ListAppsOutput) @@ -467,6 +507,20 @@ type SageMakerAPI interface { ListHyperParameterTuningJobsPages(*sagemaker.ListHyperParameterTuningJobsInput, func(*sagemaker.ListHyperParameterTuningJobsOutput, bool) bool) error ListHyperParameterTuningJobsPagesWithContext(aws.Context, *sagemaker.ListHyperParameterTuningJobsInput, func(*sagemaker.ListHyperParameterTuningJobsOutput, bool) bool, ...request.Option) error + ListImageVersions(*sagemaker.ListImageVersionsInput) (*sagemaker.ListImageVersionsOutput, error) + ListImageVersionsWithContext(aws.Context, *sagemaker.ListImageVersionsInput, ...request.Option) (*sagemaker.ListImageVersionsOutput, error) + ListImageVersionsRequest(*sagemaker.ListImageVersionsInput) (*request.Request, *sagemaker.ListImageVersionsOutput) + + ListImageVersionsPages(*sagemaker.ListImageVersionsInput, func(*sagemaker.ListImageVersionsOutput, bool) bool) error + ListImageVersionsPagesWithContext(aws.Context, *sagemaker.ListImageVersionsInput, func(*sagemaker.ListImageVersionsOutput, bool) bool, ...request.Option) error + + ListImages(*sagemaker.ListImagesInput) (*sagemaker.ListImagesOutput, error) + ListImagesWithContext(aws.Context, *sagemaker.ListImagesInput, ...request.Option) (*sagemaker.ListImagesOutput, error) + ListImagesRequest(*sagemaker.ListImagesInput) (*request.Request, *sagemaker.ListImagesOutput) + + ListImagesPages(*sagemaker.ListImagesInput, func(*sagemaker.ListImagesOutput, bool) bool) error + ListImagesPagesWithContext(aws.Context, *sagemaker.ListImagesInput, func(*sagemaker.ListImagesOutput, bool) bool, ...request.Option) error + ListLabelingJobs(*sagemaker.ListLabelingJobsInput) (*sagemaker.ListLabelingJobsOutput, error) ListLabelingJobsWithContext(aws.Context, *sagemaker.ListLabelingJobsInput, ...request.Option) (*sagemaker.ListLabelingJobsOutput, error) ListLabelingJobsRequest(*sagemaker.ListLabelingJobsInput) (*request.Request, *sagemaker.ListLabelingJobsOutput) @@ -655,6 +709,10 @@ type SageMakerAPI interface { StopTransformJobWithContext(aws.Context, *sagemaker.StopTransformJobInput, ...request.Option) (*sagemaker.StopTransformJobOutput, error) StopTransformJobRequest(*sagemaker.StopTransformJobInput) (*request.Request, *sagemaker.StopTransformJobOutput) + UpdateAppImageConfig(*sagemaker.UpdateAppImageConfigInput) (*sagemaker.UpdateAppImageConfigOutput, error) + UpdateAppImageConfigWithContext(aws.Context, *sagemaker.UpdateAppImageConfigInput, ...request.Option) (*sagemaker.UpdateAppImageConfigOutput, error) + UpdateAppImageConfigRequest(*sagemaker.UpdateAppImageConfigInput) (*request.Request, *sagemaker.UpdateAppImageConfigOutput) + UpdateCodeRepository(*sagemaker.UpdateCodeRepositoryInput) (*sagemaker.UpdateCodeRepositoryOutput, error) UpdateCodeRepositoryWithContext(aws.Context, *sagemaker.UpdateCodeRepositoryInput, ...request.Option) (*sagemaker.UpdateCodeRepositoryOutput, error) UpdateCodeRepositoryRequest(*sagemaker.UpdateCodeRepositoryInput) (*request.Request, *sagemaker.UpdateCodeRepositoryOutput) @@ -675,6 +733,10 @@ type SageMakerAPI interface { UpdateExperimentWithContext(aws.Context, *sagemaker.UpdateExperimentInput, ...request.Option) (*sagemaker.UpdateExperimentOutput, error) UpdateExperimentRequest(*sagemaker.UpdateExperimentInput) (*request.Request, *sagemaker.UpdateExperimentOutput) + UpdateImage(*sagemaker.UpdateImageInput) (*sagemaker.UpdateImageOutput, error) + UpdateImageWithContext(aws.Context, *sagemaker.UpdateImageInput, ...request.Option) (*sagemaker.UpdateImageOutput, error) + UpdateImageRequest(*sagemaker.UpdateImageInput) (*request.Request, *sagemaker.UpdateImageOutput) + UpdateMonitoringSchedule(*sagemaker.UpdateMonitoringScheduleInput) (*sagemaker.UpdateMonitoringScheduleOutput, error) UpdateMonitoringScheduleWithContext(aws.Context, *sagemaker.UpdateMonitoringScheduleInput, ...request.Option) (*sagemaker.UpdateMonitoringScheduleOutput, error) UpdateMonitoringScheduleRequest(*sagemaker.UpdateMonitoringScheduleInput) (*request.Request, *sagemaker.UpdateMonitoringScheduleOutput)