aws-sdk 2.566.0 → 2.570.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +20 -1
  2. package/README.md +1 -1
  3. package/apis/ce-2017-10-25.min.json +110 -71
  4. package/apis/cloudformation-2010-05-15.min.json +68 -29
  5. package/apis/cloudformation-2010-05-15.waiters2.json +56 -1
  6. package/apis/codepipeline-2015-07-09.min.json +58 -40
  7. package/apis/cognito-identity-2014-06-30.min.json +50 -42
  8. package/apis/dynamodb-2012-08-10.min.json +66 -40
  9. package/apis/marketplace-catalog-2018-09-17.examples.json +5 -0
  10. package/apis/marketplace-catalog-2018-09-17.min.json +305 -0
  11. package/apis/marketplace-catalog-2018-09-17.paginators.json +14 -0
  12. package/apis/metadata.json +11 -0
  13. package/apis/sso-2019-06-10.examples.json +5 -0
  14. package/apis/sso-2019-06-10.min.json +190 -0
  15. package/apis/sso-2019-06-10.paginators.json +16 -0
  16. package/apis/sso-oidc-2019-06-10.examples.json +5 -0
  17. package/apis/sso-oidc-2019-06-10.min.json +131 -0
  18. package/apis/sso-oidc-2019-06-10.paginators.json +4 -0
  19. package/clients/all.d.ts +3 -0
  20. package/clients/all.js +4 -1
  21. package/clients/cloudformation.d.ts +65 -15
  22. package/clients/codepipeline.d.ts +26 -0
  23. package/clients/cognitoidentity.d.ts +14 -5
  24. package/clients/comprehend.d.ts +2 -2
  25. package/clients/costexplorer.d.ts +66 -18
  26. package/clients/dynamodb.d.ts +85 -53
  27. package/clients/ecr.d.ts +4 -4
  28. package/clients/elbv2.d.ts +14 -14
  29. package/clients/marketplacecatalog.d.ts +421 -0
  30. package/clients/marketplacecatalog.js +18 -0
  31. package/clients/sso.d.ts +197 -0
  32. package/clients/sso.js +18 -0
  33. package/clients/ssooidc.d.ts +210 -0
  34. package/clients/ssooidc.js +18 -0
  35. package/clients/transcribeservice.d.ts +8 -5
  36. package/dist/aws-sdk-core-react-native.js +2 -2
  37. package/dist/aws-sdk-react-native.js +239 -76
  38. package/dist/aws-sdk.js +423 -227
  39. package/dist/aws-sdk.min.js +69 -69
  40. package/dist/xml2js.js +117 -65
  41. package/lib/config_service_placeholders.d.ts +6 -0
  42. package/lib/core.js +1 -1
  43. package/lib/dynamodb/document_client.d.ts +81 -49
  44. package/package.json +1 -1
