From 8d4f0aefe8a2d9dafc059be92df95c1facc7cd6f Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Thu, 28 Dec 2023 14:44:05 -0500 Subject: [PATCH] Release v1.49.12 (2023-12-28) (#5128) Release v1.49.12 (2023-12-28) === ### Service Client Updates * `service/codestar-connections`: Updates service API * `service/kinesis-video-archived-media`: Updates service API and documentation * `service/sagemaker`: Updates service API and documentation * Amazon SageMaker Studio now supports Docker access from within app container --- CHANGELOG.md | 9 + aws/endpoints/defaults.go | 9 + aws/version.go | 2 +- .../2019-12-01/api-2.json | 3 +- .../2017-09-30/api-2.json | 3 +- .../2017-09-30/docs-2.json | 8 +- .../2017-09-30/endpoint-rule-set-1.json | 366 ++++++++---------- models/apis/sagemaker/2017-07-24/api-2.json | 17 +- models/apis/sagemaker/2017-07-24/docs-2.json | 17 +- models/endpoints/endpoints.json | 3 + service/codestarconnections/api.go | 4 + service/kinesisvideoarchivedmedia/api.go | 32 +- service/kinesisvideoarchivedmedia/errors.go | 4 +- service/sagemaker/api.go | 60 +++ 14 files changed, 310 insertions(+), 227 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c526e26e39..2fd562f5aae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +Release v1.49.12 (2023-12-28) +=== + +### Service Client Updates +* `service/codestar-connections`: Updates service API +* `service/kinesis-video-archived-media`: Updates service API and documentation +* `service/sagemaker`: Updates service API and documentation + * Amazon SageMaker Studio now supports Docker access from within app container + Release v1.49.11 (2023-12-27) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 261462f5945..fdd6c505cdc 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -19943,6 +19943,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -19998,6 +20001,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -20053,6 +20059,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index 827b489cb76..75185131c50 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.49.11" +const SDKVersion = "1.49.12" diff --git a/models/apis/codestar-connections/2019-12-01/api-2.json b/models/apis/codestar-connections/2019-12-01/api-2.json index bfa5d449b5d..10cb3151698 100644 --- a/models/apis/codestar-connections/2019-12-01/api-2.json +++ b/models/apis/codestar-connections/2019-12-01/api-2.json @@ -981,7 +981,8 @@ "Bitbucket", "GitHub", "GitHubEnterpriseServer", - "GitLab" + "GitLab", + "GitLabSelfManaged" ] }, "RepositoryLinkArn":{ diff --git a/models/apis/kinesis-video-archived-media/2017-09-30/api-2.json b/models/apis/kinesis-video-archived-media/2017-09-30/api-2.json index 830f0b5ae6b..df3cf3a32f1 100644 --- a/models/apis/kinesis-video-archived-media/2017-09-30/api-2.json +++ b/models/apis/kinesis-video-archived-media/2017-09-30/api-2.json @@ -81,7 +81,8 @@ {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArgumentException"}, {"shape":"ClientLimitExceededException"}, - {"shape":"NotAuthorizedException"} + {"shape":"NotAuthorizedException"}, + {"shape":"NoDataRetentionException"} ] }, "GetMediaForFragmentList":{ diff --git a/models/apis/kinesis-video-archived-media/2017-09-30/docs-2.json b/models/apis/kinesis-video-archived-media/2017-09-30/docs-2.json index a935bd969ac..c703cda9f61 100644 --- a/models/apis/kinesis-video-archived-media/2017-09-30/docs-2.json +++ b/models/apis/kinesis-video-archived-media/2017-09-30/docs-2.json @@ -5,7 +5,7 @@ "GetClip": "

Downloads an MP4 file (clip) containing the archived, on-demand media from the specified video stream over the specified time range.

Both the StreamName and the StreamARN parameters are optional, but you must specify either the StreamName or the StreamARN when invoking this API operation.

As a prerequisite to using GetCLip API, you must obtain an endpoint using GetDataEndpoint, specifying GET_CLIP for the APIName parameter.

An Amazon Kinesis video stream has the following requirements for providing data through MP4:

You can monitor the amount of outgoing data by monitoring the GetClip.OutgoingBytes Amazon CloudWatch metric. For information about using CloudWatch to monitor Kinesis Video Streams, see Monitoring Kinesis Video Streams. For pricing information, see Amazon Kinesis Video Streams Pricing and Amazon Web Services Pricing. Charges for outgoing Amazon Web Services data apply.

", "GetDASHStreamingSessionURL": "

Retrieves an MPEG Dynamic Adaptive Streaming over HTTP (DASH) URL for the stream. You can then open the URL in a media player to view the stream contents.

Both the StreamName and the StreamARN parameters are optional, but you must specify either the StreamName or the StreamARN when invoking this API operation.

An Amazon Kinesis video stream has the following requirements for providing data through MPEG-DASH:

The following procedure shows how to use MPEG-DASH with Kinesis Video Streams:

  1. Get an endpoint using GetDataEndpoint, specifying GET_DASH_STREAMING_SESSION_URL for the APIName parameter.

  2. Retrieve the MPEG-DASH URL using GetDASHStreamingSessionURL. Kinesis Video Streams creates an MPEG-DASH streaming session to be used for accessing content in a stream using the MPEG-DASH protocol. GetDASHStreamingSessionURL returns an authenticated URL (that includes an encrypted session token) for the session's MPEG-DASH manifest (the root resource needed for streaming with MPEG-DASH).

    Don't share or store this token where an unauthorized entity can access it. The token provides access to the content of the stream. Safeguard the token with the same measures that you use with your Amazon Web Services credentials.

    The media that is made available through the manifest consists only of the requested stream, time range, and format. No other media data (such as frames outside the requested window or alternate bitrates) is made available.

  3. Provide the URL (containing the encrypted session token) for the MPEG-DASH manifest to a media player that supports the MPEG-DASH protocol. Kinesis Video Streams makes the initialization fragment and media fragments available through the manifest URL. The initialization fragment contains the codec private data for the stream, and other data needed to set up the video or audio decoder and renderer. The media fragments contain encoded video frames or encoded audio samples.

  4. The media player receives the authenticated URL and requests stream metadata and media data normally. When the media player requests data, it calls the following actions:

    • GetDASHManifest: Retrieves an MPEG DASH manifest, which contains the metadata for the media that you want to playback.

    • GetMP4InitFragment: Retrieves the MP4 initialization fragment. The media player typically loads the initialization fragment before loading any media fragments. This fragment contains the \"fytp\" and \"moov\" MP4 atoms, and the child atoms that are needed to initialize the media player decoder.

      The initialization fragment does not correspond to a fragment in a Kinesis video stream. It contains only the codec private data for the stream and respective track, which the media player needs to decode the media frames.

    • GetMP4MediaFragment: Retrieves MP4 media fragments. These fragments contain the \"moof\" and \"mdat\" MP4 atoms and their child atoms, containing the encoded fragment's media frames and their timestamps.

      After the first media fragment is made available in a streaming session, any fragments that don't contain the same codec private data cause an error to be returned when those different media fragments are loaded. Therefore, the codec private data should not change between fragments in a session. This also means that the session fails if the fragments in a stream change from having only video to having both audio and video.

      Data retrieved with this action is billable. See Pricing for details.

For restrictions that apply to MPEG-DASH sessions, see Kinesis Video Streams Limits.

You can monitor the amount of data that the media player consumes by monitoring the GetMP4MediaFragment.OutgoingBytes Amazon CloudWatch metric. For information about using CloudWatch to monitor Kinesis Video Streams, see Monitoring Kinesis Video Streams. For pricing information, see Amazon Kinesis Video Streams Pricing and Amazon Web Services Pricing. Charges for both HLS sessions and outgoing Amazon Web Services data apply.

For more information about HLS, see HTTP Live Streaming on the Apple Developer site.

If an error is thrown after invoking a Kinesis Video Streams archived media API, in addition to the HTTP status code and the response body, it includes the following pieces of information:

Both the HTTP status code and the ErrorType header can be utilized to make programmatic decisions about whether errors are retry-able and under what conditions, as well as provide information on what actions the client programmer might need to take in order to successfully try again.

For more information, see the Errors section at the bottom of this topic, as well as Common Errors.

", "GetHLSStreamingSessionURL": "

Retrieves an HTTP Live Streaming (HLS) URL for the stream. You can then open the URL in a browser or media player to view the stream contents.

Both the StreamName and the StreamARN parameters are optional, but you must specify either the StreamName or the StreamARN when invoking this API operation.

An Amazon Kinesis video stream has the following requirements for providing data through HLS:

Kinesis Video Streams HLS sessions contain fragments in the fragmented MPEG-4 form (also called fMP4 or CMAF) or the MPEG-2 form (also called TS chunks, which the HLS specification also supports). For more information about HLS fragment types, see the HLS specification.

The following procedure shows how to use HLS with Kinesis Video Streams:

  1. Get an endpoint using GetDataEndpoint, specifying GET_HLS_STREAMING_SESSION_URL for the APIName parameter.

  2. Retrieve the HLS URL using GetHLSStreamingSessionURL. Kinesis Video Streams creates an HLS streaming session to be used for accessing content in a stream using the HLS protocol. GetHLSStreamingSessionURL returns an authenticated URL (that includes an encrypted session token) for the session's HLS master playlist (the root resource needed for streaming with HLS).

    Don't share or store this token where an unauthorized entity could access it. The token provides access to the content of the stream. Safeguard the token with the same measures that you would use with your Amazon Web Services credentials.

    The media that is made available through the playlist consists only of the requested stream, time range, and format. No other media data (such as frames outside the requested window or alternate bitrates) is made available.

  3. Provide the URL (containing the encrypted session token) for the HLS master playlist to a media player that supports the HLS protocol. Kinesis Video Streams makes the HLS media playlist, initialization fragment, and media fragments available through the master playlist URL. The initialization fragment contains the codec private data for the stream, and other data needed to set up the video or audio decoder and renderer. The media fragments contain H.264-encoded video frames or AAC-encoded audio samples.

  4. The media player receives the authenticated URL and requests stream metadata and media data normally. When the media player requests data, it calls the following actions:

    • GetHLSMasterPlaylist: Retrieves an HLS master playlist, which contains a URL for the GetHLSMediaPlaylist action for each track, and additional metadata for the media player, including estimated bitrate and resolution.

    • GetHLSMediaPlaylist: Retrieves an HLS media playlist, which contains a URL to access the MP4 initialization fragment with the GetMP4InitFragment action, and URLs to access the MP4 media fragments with the GetMP4MediaFragment actions. The HLS media playlist also contains metadata about the stream that the player needs to play it, such as whether the PlaybackMode is LIVE or ON_DEMAND. The HLS media playlist is typically static for sessions with a PlaybackType of ON_DEMAND. The HLS media playlist is continually updated with new fragments for sessions with a PlaybackType of LIVE. There is a distinct HLS media playlist for the video track and the audio track (if applicable) that contains MP4 media URLs for the specific track.

    • GetMP4InitFragment: Retrieves the MP4 initialization fragment. The media player typically loads the initialization fragment before loading any media fragments. This fragment contains the \"fytp\" and \"moov\" MP4 atoms, and the child atoms that are needed to initialize the media player decoder.

      The initialization fragment does not correspond to a fragment in a Kinesis video stream. It contains only the codec private data for the stream and respective track, which the media player needs to decode the media frames.

    • GetMP4MediaFragment: Retrieves MP4 media fragments. These fragments contain the \"moof\" and \"mdat\" MP4 atoms and their child atoms, containing the encoded fragment's media frames and their timestamps.

      For the HLS streaming session, in-track codec private data (CPD) changes are supported. After the first media fragment is made available in a streaming session, fragments can contain CPD changes for each track. Therefore, the fragments in a session can have a different resolution, bit rate, or other information in the CPD without interrupting playback. However, any change made in the track number or track codec format can return an error when those different media fragments are loaded. For example, streaming will fail if the fragments in the stream change from having only video to having both audio and video, or if an AAC audio track is changed to an ALAW audio track. For each streaming session, only 500 CPD changes are allowed.

      Data retrieved with this action is billable. For information, see Pricing.

    • GetTSFragment: Retrieves MPEG TS fragments containing both initialization and media data for all tracks in the stream.

      If the ContainerFormat is MPEG_TS, this API is used instead of GetMP4InitFragment and GetMP4MediaFragment to retrieve stream media.

      Data retrieved with this action is billable. For more information, see Kinesis Video Streams pricing.

A streaming session URL must not be shared between players. The service might throttle a session if multiple media players are sharing it. For connection limits, see Kinesis Video Streams Limits.

You can monitor the amount of data that the media player consumes by monitoring the GetMP4MediaFragment.OutgoingBytes Amazon CloudWatch metric. For information about using CloudWatch to monitor Kinesis Video Streams, see Monitoring Kinesis Video Streams. For pricing information, see Amazon Kinesis Video Streams Pricing and Amazon Web Services Pricing. Charges for both HLS sessions and outgoing Amazon Web Services data apply.

For more information about HLS, see HTTP Live Streaming on the Apple Developer site.

If an error is thrown after invoking a Kinesis Video Streams archived media API, in addition to the HTTP status code and the response body, it includes the following pieces of information:

Both the HTTP status code and the ErrorType header can be utilized to make programmatic decisions about whether errors are retry-able and under what conditions, as well as provide information on what actions the client programmer might need to take in order to successfully try again.

For more information, see the Errors section at the bottom of this topic, as well as Common Errors.

", - "GetImages": "

Retrieves a list of Images corresponding to each timestamp for a given time range, sampling interval, and image format configuration.

", + "GetImages": "

Retrieves a list of images corresponding to each timestamp for a given time range, sampling interval, and image format configuration.

", "GetMediaForFragmentList": "

Gets media for a list of fragments (specified by fragment number) from the archived data in an Amazon Kinesis video stream.

You must first call the GetDataEndpoint API to get an endpoint. Then send the GetMediaForFragmentList requests to this endpoint using the --endpoint-url parameter.

For limits, see Kinesis Video Streams Limits.

If an error is thrown after invoking a Kinesis Video Streams archived media API, in addition to the HTTP status code and the response body, it includes the following pieces of information:

Both the HTTP status code and the ErrorType header can be utilized to make programmatic decisions about whether errors are retry-able and under what conditions, as well as provide information on what actions the client programmer might need to take in order to successfully try again.

For more information, see the Errors section at the bottom of this topic, as well as Common Errors.

", "ListFragments": "

Returns a list of Fragment objects from the specified stream and timestamp range within the archived data.

Listing fragments is eventually consistent. This means that even if the producer receives an acknowledgment that a fragment is persisted, the result might not be returned immediately from a request to ListFragments. However, results are typically available in less than one second.

You must first call the GetDataEndpoint API to get an endpoint. Then send the ListFragments requests to this endpoint using the --endpoint-url parameter.

If an error is thrown after invoking a Kinesis Video Streams archived media API, in addition to the HTTP status code and the response body, it includes the following pieces of information:

Both the HTTP status code and the ErrorType header can be utilized to make programmatic decisions about whether errors are retry-able and under what conditions, as well as provide information on what actions the client programmer might need to take in order to successfully try again.

For more information, see the Errors section at the bottom of this topic, as well as Common Errors.

" }, @@ -167,7 +167,7 @@ "FragmentSelector": { "base": "

Describes the timestamp range and timestamp origin of a range of fragments.

Only fragments with a start timestamp greater than or equal to the given start time and less than or equal to the end time are returned. For example, if a stream contains fragments with the following start timestamps:

A fragment selector range with a start time of 00:00:01 and end time of 00:00:04 would return the fragments with start times of 00:00:02 and 00:00:04.

", "refs": { - "ListFragmentsInput$FragmentSelector": "

Describes the timestamp range and timestamp origin for the range of fragments to return.

" + "ListFragmentsInput$FragmentSelector": "

Describes the timestamp range and timestamp origin for the range of fragments to return.

This is only required when the NextToken isn't passed in the API.

" } }, "FragmentSelectorType": { @@ -369,7 +369,7 @@ } }, "NoDataRetentionException": { - "base": "

A streaming session was requested for a stream that does not retain data (that is, has a DataRetentionInHours of 0).

", + "base": "

GetImages was requested for a stream that does not retain data (that is, has a DataRetentionInHours of 0).

", "refs": { } }, @@ -404,7 +404,7 @@ "SamplingInterval": { "base": null, "refs": { - "GetImagesInput$SamplingInterval": "

The time interval in milliseconds (ms) at which the images need to be generated from the stream, with a default of 3000 ms. The minimum value that can be provided is 200 ms. If the timestamp range is less than the sampling interval, the Image from the startTimestamp will be returned if available.

The minimum value of 200 ms is a hard limit.

" + "GetImagesInput$SamplingInterval": "

The time interval in milliseconds (ms) at which the images need to be generated from the stream. The minimum value that can be provided is 200 ms (5 images per second). If the timestamp range is less than the sampling interval, the image from the startTimestamp will be returned if available.

" } }, "StreamName": { diff --git a/models/apis/kinesis-video-archived-media/2017-09-30/endpoint-rule-set-1.json b/models/apis/kinesis-video-archived-media/2017-09-30/endpoint-rule-set-1.json index f61682a8f1f..6b41a983a71 100644 --- a/models/apis/kinesis-video-archived-media/2017-09-30/endpoint-rule-set-1.json +++ b/models/apis/kinesis-video-archived-media/2017-09-30/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -58,293 +57,258 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, { - "conditions": [], - "type": "tree", + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://kinesisvideo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://kinesisvideo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] }, true ] } ], - "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://kinesisvideo-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://kinesisvideo-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://kinesisvideo.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], - "type": "tree", + ], "rules": [ { "conditions": [], "endpoint": { - "url": "https://kinesisvideo.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://kinesisvideo.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "endpoint": { + "url": "https://kinesisvideo.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" + ], + "type": "tree" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/models/apis/sagemaker/2017-07-24/api-2.json b/models/apis/sagemaker/2017-07-24/api-2.json index bbc1adf4bc5..83159bf1710 100644 --- a/models/apis/sagemaker/2017-07-24/api-2.json +++ b/models/apis/sagemaker/2017-07-24/api-2.json @@ -10525,6 +10525,13 @@ "TrialArn":{"shape":"TrialArn"} } }, + "DockerSettings":{ + "type":"structure", + "members":{ + "EnableDockerAccess":{"shape":"FeatureStatus"}, + "VpcOnlyTrustedAccounts":{"shape":"VpcOnlyTrustedAccounts"} + } + }, "DocumentSchemaVersion":{ "type":"string", "max":14, @@ -10577,7 +10584,8 @@ "members":{ "SecurityGroupIds":{"shape":"DomainSecurityGroupIds"}, "RStudioServerProDomainSettings":{"shape":"RStudioServerProDomainSettings"}, - "ExecutionRoleIdentityConfig":{"shape":"ExecutionRoleIdentityConfig"} + "ExecutionRoleIdentityConfig":{"shape":"ExecutionRoleIdentityConfig"}, + "DockerSettings":{"shape":"DockerSettings"} } }, "DomainSettingsForUpdate":{ @@ -10585,7 +10593,8 @@ "members":{ "RStudioServerProDomainSettingsForUpdate":{"shape":"RStudioServerProDomainSettingsForUpdate"}, "ExecutionRoleIdentityConfig":{"shape":"ExecutionRoleIdentityConfig"}, - "SecurityGroupIds":{"shape":"DomainSecurityGroupIds"} + "SecurityGroupIds":{"shape":"DomainSecurityGroupIds"}, + "DockerSettings":{"shape":"DockerSettings"} } }, "DomainStatus":{ @@ -22835,6 +22844,10 @@ "max":32, "pattern":"[-0-9a-zA-Z]+" }, + "VpcOnlyTrustedAccounts":{ + "type":"list", + "member":{"shape":"AccountId"} + }, "VpcSecurityGroupIds":{ "type":"list", "member":{"shape":"SecurityGroupId"}, diff --git a/models/apis/sagemaker/2017-07-24/docs-2.json b/models/apis/sagemaker/2017-07-24/docs-2.json index c15cdbcc4f5..5b78083e8ba 100644 --- a/models/apis/sagemaker/2017-07-24/docs-2.json +++ b/models/apis/sagemaker/2017-07-24/docs-2.json @@ -337,7 +337,8 @@ "AccountId": { "base": null, "refs": { - "LabelingJobForWorkteamSummary$WorkRequesterAccountId": "

The Amazon Web Services account ID of the account used to start the labeling job.

" + "LabelingJobForWorkteamSummary$WorkRequesterAccountId": "

The Amazon Web Services account ID of the account used to start the labeling job.

", + "VpcOnlyTrustedAccounts$member": null } }, "ActionArn": { @@ -4701,6 +4702,13 @@ "refs": { } }, + "DockerSettings": { + "base": "

A collection of settings that configure the domain's Docker interaction.

", + "refs": { + "DomainSettings$DockerSettings": "

A collection of settings that configure the domain's Docker interaction.

", + "DomainSettingsForUpdate$DockerSettings": "

A collection of settings that configure the domain's Docker interaction.

" + } + }, "DocumentSchemaVersion": { "base": null, "refs": { @@ -5929,6 +5937,7 @@ "base": null, "refs": { "DirectDeploySettings$Status": "

Describes whether model deployment permissions are enabled or disabled in the Canvas application.

", + "DockerSettings$EnableDockerAccess": "

Indicates whether the domain can access Docker.

", "IdentityProviderOAuthSetting$Status": "

Describes whether OAuth for a data source is enabled or disabled in the Canvas application.

", "KendraSettings$Status": "

Describes whether the document querying feature is enabled or disabled in the Canvas application.

", "ModelRegisterSettings$Status": "

Describes whether the integration to the model registry is enabled or disabled in the Canvas application.

", @@ -16312,6 +16321,12 @@ "DescribeDomainResponse$VpcId": "

The ID of the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.

" } }, + "VpcOnlyTrustedAccounts": { + "base": null, + "refs": { + "DockerSettings$VpcOnlyTrustedAccounts": "

The list of Amazon Web Services accounts that are trusted when the domain is created in VPC-only mode.

" + } + }, "VpcSecurityGroupIds": { "base": null, "refs": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 6d994032418..e7c28d71b80 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -11619,6 +11619,7 @@ "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, @@ -11640,6 +11641,7 @@ "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, @@ -11661,6 +11663,7 @@ "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, diff --git a/service/codestarconnections/api.go b/service/codestarconnections/api.go index c26f48c13b1..f2238b72df6 100644 --- a/service/codestarconnections/api.go +++ b/service/codestarconnections/api.go @@ -7941,6 +7941,9 @@ const ( // ProviderTypeGitLab is a ProviderType enum value ProviderTypeGitLab = "GitLab" + + // ProviderTypeGitLabSelfManaged is a ProviderType enum value + ProviderTypeGitLabSelfManaged = "GitLabSelfManaged" ) // ProviderType_Values returns all elements of the ProviderType enum @@ -7950,6 +7953,7 @@ func ProviderType_Values() []string { ProviderTypeGitHub, ProviderTypeGitHubEnterpriseServer, ProviderTypeGitLab, + ProviderTypeGitLabSelfManaged, } } diff --git a/service/kinesisvideoarchivedmedia/api.go b/service/kinesisvideoarchivedmedia/api.go index 0c216e34e23..7761420d722 100644 --- a/service/kinesisvideoarchivedmedia/api.go +++ b/service/kinesisvideoarchivedmedia/api.go @@ -142,8 +142,8 @@ func (c *KinesisVideoArchivedMedia) GetClipRequest(input *GetClipInput) (req *re // specified codec. // // - NoDataRetentionException -// A streaming session was requested for a stream that does not retain data -// (that is, has a DataRetentionInHours of 0). +// GetImages was requested for a stream that does not retain data (that is, +// has a DataRetentionInHours of 0). // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/GetClip func (c *KinesisVideoArchivedMedia) GetClip(input *GetClipInput) (*GetClipOutput, error) { @@ -362,8 +362,8 @@ func (c *KinesisVideoArchivedMedia) GetDASHStreamingSessionURLRequest(input *Get // and, optionally, the codec ID for track 2 should be A_AAC. // // - NoDataRetentionException -// A streaming session was requested for a stream that does not retain data -// (that is, has a DataRetentionInHours of 0). +// GetImages was requested for a stream that does not retain data (that is, +// has a DataRetentionInHours of 0). // // - MissingCodecPrivateDataException // No codec private data was found in at least one of tracks of the video stream. @@ -617,8 +617,8 @@ func (c *KinesisVideoArchivedMedia) GetHLSStreamingSessionURLRequest(input *GetH // and, optionally, the codec ID for track 2 should be A_AAC. // // - NoDataRetentionException -// A streaming session was requested for a stream that does not retain data -// (that is, has a DataRetentionInHours of 0). +// GetImages was requested for a stream that does not retain data (that is, +// has a DataRetentionInHours of 0). // // - MissingCodecPrivateDataException // No codec private data was found in at least one of tracks of the video stream. @@ -698,7 +698,7 @@ func (c *KinesisVideoArchivedMedia) GetImagesRequest(input *GetImagesInput) (req // GetImages API operation for Amazon Kinesis Video Streams Archived Media. // -// Retrieves a list of Images corresponding to each timestamp for a given time +// Retrieves a list of images corresponding to each timestamp for a given time // range, sampling interval, and image format configuration. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -733,6 +733,10 @@ func (c *KinesisVideoArchivedMedia) GetImagesRequest(input *GetImagesInput) (req // Status Code: 403, The caller is not authorized to perform an operation on // the given stream, or the token has expired. // +// - NoDataRetentionException +// GetImages was requested for a stream that does not retain data (that is, +// has a DataRetentionInHours of 0). +// // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/GetImages func (c *KinesisVideoArchivedMedia) GetImages(input *GetImagesInput) (*GetImagesOutput, error) { req, out := c.GetImagesRequest(input) @@ -2323,11 +2327,9 @@ type GetImagesInput struct { NextToken *string `min:"1" type:"string"` // The time interval in milliseconds (ms) at which the images need to be generated - // from the stream, with a default of 3000 ms. The minimum value that can be - // provided is 200 ms. If the timestamp range is less than the sampling interval, - // the Image from the startTimestamp will be returned if available. - // - // The minimum value of 200 ms is a hard limit. + // from the stream. The minimum value that can be provided is 200 ms (5 images + // per second). If the timestamp range is less than the sampling interval, the + // image from the startTimestamp will be returned if available. SamplingInterval *int64 `type:"integer"` // The starting point from which the images should be generated. This StartTimestamp @@ -3057,6 +3059,8 @@ type ListFragmentsInput struct { // Describes the timestamp range and timestamp origin for the range of fragments // to return. + // + // This is only required when the NextToken isn't passed in the API. FragmentSelector *FragmentSelector `type:"structure"` // The total number of fragments to return. If the total number of fragments @@ -3259,8 +3263,8 @@ func (s *MissingCodecPrivateDataException) RequestID() string { return s.RespMetadata.RequestID } -// A streaming session was requested for a stream that does not retain data -// (that is, has a DataRetentionInHours of 0). +// GetImages was requested for a stream that does not retain data (that is, +// has a DataRetentionInHours of 0). type NoDataRetentionException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` diff --git a/service/kinesisvideoarchivedmedia/errors.go b/service/kinesisvideoarchivedmedia/errors.go index 0c17e26e22f..6efb7cc02a4 100644 --- a/service/kinesisvideoarchivedmedia/errors.go +++ b/service/kinesisvideoarchivedmedia/errors.go @@ -46,8 +46,8 @@ const ( // ErrCodeNoDataRetentionException for service response error code // "NoDataRetentionException". // - // A streaming session was requested for a stream that does not retain data - // (that is, has a DataRetentionInHours of 0). + // GetImages was requested for a stream that does not retain data (that is, + // has a DataRetentionInHours of 0). ErrCodeNoDataRetentionException = "NoDataRetentionException" // ErrCodeNotAuthorizedException for service response error code diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index ca0ab8310f6..8d0051508d6 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -68928,6 +68928,48 @@ func (s *DisassociateTrialComponentOutput) SetTrialComponentArn(v string) *Disas return s } +// A collection of settings that configure the domain's Docker interaction. +type DockerSettings struct { + _ struct{} `type:"structure"` + + // Indicates whether the domain can access Docker. + EnableDockerAccess *string `type:"string" enum:"FeatureStatus"` + + // The list of Amazon Web Services accounts that are trusted when the domain + // is created in VPC-only mode. + VpcOnlyTrustedAccounts []*string `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DockerSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DockerSettings) GoString() string { + return s.String() +} + +// SetEnableDockerAccess sets the EnableDockerAccess field's value. +func (s *DockerSettings) SetEnableDockerAccess(v string) *DockerSettings { + s.EnableDockerAccess = &v + return s +} + +// SetVpcOnlyTrustedAccounts sets the VpcOnlyTrustedAccounts field's value. +func (s *DockerSettings) SetVpcOnlyTrustedAccounts(v []*string) *DockerSettings { + s.VpcOnlyTrustedAccounts = v + return s +} + // The domain's details. type DomainDetails struct { _ struct{} `type:"structure"` @@ -69019,6 +69061,9 @@ func (s *DomainDetails) SetUrl(v string) *DomainDetails { type DomainSettings struct { _ struct{} `type:"structure"` + // A collection of settings that configure the domain's Docker interaction. + DockerSettings *DockerSettings `type:"structure"` + // The configuration for attaching a SageMaker user profile name to the execution // role as a sts:SourceIdentity key (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html). ExecutionRoleIdentityConfig *string `type:"string" enum:"ExecutionRoleIdentityConfig"` @@ -69065,6 +69110,12 @@ func (s *DomainSettings) Validate() error { return nil } +// SetDockerSettings sets the DockerSettings field's value. +func (s *DomainSettings) SetDockerSettings(v *DockerSettings) *DomainSettings { + s.DockerSettings = v + return s +} + // SetExecutionRoleIdentityConfig sets the ExecutionRoleIdentityConfig field's value. func (s *DomainSettings) SetExecutionRoleIdentityConfig(v string) *DomainSettings { s.ExecutionRoleIdentityConfig = &v @@ -69087,6 +69138,9 @@ func (s *DomainSettings) SetSecurityGroupIds(v []*string) *DomainSettings { type DomainSettingsForUpdate struct { _ struct{} `type:"structure"` + // A collection of settings that configure the domain's Docker interaction. + DockerSettings *DockerSettings `type:"structure"` + // The configuration for attaching a SageMaker user profile name to the execution // role as a sts:SourceIdentity key (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html). // This configuration can only be modified if there are no apps in the InService @@ -69135,6 +69189,12 @@ func (s *DomainSettingsForUpdate) Validate() error { return nil } +// SetDockerSettings sets the DockerSettings field's value. +func (s *DomainSettingsForUpdate) SetDockerSettings(v *DockerSettings) *DomainSettingsForUpdate { + s.DockerSettings = v + return s +} + // SetExecutionRoleIdentityConfig sets the ExecutionRoleIdentityConfig field's value. func (s *DomainSettingsForUpdate) SetExecutionRoleIdentityConfig(v string) *DomainSettingsForUpdate { s.ExecutionRoleIdentityConfig = &v