aws-sdk 2.1448.0 → 2.1450.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 (33) hide show
  1. package/CHANGELOG.md +21 -1
  2. package/README.md +1 -1
  3. package/apis/chime-sdk-media-pipelines-2021-07-15.min.json +261 -21
  4. package/apis/cloudhsm-2014-05-30.min.json +60 -20
  5. package/apis/connect-2017-08-08.min.json +589 -186
  6. package/apis/connect-2017-08-08.paginators.json +12 -0
  7. package/apis/connectcampaigns-2021-01-30.min.json +103 -90
  8. package/apis/connectparticipant-2018-09-07.min.json +62 -0
  9. package/apis/customer-profiles-2020-08-15.min.json +269 -118
  10. package/apis/grafana-2020-08-18.min.json +2 -1
  11. package/apis/health-2016-08-04.min.json +116 -34
  12. package/apis/kafkaconnect-2021-09-14.min.json +38 -36
  13. package/apis/payment-cryptography-data-2022-02-03.min.json +29 -16
  14. package/apis/runtime.sagemaker-2017-05-13.min.json +104 -0
  15. package/clients/chimesdkmediapipelines.d.ts +228 -2
  16. package/clients/cloudwatchevents.d.ts +2 -2
  17. package/clients/connect.d.ts +440 -13
  18. package/clients/connectcampaigns.d.ts +30 -23
  19. package/clients/connectparticipant.d.ts +71 -2
  20. package/clients/customerprofiles.d.ts +56 -52
  21. package/clients/ecs.d.ts +14 -14
  22. package/clients/health.d.ts +86 -2
  23. package/clients/identitystore.d.ts +26 -26
  24. package/clients/ivs.d.ts +4 -4
  25. package/clients/kafkaconnect.d.ts +6 -8
  26. package/clients/paymentcryptographydata.d.ts +8 -6
  27. package/clients/sagemakerruntime.d.ts +86 -8
  28. package/dist/aws-sdk-core-react-native.js +1 -1
  29. package/dist/aws-sdk-react-native.js +13 -13
  30. package/dist/aws-sdk.js +664 -209
  31. package/dist/aws-sdk.min.js +89 -89
  32. package/lib/core.js +1 -1
  33. package/package.json +1 -1
@@ -390,7 +390,7 @@ declare namespace PaymentCryptographyData {
390
390
  /**
391
391
  * The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
392
392
  */
393
- KeyCheckValue: KeyCheckValue;
393
+ KeyCheckValue?: KeyCheckValue;
394
394
  }