@@ -328,7 +328,7 @@ declare class ELBv2 extends Service {
328
328
  declare namespace ELBv2 {
329
329
  export interface Action {
330
330
  /**
331
- * The type of action. Each rule must include exactly one of the following types of actions: forward, fixed-response, or redirect.
331
+ * The type of action.
332
332
  */
333
333
  Type: ActionTypeEnum;
334
334
  /**
@@ -344,7 +344,7 @@ declare namespace ELBv2 {
344
344
  */
345
345
  AuthenticateCognitoConfig?: AuthenticateCognitoActionConfig;
346
346
  /**
347
- * The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first. The final action to be performed must be a forward or a fixed-response action.
347
+ * The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first. The last action to be performed must be one of the following types of actions: a forward, fixed-response, or redirect.
348
348
  */
349
349
  Order?: ActionOrder;
350
350
  /**
@@ -588,7 +588,7 @@ declare namespace ELBv2 {
588
588
  */
589
589
  SecurityGroups?: SecurityGroups;
590
590
  /**
591
- * The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer. The default is an Internet-facing load balancer.
591
+ * The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer. The default is an Internet-facing load balancer.
592
592
  */
593
593
  Scheme?: LoadBalancerSchemeEnum;
594
594
  /**
@@ -624,7 +624,7 @@ declare namespace ELBv2 {
624
624
  */
625
625
  Priority: RulePriority;
626
626
  /**
627
- * The actions. Each rule must include exactly one of the following types of actions: forward, fixed-response, or redirect. If the action type is forward, you specify a target group. The protocol of the target group must be HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be TCP, TLS, UDP, or TCP_UDP for a Network Load Balancer. [HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through an identity provider that is OpenID Connect (OIDC) compliant. [HTTPS listeners] If the action type is authenticate-cognito, you authenticate users through the user pools supported by Amazon Cognito. [Application Load Balancer] If the action type is redirect, you redirect specified client requests from one URL to another. [Application Load Balancer] If the action type is fixed-response, you drop specified client requests and return a custom HTTP response.
627
+ * The actions. Each rule must include exactly one of the following types of actions: forward, fixed-response, or redirect, and it must be the last action to be performed. If the action type is forward, you specify a target group. The protocol of the target group must be HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be TCP, TLS, UDP, or TCP_UDP for a Network Load Balancer. [HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through an identity provider that is OpenID Connect (OIDC) compliant. [HTTPS listeners] If the action type is authenticate-cognito, you authenticate users through the user pools supported by Amazon Cognito. [Application Load Balancer] If the action type is redirect, you redirect specified client requests from one URL to another. [Application Load Balancer] If the action type is fixed-response, you drop specified client requests and return a custom HTTP response.
628
628
  */
629
629
  Actions: Actions;
630
630
  }
@@ -1098,7 +1098,7 @@ declare namespace ELBv2 {
1098
1098
  */
1099
1099
  LoadBalancerName?: LoadBalancerName;
1100
1100
  /**
1101
- * The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.
1101
+ * The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer.
1102
1102
  */
1103
1103
  Scheme?: LoadBalancerSchemeEnum;
1104
1104
  /**
@@ -1141,7 +1141,7 @@ declare namespace ELBv2 {
1141
1141
  export type LoadBalancerArns = LoadBalancerArn[];
1142
1142
  export interface LoadBalancerAttribute {
1143
1143
  /**
1144
- * The name of the attribute. The following attributes are supported by both Application Load Balancers and Network Load Balancers: access_logs.s3.enabled - Indicates whether access logs are enabled. The value is true or false. The default is false. access_logs.s3.bucket - The name of the S3 bucket for the access logs. This attribute is required if access logs are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permissions to write to the bucket. access_logs.s3.prefix - The prefix for the location in the S3 bucket for the access logs. deletion_protection.enabled - Indicates whether deletion protection is enabled. The value is true or false. The default is false. The following attributes are supported by only Application Load Balancers: idle_timeout.timeout_seconds - The idle timeout value, in seconds. The valid range is 1-4000 seconds. The default is 60 seconds. routing.http2.enabled - Indicates whether HTTP/2 is enabled. The value is true or false. The default is true. The following attributes are supported by only Network Load Balancers: load_balancing.cross_zone.enabled - Indicates whether cross-zone load balancing is enabled. The value is true or false. The default is false.
1144
+ * The name of the attribute. The following attributes are supported by both Application Load Balancers and Network Load Balancers: access_logs.s3.enabled - Indicates whether access logs are enabled. The value is true or false. The default is false. access_logs.s3.bucket - The name of the S3 bucket for the access logs. This attribute is required if access logs are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permissions to write to the bucket. access_logs.s3.prefix - The prefix for the location in the S3 bucket for the access logs. deletion_protection.enabled - Indicates whether deletion protection is enabled. The value is true or false. The default is false. The following attributes are supported by only Application Load Balancers: idle_timeout.timeout_seconds - The idle timeout value, in seconds. The valid range is 1-4000 seconds. The default is 60 seconds. routing.http.drop_invalid_header_fields.enabled - Indicates whether HTTP headers with invalid header fields are removed by the load balancer (true) or routed to targets (false). The default is true. routing.http2.enabled - Indicates whether HTTP/2 is enabled. The value is true or false. The default is true. The following attributes are supported by only Network Load Balancers: load_balancing.cross_zone.enabled - Indicates whether cross-zone load balancing is enabled. The value is true or false. The default is false.
1145
1145
  */
1146
1146
  Key?: LoadBalancerAttributeKey;
1147
1147
  /**
@@ -1234,7 +1234,7 @@ declare namespace ELBv2 {
1234
1234
  */
1235
1235
  Conditions?: RuleConditionList;
1236
1236
  /**
1237
- * The actions. Each rule must include exactly one of the following types of actions: forward, fixed-response, or redirect. If the action type is forward, you specify a target group. The protocol of the target group must be HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be TCP, TLS, UDP, or TCP_UDP for a Network Load Balancer. [HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through an identity provider that is OpenID Connect (OIDC) compliant. [HTTPS listeners] If the action type is authenticate-cognito, you authenticate users through the user pools supported by Amazon Cognito. [Application Load Balancer] If the action type is redirect, you redirect specified client requests from one URL to another. [Application Load Balancer] If the action type is fixed-response, you drop specified client requests and return a custom HTTP response.
1237
+ * The actions. Each rule must include exactly one of the following types of actions: forward, fixed-response, or redirect, and it must be the last action to be performed. If the action type is forward, you specify a target group. The protocol of the target group must be HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be TCP, TLS, UDP, or TCP_UDP for a Network Load Balancer. [HTTPS listeners] If the action type is authenticate-oidc, you authenticate users through an identity provider that is OpenID Connect (OIDC) compliant. [HTTPS listeners] If the action type is authenticate-cognito, you authenticate users through the user pools supported by Amazon Cognito. [Application Load Balancer] If the action type is redirect, you redirect specified client requests from one URL to another. [Application Load Balancer] If the action type is fixed-response, you drop specified client requests and return a custom HTTP response.
1238
1238
  */
1239
1239
  Actions?: Actions;
1240
1240
  }
@@ -1266,7 +1266,7 @@ declare namespace ELBv2 {
1266
1266
  */
1267
1267
  TargetGroupArn: TargetGroupArn;
1268
1268
  /**
1269
- * The protocol the load balancer uses when performing health checks on targets. The TCP protocol is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The TLS, UDP, and TCP_UDP protocols are not supported for health checks. If the protocol of the target group is TCP, you can't modify this setting.
1269
+ * The protocol the load balancer uses when performing health checks on targets. The TCP protocol is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The TLS, UDP, and TCP_UDP protocols are not supported for health checks. With Network Load Balancers, you can't modify this setting.
1270
1270
  */
1271
1271
  HealthCheckProtocol?: ProtocolEnum;
1272
1272
  /**
@@ -1282,11 +1282,11 @@ declare namespace ELBv2 {
1282
1282
  */
1283
1283
  HealthCheckEnabled?: HealthCheckEnabled;
1284
1284
  /**
1285
- * The approximate amount of time, in seconds, between health checks of an individual target. For Application Load Balancers, the range is 5 to 300 seconds. For Network Load Balancers, the supported values are 10 or 30 seconds. If the protocol of the target group is TCP, you can't modify this setting.
1285
+ * The approximate amount of time, in seconds, between health checks of an individual target. For Application Load Balancers, the range is 5 to 300 seconds. For Network Load Balancers, the supported values are 10 or 30 seconds. With Network Load Balancers, you can't modify this setting.
1286
1286
  */
1287
1287
  HealthCheckIntervalSeconds?: HealthCheckIntervalSeconds;
1288
1288
  /**
1289
- * [HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check. If the protocol of the target group is TCP, you can't modify this setting.
1289
+ * [HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check. With Network Load Balancers, you can't modify this setting.
1290
1290
  */
1291
1291
  HealthCheckTimeoutSeconds?: HealthCheckTimeoutSeconds;
1292
1292
  /**
@@ -1298,7 +1298,7 @@ declare namespace ELBv2 {
1298
1298
  */
1299
1299
  UnhealthyThresholdCount?: HealthCheckThresholdCount;
1300
1300
  /**
1301
- * [HTTP/HTTPS health checks] The HTTP codes to use when checking for a successful response from a target. If the protocol of the target group is TCP, you can't modify this setting.
1301
+ * [HTTP/HTTPS health checks] The HTTP codes to use when checking for a successful response from a target. With Network Load Balancers, you can't modify this setting.
1302
1302
  */
1303
1303
  Matcher?: Matcher;
1304
1304
  }
@@ -1616,7 +1616,7 @@ declare namespace ELBv2 {
1616
1616
  */
1617
1617
  Id: TargetId;
1618
1618
  /**
1619
- * The port on which the target is listening.
1619
+ * The port on which the target is listening. Not used if the target is a Lambda function.
1620
1620
  */
1621
1621
  Port?: Port;
1622
1622
  /**
@@ -1639,7 +1639,7 @@ declare namespace ELBv2 {
1639
1639
  */
1640
1640
  Protocol?: ProtocolEnum;
1641
1641
  /**
1642
- * The port on which the targets are listening.
1642
+ * The port on which the targets are listening. Not used if the target is a Lambda function.
1643
1643
  */
1644
1644
  Port?: Port;
1645
1645
  /**
@@ -1715,7 +1715,7 @@ declare namespace ELBv2 {
1715
1715
  */
1716
1716
  State?: TargetHealthStateEnum;
1717
1717
  /**
1718
- * The reason code. If the target state is healthy, a reason code is not provided. If the target state is initial, the reason code can be one of the following values: Elb.RegistrationInProgress - The target is in the process of being registered with the load balancer. Elb.InitialHealthChecking - The load balancer is still sending the target the minimum number of health checks required to determine its health status. If the target state is unhealthy, the reason code can be one of the following values: Target.ResponseCodeMismatch - The health checks did not return an expected HTTP code. Target.Timeout - The health check requests timed out. Target.FailedHealthChecks - The load balancer received an error while establishing a connection to the target or the target response was malformed. Elb.InternalError - The health checks failed due to an internal error. If the target state is unused, the reason code can be one of the following values: Target.NotRegistered - The target is not registered with the target group. Target.NotInUse - The target group is not used by any load balancer or the target is in an Availability Zone that is not enabled for its load balancer. Target.IpUnusable - The target IP address is reserved for use by a load balancer. Target.InvalidState - The target is in the stopped or terminated state. If the target state is draining, the reason code can be the following value: Target.DeregistrationInProgress - The target is in the process of being deregistered and the deregistration delay period has not expired. If the target state is unavailable, the reason code can be the following value: Target.HealthCheckDisabled - Health checks are disabled for the target group.
1718
+ * The reason code. If the target state is healthy, a reason code is not provided. If the target state is initial, the reason code can be one of the following values: Elb.RegistrationInProgress - The target is in the process of being registered with the load balancer. Elb.InitialHealthChecking - The load balancer is still sending the target the minimum number of health checks required to determine its health status. If the target state is unhealthy, the reason code can be one of the following values: Target.ResponseCodeMismatch - The health checks did not return an expected HTTP code. Applies only to Application Load Balancers. Target.Timeout - The health check requests timed out. Applies only to Application Load Balancers. Target.FailedHealthChecks - The load balancer received an error while establishing a connection to the target or the target response was malformed. Elb.InternalError - The health checks failed due to an internal error. Applies only to Application Load Balancers. If the target state is unused, the reason code can be one of the following values: Target.NotRegistered - The target is not registered with the target group. Target.NotInUse - The target group is not used by any load balancer or the target is in an Availability Zone that is not enabled for its load balancer. Target.InvalidState - The target is in the stopped or terminated state. Target.IpUnusable - The target IP address is reserved for use by a load balancer. If the target state is draining, the reason code can be the following value: Target.DeregistrationInProgress - The target is in the process of being deregistered and the deregistration delay period has not expired. If the target state is unavailable, the reason code can be the following value: Target.HealthCheckDisabled - Health checks are disabled for the target group. Applies only to Application Load Balancers. Elb.InternalError - Target health is unavailable due to an internal error. Applies only to Network Load Balancers.
1719
1719
  */
1720
1720
  Reason?: TargetHealthReasonEnum;
1721
1721
  /**
@@ -0,0 +1,421 @@
1
+ import {Request} from '../lib/request';
2
+ import {Response} from '../lib/response';
3
+ import {AWSError} from '../lib/error';
4
+ import {Service} from '../lib/service';
5
+ import {ServiceConfigurationOptions} from '../lib/service';
6
+ import {ConfigBase as Config} from '../lib/config';
7
+ interface Blob {}
8
+ declare class MarketplaceCatalog extends Service {
9
+ /**
10
+ * Constructs a service object. This object has one method for each API operation.
11
+ */
12
+ constructor(options?: MarketplaceCatalog.Types.ClientConfiguration)
13
+ config: Config & MarketplaceCatalog.Types.ClientConfiguration;
14
+ /**
15
+ * Used to cancel an open change request. Must be sent before the status of the request changes to APPLYING, the final stage of completing your change request. You can describe a change during the 60-day request history retention period for API calls.
16
+ */
17
+ cancelChangeSet(params: MarketplaceCatalog.Types.CancelChangeSetRequest, callback?: (err: AWSError, data: MarketplaceCatalog.Types.CancelChangeSetResponse) => void): Request<MarketplaceCatalog.Types.CancelChangeSetResponse, AWSError>;
18
+ /**
19
+ * Used to cancel an open change request. Must be sent before the status of the request changes to APPLYING, the final stage of completing your change request. You can describe a change during the 60-day request history retention period for API calls.
20
+ */
21
+ cancelChangeSet(callback?: (err: AWSError, data: MarketplaceCatalog.Types.CancelChangeSetResponse) => void): Request<MarketplaceCatalog.Types.CancelChangeSetResponse, AWSError>;
22
+ /**
23
+ * Provides information about a given change set.
24
+ */
25
+ describeChangeSet(params: MarketplaceCatalog.Types.DescribeChangeSetRequest, callback?: (err: AWSError, data: MarketplaceCatalog.Types.DescribeChangeSetResponse) => void): Request<MarketplaceCatalog.Types.DescribeChangeSetResponse, AWSError>;
26
+ /**
27
+ * Provides information about a given change set.
28
+ */
29
+ describeChangeSet(callback?: (err: AWSError, data: MarketplaceCatalog.Types.DescribeChangeSetResponse) => void): Request<MarketplaceCatalog.Types.DescribeChangeSetResponse, AWSError>;
30
+ /**
31
+ * Returns the metadata and content of the entity.
32
+ */
33
+ describeEntity(params: MarketplaceCatalog.Types.DescribeEntityRequest, callback?: (err: AWSError, data: MarketplaceCatalog.Types.DescribeEntityResponse) => void): Request<MarketplaceCatalog.Types.DescribeEntityResponse, AWSError>;
34
+ /**
35
+ * Returns the metadata and content of the entity.
36
+ */
37
+ describeEntity(callback?: (err: AWSError, data: MarketplaceCatalog.Types.DescribeEntityResponse) => void): Request<MarketplaceCatalog.Types.DescribeEntityResponse, AWSError>;
38
+ /**
39
+ * Returns the list of change sets owned by the account being used to make the call. You can filter this list by providing any combination of entityId, ChangeSetName, and status. If you provide more than one filter, the API operation applies a logical AND between the filters. You can describe a change during the 60-day request history retention period for API calls.
40
+ */
41
+ listChangeSets(params: MarketplaceCatalog.Types.ListChangeSetsRequest, callback?: (err: AWSError, data: MarketplaceCatalog.Types.ListChangeSetsResponse) => void): Request<MarketplaceCatalog.Types.ListChangeSetsResponse, AWSError>;
42
+ /**
43
+ * Returns the list of change sets owned by the account being used to make the call. You can filter this list by providing any combination of entityId, ChangeSetName, and status. If you provide more than one filter, the API operation applies a logical AND between the filters. You can describe a change during the 60-day request history retention period for API calls.
44
+ */
45
+ listChangeSets(callback?: (err: AWSError, data: MarketplaceCatalog.Types.ListChangeSetsResponse) => void): Request<MarketplaceCatalog.Types.ListChangeSetsResponse, AWSError>;
46
+ /**
47
+ * Provides the list of entities of a given type.
48
+ */
49
+ listEntities(params: MarketplaceCatalog.Types.ListEntitiesRequest, callback?: (err: AWSError, data: MarketplaceCatalog.Types.ListEntitiesResponse) => void): Request<MarketplaceCatalog.Types.ListEntitiesResponse, AWSError>;
50
+ /**
51
+ * Provides the list of entities of a given type.
52
+ */
53
+ listEntities(callback?: (err: AWSError, data: MarketplaceCatalog.Types.ListEntitiesResponse) => void): Request<MarketplaceCatalog.Types.ListEntitiesResponse, AWSError>;
54
+ /**
55
+ * This operation allows you to request changes in your entities.
56
+ */
57
+ startChangeSet(params: MarketplaceCatalog.Types.StartChangeSetRequest, callback?: (err: AWSError, data: MarketplaceCatalog.Types.StartChangeSetResponse) => void): Request<MarketplaceCatalog.Types.StartChangeSetResponse, AWSError>;
58
+ /**
59
+ * This operation allows you to request changes in your entities.
60
+ */
61
+ startChangeSet(callback?: (err: AWSError, data: MarketplaceCatalog.Types.StartChangeSetResponse) => void): Request<MarketplaceCatalog.Types.StartChangeSetResponse, AWSError>;
62
+ }
63
+ declare namespace MarketplaceCatalog {
64
+ export type ARN = string;
65
+ export interface CancelChangeSetRequest {
66
+ /**
67
+ * Required. The catalog related to the request. Fixed value: AWSMarketplace.
68
+ */
69
+ Catalog: Catalog;
70
+ /**
71
+ * Required. The unique identifier of the StartChangeSet request that you want to cancel.
72
+ */
73
+ ChangeSetId: ResourceId;
74
+ }
75
+ export interface CancelChangeSetResponse {
76
+ /**
77
+ * The unique identifier for the change set referenced in this request.
78
+ */
79
+ ChangeSetId?: ResourceId;
80
+ /**
81
+ * The ARN associated with the change set referenced in this request.
82
+ */
83
+ ChangeSetArn?: ARN;
84
+ }
85
+ export type Catalog = string;
86
+ export interface Change {
87
+ /**
88
+ * Change types are single string values that describe your intention for the change. Each change type is unique for each EntityType provided in the change's scope.
89
+ */
90
+ ChangeType: ChangeType;
91
+ /**
92
+ * The entity to be changed.
93
+ */
94
+ Entity: Entity;
95
+ /**
96
+ * This object contains details specific to the change type of the requested change.
97
+ */
98
+ Details: Json;
99
+ }
100
+ export type ChangeSetDescription = ChangeSummary[];
101
+ export type ChangeSetName = string;
102
+ export type ChangeSetSummaryList = ChangeSetSummaryListItem[];
103
+ export interface ChangeSetSummaryListItem {
104
+ /**
105
+ * The unique identifier for a change set.
106
+ */
107
+ ChangeSetId?: ResourceId;
108
+ /**
109
+ * The ARN associated with the unique identifier for the change set referenced in this request.
110
+ */
111
+ ChangeSetArn?: ARN;
112
+ /**
113
+ * The non-unique name for the change set.
114
+ */
115
+ ChangeSetName?: ChangeSetName;
116
+ /**
117
+ * The time, in ISO 8601 format (2018-02-27T13:45:22Z), when the change set was started.
118
+ */
119
+ StartTime?: DateTimeISO8601;
120
+ /**
121
+ * The time, in ISO 8601 format (2018-02-27T13:45:22Z), when the change set was finished.
122
+ */
123
+ EndTime?: DateTimeISO8601;
124
+ /**
125
+ * The current status of the change set.
126
+ */
127
+ Status?: ChangeStatus;
128
+ /**
129
+ * This object is a list of entity IDs (string) that are a part of a change set. The entity ID list is a maximum of 20 entities. It must contain at least one entity.
130
+ */
131
+ EntityIdList?: ResourceIdList;
132
+ }
133
+ export type ChangeStatus = "PREPARING"|"APPLYING"|"SUCCEEDED"|"CANCELLED"|"FAILED"|string;
134
+ export interface ChangeSummary {
135
+ /**
136
+ * The type of the change.
137
+ */
138
+ ChangeType?: ChangeType;
139
+ /**
140
+ * The entity to be changed.
141
+ */
142
+ Entity?: Entity;
143
+ /**
144
+ * An array of ErrorDetail objects associated with the change.
145
+ */
146
+ ErrorDetailList?: ErrorDetailList;
147
+ }
148
+ export type ChangeType = string;
149
+ export type ClientRequestToken = string;
150
+ export type DateTimeISO8601 = string;
151
+ export interface DescribeChangeSetRequest {
152
+ /**
153
+ * Required. The catalog related to the request. Fixed value: AWSMarketplace
154
+ */
155
+ Catalog: Catalog;
156
+ /**
157
+ * Required. The unique identifier for the StartChangeSet request that you want to describe the details for.
158
+ */
159
+ ChangeSetId: ResourceId;
160
+ }
161
+ export interface DescribeChangeSetResponse {
162
+ /**
163
+ * Required. The unique identifier for the change set referenced in this request.
164
+ */
165
+ ChangeSetId?: ResourceId;
166
+ /**
167
+ * The ARN associated with the unique identifier for the change set referenced in this request.
168
+ */
169
+ ChangeSetArn?: ARN;
170
+ /**
171
+ * The optional name provided in the StartChangeSet request. If you do not provide a name, one is set by default.
172
+ */
173
+ ChangeSetName?: ChangeSetName;
174
+ /**
175
+ * The date and time, in ISO 8601 format (2018-02-27T13:45:22Z), the request started.
176
+ */
177
+ StartTime?: DateTimeISO8601;
178
+ /**
179
+ * The date and time, in ISO 8601 format (2018-02-27T13:45:22Z), the request transitioned to a terminal state. The change cannot transition to a different state. Null if the request is not in a terminal state.
180
+ */
181
+ EndTime?: DateTimeISO8601;
182
+ /**
183
+ * The status of the change request.
184
+ */
185
+ Status?: ChangeStatus;
186
+ /**
187
+ * Returned if there is a failure on the change set, but that failure is not related to any of the changes in the request.
188
+ */
189
+ FailureDescription?: StringValue;
190
+ /**
191
+ * An array of ChangeSummary objects.
192
+ */
193
+ ChangeSet?: ChangeSetDescription;
194
+ }
195
+ export interface DescribeEntityRequest {
196
+ /**
197
+ * Required. The catalog related to the request. Fixed value: AWSMarketplace
198
+ */
199
+ Catalog: Catalog;
200
+ /**
201
+ * Required. The unique ID of the entity to describe.
202
+ */
203
+ EntityId: ResourceId;
204
+ }
205
+ export interface DescribeEntityResponse {
206
+ /**
207
+ * The named type of the entity, in the format of EntityType@Version.
208
+ */
209
+ EntityType?: EntityType;
210
+ /**
211
+ * The identifier of the entity, in the format of EntityId@RevisionId.
212
+ */
213
+ EntityIdentifier?: Identifier;
214
+ /**
215
+ * The ARN associated to the unique identifier for the change set referenced in this request.
216
+ */
217
+ EntityArn?: ARN;
218
+ /**
219
+ * The last modified date of the entity, in ISO 8601 format (2018-02-27T13:45:22Z).
220
+ */
221
+ LastModifiedDate?: StringValue;
222
+ /**
223
+ * This stringified JSON object includes the details of the entity.
224
+ */
225
+ Details?: Json;
226
+ }
227
+ export interface Entity {
228
+ /**
229
+ * The type of entity.
230
+ */
231
+ Type: EntityType;
232
+ /**
233
+ * The identifier for the entity.
234
+ */
235
+ Identifier?: Identifier;
236
+ }
237
+ export interface EntitySummary {
238
+ /**
239
+ * The name for the entity. This value is not unique. It is defined by the provider.
240
+ */
241
+ Name?: StringValue;
242
+ /**
243
+ * The type of the entity.
244
+ */
245
+ EntityType?: EntityType;
246
+ /**
247
+ * The unique identifier for the entity.
248
+ */
249
+ EntityId?: ResourceId;
250
+ /**
251
+ * The ARN associated with the unique identifier for the entity.
252
+ */
253
+ EntityArn?: ARN;
254
+ /**
255
+ * The last time the entity was published, using ISO 8601 format (2018-02-27T13:45:22Z).
256
+ */
257
+ LastModifiedDate?: StringValue;
258
+ /**
259
+ * The visibility status of the entity to subscribers. This value can be Public (everyone can view the entity), Limited (the entity is visible to limited accounts only), or Restricted (the entity was published and then unpublished and only existing subscribers can view it).
260
+ */
261
+ Visibility?: StringValue;
262
+ }
263
+ export type EntitySummaryList = EntitySummary[];
264
+ export type EntityType = string;
265
+ export interface ErrorDetail {
266
+ /**
267
+ * The error code that identifies the type of error.
268
+ */
269
+ ErrorCode?: StringValue;
270
+ /**
271
+ * The message for the error.
272
+ */
273
+ ErrorMessage?: StringValue;
274
+ }
275
+ export type ErrorDetailList = ErrorDetail[];
276
+ export interface Filter {
277
+ /**
278
+ * For ListEntities, the supported value for this is an EntityId. For ListChangeSets, the supported values are as follows:
279
+ */
280
+ Name?: FilterName;
281
+ /**
282
+ * ListEntities - This is a list of unique EntityIds. ListChangeSets - The supported filter names and associated ValueLists is as follows: ChangeSetName - The supported ValueList is a list of non-unique ChangeSetNames. These are defined when you call the StartChangeSet action. Status - The supported ValueList is a list of statuses for all change set requests. EntityId - The supported ValueList is a list of unique EntityIds. BeforeStartTime - The supported ValueList is a list of all change sets that started before the filter value. AfterStartTime - The supported ValueList is a list of all change sets that started after the filter value. BeforeEndTime - The supported ValueList is a list of all change sets that ended before the filter value. AfterEndTime - The supported ValueList is a list of all change sets that ended after the filter value.
283
+ */
284
+ ValueList?: ValueList;
285
+ }
286
+ export type FilterList = Filter[];
287
+ export type FilterName = string;
288
+ export type Identifier = string;
289
+ export type Json = string;
290
+ export interface ListChangeSetsRequest {
291
+ /**
292
+ * The catalog related to the request. Fixed value: AWSMarketplace
293
+ */
294
+ Catalog: Catalog;
295
+ /**
296
+ * An array of filter objects.
297
+ */
298
+ FilterList?: FilterList;
299
+ /**
300
+ * An object that contains two attributes, sortBy and sortOrder.
301
+ */
302
+ Sort?: Sort;
303
+ /**
304
+ * The maximum number of results returned by a single call. This value must be provided in the next call to retrieve the next set of results. By default, this value is 20.
305
+ */
306
+ MaxResults?: MaxResultInteger;
307
+ /**
308
+ * The token value retrieved from a previous call to access the next page of results.
309
+ */
310
+ NextToken?: NextToken;
311
+ }
312
+ export interface ListChangeSetsResponse {
313
+ /**
314
+ * Array of ChangeSetSummaryListItem objects.
315
+ */
316
+ ChangeSetSummaryList?: ChangeSetSummaryList;
317
+ /**
318
+ * The value of the next token, if it exists. Null if there are no more results.
319
+ */
320
+ NextToken?: NextToken;
321
+ }
322
+ export interface ListEntitiesRequest {
323
+ /**
324
+ * The catalog related to the request. Fixed value: AWSMarketplace
325
+ */
326
+ Catalog: Catalog;
327
+ /**
328
+ * The type of entities to retrieve.
329
+ */
330
+ EntityType: EntityType;
331
+ /**
332
+ * An array of filter objects. Each filter object contains two attributes, filterName and filterValues.
333
+ */
334
+ FilterList?: FilterList;
335
+ /**
336
+ * An object that contains two attributes, sortBy and sortOrder.
337
+ */
338
+ Sort?: Sort;
339
+ /**
340
+ * The value of the next token, if it exists. Null if there are no more results.
341
+ */
342
+ NextToken?: NextToken;
343
+ /**
344
+ * Specifies the upper limit of the elements on a single page. If a value isn't provided, the default value is 20.
345
+ */
346
+ MaxResults?: MaxResultInteger;
347
+ }
348
+ export interface ListEntitiesResponse {
349
+ /**
350
+ * Array of EntitySummary object.
351
+ */
352
+ EntitySummaryList?: EntitySummaryList;
353
+ /**
354
+ * The value of the next token if it exists. Null if there is no more result.
355
+ */
356
+ NextToken?: NextToken;
357
+ }
358
+ export type MaxResultInteger = number;
359
+ export type NextToken = string;
360
+ export type RequestedChangeList = Change[];
361
+ export type ResourceId = string;
362
+ export type ResourceIdList = ResourceId[];
363
+ export interface Sort {
364
+ /**
365
+ * For ListEntities, supported attributes include LastModifiedDate (default), Visibility, EntityId, and Name. For ListChangeSets, supported attributes include StartTime and EndTime.
366
+ */
367
+ SortBy?: SortBy;
368
+ /**
369
+ * The sorting order. Can be ASCENDING or DESCENDING. The default value is DESCENDING.
370
+ */
371
+ SortOrder?: SortOrder;
372
+ }
373
+ export type SortBy = string;
374
+ export type SortOrder = "ASCENDING"|"DESCENDING"|string;
375
+ export interface StartChangeSetRequest {
376
+ /**
377
+ * The catalog related to the request. Fixed value: AWSMarketplace
378
+ */
379
+ Catalog: Catalog;
380
+ /**
381
+ * Array of change object.
382
+ */
383
+ ChangeSet: RequestedChangeList;
384
+ /**
385
+ * Optional case sensitive string of up to 100 ASCII characters. The change set name can be used to filter the list of change sets.
386
+ */
387
+ ChangeSetName?: ChangeSetName;
388
+ /**
389
+ * A unique token to identify the request to ensure idempotency.
390
+ */
391
+ ClientRequestToken?: ClientRequestToken;
392
+ }
393
+ export interface StartChangeSetResponse {
394
+ /**
395
+ * Unique identifier generated for the request.
396
+ */
397
+ ChangeSetId?: ResourceId;
398
+ /**
399
+ * The ARN associated to the unique identifier generated for the request.
400
+ */
401
+ ChangeSetArn?: ARN;
402
+ }
403
+ export type StringValue = string;
404
+ export type ValueList = StringValue[];
405
+ /**
406
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
407
+ */
408
+ export type apiVersion = "2018-09-17"|"latest"|string;
409
+ export interface ClientApiVersions {
410
+ /**
411
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
412
+ */
413
+ apiVersion?: apiVersion;
414
+ }
415
+ export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
416
+ /**
417
+ * Contains interfaces for use with the MarketplaceCatalog client.
418
+ */
419
+ export import Types = MarketplaceCatalog;
420
+ }
421
+ export = MarketplaceCatalog;
@@ -0,0 +1,18 @@
1
+ require('../lib/node_loader');
2
+ var AWS = require('../lib/core');
3
+ var Service = AWS.Service;
4
+ var apiLoader = AWS.apiLoader;
5
+
6
+ apiLoader.services['marketplacecatalog'] = {};
7
+ AWS.MarketplaceCatalog = Service.defineService('marketplacecatalog', ['2018-09-17']);
8
+ Object.defineProperty(apiLoader.services['marketplacecatalog'], '2018-09-17', {
9
+ get: function get() {
10
+ var model = require('../apis/marketplace-catalog-2018-09-17.min.json');
11
+ model.paginators = require('../apis/marketplace-catalog-2018-09-17.paginators.json').pagination;
12
+ return model;
13
+ },
14
+ enumerable: true,
15
+ configurable: true
16
+ });
17
+
18
+ module.exports = AWS.MarketplaceCatalog;