Skip to content

Commit

Permalink
Updates SDK to v2.1070.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Feb 7, 2022
1 parent 13b6c14 commit 1d56c09
Show file tree
Hide file tree
Showing 19 changed files with 126 additions and 46 deletions.
17 changes: 17 additions & 0 deletions .changes/2.1070.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{
"type": "feature",
"category": "AuditManager",
"description": "This release updates 3 API parameters. UpdateAssessmentFrameworkControlSet now requires the controls attribute, and CreateAssessmentFrameworkControl requires the id attribute. Additionally, UpdateAssessmentFramework now has a minimum length constraint for the controlSets attribute."
},
{
"type": "feature",
"category": "SSMIncidents",
"description": "Update RelatedItem enum to support SSM Automation"
},
{
"type": "feature",
"category": "Synthetics",
"description": "Adding names parameters to the Describe APIs."
}
]
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1069.0-->
<!--LATEST=2.1070.0-->
<!--ENTRYINSERT-->

## 2.1070.0
* feature: AuditManager: This release updates 3 API parameters. UpdateAssessmentFrameworkControlSet now requires the controls attribute, and CreateAssessmentFrameworkControl requires the id attribute. Additionally, UpdateAssessmentFramework now has a minimum length constraint for the controlSets attribute.
* feature: SSMIncidents: Update RelatedItem enum to support SSM Automation
* feature: Synthetics: Adding names parameters to the Describe APIs.