395
395
  export interface EncryptionDecryptionAttributes {
396
396
  Asymmetric?: AsymmetricEncryptionAttributes;
@@ -449,7 +449,7 @@ declare namespace PaymentCryptographyData {
449
449
  /**
450
450
  * The data for which a MAC is under generation.
451
451
  */
452
- MessageData: HexLengthBetween2And4096;
452
+ MessageData: HexEvenLengthBetween2And4096;
453
453
  }
454
454
  export interface GenerateMacOutput {
455
455
  /**
@@ -517,8 +517,11 @@ declare namespace PaymentCryptographyData {
517
517
  */
518
518
  PinData: PinData;
519
519
  }
520
+ export type HexEvenLengthBetween16And32 = string;
520
521
  export type HexEvenLengthBetween16And4064 = string;
521
522
  export type HexEvenLengthBetween16And4096 = string;
523
+ export type HexEvenLengthBetween2And4096 = string;
524
+ export type HexEvenLengthBetween4And128 = string;
522
525
  export type HexLength16Or32 = string;
523
526
  export type HexLengthBetween10And24 = string;
524
527
  export type HexLengthBetween16And32 = string;
@@ -526,7 +529,6 @@ declare namespace PaymentCryptographyData {
526
529
  export type HexLengthBetween2And1024 = string;
527
530
  export type HexLengthBetween2And160 = string;
528
531
  export type HexLengthBetween2And4 = string;
529
- export type HexLengthBetween2And4096 = string;
530
532
  export type HexLengthBetween2And8 = string;
531
533
  export type HexLengthBetween4And128 = string;
532
534
  export type HexLengthEquals1 = string;
@@ -898,7 +900,7 @@ declare namespace PaymentCryptographyData {
898
900
  /**
899
901
  * The encrypted PIN block data that Amazon Web Services Payment Cryptography translates.
900
902
  */
901
- EncryptedPinBlock: HexLengthBetween16And32;
903
+ EncryptedPinBlock: HexEvenLengthBetween16And32;
902
904
  /**
903
905
  * The attributes and values to use for incoming DUKPT encryption key for PIN block tranlation.
904
906
  */
@@ -1040,7 +1042,7 @@ declare namespace PaymentCryptographyData {
1040
1042
  /**
1041
1043
  * The MAC being verified.
1042
1044
  */
1043
- Mac: HexLengthBetween4And128;
1045
+ Mac: HexEvenLengthBetween4And128;
1044
1046
  /**
1045
1047
  * The length of the MAC.
1046
1048
  */
@@ -1048,7 +1050,7 @@ declare namespace PaymentCryptographyData {
1048
1050
  /**
1049
1051
  * The data on for which MAC is under verification.
1050
1052
  */
1051
- MessageData: HexLengthBetween2And4096;
1053
+ MessageData: HexEvenLengthBetween2And4096;
1052
1054
  /**
1053
1055
  * The attributes and data values to use for MAC verification within Amazon Web Services Payment Cryptography.
1054
1056
  */
@@ -4,6 +4,7 @@ import {AWSError} from '../lib/error';
4
4
  import {Service} from '../lib/service';
5
5
  import {ServiceConfigurationOptions} from '../lib/service';
6
6
  import {ConfigBase as Config} from '../lib/config-base';
7
+ import {EventStream} from '../lib/event-stream/event-stream';
7
8
  interface Blob {}
8
9
  declare class SageMakerRuntime extends Service {
9
10
  /**
@@ -20,26 +21,38 @@ declare class SageMakerRuntime extends Service {
20
21
  */
21
22
  invokeEndpoint(callback?: (err: AWSError, data: SageMakerRuntime.Types.InvokeEndpointOutput) => void): Request<SageMakerRuntime.Types.InvokeEndpointOutput, AWSError>;
22
23
  /**
23
- * After you deploy a model into production using Amazon SageMaker hosting services, your client applications use this API to get inferences from the model hosted at the specified endpoint in an asynchronous manner. Inference requests sent to this API are enqueued for asynchronous processing. The processing of the inference request may or may not complete before you receive a response from this API. The response from this API will not contain the result of the inference request but contain information about where you can locate it. Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add additional headers. You should not rely on the behavior of headers outside those enumerated in the request syntax. Calls to InvokeEndpointAsync are authenticated by using Amazon Web Services Signature Version 4. For information, see Authenticating Requests (Amazon Web Services Signature Version 4) in the Amazon S3 API Reference.
24
+ * After you deploy a model into production using Amazon SageMaker hosting services, your client applications use this API to get inferences from the model hosted at the specified endpoint in an asynchronous manner. Inference requests sent to this API are enqueued for asynchronous processing. The processing of the inference request may or may not complete before you receive a response from this API. The response from this API will not contain the result of the inference request but contain information about where you can locate it. Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add additional headers. You should not rely on the behavior of headers outside those enumerated in the request syntax. Calls to InvokeEndpointAsync are authenticated by using Amazon Web Services Signature Version 4. For information, see Authenticating Requests (Amazon Web Services Signature Version 4) in the Amazon S3 API Reference.
24
25
  */
25
26
  invokeEndpointAsync(params: SageMakerRuntime.Types.InvokeEndpointAsyncInput, callback?: (err: AWSError, data: SageMakerRuntime.Types.InvokeEndpointAsyncOutput) => void): Request<SageMakerRuntime.Types.InvokeEndpointAsyncOutput, AWSError>;
26
27
  /**
27
- * After you deploy a model into production using Amazon SageMaker hosting services, your client applications use this API to get inferences from the model hosted at the specified endpoint in an asynchronous manner. Inference requests sent to this API are enqueued for asynchronous processing. The processing of the inference request may or may not complete before you receive a response from this API. The response from this API will not contain the result of the inference request but contain information about where you can locate it. Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add additional headers. You should not rely on the behavior of headers outside those enumerated in the request syntax. Calls to InvokeEndpointAsync are authenticated by using Amazon Web Services Signature Version 4. For information, see Authenticating Requests (Amazon Web Services Signature Version 4) in the Amazon S3 API Reference.
28
+ * After you deploy a model into production using Amazon SageMaker hosting services, your client applications use this API to get inferences from the model hosted at the specified endpoint in an asynchronous manner. Inference requests sent to this API are enqueued for asynchronous processing. The processing of the inference request may or may not complete before you receive a response from this API. The response from this API will not contain the result of the inference request but contain information about where you can locate it. Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add additional headers. You should not rely on the behavior of headers outside those enumerated in the request syntax. Calls to InvokeEndpointAsync are authenticated by using Amazon Web Services Signature Version 4. For information, see Authenticating Requests (Amazon Web Services Signature Version 4) in the Amazon S3 API Reference.
28
29
  */
29
30
  invokeEndpointAsync(callback?: (err: AWSError, data: SageMakerRuntime.Types.InvokeEndpointAsyncOutput) => void): Request<SageMakerRuntime.Types.InvokeEndpointAsyncOutput, AWSError>;
31
+ /**
32
+ * Invokes a model at the specified endpoint to return the inference response as a stream. The inference stream provides the response payload incrementally as a series of parts. Before you can get an inference stream, you must have access to a model that's deployed using Amazon SageMaker hosting services, and the container for that model must support inference streaming. For more information that can help you use this API, see the following sections in the Amazon SageMaker Developer Guide: For information about how to add streaming support to a model, see How Containers Serve Requests. For information about how to process the streaming response, see Invoke real-time endpoints. Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add additional headers. You should not rely on the behavior of headers outside those enumerated in the request syntax. Calls to InvokeEndpointWithResponseStream are authenticated by using Amazon Web Services Signature Version 4. For information, see Authenticating Requests (Amazon Web Services Signature Version 4) in the Amazon S3 API Reference.
33
+ */
34
+ invokeEndpointWithResponseStream(params: SageMakerRuntime.Types.InvokeEndpointWithResponseStreamInput, callback?: (err: AWSError, data: SageMakerRuntime.Types.InvokeEndpointWithResponseStreamOutput) => void): Request<SageMakerRuntime.Types.InvokeEndpointWithResponseStreamOutput, AWSError>;
35
+ /**
36
+ * Invokes a model at the specified endpoint to return the inference response as a stream. The inference stream provides the response payload incrementally as a series of parts. Before you can get an inference stream, you must have access to a model that's deployed using Amazon SageMaker hosting services, and the container for that model must support inference streaming. For more information that can help you use this API, see the following sections in the Amazon SageMaker Developer Guide: For information about how to add streaming support to a model, see How Containers Serve Requests. For information about how to process the streaming response, see Invoke real-time endpoints. Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add additional headers. You should not rely on the behavior of headers outside those enumerated in the request syntax. Calls to InvokeEndpointWithResponseStream are authenticated by using Amazon Web Services Signature Version 4. For information, see Authenticating Requests (Amazon Web Services Signature Version 4) in the Amazon S3 API Reference.
37
+ */
38
+ invokeEndpointWithResponseStream(callback?: (err: AWSError, data: SageMakerRuntime.Types.InvokeEndpointWithResponseStreamOutput) => void): Request<SageMakerRuntime.Types.InvokeEndpointWithResponseStreamOutput, AWSError>;
30
39
  }
31
40
  declare namespace SageMakerRuntime {
32
41
  export type BodyBlob = Buffer|Uint8Array|Blob|string;
33
42
  export type CustomAttributesHeader = string;
34
43
  export type EnableExplanationsHeader = string;
35
44
  export type EndpointName = string;
45
+ export type ErrorCode = string;
36
46
  export type Header = string;
37
47
  export type InferenceId = string;
38
48
  export type InputLocationHeader = string;
49
+ export interface InternalStreamFailure {
50
+ Message?: Message;
51
+ }
39
52
  export type InvocationTimeoutSecondsHeader = number;
40
53
  export interface InvokeEndpointAsyncInput {
41
54
  /**
42
- * The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API.
55
+ * The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API.
43
56
  */
44
57
  EndpointName: EndpointName;
45
58
  /**
@@ -47,7 +60,7 @@ declare namespace SageMakerRuntime {
47
60
  */
48
61
  ContentType?: Header;
49
62
  /**
50
- * The desired MIME type of the inference in the response.
63
+ * The desired MIME type of the inference response from the model container.
51
64
  */
52
65
  Accept?: Header;
53
66
  /**
@@ -87,7 +100,7 @@ declare namespace SageMakerRuntime {
87
100
  }
88
101
  export interface InvokeEndpointInput {
89
102
  /**
90
- * The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API.
103
+ * The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API.
91
104
  */
92
105
  EndpointName: EndpointName;
93
106
  /**
@@ -99,11 +112,11 @@ declare namespace SageMakerRuntime {
99
112
  */
100
113
  ContentType?: Header;
101
114
  /**
102
- * The desired MIME type of the inference in the response.
115
+ * The desired MIME type of the inference response from the model container.
103
116
  */
104
117
  Accept?: Header;
105
118
  /**
106
- * Provides additional information about a request for an inference submitted to a model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded verbatim. You could use this value, for example, to provide an ID that you can use to track a request or to provide other metadata that a service endpoint was programmed to process. The value must consist of no more than 1024 visible US-ASCII characters as specified in Section 3.3.6. Field Value Components of the Hypertext Transfer Protocol (HTTP/1.1). The code in your model is responsible for setting or updating any custom attributes in the response. If your code does not set this value in the response, an empty value is returned. For example, if a custom attribute represents the trace ID, your model can prepend the custom attribute with Trace ID: in your post-processing function. This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python SDK.
119
+ * Provides additional information about a request for an inference submitted to a model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded verbatim. You could use this value, for example, to provide an ID that you can use to track a request or to provide other metadata that a service endpoint was programmed to process. The value must consist of no more than 1024 visible US-ASCII characters as specified in Section 3.3.6. Field Value Components of the Hypertext Transfer Protocol (HTTP/1.1). The code in your model is responsible for setting or updating any custom attributes in the response. If your code does not set this value in the response, an empty value is returned. For example, if a custom attribute represents the trace ID, your model can prepend the custom attribute with Trace ID: in your post-processing function. This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python SDK.
107
120
  */
108
121
  CustomAttributes?: CustomAttributesHeader;
109
122
  /**
@@ -133,7 +146,56 @@ declare namespace SageMakerRuntime {
133
146
  */
134
147
  Body: BodyBlob;
135
148
  /**
136
- * The MIME type of the inference returned in the response body.
149
+ * The MIME type of the inference returned from the model container.
150
+ */
151
+ ContentType?: Header;
152
+ /**
153
+ * Identifies the production variant that was invoked.
154
+ */
155
+ InvokedProductionVariant?: Header;
156
+ /**
157
+ * Provides additional information in the response about the inference returned by a model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded verbatim. You could use this value, for example, to return an ID received in the CustomAttributes header of a request or other metadata that a service endpoint was programmed to produce. The value must consist of no more than 1024 visible US-ASCII characters as specified in Section 3.3.6. Field Value Components of the Hypertext Transfer Protocol (HTTP/1.1). If the customer wants the custom attribute returned, the model must set the custom attribute to be included on the way back. The code in your model is responsible for setting or updating any custom attributes in the response. If your code does not set this value in the response, an empty value is returned. For example, if a custom attribute represents the trace ID, your model can prepend the custom attribute with Trace ID: in your post-processing function. This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python SDK.
158
+ */
159
+ CustomAttributes?: CustomAttributesHeader;
160
+ }
161
+ export interface InvokeEndpointWithResponseStreamInput {
162
+ /**
163
+ * The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API.
164
+ */
165
+ EndpointName: EndpointName;
166
+ /**
167
+ * Provides input data, in the format specified in the ContentType request header. Amazon SageMaker passes all of the data in the body to the model. For information about the format of the request body, see Common Data Formats-Inference.
168
+ */
169
+ Body: BodyBlob;
170
+ /**
171
+ * The MIME type of the input data in the request body.
172
+ */
173
+ ContentType?: Header;
174
+ /**
175
+ * The desired MIME type of the inference response from the model container.
176
+ */
177
+ Accept?: Header;
178
+ /**
179
+ * Provides additional information about a request for an inference submitted to a model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded verbatim. You could use this value, for example, to provide an ID that you can use to track a request or to provide other metadata that a service endpoint was programmed to process. The value must consist of no more than 1024 visible US-ASCII characters as specified in Section 3.3.6. Field Value Components of the Hypertext Transfer Protocol (HTTP/1.1). The code in your model is responsible for setting or updating any custom attributes in the response. If your code does not set this value in the response, an empty value is returned. For example, if a custom attribute represents the trace ID, your model can prepend the custom attribute with Trace ID: in your post-processing function. This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python SDK.
180
+ */
181
+ CustomAttributes?: CustomAttributesHeader;
182
+ /**
183
+ * Specify the production variant to send the inference request to when invoking an endpoint that is running two or more variants. Note that this parameter overrides the default behavior for the endpoint, which is to distribute the invocation traffic based on the variant weights. For information about how to use variant targeting to perform a/b testing, see Test models in production
184
+ */
185
+ TargetVariant?: TargetVariantHeader;
186
+ /**
187
+ * If the endpoint hosts multiple containers and is configured to use direct invocation, this parameter specifies the host name of the container to invoke.
188
+ */
189
+ TargetContainerHostname?: TargetContainerHostnameHeader;
190
+ /**
191
+ * An identifier that you assign to your request.
192
+ */
193
+ InferenceId?: InferenceId;
194
+ }
195
+ export interface InvokeEndpointWithResponseStreamOutput {
196
+ Body: ResponseStream;
197
+ /**
198
+ * The MIME type of the inference returned from the model container.
137
199
  */
138
200
  ContentType?: Header;
139
201
  /**
@@ -145,7 +207,23 @@ declare namespace SageMakerRuntime {
145
207
  */
146
208
  CustomAttributes?: CustomAttributesHeader;
147
209
  }
210
+ export type Message = string;
211
+ export interface ModelStreamError {
212
+ Message?: Message;
213
+ /**
214
+ * This error can have the following error codes: ModelInvocationTimeExceeded The model failed to finish sending the response within the timeout period allowed by Amazon SageMaker. StreamBroken The Transmission Control Protocol (TCP) connection between the client and the model was reset or closed.
215
+ */
216
+ ErrorCode?: ErrorCode;
217
+ }
218
+ export type PartBlob = Buffer|Uint8Array|Blob|string;
219
+ export interface PayloadPart {
220
+ /**
221
+ * A blob that contains part of the response for your streaming inference request.
222
+ */
223
+ Bytes?: Buffer;
224
+ }
148
225
  export type RequestTTLSecondsHeader = number;
226
+ export type ResponseStream = EventStream<{PayloadPart?:PayloadPart,ModelStreamError?:ModelStreamError,InternalStreamFailure?:InternalStreamFailure}>;
149
227
  export type TargetContainerHostnameHeader = string;
150
228
  export type TargetModelHeader = string;
151
229
  export type TargetVariantHeader = string;
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1448.0',
86
+ VERSION: '2.1450.0',
87
87
 
88
88
  /**
89
89
  * @api private