Skip to content

Commit a4c7e8f

Browse files
Merging v1.2.46 release
2 parents 77f1025 + b1c369d commit a4c7e8f

File tree

8 files changed

+150
-88
lines changed

8 files changed

+150
-88
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## [1.2.46] - 07/03/2024
4+
5+
### Features
6+
* (**organizations**) Added a new reason under ConstraintViolationException in RegisterDelegatedAdministrator API to prevent registering suspended accounts as delegated administrator of a service.
7+
* (**rekognition**) This release adds support for tagging projects and datasets with the CreateProject and CreateDataset APIs.
8+
* (**workspaces**) Fix create workspace bundle RootStorage/UserStorage to accept non null values
9+
10+
### Documentation
11+
* (**applicationautoscaling**) Doc only update for Application Auto Scaling that fixes resource name.
12+
* (**directconnect**) This update includes documentation for support of new native 400 GBps ports for Direct Connect.
13+
314
## [1.2.45] - 07/02/2024
415

516
### Features

codegen/aws-sdk-codegen/src/main/resources/aws/sdk/kotlin/codegen/endpoints.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8690,6 +8690,16 @@
86908690
}
86918691
}
86928692
},
8693+
"globalaccelerator" : {
8694+
"endpoints" : {
8695+
"fips-us-west-2" : {
8696+
"credentialScope" : {
8697+
"region" : "us-west-2"
8698+
},
8699+
"hostname" : "globalaccelerator-fips.us-west-2.amazonaws.com"
8700+
}
8701+
}
8702+
},
86938703
"glue" : {
86948704
"endpoints" : {
86958705
"af-south-1" : { },
@@ -13143,6 +13153,12 @@
1314313153
},
1314413154
"hostname" : "oidc.ca-central-1.amazonaws.com"
1314513155
},
13156+
"ca-west-1" : {
13157+
"credentialScope" : {
13158+
"region" : "ca-west-1"
13159+
},
13160+
"hostname" : "oidc.ca-west-1.amazonaws.com"
13161+
},
1314613162
"eu-central-1" : {
1314713163
"credentialScope" : {
1314813164
"region" : "eu-central-1"

codegen/sdk/aws-models/application-auto-scaling.json

Lines changed: 29 additions & 29 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/direct-connect.json

Lines changed: 38 additions & 23 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/organizations.json

Lines changed: 37 additions & 31 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/rekognition.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,6 +1550,12 @@
15501550
"smithy.api#documentation": "<p>\nThe ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.\n</p>",
15511551
"smithy.api#required": {}
15521552
}
1553+
},
1554+
"Tags": {
1555+
"target": "com.amazonaws.rekognition#TagMap",
1556+
"traits": {
1557+
"smithy.api#documentation": "<p>A set of tags (key-value pairs) that you want to attach to the dataset.</p>"
1558+
}
15531559
}
15541560
},
15551561
"traits": {
@@ -1729,6 +1735,12 @@
17291735
"traits": {
17301736
"smithy.api#documentation": "<p>Specifies whether automatic retraining should be attempted for the versions of the\n project. Automatic retraining is done as a best effort. Required argument for Content\n Moderation. Applicable only to adapters.</p>"
17311737
}
1738+
},
1739+
"Tags": {
1740+
"target": "com.amazonaws.rekognition#TagMap",
1741+
"traits": {
1742+
"smithy.api#documentation": "<p>A set of tags (key-value pairs) that you want to attach to the project.</p>"
1743+
}
17321744
}
17331745
},
17341746
"traits": {
@@ -4326,7 +4338,7 @@
43264338
"ModerationLabels": {
43274339
"target": "com.amazonaws.rekognition#ModerationLabels",
43284340
"traits": {
4329-
"smithy.api#documentation": "<p>Array of detected Moderation labels and the time, in milliseconds from the start of the\n video, they were detected.</p>"
4341+
"smithy.api#documentation": "<p>Array of detected Moderation labels. For video operations, this includes the time, \n in milliseconds from the start of the video, they were detected.</p>"
43304342
}
43314343
},
43324344
"ModerationModelVersion": {
@@ -6311,7 +6323,7 @@
63116323
}
63126324
],
63136325
"traits": {
6314-
"smithy.api#documentation": "<p>Gets the label detection results of a Amazon Rekognition Video analysis started by <a>StartLabelDetection</a>. </p>\n <p>The label detection operation is started by a call to <a>StartLabelDetection</a> which returns a job identifier (<code>JobId</code>). When\n the label detection operation finishes, Amazon Rekognition publishes a completion status to the\n Amazon Simple Notification Service topic registered in the initial call to <code>StartlabelDetection</code>. </p>\n <p>To get the results of the label detection operation, first check that the status value\n published to the Amazon SNS topic is <code>SUCCEEDED</code>. If so, call <a>GetLabelDetection</a> and pass the job identifier (<code>JobId</code>) from the\n initial call to <code>StartLabelDetection</code>.</p>\n <p>\n <code>GetLabelDetection</code> returns an array of detected labels\n (<code>Labels</code>) sorted by the time the labels were detected. You can also sort by the\n label name by specifying <code>NAME</code> for the <code>SortBy</code> input parameter. If\n there is no <code>NAME</code> specified, the default sort is by\n timestamp.</p>\n <p>You can select how results are aggregated by using the <code>AggregateBy</code> input\n parameter. The default aggregation method is <code>TIMESTAMPS</code>. You can also aggregate\n by <code>SEGMENTS</code>, which aggregates all instances of labels detected in a given\n segment. </p>\n <p>The returned Labels array may include the following attributes:</p>\n <ul>\n <li>\n <p>Name - The name of the detected label.</p>\n </li>\n <li>\n <p>Confidence - The level of confidence in the label assigned to a detected object. </p>\n </li>\n <li>\n <p>Parents - The ancestor labels for a detected label. GetLabelDetection returns a hierarchical\n taxonomy of detected labels. For example, a detected car might be assigned the label car.\n The label car has two parent labels: Vehicle (its parent) and Transportation (its\n grandparent). The response includes the all ancestors for a label, where every ancestor is\n a unique label. In the previous example, Car, Vehicle, and Transportation are returned as\n unique labels in the response. </p>\n </li>\n <li>\n <p> Aliases - Possible Aliases for the label. </p>\n </li>\n <li>\n <p>Categories - The label categories that the detected label belongs to.</p>\n </li>\n <li>\n <p>BoundingBox — Bounding boxes are described for all instances of detected common object labels, \n returned in an array of Instance objects. An Instance object contains a BoundingBox object, describing \n the location of the label on the input image. It also includes the confidence for the accuracy of the detected bounding box.</p>\n </li>\n <li>\n <p>Timestamp - Time, in milliseconds from the start of the video, that the label was detected.\n For aggregation by <code>SEGMENTS</code>, the <code>StartTimestampMillis</code>,\n <code>EndTimestampMillis</code>, and <code>DurationMillis</code> structures are what\n define a segment. Although the “Timestamp” structure is still returned with each label,\n its value is set to be the same as <code>StartTimestampMillis</code>.</p>\n </li>\n </ul>\n <p>Timestamp and Bounding box information are returned for detected Instances, only if\n aggregation is done by <code>TIMESTAMPS</code>. If aggregating by <code>SEGMENTS</code>,\n information about detected instances isn’t returned. </p>\n <p>The version of the label model used for the detection is also returned.</p>\n <p>\n <b>Note <code>DominantColors</code> isn't returned for <code>Instances</code>,\n although it is shown as part of the response in the sample seen below.</b>\n </p>\n <p>Use <code>MaxResults</code> parameter to limit the number of labels returned. If\n there are more results than specified in <code>MaxResults</code>, the value of\n <code>NextToken</code> in the operation response contains a pagination token for getting the\n next set of results. To get the next page of results, call <code>GetlabelDetection</code> and\n populate the <code>NextToken</code> request parameter with the token value returned from the\n previous call to <code>GetLabelDetection</code>.</p>",
6326+
"smithy.api#documentation": "<p>Gets the label detection results of a Amazon Rekognition Video analysis started by <a>StartLabelDetection</a>. </p>\n <p>The label detection operation is started by a call to <a>StartLabelDetection</a> which returns a job identifier (<code>JobId</code>). When\n the label detection operation finishes, Amazon Rekognition publishes a completion status to the\n Amazon Simple Notification Service topic registered in the initial call to <code>StartlabelDetection</code>. </p>\n <p>To get the results of the label detection operation, first check that the status value\n published to the Amazon SNS topic is <code>SUCCEEDED</code>. If so, call <a>GetLabelDetection</a> and pass the job identifier (<code>JobId</code>) from the\n initial call to <code>StartLabelDetection</code>.</p>\n <p>\n <code>GetLabelDetection</code> returns an array of detected labels\n (<code>Labels</code>) sorted by the time the labels were detected. You can also sort by the\n label name by specifying <code>NAME</code> for the <code>SortBy</code> input parameter. If\n there is no <code>NAME</code> specified, the default sort is by\n timestamp.</p>\n <p>You can select how results are aggregated by using the <code>AggregateBy</code> input\n parameter. The default aggregation method is <code>TIMESTAMPS</code>. You can also aggregate\n by <code>SEGMENTS</code>, which aggregates all instances of labels detected in a given\n segment. </p>\n <p>The returned Labels array may include the following attributes:</p>\n <ul>\n <li>\n <p>Name - The name of the detected label.</p>\n </li>\n <li>\n <p>Confidence - The level of confidence in the label assigned to a detected object. </p>\n </li>\n <li>\n <p>Parents - The ancestor labels for a detected label. GetLabelDetection returns a hierarchical\n taxonomy of detected labels. For example, a detected car might be assigned the label car.\n The label car has two parent labels: Vehicle (its parent) and Transportation (its\n grandparent). The response includes the all ancestors for a label, where every ancestor is\n a unique label. In the previous example, Car, Vehicle, and Transportation are returned as\n unique labels in the response. </p>\n </li>\n <li>\n <p> Aliases - Possible Aliases for the label. </p>\n </li>\n <li>\n <p>Categories - The label categories that the detected label belongs to.</p>\n </li>\n <li>\n <p>BoundingBox — Bounding boxes are described for all instances of detected common object labels, \n returned in an array of Instance objects. An Instance object contains a BoundingBox object, describing \n the location of the label on the input image. It also includes the confidence for the accuracy of the detected bounding box.</p>\n </li>\n <li>\n <p>Timestamp - Time, in milliseconds from the start of the video, that the label was detected.\n For aggregation by <code>SEGMENTS</code>, the <code>StartTimestampMillis</code>,\n <code>EndTimestampMillis</code>, and <code>DurationMillis</code> structures are what\n define a segment. Although the “Timestamp” structure is still returned with each label,\n its value is set to be the same as <code>StartTimestampMillis</code>.</p>\n </li>\n </ul>\n <p>Timestamp and Bounding box information are returned for detected Instances, only if\n aggregation is done by <code>TIMESTAMPS</code>. If aggregating by <code>SEGMENTS</code>,\n information about detected instances isn’t returned. </p>\n <p>The version of the label model used for the detection is also returned.</p>\n <p>\n <b>Note <code>DominantColors</code> isn't returned for <code>Instances</code>,\n although it is shown as part of the response in the sample seen below.</b>\n </p>\n <p>Use <code>MaxResults</code> parameter to limit the number of labels returned. If\n there are more results than specified in <code>MaxResults</code>, the value of\n <code>NextToken</code> in the operation response contains a pagination token for getting the\n next set of results. To get the next page of results, call <code>GetlabelDetection</code> and\n populate the <code>NextToken</code> request parameter with the token value returned from the\n previous call to <code>GetLabelDetection</code>.</p>\n <p>If you are retrieving results while using the Amazon Simple Notification Service, note that you will receive an\n \"ERROR\" notification if the job encounters an issue.</p>",
63156327
"smithy.api#paginated": {
63166328
"inputToken": "NextToken",
63176329
"outputToken": "NextToken",

codegen/sdk/aws-models/workspaces.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8012,7 +8012,8 @@
80128012
"Capacity": {
80138013
"target": "com.amazonaws.workspaces#NonEmptyString",
80148014
"traits": {
8015-
"smithy.api#documentation": "<p>The size of the root volume.</p>"
8015+
"smithy.api#documentation": "<p>The size of the root volume.</p>",
8016+
"smithy.api#required": {}
80168017
}
80178018
}
80188019
},
@@ -9559,7 +9560,8 @@
95599560
"Capacity": {
95609561
"target": "com.amazonaws.workspaces#NonEmptyString",
95619562
"traits": {
9562-
"smithy.api#documentation": "<p>The size of the user volume.</p>"
9563+
"smithy.api#documentation": "<p>The size of the user volume.</p>",
9564+
"smithy.api#required": {}
95639565
}
95649566
}
95659567
},

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ kotlin.native.ignoreDisabledTargets=true
66
org.gradle.jvmargs=-Xmx6g -XX:MaxMetaspaceSize=2G
77

88
# sdk
9-
sdkVersion=1.2.46-SNAPSHOT
9+
sdkVersion=1.2.47-SNAPSHOT
1010

1111
# dokka config (values specified at build-time as needed)
1212
smithyKotlinDocBaseUrl=https://sdk.amazonaws.com/kotlin/api/smithy-kotlin/api/$smithyKotlinRuntimeVersion/

0 commit comments

Comments
 (0)