## 2.1069.0
* feature: Athena: You can now optionally specify the account ID that you expect to be the owner of your query results output location bucket in Athena. If the account ID of the query results bucket owner does not match the specified account ID, attempts to output to the bucket will fail with an S3 permissions error.
* feature: LakeFormation: Add support for calling Update Table Objects without a TransactionId.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1069.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1070.0.min.js"></script>

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
6 changes: 5 additions & 1 deletion apis/auditmanager-2017-07-25.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -1966,7 +1966,8 @@
"member": {
"type": "structure",
"required": [
"name"
"name",
"controls"
],
"members": {
"id": {},
Expand Down Expand Up @@ -2371,6 +2372,9 @@
"type": "list",
"member": {
"type": "structure",
"required": [
"id"
],
"members": {
"id": {}
}
Expand Down
9 changes: 7 additions & 2 deletions apis/auditmanager-2017-07-25.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -3052,6 +3052,9 @@
},
"CreateAssessmentFrameworkControl": {
"type": "structure",
"required": [
"id"
],
"members": {
"id": {
"shape": "UUID",
Expand Down Expand Up @@ -5537,7 +5540,8 @@
"UpdateAssessmentFrameworkControlSet": {
"type": "structure",
"required": [
"name"
"name",
"controls"
],
"members": {
"id": {
Expand All @@ -5559,7 +5563,8 @@
"type": "list",
"member": {
"shape": "UpdateAssessmentFrameworkControlSet"
}
},
"min": 1
},
"UpdateAssessmentFrameworkRequest": {
"type": "structure",
Expand Down
14 changes: 7 additions & 7 deletions apis/eventbridge-2015-10-07.normal.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion apis/ssm-incidents-2018-05-10.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -1842,7 +1842,8 @@
"METRIC",
"PARENT",
"ATTACHMENT",
"OTHER"
"OTHER",
"AUTOMATION"
]
},
"ItemValue": {
Expand Down
14 changes: 11 additions & 3 deletions apis/synthetics-2017-10-11.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@
"NextToken": {},
"MaxResults": {
"type": "integer"
},
"Names": {
"type": "list",
"member": {}
}
}
},
Expand All @@ -125,6 +129,10 @@
"NextToken": {},
"MaxResults": {
"type": "integer"
},
"Names": {
"type": "list",
"member": {}
}
}
},
Expand All @@ -138,7 +146,7 @@
"members": {
"CanaryName": {},
"LastRun": {
"shape": "S1p"
"shape": "S1r"
}
}
}
Expand Down Expand Up @@ -235,7 +243,7 @@
"CanaryRuns": {
"type": "list",
"member": {
"shape": "S1p"
"shape": "S1r"
}
},
"NextToken": {}
Expand Down Expand Up @@ -629,7 +637,7 @@
}
}
},
"S1p": {
"S1r": {
"type": "structure",
"members": {
"Id": {},
Expand Down
36 changes: 33 additions & 3 deletions apis/synthetics-2017-10-11.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
},
{
"shape": "ValidationException"
},
{
"shape": "RequestEntityTooLargeException"
}
],
"documentation": "<p>Creates a canary. Canaries are scripts that monitor your endpoints and APIs from the outside-in. Canaries help you check the availability and latency of your web services and troubleshoot anomalies by investigating load time data, screenshots of the UI, logs, and metrics. You can set up a canary to run continuously or just once. </p> <p>Do not use <code>CreateCanary</code> to modify an existing canary. Use <a href=\"https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_UpdateCanary.html\">UpdateCanary</a> instead.</p> <p>To create canaries, you must have the <code>CloudWatchSyntheticsFullAccess</code> policy. If you are creating a new IAM role for the canary, you also need the the <code>iam:CreateRole</code>, <code>iam:CreatePolicy</code> and <code>iam:AttachRolePolicy</code> permissions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Roles\">Necessary Roles and Permissions</a>.</p> <p>Do not include secrets or proprietary information in your canary names. The canary name makes up part of the Amazon Resource Name (ARN) for the canary, and the ARN is included in outbound calls over the internet. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/servicelens_canaries_security.html\">Security Considerations for Synthetics Canaries</a>.</p>"
Expand Down Expand Up @@ -83,7 +86,7 @@
"shape": "ValidationException"
}
],
"documentation": "<p>This operation returns a list of the canaries in your account, along with full details about each canary.</p> <p>This operation does not have resource-level authorization, so if a user is able to use <code>DescribeCanaries</code>, the user can see all of the canaries in the account. A deny policy can only be used to restrict access to all canaries. It cannot be used on specific resources. </p>"
"documentation": "<p>This operation returns a list of the canaries in your account, along with full details about each canary.</p> <p>This operation supports resource-level authorization using an IAM policy and the <code>Names</code> parameter. If you specify the <code>Names</code> parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.</p> <p>You are required to use the <code>Names</code> parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Restricted.html\"> Limiting a user to viewing specific canaries</a>.</p>"
},
"DescribeCanariesLastRun": {
"name": "DescribeCanariesLastRun",
Expand All @@ -105,7 +108,7 @@
"shape": "ValidationException"
}
],
"documentation": "<p>Use this operation to see information from the most recent run of each canary that you have created.</p>"
"documentation": "<p>Use this operation to see information from the most recent run of each canary that you have created.</p> <p>This operation supports resource-level authorization using an IAM policy and the <code>Names</code> parameter. If you specify the <code>Names</code> parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.</p> <p>You are required to use the <code>Names</code> parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Restricted.html\"> Limiting a user to viewing specific canaries</a>.</p>"
},
"DescribeRuntimeVersions": {
"name": "DescribeRuntimeVersions",
Expand Down Expand Up @@ -331,6 +334,9 @@
},
{
"shape": "ConflictException"
},
{
"shape": "RequestEntityTooLargeException"
}
],
"documentation": "<p>Use this operation to change the settings of a canary that has already been created.</p> <p>You can't use this operation to update the tags of an existing canary. To change the tags of an existing canary, use <a href=\"https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_TagResource.html\">TagResource</a>.</p>"
Expand Down Expand Up @@ -506,7 +512,7 @@
},
"ZipFile": {
"shape": "Blob",
"documentation": "<p>If you input your canary script directly into the canary instead of referring to an S3 location, the value of this parameter is the base64-encoded contents of the .zip file that contains the script. It must be smaller than 256 Kb.</p>"
"documentation": "<p>If you input your canary script directly into the canary instead of referring to an S3 location, the value of this parameter is the base64-encoded contents of the .zip file that contains the script. It must be smaller than 225 Kb.</p> <p>For large canary scripts, we recommend that you use an S3 location instead of inputting it directly with this parameter.</p>"
},
"Handler": {
"shape": "String",
Expand Down Expand Up @@ -847,6 +853,14 @@
"type": "structure",
"members": {}
},
"DescribeCanariesLastRunNameFilter": {
"type": "list",
"member": {
"shape": "CanaryName"
},
"max": 5,
"min": 1
},
"DescribeCanariesLastRunRequest": {
"type": "structure",
"members": {
Expand All @@ -857,6 +871,10 @@
"MaxResults": {
"shape": "MaxSize100",
"documentation": "<p>Specify this parameter to limit how many runs are returned each time you use the <code>DescribeLastRun</code> operation. If you omit this parameter, the default of 100 is used.</p>"
},
"Names": {
"shape": "DescribeCanariesLastRunNameFilter",
"documentation": "<p>Use this parameter to return only canaries that match the names that you specify here. You can specify as many as five canary names.</p> <p>If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.</p> <p>You are required to use the <code>Names</code> parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Restricted.html\"> Limiting a user to viewing specific canaries</a>.</p>"
}
}
},
Expand All @@ -873,6 +891,14 @@
}
}
},
"DescribeCanariesNameFilter": {
"type": "list",
"member": {
"shape": "CanaryName"
},
"max": 5,
"min": 1
},
"DescribeCanariesRequest": {
"type": "structure",
"members": {
Expand All @@ -883,6 +909,10 @@
"MaxResults": {
"shape": "MaxCanaryResults",
"documentation": "<p>Specify this parameter to limit how many canaries are returned each time you use the <code>DescribeCanaries</code> operation. If you omit this parameter, the default of 100 is used.</p>"
},
"Names": {
"shape": "DescribeCanariesNameFilter",
"documentation": "<p>Use this parameter to return only canaries that match the names that you specify here. You can specify as many as five canary names.</p> <p>If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.</p> <p>You are required to use this parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Restricted.html\"> Limiting a user to viewing specific canaries</a>.</p>"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions clients/auditmanager.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,7 @@ declare namespace AuditManager {
/**
* The unique identifier of the control.
*/
id?: UUID;
id: UUID;
}
export interface CreateAssessmentFrameworkControlSet {
/**
Expand Down Expand Up @@ -2874,7 +2874,7 @@ declare namespace AuditManager {
/**
* The list of controls that are contained within the control set.
*/
controls?: CreateAssessmentFrameworkControls;
controls: CreateAssessmentFrameworkControls;
}
export type UpdateAssessmentFrameworkControlSets = UpdateAssessmentFrameworkControlSet[];
export interface UpdateAssessmentFrameworkRequest {
Expand Down
Loading

0 comments on commit 1d56c09

Please sign in to comment.