aws-sdk 2.774.0 → 2.778.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1084,6 +1084,13 @@ declare namespace QuickSight {
1084
1084
  export type ClusterId = string;
1085
1085
  export type ColorList = HexColor[];
1086
1086
  export type ColumnDataType = "STRING"|"INTEGER"|"DECIMAL"|"DATETIME"|string;
1087
+ export interface ColumnDescription {
1088
+ /**
1089
+ * The text of a description for a column.
1090
+ */
1091
+ Text?: ColumnDescriptiveText;
1092
+ }
1093
+ export type ColumnDescriptiveText = string;
1087
1094
  export interface ColumnGroup {
1088
1095
  /**
1089
1096
  * Geospatial column group that denotes a hierarchy.
@@ -1133,6 +1140,10 @@ declare namespace QuickSight {
1133
1140
  * A geospatial role for a column.
1134
1141
  */
1135
1142
  ColumnGeographicRole?: GeoSpatialDataRole;
1143
+ /**
1144
+ * A description for a column.
1145
+ */
1146
+ ColumnDescription?: ColumnDescription;
1136
1147
  }
1137
1148
  export type ColumnTagList = ColumnTag[];
1138
1149
  export type CopySourceArn = string;
@@ -1836,7 +1847,7 @@ declare namespace QuickSight {
1836
1847
  */
1837
1848
  Password: Password;
1838
1849
  /**
1839
- * A set of alternate data source parameters that you want to share for these credentials. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters structure that's in the request with the structures in the AlternateDataSourceParameters allowlist. If the structures are an exact match, the request is allowed to use the new data source with the existing credentials. If the AlternateDataSourceParameters list is null, the DataSourceParameters originally used with these Credentials is automatically allowed.
1850
+ * A set of alternate data source parameters that you want to share for these credentials. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters structure that's in the request with the structures in the AlternateDataSourceParameters allow list. If the structures are an exact match, the request is allowed to use the new data source with the existing credentials. If the AlternateDataSourceParameters list is null, the DataSourceParameters originally used with these Credentials is automatically allowed.
1840
1851
  */
1841
1852
  AlternateDataSourceParameters?: DataSourceParametersList;
1842
1853
  }
@@ -2214,7 +2225,7 @@ declare namespace QuickSight {
2214
2225
  */
2215
2226
  DataSourceParameters?: DataSourceParameters;
2216
2227
  /**
2217
- * A set of alternate data source parameters that you want to share for the credentials stored with this data source. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters structure that's in the request with the structures in the AlternateDataSourceParameters allowlist. If the structures are an exact match, the request is allowed to use the credentials from this existing data source. If the AlternateDataSourceParameters list is null, the Credentials originally used with this DataSourceParameters are automatically allowed.
2228
+ * A set of alternate data source parameters that you want to share for the credentials stored with this data source. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters structure that's in the request with the structures in the AlternateDataSourceParameters allow list. If the structures are an exact match, the request is allowed to use the credentials from this existing data source. If the AlternateDataSourceParameters list is null, the Credentials originally used with this DataSourceParameters are automatically allowed.
2218
2229
  */
2219
2230
  AlternateDataSourceParameters?: DataSourceParametersList;
2220
2231
  /**
@@ -4521,6 +4532,10 @@ declare namespace QuickSight {
4521
4532
  * A display name for the dataset.
4522
4533
  */
4523
4534
  Name?: ColumnName;
4535
+ /**
4536
+ * A description for a column.
4537
+ */
4538
+ Description?: ColumnDescriptiveText;
4524
4539
  /**
4525
4540
  * Type.
4526
4541
  */
@@ -4730,7 +4745,7 @@ declare namespace QuickSight {
4730
4745
  export type ResourceName = string;
4731
4746
  export interface ResourcePermission {
4732
4747
  /**
4733
- * The Amazon Resource Name (ARN) of the principal. This can be one of the following: The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.) The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)
4748
+ * The Amazon Resource Name (ARN) of the principal. This can be one of the following: The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.) The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.) The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)
4734
4749
  */
4735
4750
  Principal: Principal;
4736
4751
  /**
@@ -4903,7 +4918,7 @@ declare namespace QuickSight {
4903
4918
  */
4904
4919
  SheetId?: RestrictiveResourceId;
4905
4920
  /**
4906
- * The name of a sheet. This is displayed on the sheet's tab in the QuickSight console.
4921
+ * The name of a sheet. This name is displayed on the sheet's tab in the QuickSight console.
4907
4922
  */
4908
4923
  Name?: NonEmptyString;
4909
4924
  }
@@ -4029,7 +4029,7 @@ declare namespace ServiceCatalog {
4029
4029
  */
4030
4030
  ProvisionedProductId: Id;
4031
4031
  /**
4032
- * A map that contains the provisioned product properties to be updated. The LAUNCH_ROLE key accepts user ARNs and role ARNs. This key allows an administrator to call UpdateProvisionedProductProperties to update the launch role that is associated with a provisioned product. This role is used when an end-user calls a provisioning operation such as UpdateProvisionedProduct, TerminateProvisionedProduct, or ExecuteProvisionedProductServiceAction. Only an ARN role or null is valid. A user ARN is invalid. For example, if an admin user passes null as the value for the key LAUNCH_ROLE, the admin removes the launch role that is associated with the provisioned product. As a result, the end user operations use the credentials of the end user. The OWNER key accepts user ARNs and role ARNs. The owner is the user that has permission to see, update, terminate, and execute service actions in the provisioned product. The administrator can change the owner of a provisioned product to another IAM user within the same account. Both end user owners and administrators can see ownership history of the provisioned product using the ListRecordHistory API. The new owner can describe all past records for the provisioned product using the DescribeRecord API. The previous owner can no longer use DescribeRecord, but can still see the product's history from when he was an owner using ListRecordHistory. If a provisioned product ownership is assigned to an end user, they can see and perform any action through the API or Service Catalog console such as update, terminate, and execute service actions. If an end user provisions a product and the owner is updated to someone else, they will no longer be able to see or perform any actions through API or the Service Catalog console on that provisioned product.
4032
+ * A map that contains the provisioned product properties to be updated. The LAUNCH_ROLE key accepts user ARNs and role ARNs. This key allows an administrator to call UpdateProvisionedProductProperties to update the launch role that is associated with a provisioned product. This role is used when an end-user calls a provisioning operation such as UpdateProvisionedProduct, TerminateProvisionedProduct, or ExecuteProvisionedProductServiceAction. Only an ARN role is valid. A user ARN is invalid. The OWNER key accepts user ARNs and role ARNs. The owner is the user that has permission to see, update, terminate, and execute service actions in the provisioned product. The administrator can change the owner of a provisioned product to another IAM user within the same account. Both end user owners and administrators can see ownership history of the provisioned product using the ListRecordHistory API. The new owner can describe all past records for the provisioned product using the DescribeRecord API. The previous owner can no longer use DescribeRecord, but can still see the product's history from when he was an owner using ListRecordHistory. If a provisioned product ownership is assigned to an end user, they can see and perform any action through the API or Service Catalog console such as update, terminate, and execute service actions. If an end user provisions a product and the owner is updated to someone else, they will no longer be able to see or perform any actions through API or the Service Catalog console on that provisioned product.
4033
4033
  */
4034
4034
  ProvisionedProductProperties: ProvisionedProductProperties;
4035
4035
  /**
package/clients/sns.d.ts CHANGED
@@ -52,11 +52,11 @@ declare class SNS extends Service {
52
52
  */
53
53
  createPlatformEndpoint(callback?: (err: AWSError, data: SNS.Types.CreateEndpointResponse) => void): Request<SNS.Types.CreateEndpointResponse, AWSError>;
54
54
  /**
55
- * Creates a topic to which notifications can be published. Users can create at most 100,000 topics. For more information, see https://aws.amazon.com/sns. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic.
55
+ * Creates a topic to which notifications can be published. Users can create at most 100,000 standard topics (at most 1,000 FIFO topics). For more information, see https://aws.amazon.com/sns. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic.
56
56
  */
57
57
  createTopic(params: SNS.Types.CreateTopicInput, callback?: (err: AWSError, data: SNS.Types.CreateTopicResponse) => void): Request<SNS.Types.CreateTopicResponse, AWSError>;
58
58
  /**
59
- * Creates a topic to which notifications can be published. Users can create at most 100,000 topics. For more information, see https://aws.amazon.com/sns. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic.
59
+ * Creates a topic to which notifications can be published. Users can create at most 100,000 standard topics (at most 1,000 FIFO topics). For more information, see https://aws.amazon.com/sns. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic.
60
60
  */
61
61
  createTopic(callback?: (err: AWSError, data: SNS.Types.CreateTopicResponse) => void): Request<SNS.Types.CreateTopicResponse, AWSError>;
62
62
  /**
@@ -376,11 +376,11 @@ declare namespace SNS {
376
376
  }
377
377
  export interface CreateTopicInput {
378
378
  /**
379
- * The name of the topic you want to create. Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long.
379
+ * The name of the topic you want to create. Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long. For a FIFO (first-in-first-out) topic, the name must end with the .fifo suffix.
380
380
  */
381
381
  Name: topicName;
382
382
  /**
383
- * A map of attributes with their corresponding values. The following lists the names, descriptions, and values of the special request parameters that the CreateTopic action uses: DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints. DisplayName – The display name to use for a topic with SMS subscriptions. Policy – The policy that defines who can access your topic. By default, only the topic owner can publish or subscribe to the topic. The following attribute applies only to server-side-encryption: KmsMasterKeyId - The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms. For more examples, see KeyId in the AWS Key Management Service API Reference.
383
+ * A map of attributes with their corresponding values. The following lists the names, descriptions, and values of the special request parameters that the CreateTopic action uses: DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints. DisplayName – The display name to use for a topic with SMS subscriptions. FifoTopic – Set to true to create a FIFO topic. Policy – The policy that defines who can access your topic. By default, only the topic owner can publish or subscribe to the topic. The following attribute applies only to server-side-encryption: KmsMasterKeyId The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms. For more examples, see KeyId in the AWS Key Management Service API Reference. The following attribute applies only to FIFO topics: ContentBasedDeduplication – Enables content-based deduplication. Amazon SNS uses a SHA-256 hash to generate the MessageDeduplicationId using the body of the message (but not the attributes of the message). When ContentBasedDeduplication is in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered. If the queue has ContentBasedDeduplication set, your MessageDeduplicationId overrides the generated one.
384
384
  */
385
385
  Attributes?: TopicAttributesMap;
386
386
  /**
@@ -667,12 +667,24 @@ declare namespace SNS {
667
667
  * Message attributes for Publish action.
668
668
  */
669
669
  MessageAttributes?: MessageAttributeMap;
670
+ /**
671
+ * This parameter applies only to FIFO (first-in-first-out) topics. The MessageDeduplicationId can contain up to 128 alphanumeric characters (a-z, A-Z, 0-9) and punctuation (!"#$%&amp;'()*+,-./:;&lt;=&gt;?@[\]^_`{|}~). Every message must have a unique MessageDeduplicationId, which is a token used for deduplication of sent messages. If a message with a particular MessageDeduplicationId is sent successfully, any message sent with the same MessageDeduplicationId during the 5-minute deduplication interval is treated as a duplicate. If the topic has ContentBasedDeduplication set, the system generates a MessageDeduplicationId based on the contents of the message. Your MessageDeduplicationId overrides the generated one.
672
+ */
673
+ MessageDeduplicationId?: String;
674
+ /**
675
+ * This parameter applies only to FIFO (first-in-first-out) topics. The MessageGroupId can contain up to 128 alphanumeric characters (a-z, A-Z, 0-9) and punctuation (!"#$%&amp;'()*+,-./:;&lt;=&gt;?@[\]^_`{|}~). The MessageGroupId is a tag that specifies that a message belongs to a specific message group. Messages that belong to the same message group are processed in a FIFO manner (however, messages in different message groups might be processed out of order). Every message must include a MessageGroupId.
676
+ */
677
+ MessageGroupId?: String;
670
678
  }
671
679
  export interface PublishResponse {
672
680
  /**
673
681
  * Unique identifier assigned to the published message. Length Constraint: Maximum 100 characters
674
682
  */
675
683
  MessageId?: messageId;
684
+ /**
685
+ * This response element applies only to FIFO (first-in-first-out) topics. The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The length of SequenceNumber is 128 bits. SequenceNumber continues to increase for each MessageGroupId.
686
+ */
687
+ SequenceNumber?: String;
676
688
  }
677
689
  export interface RemovePermissionInput {
678
690
  /**
@@ -732,7 +744,7 @@ declare namespace SNS {
732
744
  */
733
745
  TopicArn: topicARN;
734
746
  /**
735
- * A map of attributes with their corresponding values. The following lists the names, descriptions, and values of the special request parameters that the SetTopicAttributes action uses: DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints. DisplayName – The display name to use for a topic with SMS subscriptions. Policy – The policy that defines who can access your topic. By default, only the topic owner can publish or subscribe to the topic. The following attribute applies only to server-side-encryption: KmsMasterKeyId - The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms. For more examples, see KeyId in the AWS Key Management Service API Reference.
747
+ * A map of attributes with their corresponding values. The following lists the names, descriptions, and values of the special request parameters that the SetTopicAttributes action uses: DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints. DisplayName – The display name to use for a topic with SMS subscriptions. Policy – The policy that defines who can access your topic. By default, only the topic owner can publish or subscribe to the topic. The following attribute applies only to server-side-encryption: KmsMasterKeyId The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms. For more examples, see KeyId in the AWS Key Management Service API Reference. The following attribute applies only to FIFO topics: ContentBasedDeduplication – Enables content-based deduplication. Amazon SNS uses a SHA-256 hash to generate the MessageDeduplicationId using the body of the message (but not the attributes of the message). When ContentBasedDeduplication is in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered. If the queue has ContentBasedDeduplication set, your MessageDeduplicationId overrides the generated one.
736
748
  */
737
749
  AttributeName: attributeName;
738
750
  /**
@@ -759,7 +771,7 @@ declare namespace SNS {
759
771
  */
760
772
  Attributes?: SubscriptionAttributesMap;
761
773
  /**
762
- * Sets whether the response from the Subscribe request includes the subscription ARN, even if the subscription is not yet confirmed. If you set this parameter to true, the response includes the ARN in all cases, even if the subscription is not yet confirmed. In addition to the ARN for confirmed subscriptions, the response also includes the pending subscription ARN value for subscriptions that aren't yet confirmed. A subscription becomes confirmed when the subscriber calls the ConfirmSubscription action with a confirmation token. The default value is false.
774
+ * Sets whether the response from the Subscribe request includes the subscription ARN, even if the subscription is not yet confirmed. If you set this parameter to true, the response includes the ARN in all cases, even if the subscription is not yet confirmed. In addition to the ARN for confirmed subscriptions, the response also includes the pending subscription ARN value for subscriptions that aren't yet confirmed. A subscription becomes confirmed when the subscriber calls the ConfirmSubscription action with a confirmation token. The default value is false.
763
775
  */
764
776
  ReturnSubscriptionArn?: boolean;
765
777
  }
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.774.0',
86
+ VERSION: '2.778.0',
87
87
 
88
88
  /**
89
89
  * @api private
@@ -1144,10 +1144,16 @@ return /******/ (function(modules) { // webpackBootstrap
1144
1144
  filename: process.env[util.sharedConfigFileEnv]
1145
1145
  });
1146
1146
  }
1147
- var profilesFromCreds = iniLoader.loadFrom({
1148
- filename: filename ||
1149
- (process.env[util.configOptInEnv] && process.env[util.sharedCredentialsFileEnv])
1150
- });
1147
+ var profilesFromCreds= {};
1148
+ try {
1149
+ var profilesFromCreds = iniLoader.loadFrom({
1150
+ filename: filename ||
1151
+ (process.env[util.configOptInEnv] && process.env[util.sharedCredentialsFileEnv])
1152
+ });
1153
+ } catch (error) {
1154
+ // if using config, assume it is fully descriptive without a credentials file:
1155
+ if (!process.env[util.configOptInEnv]) throw error;
1156
+ }
1151
1157
  for (var i = 0, profileNames = Object.keys(profilesFromConfig); i < profileNames.length; i++) {
1152
1158
  profiles[profileNames[i]] = objectAssign(profiles[profileNames[i]] || {}, profilesFromConfig[profileNames[i]]);
1153
1159
  }