Skip to content

Commit

Permalink
Updates SDK to v2.1218.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Sep 16, 2022
1 parent 57fbe6a commit f0da17f
Show file tree
Hide file tree
Showing 14 changed files with 134 additions and 101 deletions.
7 changes: 7 additions & 0 deletions .changes/2.1218.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"type": "feature",
"category": "CodeStarNotifications",
"description": "This release adds tag based access control for the UntagResource API."
}
]
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1217.0-->
<!--LATEST=2.1218.0-->
<!--ENTRYINSERT-->

## 2.1218.0
* feature: CodeStarNotifications: This release adds tag based access control for the UntagResource API.

## 2.1217.0
* feature: DynamoDB: Increased DynamoDB transaction limit from 25 to 100.
* feature: EC2: This feature allows customers to create tags for vpc-endpoint-connections and vpc-endpoint-service-permissions.
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.1217.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1218.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
9 changes: 7 additions & 2 deletions apis/codestar-notifications-2019-10-15.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
},
"UntagResource": {
"http": {
"requestUri": "/untagResource"
"requestUri": "/untagResource/{resourceArn}"
},
"input": {
"type": "structure",
Expand All @@ -370,8 +370,13 @@
"TagKeys"
],
"members": {
"Arn": {},
"Arn": {
"location": "uri",
"locationName": "resourceArn"
},
"TagKeys": {
"location": "querystring",
"locationName": "tagKeys",
"type": "list",
"member": {}
}
Expand Down
90 changes: 54 additions & 36 deletions apis/codestar-notifications-2019-10-15.normal.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions apis/ecs-2014-11-13.normal.json

Large diffs are not rendered by default.

58 changes: 29 additions & 29 deletions clients/codestarnotifications.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ declare class CodeStarNotifications extends Service {
constructor(options?: CodeStarNotifications.Types.ClientConfiguration)
config: Config & CodeStarNotifications.Types.ClientConfiguration;
/**
* Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as SNS topics) where you want to receive them.
* Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as Chatbot topics or Chatbot clients configured for Slack) where you want to receive them.
*/
createNotificationRule(params: CodeStarNotifications.Types.CreateNotificationRuleRequest, callback?: (err: AWSError, data: CodeStarNotifications.Types.CreateNotificationRuleResult) => void): Request<CodeStarNotifications.Types.CreateNotificationRuleResult, AWSError>;
/**
* Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as SNS topics) where you want to receive them.
* Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as Chatbot topics or Chatbot clients configured for Slack) where you want to receive them.
*/
createNotificationRule(callback?: (err: AWSError, data: CodeStarNotifications.Types.CreateNotificationRuleResult) => void): Request<CodeStarNotifications.Types.CreateNotificationRuleResult, AWSError>;
/**
Expand Down Expand Up @@ -52,11 +52,11 @@ declare class CodeStarNotifications extends Service {
*/
listEventTypes(callback?: (err: AWSError, data: CodeStarNotifications.Types.ListEventTypesResult) => void): Request<CodeStarNotifications.Types.ListEventTypesResult, AWSError>;
/**
* Returns a list of the notification rules for an AWS account.
* Returns a list of the notification rules for an Amazon Web Services account.
*/
listNotificationRules(params: CodeStarNotifications.Types.ListNotificationRulesRequest, callback?: (err: AWSError, data: CodeStarNotifications.Types.ListNotificationRulesResult) => void): Request<CodeStarNotifications.Types.ListNotificationRulesResult, AWSError>;
/**
* Returns a list of the notification rules for an AWS account.
* Returns a list of the notification rules for an Amazon Web Services account.
*/
listNotificationRules(callback?: (err: AWSError, data: CodeStarNotifications.Types.ListNotificationRulesResult) => void): Request<CodeStarNotifications.Types.ListNotificationRulesResult, AWSError>;
/**
Expand All @@ -68,19 +68,19 @@ declare class CodeStarNotifications extends Service {
*/
listTagsForResource(callback?: (err: AWSError, data: CodeStarNotifications.Types.ListTagsForResourceResult) => void): Request<CodeStarNotifications.Types.ListTagsForResourceResult, AWSError>;
/**
* Returns a list of the notification rule targets for an AWS account.
* Returns a list of the notification rule targets for an Amazon Web Services account.
*/
listTargets(params: CodeStarNotifications.Types.ListTargetsRequest, callback?: (err: AWSError, data: CodeStarNotifications.Types.ListTargetsResult) => void): Request<CodeStarNotifications.Types.ListTargetsResult, AWSError>;
/**
* Returns a list of the notification rule targets for an AWS account.
* Returns a list of the notification rule targets for an Amazon Web Services account.
*/
listTargets(callback?: (err: AWSError, data: CodeStarNotifications.Types.ListTargetsResult) => void): Request<CodeStarNotifications.Types.ListTargetsResult, AWSError>;
/**
* Creates an association between a notification rule and an SNS topic so that the associated target can receive notifications when the events described in the rule are triggered.
* Creates an association between a notification rule and an Chatbot topic or Chatbot client so that the associated target can receive notifications when the events described in the rule are triggered.
*/
subscribe(params: CodeStarNotifications.Types.SubscribeRequest, callback?: (err: AWSError, data: CodeStarNotifications.Types.SubscribeResult) => void): Request<CodeStarNotifications.Types.SubscribeResult, AWSError>;
/**
* Creates an association between a notification rule and an SNS topic so that the associated target can receive notifications when the events described in the rule are triggered.
* Creates an association between a notification rule and an Chatbot topic or Chatbot client so that the associated target can receive notifications when the events described in the rule are triggered.
*/
subscribe(callback?: (err: AWSError, data: CodeStarNotifications.Types.SubscribeResult) => void): Request<CodeStarNotifications.Types.SubscribeResult, AWSError>;
/**
Expand All @@ -92,11 +92,11 @@ declare class CodeStarNotifications extends Service {
*/
tagResource(callback?: (err: AWSError, data: CodeStarNotifications.Types.TagResourceResult) => void): Request<CodeStarNotifications.Types.TagResourceResult, AWSError>;
/**
* Removes an association between a notification rule and an Amazon SNS topic so that subscribers to that topic stop receiving notifications when the events described in the rule are triggered.
* Removes an association between a notification rule and an Chatbot topic so that subscribers to that topic stop receiving notifications when the events described in the rule are triggered.
*/
unsubscribe(params: CodeStarNotifications.Types.UnsubscribeRequest, callback?: (err: AWSError, data: CodeStarNotifications.Types.UnsubscribeResult) => void): Request<CodeStarNotifications.Types.UnsubscribeResult, AWSError>;
/**
* Removes an association between a notification rule and an Amazon SNS topic so that subscribers to that topic stop receiving notifications when the events described in the rule are triggered.
* Removes an association between a notification rule and an Chatbot topic so that subscribers to that topic stop receiving notifications when the events described in the rule are triggered.
*/
unsubscribe(callback?: (err: AWSError, data: CodeStarNotifications.Types.UnsubscribeResult) => void): Request<CodeStarNotifications.Types.UnsubscribeResult, AWSError>;
/**
Expand All @@ -120,27 +120,27 @@ declare namespace CodeStarNotifications {
export type ClientRequestToken = string;
export interface CreateNotificationRuleRequest {
/**
* The name for the notification rule. Notifictaion rule names must be unique in your AWS account.
* The name for the notification rule. Notification rule names must be unique in your Amazon Web Services account.
*/
Name: NotificationRuleName;
/**
* A list of event types associated with this notification rule. For a list of allowed events, see EventTypeSummary.
*/
EventTypeIds: EventTypeIds;
/**
* The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in AWS CodePipeline, repositories in AWS CodeCommit, and build projects in AWS CodeBuild.
* The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in CodePipeline, repositories in CodeCommit, and build projects in CodeBuild.
*/
Resource: NotificationRuleResource;
/**
* A list of Amazon Resource Names (ARNs) of SNS topics to associate with the notification rule.
* A list of Amazon Resource Names (ARNs) of Amazon Simple Notification Service topics and Chatbot clients to associate with the notification rule.
*/
Targets: Targets;
/**
* The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
* The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
*/
DetailType: DetailType;
/**
* A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request with the same parameters is received and a token is included, the request returns information about the initial request that used that token. The AWS SDKs prepopulate client request tokens. If you are using an AWS SDK, an idempotency token is created for you.
* A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request with the same parameters is received and a token is included, the request returns information about the initial request that used that token. The Amazon Web Services SDKs prepopulate client request tokens. If you are using an Amazon Web Services SDK, an idempotency token is created for you.
*/
ClientRequestToken?: ClientRequestToken;
/**
Expand Down Expand Up @@ -173,11 +173,11 @@ declare namespace CodeStarNotifications {
}
export interface DeleteTargetRequest {
/**
* The Amazon Resource Name (ARN) of the SNS topic to delete.
* The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client to delete.
*/
TargetAddress: TargetAddress;
/**
* A Boolean value that can be used to delete all associations with this SNS topic. The default value is FALSE. If set to TRUE, all associations between that target and every notification rule in your AWS account are deleted.
* A Boolean value that can be used to delete all associations with this Chatbot topic. The default value is FALSE. If set to TRUE, all associations between that target and every notification rule in your Amazon Web Services account are deleted.
*/
ForceUnsubscribeAll?: ForceUnsubscribeAll;
}
Expand Down Expand Up @@ -207,11 +207,11 @@ declare namespace CodeStarNotifications {
*/
Resource?: NotificationRuleResource;
/**
* A list of the SNS topics associated with the notification rule.
* A list of the Chatbot topics and Chatbot clients associated with the notification rule.
*/
Targets?: TargetsBatch;
/**
* The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
* The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
*/
DetailType?: DetailType;
/**
Expand Down Expand Up @@ -242,7 +242,7 @@ declare namespace CodeStarNotifications {
export type EventTypeName = string;
export interface EventTypeSummary {
/**
* The system-generated ID of the event.
* The system-generated ID of the event. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
*/
EventTypeId?: EventTypeId;
/**
Expand Down Expand Up @@ -303,7 +303,7 @@ declare namespace CodeStarNotifications {
*/
Name: ListNotificationRulesFilterName;
/**
* The value of the attribute you want to use to filter the returned notification rules. For example, if you specify filtering by RESOURCE in Name, you might specify the ARN of a pipeline in AWS CodePipeline for the value.
* The value of the attribute you want to use to filter the returned notification rules. For example, if you specify filtering by RESOURCE in Name, you might specify the ARN of a pipeline in CodePipeline for the value.
*/
Value: ListNotificationRulesFilterValue;
}
Expand All @@ -330,7 +330,7 @@ declare namespace CodeStarNotifications {
*/
NextToken?: NextToken;
/**
* The list of notification rules for the AWS account, by Amazon Resource Name (ARN) and ID.
* The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.
*/
NotificationRules?: NotificationRuleBatch;
}
Expand Down Expand Up @@ -443,23 +443,23 @@ declare namespace CodeStarNotifications {
export type Tags = {[key: string]: TagValue};
export interface Target {
/**
* The target type. Can be an Amazon SNS topic.
* The target type. Can be an Chatbot topic or Chatbot client. Chatbot topics are specified as SNS. Chatbot clients are specified as AWSChatbotSlack.
*/
TargetType?: TargetType;
/**
* The Amazon Resource Name (ARN) of the SNS topic.
* The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
*/
TargetAddress?: TargetAddress;
}
export type TargetAddress = string;
export type TargetStatus = "PENDING"|"ACTIVE"|"UNREACHABLE"|"INACTIVE"|"DEACTIVATED"|string;
export interface TargetSummary {
/**
* The Amazon Resource Name (ARN) of the SNS topic.
* The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
*/
TargetAddress?: TargetAddress;
/**
* The type of the target (for example, SNS).
* The type of the target (for example, SNS). Chatbot topics are specified as SNS. Chatbot clients are specified as AWSChatbotSlack.
*/
TargetType?: TargetType;
/**
Expand All @@ -476,7 +476,7 @@ declare namespace CodeStarNotifications {
*/
Arn: NotificationRuleArn;
/**
* The ARN of the SNS topic to unsubscribe from the notification rule.
* The ARN of the Chatbot topic to unsubscribe from the notification rule.
*/
TargetAddress: TargetAddress;
}
Expand Down Expand Up @@ -512,15 +512,15 @@ declare namespace CodeStarNotifications {
*/
Status?: NotificationRuleStatus;
/**
* A list of event types associated with this notification rule.
* A list of event types associated with this notification rule. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
*/
EventTypeIds?: EventTypeIds;
/**
* The address and type of the targets to receive notifications from this notification rule.
*/
Targets?: Targets;
/**
* The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
* The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
*/
DetailType?: DetailType;
}
Expand Down
Loading

0 comments on commit f0da17f

Please sign in to comment.