aws-sdk 2.849.0 → 2.853.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.
- package/CHANGELOG.md +27 -1
- package/README.md +1 -1
- package/apis/appflow-2020-08-23.min.json +123 -66
- package/apis/autoscaling-2011-01-01.min.json +20 -15
- package/apis/databrew-2017-07-25.min.json +87 -77
- package/apis/detective-2018-10-26.min.json +26 -19
- package/apis/ecr-public-2020-10-30.min.json +82 -11
- package/apis/eks-2017-11-01.min.json +154 -122
- package/apis/elasticmapreduce-2009-03-31.min.json +19 -1
- package/apis/es-2015-01-01.min.json +192 -57
- package/apis/es-2015-01-01.paginators.json +5 -0
- package/apis/glue-2017-03-31.min.json +72 -69
- package/apis/imagebuilder-2019-12-02.min.json +96 -56
- package/apis/imagebuilder-2019-12-02.paginators.json +6 -0
- package/apis/iotevents-2018-07-27.min.json +102 -3
- package/apis/mediapackage-vod-2018-11-07.min.json +153 -76
- package/apis/pinpoint-2016-12-01.min.json +9 -3
- package/apis/redshift-data-2019-12-20.min.json +5 -1
- package/apis/s3-2006-03-01.examples.json +109 -109
- package/apis/s3-2006-03-01.min.json +8 -0
- package/clients/appflow.d.ts +33 -1
- package/clients/autoscaling.d.ts +16 -2
- package/clients/computeoptimizer.d.ts +5 -5
- package/clients/databrew.d.ts +26 -0
- package/clients/detective.d.ts +20 -11
- package/clients/ecrpublic.d.ts +78 -0
- package/clients/eks.d.ts +29 -4
- package/clients/emr.d.ts +80 -50
- package/clients/es.d.ts +186 -0
- package/clients/glue.d.ts +6 -4
- package/clients/imagebuilder.d.ts +63 -2
- package/clients/iotevents.d.ts +130 -28
- package/clients/lightsail.d.ts +2 -2
- package/clients/mediapackagevod.d.ts +43 -0
- package/clients/pinpoint.d.ts +24 -0
- package/clients/quicksight.d.ts +5 -5
- package/clients/redshiftdata.d.ts +16 -4
- package/clients/s3.d.ts +40 -38
- package/clients/s3control.d.ts +4 -4
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +35 -21
- package/dist/aws-sdk.js +67 -22
- package/dist/aws-sdk.min.js +82 -82
- package/lib/core.js +1 -1
- package/lib/services/s3.js +13 -1
- package/lib/services/s3util.js +4 -2
- package/package.json +1 -1
- package/scripts/region-checker/allowlist.js +6 -6
|
@@ -92,11 +92,11 @@ declare class ComputeOptimizer extends Service {
|
|
|
92
92
|
*/
|
|
93
93
|
getRecommendationSummaries(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetRecommendationSummariesResponse) => void): Request<ComputeOptimizer.Types.GetRecommendationSummariesResponse, AWSError>;
|
|
94
94
|
/**
|
|
95
|
-
* Updates the enrollment (opt in) status of an account to the AWS Compute Optimizer service. If the account is a management account of an organization, this action can also be used to enroll member accounts within the organization.
|
|
95
|
+
* Updates the enrollment (opt in and opt out) status of an account to the AWS Compute Optimizer service. If the account is a management account of an organization, this action can also be used to enroll member accounts within the organization. You must have the appropriate permissions to opt in to Compute Optimizer, to view its recommendations, and to opt out. For more information, see Controlling access with AWS Identity and Access Management in the Compute Optimizer User Guide. When you opt in, Compute Optimizer automatically creates a Service-Linked Role in your account to access its data. For more information, see Using Service-Linked Roles for AWS Compute Optimizer in the Compute Optimizer User Guide.
|
|
96
96
|
*/
|
|
97
97
|
updateEnrollmentStatus(params: ComputeOptimizer.Types.UpdateEnrollmentStatusRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.UpdateEnrollmentStatusResponse) => void): Request<ComputeOptimizer.Types.UpdateEnrollmentStatusResponse, AWSError>;
|
|
98
98
|
/**
|
|
99
|
-
* Updates the enrollment (opt in) status of an account to the AWS Compute Optimizer service. If the account is a management account of an organization, this action can also be used to enroll member accounts within the organization.
|
|
99
|
+
* Updates the enrollment (opt in and opt out) status of an account to the AWS Compute Optimizer service. If the account is a management account of an organization, this action can also be used to enroll member accounts within the organization. You must have the appropriate permissions to opt in to Compute Optimizer, to view its recommendations, and to opt out. For more information, see Controlling access with AWS Identity and Access Management in the Compute Optimizer User Guide. When you opt in, Compute Optimizer automatically creates a Service-Linked Role in your account to access its data. For more information, see Using Service-Linked Roles for AWS Compute Optimizer in the Compute Optimizer User Guide.
|
|
100
100
|
*/
|
|
101
101
|
updateEnrollmentStatus(callback?: (err: AWSError, data: ComputeOptimizer.Types.UpdateEnrollmentStatusResponse) => void): Request<ComputeOptimizer.Types.UpdateEnrollmentStatusResponse, AWSError>;
|
|
102
102
|
}
|
|
@@ -752,7 +752,7 @@ declare namespace ComputeOptimizer {
|
|
|
752
752
|
export type LambdaFunctionRecommendations = LambdaFunctionRecommendation[];
|
|
753
753
|
export interface LambdaFunctionUtilizationMetric {
|
|
754
754
|
/**
|
|
755
|
-
* The name of the utilization metric.
|
|
755
|
+
* The name of the utilization metric. The following utilization metrics are available: Duration - The amount of time that your function code spends processing an event. Memory - The amount of memory used per invocation.
|
|
756
756
|
*/
|
|
757
757
|
name?: LambdaFunctionMetricName;
|
|
758
758
|
/**
|
|
@@ -934,11 +934,11 @@ declare namespace ComputeOptimizer {
|
|
|
934
934
|
export type Timestamps = Timestamp[];
|
|
935
935
|
export interface UpdateEnrollmentStatusRequest {
|
|
936
936
|
/**
|
|
937
|
-
* The new enrollment status of the account.
|
|
937
|
+
* The new enrollment status of the account. The following status options are available: Active - Opts in your account to the Compute Optimizer service. Compute Optimizer begins analyzing the configuration and utilization metrics of your AWS resources after you opt in. For more information, see Metrics analyzed by AWS Compute Optimizer in the Compute Optimizer User Guide. Inactive - Opts out your account from the Compute Optimizer service. Your account's recommendations and related metrics data will be deleted from Compute Optimizer after you opt out. The Pending and Failed options cannot be used to update the enrollment status of an account. They are returned in the response of a request to update the enrollment status of an account.
|
|
938
938
|
*/
|
|
939
939
|
status: Status;
|
|
940
940
|
/**
|
|
941
|
-
* Indicates whether to enroll member accounts of the organization if the
|
|
941
|
+
* Indicates whether to enroll member accounts of the organization if the account is the management account of an organization.
|
|
942
942
|
*/
|
|
943
943
|
includeMemberAccounts?: IncludeMemberAccounts;
|
|
944
944
|
}
|
package/clients/databrew.d.ts
CHANGED
|
@@ -379,6 +379,10 @@ declare namespace DataBrew {
|
|
|
379
379
|
* The name of the dataset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
|
|
380
380
|
*/
|
|
381
381
|
Name: DatasetName;
|
|
382
|
+
/**
|
|
383
|
+
* Specifies the file format of a dataset created from an S3 file or folder.
|
|
384
|
+
*/
|
|
385
|
+
Format?: InputFormat;
|
|
382
386
|
FormatOptions?: FormatOptions;
|
|
383
387
|
Input: Input;
|
|
384
388
|
/**
|
|
@@ -586,6 +590,10 @@ declare namespace DataBrew {
|
|
|
586
590
|
* A single character that specifies the delimiter being used in the Csv file.
|
|
587
591
|
*/
|
|
588
592
|
Delimiter?: Delimiter;
|
|
593
|
+
/**
|
|
594
|
+
* A variable that specifies whether the first row in the file will be parsed as the header. If false, column names will be auto-generated.
|
|
595
|
+
*/
|
|
596
|
+
HeaderRow?: HeaderRow;
|
|
589
597
|
}
|
|
590
598
|
export interface CsvOutputOptions {
|
|
591
599
|
/**
|
|
@@ -629,6 +637,10 @@ declare namespace DataBrew {
|
|
|
629
637
|
* The unique name of the dataset.
|
|
630
638
|
*/
|
|
631
639
|
Name: DatasetName;
|
|
640
|
+
/**
|
|
641
|
+
* Specifies the file format of a dataset created from an S3 file or folder.
|
|
642
|
+
*/
|
|
643
|
+
Format?: InputFormat;
|
|
632
644
|
/**
|
|
633
645
|
* Options that define how DataBrew interprets the data in the dataset.
|
|
634
646
|
*/
|
|
@@ -749,6 +761,10 @@ declare namespace DataBrew {
|
|
|
749
761
|
* The name of the dataset.
|
|
750
762
|
*/
|
|
751
763
|
Name: DatasetName;
|
|
764
|
+
/**
|
|
765
|
+
* Specifies the file format of a dataset created from an S3 file or folder.
|
|
766
|
+
*/
|
|
767
|
+
Format?: InputFormat;
|
|
752
768
|
FormatOptions?: FormatOptions;
|
|
753
769
|
Input: Input;
|
|
754
770
|
/**
|
|
@@ -1107,6 +1123,10 @@ declare namespace DataBrew {
|
|
|
1107
1123
|
* Specifies one or more sheet numbers in the Excel file, which will be included in the dataset.
|
|
1108
1124
|
*/
|
|
1109
1125
|
SheetIndexes?: SheetIndexList;
|
|
1126
|
+
/**
|
|
1127
|
+
* A variable that specifies whether the first row in the file will be parsed as the header. If false, column names will be auto-generated.
|
|
1128
|
+
*/
|
|
1129
|
+
HeaderRow?: HeaderRow;
|
|
1110
1130
|
}
|
|
1111
1131
|
export type ExecutionTime = number;
|
|
1112
1132
|
export interface FormatOptions {
|
|
@@ -1123,6 +1143,7 @@ declare namespace DataBrew {
|
|
|
1123
1143
|
*/
|
|
1124
1144
|
Csv?: CsvOptions;
|
|
1125
1145
|
}
|
|
1146
|
+
export type HeaderRow = boolean;
|
|
1126
1147
|
export type HiddenColumnList = ColumnName[];
|
|
1127
1148
|
export interface Input {
|
|
1128
1149
|
/**
|
|
@@ -1134,6 +1155,7 @@ declare namespace DataBrew {
|
|
|
1134
1155
|
*/
|
|
1135
1156
|
DataCatalogInputDefinition?: DataCatalogInputDefinition;
|
|
1136
1157
|
}
|
|
1158
|
+
export type InputFormat = "CSV"|"JSON"|"PARQUET"|"EXCEL"|string;
|
|
1137
1159
|
export interface Job {
|
|
1138
1160
|
/**
|
|
1139
1161
|
* The ID of the AWS account that owns the job.
|
|
@@ -1911,6 +1933,10 @@ declare namespace DataBrew {
|
|
|
1911
1933
|
* The name of the dataset to be updated.
|
|
1912
1934
|
*/
|
|
1913
1935
|
Name: DatasetName;
|
|
1936
|
+
/**
|
|
1937
|
+
* Specifies the file format of a dataset created from an S3 file or folder.
|
|
1938
|
+
*/
|
|
1939
|
+
Format?: InputFormat;
|
|
1914
1940
|
FormatOptions?: FormatOptions;
|
|
1915
1941
|
Input: Input;
|
|
1916
1942
|
}
|
package/clients/detective.d.ts
CHANGED
|
@@ -20,31 +20,31 @@ declare class Detective extends Service {
|
|
|
20
20
|
*/
|
|
21
21
|
acceptInvitation(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
22
22
|
/**
|
|
23
|
-
* Creates a new behavior graph for the calling account, and sets that account as the
|
|
23
|
+
* Creates a new behavior graph for the calling account, and sets that account as the administrator account. This operation is called by the account that is enabling Detective. Before you try to enable Detective, make sure that your account has been enrolled in Amazon GuardDuty for at least 48 hours. If you do not meet this requirement, you cannot enable Detective. If you do meet the GuardDuty prerequisite, then when you make the request to enable Detective, it checks whether your data volume is within the Detective quota. If it exceeds the quota, then you cannot enable Detective. The operation also enables Detective for the calling account in the currently selected Region. It returns the ARN of the new behavior graph. CreateGraph triggers a process to create the corresponding data tables for the new behavior graph. An account can only be the administrator account for one behavior graph within a Region. If the same account calls CreateGraph with the same administrator account, it always returns the same behavior graph ARN. It does not create a new behavior graph.
|
|
24
24
|
*/
|
|
25
25
|
createGraph(callback?: (err: AWSError, data: Detective.Types.CreateGraphResponse) => void): Request<Detective.Types.CreateGraphResponse, AWSError>;
|
|
26
26
|
/**
|
|
27
|
-
* Sends a request to invite the specified AWS accounts to be member accounts in the behavior graph. This operation can only be called by the
|
|
27
|
+
* Sends a request to invite the specified AWS accounts to be member accounts in the behavior graph. This operation can only be called by the administrator account for a behavior graph. CreateMembers verifies the accounts and then invites the verified accounts. The administrator can optionally specify to not send invitation emails to the member accounts. This would be used when the administrator manages their member accounts centrally. The request provides the behavior graph ARN and the list of accounts to invite. The response separates the requested accounts into two lists: The accounts that CreateMembers was able to start the verification for. This list includes member accounts that are being verified, that have passed verification and are to be invited, and that have failed verification. The accounts that CreateMembers was unable to process. This list includes accounts that were already invited to be member accounts in the behavior graph.
|
|
28
28
|
*/
|
|
29
29
|
createMembers(params: Detective.Types.CreateMembersRequest, callback?: (err: AWSError, data: Detective.Types.CreateMembersResponse) => void): Request<Detective.Types.CreateMembersResponse, AWSError>;
|
|
30
30
|
/**
|
|
31
|
-
* Sends a request to invite the specified AWS accounts to be member accounts in the behavior graph. This operation can only be called by the
|
|
31
|
+
* Sends a request to invite the specified AWS accounts to be member accounts in the behavior graph. This operation can only be called by the administrator account for a behavior graph. CreateMembers verifies the accounts and then invites the verified accounts. The administrator can optionally specify to not send invitation emails to the member accounts. This would be used when the administrator manages their member accounts centrally. The request provides the behavior graph ARN and the list of accounts to invite. The response separates the requested accounts into two lists: The accounts that CreateMembers was able to start the verification for. This list includes member accounts that are being verified, that have passed verification and are to be invited, and that have failed verification. The accounts that CreateMembers was unable to process. This list includes accounts that were already invited to be member accounts in the behavior graph.
|
|
32
32
|
*/
|
|
33
33
|
createMembers(callback?: (err: AWSError, data: Detective.Types.CreateMembersResponse) => void): Request<Detective.Types.CreateMembersResponse, AWSError>;
|
|
34
34
|
/**
|
|
35
|
-
* Disables the specified behavior graph and queues it to be deleted. This operation removes the graph from each member account's list of behavior graphs. DeleteGraph can only be called by the
|
|
35
|
+
* Disables the specified behavior graph and queues it to be deleted. This operation removes the graph from each member account's list of behavior graphs. DeleteGraph can only be called by the administrator account for a behavior graph.
|
|
36
36
|
*/
|
|
37
37
|
deleteGraph(params: Detective.Types.DeleteGraphRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
38
38
|
/**
|
|
39
|
-
* Disables the specified behavior graph and queues it to be deleted. This operation removes the graph from each member account's list of behavior graphs. DeleteGraph can only be called by the
|
|
39
|
+
* Disables the specified behavior graph and queues it to be deleted. This operation removes the graph from each member account's list of behavior graphs. DeleteGraph can only be called by the administrator account for a behavior graph.
|
|
40
40
|
*/
|
|
41
41
|
deleteGraph(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
42
42
|
/**
|
|
43
|
-
* Deletes one or more member accounts from the
|
|
43
|
+
* Deletes one or more member accounts from the administrator account's behavior graph. This operation can only be called by a Detective administrator account. That account cannot use DeleteMembers to delete their own account from the behavior graph. To disable a behavior graph, the administrator account uses the DeleteGraph API method.
|
|
44
44
|
*/
|
|
45
45
|
deleteMembers(params: Detective.Types.DeleteMembersRequest, callback?: (err: AWSError, data: Detective.Types.DeleteMembersResponse) => void): Request<Detective.Types.DeleteMembersResponse, AWSError>;
|
|
46
46
|
/**
|
|
47
|
-
* Deletes one or more member accounts from the
|
|
47
|
+
* Deletes one or more member accounts from the administrator account's behavior graph. This operation can only be called by a Detective administrator account. That account cannot use DeleteMembers to delete their own account from the behavior graph. To disable a behavior graph, the administrator account uses the DeleteGraph API method.
|
|
48
48
|
*/
|
|
49
49
|
deleteMembers(callback?: (err: AWSError, data: Detective.Types.DeleteMembersResponse) => void): Request<Detective.Types.DeleteMembersResponse, AWSError>;
|
|
50
50
|
/**
|
|
@@ -64,11 +64,11 @@ declare class Detective extends Service {
|
|
|
64
64
|
*/
|
|
65
65
|
getMembers(callback?: (err: AWSError, data: Detective.Types.GetMembersResponse) => void): Request<Detective.Types.GetMembersResponse, AWSError>;
|
|
66
66
|
/**
|
|
67
|
-
* Returns the list of behavior graphs that the calling account is
|
|
67
|
+
* Returns the list of behavior graphs that the calling account is an administrator account of. This operation can only be called by an administrator account. Because an account can currently only be the administrator of one behavior graph within a Region, the results always contain a single behavior graph.
|
|
68
68
|
*/
|
|
69
69
|
listGraphs(params: Detective.Types.ListGraphsRequest, callback?: (err: AWSError, data: Detective.Types.ListGraphsResponse) => void): Request<Detective.Types.ListGraphsResponse, AWSError>;
|
|
70
70
|
/**
|
|
71
|
-
* Returns the list of behavior graphs that the calling account is
|
|
71
|
+
* Returns the list of behavior graphs that the calling account is an administrator account of. This operation can only be called by an administrator account. Because an account can currently only be the administrator of one behavior graph within a Region, the results always contain a single behavior graph.
|
|
72
72
|
*/
|
|
73
73
|
listGraphs(callback?: (err: AWSError, data: Detective.Types.ListGraphsResponse) => void): Request<Detective.Types.ListGraphsResponse, AWSError>;
|
|
74
74
|
/**
|
|
@@ -124,6 +124,7 @@ declare namespace Detective {
|
|
|
124
124
|
export type AccountId = string;
|
|
125
125
|
export type AccountIdList = AccountId[];
|
|
126
126
|
export type AccountList = Account[];
|
|
127
|
+
export type Boolean = boolean;
|
|
127
128
|
export interface CreateGraphResponse {
|
|
128
129
|
/**
|
|
129
130
|
* The ARN of the new behavior graph.
|
|
@@ -139,6 +140,10 @@ declare namespace Detective {
|
|
|
139
140
|
* Customized message text to include in the invitation email message to the invited member accounts.
|
|
140
141
|
*/
|
|
141
142
|
Message?: EmailMessage;
|
|
143
|
+
/**
|
|
144
|
+
* if set to true, then the member accounts do not receive email notifications. By default, this is set to false, and the member accounts receive email notifications.
|
|
145
|
+
*/
|
|
146
|
+
DisableEmailNotification?: Boolean;
|
|
142
147
|
/**
|
|
143
148
|
* The list of AWS accounts to invite to become member accounts in the behavior graph. For each invited account, the account list contains the account identifier and the AWS account root user email address.
|
|
144
149
|
*/
|
|
@@ -232,7 +237,7 @@ declare namespace Detective {
|
|
|
232
237
|
}
|
|
233
238
|
export interface ListGraphsResponse {
|
|
234
239
|
/**
|
|
235
|
-
* A list of behavior graphs that the account is
|
|
240
|
+
* A list of behavior graphs that the account is an administrator account for.
|
|
236
241
|
*/
|
|
237
242
|
GraphList?: GraphList;
|
|
238
243
|
/**
|
|
@@ -298,9 +303,13 @@ declare namespace Detective {
|
|
|
298
303
|
*/
|
|
299
304
|
GraphArn?: GraphArn;
|
|
300
305
|
/**
|
|
301
|
-
* The AWS account identifier of the
|
|
306
|
+
* Deprecated. Instead of MasterId, use AdministratorId. The AWS account identifier of the administrator account for the behavior graph.
|
|
302
307
|
*/
|
|
303
308
|
MasterId?: AccountId;
|
|
309
|
+
/**
|
|
310
|
+
* The AWS account identifier of the administrator account for the behavior graph.
|
|
311
|
+
*/
|
|
312
|
+
AdministratorId?: AccountId;
|
|
304
313
|
/**
|
|
305
314
|
* The current membership status of the member account. The status can have one of the following values: INVITED - Indicates that the member was sent an invitation but has not yet responded. VERIFICATION_IN_PROGRESS - Indicates that Detective is verifying that the account identifier and email address provided for the member account match. If they do match, then Detective sends the invitation. If the email address and account identifier don't match, then the member cannot be added to the behavior graph. VERIFICATION_FAILED - Indicates that the account and email address provided for the member account do not match, and Detective did not send an invitation to the account. ENABLED - Indicates that the member account accepted the invitation to contribute to the behavior graph. ACCEPTED_BUT_DISABLED - Indicates that the member account accepted the invitation but is prevented from contributing data to the behavior graph. DisabledReason provides the reason why the member account is not enabled. Member accounts that declined an invitation or that were removed from the behavior graph are not included.
|
|
306
315
|
*/
|
package/clients/ecrpublic.d.ts
CHANGED
|
@@ -131,6 +131,14 @@ declare class ECRPUBLIC extends Service {
|
|
|
131
131
|
* Notifies Amazon ECR that you intend to upload an image layer. When an image is pushed, the InitiateLayerUpload API is called once per image layer that has not already been uploaded. Whether or not an image layer has been uploaded is determined by the BatchCheckLayerAvailability API action. This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
|
|
132
132
|
*/
|
|
133
133
|
initiateLayerUpload(callback?: (err: AWSError, data: ECRPUBLIC.Types.InitiateLayerUploadResponse) => void): Request<ECRPUBLIC.Types.InitiateLayerUploadResponse, AWSError>;
|
|
134
|
+
/**
|
|
135
|
+
* List the tags for an Amazon ECR Public resource.
|
|
136
|
+
*/
|
|
137
|
+
listTagsForResource(params: ECRPUBLIC.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: ECRPUBLIC.Types.ListTagsForResourceResponse) => void): Request<ECRPUBLIC.Types.ListTagsForResourceResponse, AWSError>;
|
|
138
|
+
/**
|
|
139
|
+
* List the tags for an Amazon ECR Public resource.
|
|
140
|
+
*/
|
|
141
|
+
listTagsForResource(callback?: (err: AWSError, data: ECRPUBLIC.Types.ListTagsForResourceResponse) => void): Request<ECRPUBLIC.Types.ListTagsForResourceResponse, AWSError>;
|
|
134
142
|
/**
|
|
135
143
|
* Creates or updates the image manifest and tags associated with an image. When an image is pushed and all new image layers have been uploaded, the PutImage API is called once to create or update the image manifest and the tags associated with the image. This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
|
|
136
144
|
*/
|
|
@@ -163,6 +171,22 @@ declare class ECRPUBLIC extends Service {
|
|
|
163
171
|
* Applies a repository policy to the specified public repository to control access permissions. For more information, see Amazon ECR Repository Policies in the Amazon Elastic Container Registry User Guide.
|
|
164
172
|
*/
|
|
165
173
|
setRepositoryPolicy(callback?: (err: AWSError, data: ECRPUBLIC.Types.SetRepositoryPolicyResponse) => void): Request<ECRPUBLIC.Types.SetRepositoryPolicyResponse, AWSError>;
|
|
174
|
+
/**
|
|
175
|
+
* Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.
|
|
176
|
+
*/
|
|
177
|
+
tagResource(params: ECRPUBLIC.Types.TagResourceRequest, callback?: (err: AWSError, data: ECRPUBLIC.Types.TagResourceResponse) => void): Request<ECRPUBLIC.Types.TagResourceResponse, AWSError>;
|
|
178
|
+
/**
|
|
179
|
+
* Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.
|
|
180
|
+
*/
|
|
181
|
+
tagResource(callback?: (err: AWSError, data: ECRPUBLIC.Types.TagResourceResponse) => void): Request<ECRPUBLIC.Types.TagResourceResponse, AWSError>;
|
|
182
|
+
/**
|
|
183
|
+
* Deletes specified tags from a resource.
|
|
184
|
+
*/
|
|
185
|
+
untagResource(params: ECRPUBLIC.Types.UntagResourceRequest, callback?: (err: AWSError, data: ECRPUBLIC.Types.UntagResourceResponse) => void): Request<ECRPUBLIC.Types.UntagResourceResponse, AWSError>;
|
|
186
|
+
/**
|
|
187
|
+
* Deletes specified tags from a resource.
|
|
188
|
+
*/
|
|
189
|
+
untagResource(callback?: (err: AWSError, data: ECRPUBLIC.Types.UntagResourceResponse) => void): Request<ECRPUBLIC.Types.UntagResourceResponse, AWSError>;
|
|
166
190
|
/**
|
|
167
191
|
* Uploads an image layer part to Amazon ECR. When an image is pushed, each new image layer is uploaded in parts. The maximum size of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API is called once per each new image layer part. This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
|
|
168
192
|
*/
|
|
@@ -283,6 +307,10 @@ declare namespace ECRPUBLIC {
|
|
|
283
307
|
* The details about the repository that are publicly visible in the Amazon ECR Public Gallery.
|
|
284
308
|
*/
|
|
285
309
|
catalogData?: RepositoryCatalogDataInput;
|
|
310
|
+
/**
|
|
311
|
+
* The metadata that you apply to the repository to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
|
|
312
|
+
*/
|
|
313
|
+
tags?: TagList;
|
|
286
314
|
}
|
|
287
315
|
export interface CreateRepositoryResponse {
|
|
288
316
|
/**
|
|
@@ -669,6 +697,18 @@ declare namespace ECRPUBLIC {
|
|
|
669
697
|
export type LayerList = Layer[];
|
|
670
698
|
export type LayerPartBlob = Buffer|Uint8Array|Blob|string;
|
|
671
699
|
export type LayerSizeInBytes = number;
|
|
700
|
+
export interface ListTagsForResourceRequest {
|
|
701
|
+
/**
|
|
702
|
+
* The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resource is an Amazon ECR Public repository.
|
|
703
|
+
*/
|
|
704
|
+
resourceArn: Arn;
|
|
705
|
+
}
|
|
706
|
+
export interface ListTagsForResourceResponse {
|
|
707
|
+
/**
|
|
708
|
+
* The tags for the resource.
|
|
709
|
+
*/
|
|
710
|
+
tags?: TagList;
|
|
711
|
+
}
|
|
672
712
|
export type LogoImageBlob = Buffer|Uint8Array|Blob|string;
|
|
673
713
|
export type MarketplaceCertified = boolean;
|
|
674
714
|
export type MaxResults = number;
|
|
@@ -935,6 +975,44 @@ declare namespace ECRPUBLIC {
|
|
|
935
975
|
*/
|
|
936
976
|
policyText?: RepositoryPolicyText;
|
|
937
977
|
}
|
|
978
|
+
export interface Tag {
|
|
979
|
+
/**
|
|
980
|
+
* One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.
|
|
981
|
+
*/
|
|
982
|
+
Key?: TagKey;
|
|
983
|
+
/**
|
|
984
|
+
* The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).
|
|
985
|
+
*/
|
|
986
|
+
Value?: TagValue;
|
|
987
|
+
}
|
|
988
|
+
export type TagKey = string;
|
|
989
|
+
export type TagKeyList = TagKey[];
|
|
990
|
+
export type TagList = Tag[];
|
|
991
|
+
export interface TagResourceRequest {
|
|
992
|
+
/**
|
|
993
|
+
* The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the supported resource is an Amazon ECR Public repository.
|
|
994
|
+
*/
|
|
995
|
+
resourceArn: Arn;
|
|
996
|
+
/**
|
|
997
|
+
* The tags to add to the resource. A tag is an array of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
|
|
998
|
+
*/
|
|
999
|
+
tags: TagList;
|
|
1000
|
+
}
|
|
1001
|
+
export interface TagResourceResponse {
|
|
1002
|
+
}
|
|
1003
|
+
export type TagValue = string;
|
|
1004
|
+
export interface UntagResourceRequest {
|
|
1005
|
+
/**
|
|
1006
|
+
* The Amazon Resource Name (ARN) of the resource from which to delete tags. Currently, the supported resource is an Amazon ECR Public repository.
|
|
1007
|
+
*/
|
|
1008
|
+
resourceArn: Arn;
|
|
1009
|
+
/**
|
|
1010
|
+
* The keys of the tags to be removed.
|
|
1011
|
+
*/
|
|
1012
|
+
tagKeys: TagKeyList;
|
|
1013
|
+
}
|
|
1014
|
+
export interface UntagResourceResponse {
|
|
1015
|
+
}
|
|
938
1016
|
export type UploadId = string;
|
|
939
1017
|
export interface UploadLayerPartRequest {
|
|
940
1018
|
/**
|
package/clients/eks.d.ts
CHANGED
|
@@ -12,6 +12,14 @@ declare class EKS extends Service {
|
|
|
12
12
|
*/
|
|
13
13
|
constructor(options?: EKS.Types.ClientConfiguration)
|
|
14
14
|
config: Config & EKS.Types.ClientConfiguration;
|
|
15
|
+
/**
|
|
16
|
+
* Associate encryption configuration to an existing cluster. You can use this API to enable encryption on existing clusters which do not have encryption already enabled. This allows you to implement a defense-in-depth security strategy without migrating applications to new EKS clusters.
|
|
17
|
+
*/
|
|
18
|
+
associateEncryptionConfig(params: EKS.Types.AssociateEncryptionConfigRequest, callback?: (err: AWSError, data: EKS.Types.AssociateEncryptionConfigResponse) => void): Request<EKS.Types.AssociateEncryptionConfigResponse, AWSError>;
|
|
19
|
+
/**
|
|
20
|
+
* Associate encryption configuration to an existing cluster. You can use this API to enable encryption on existing clusters which do not have encryption already enabled. This allows you to implement a defense-in-depth security strategy without migrating applications to new EKS clusters.
|
|
21
|
+
*/
|
|
22
|
+
associateEncryptionConfig(callback?: (err: AWSError, data: EKS.Types.AssociateEncryptionConfigResponse) => void): Request<EKS.Types.AssociateEncryptionConfigResponse, AWSError>;
|
|
15
23
|
/**
|
|
16
24
|
* Associate an identity provider configuration to a cluster. If you want to authenticate identities using an identity provider, you can create an identity provider configuration and associate it to your cluster. After configuring authentication to your cluster you can create Kubernetes roles and clusterroles to assign permissions to the roles, and then bind the roles to the identities using Kubernetes rolebindings and clusterrolebindings. For more information see Using RBAC Authorization in the Kubernetes documentation.
|
|
17
25
|
*/
|
|
@@ -29,11 +37,11 @@ declare class EKS extends Service {
|
|
|
29
37
|
*/
|
|
30
38
|
createAddon(callback?: (err: AWSError, data: EKS.Types.CreateAddonResponse) => void): Request<EKS.Types.CreateAddonResponse, AWSError>;
|
|
31
39
|
/**
|
|
32
|
-
* Creates an Amazon EKS control plane. The Amazon EKS control plane consists of control plane instances that run the Kubernetes software, such as etcd and the API server. The control plane runs in an account managed by AWS, and the Kubernetes API is exposed via the Amazon EKS API server endpoint. Each Amazon EKS cluster control plane is single-tenant and unique and runs on its own set of Amazon EC2 instances. The cluster control plane is provisioned across multiple Availability Zones and fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC subnets to provide connectivity from the control plane instances to the nodes (for example, to support kubectl exec, logs, and proxy data flows). Amazon EKS nodes run in your AWS account and connect to your cluster's control plane via the Kubernetes API server endpoint and a certificate file that is created for your cluster.
|
|
40
|
+
* Creates an Amazon EKS control plane. The Amazon EKS control plane consists of control plane instances that run the Kubernetes software, such as etcd and the API server. The control plane runs in an account managed by AWS, and the Kubernetes API is exposed via the Amazon EKS API server endpoint. Each Amazon EKS cluster control plane is single-tenant and unique and runs on its own set of Amazon EC2 instances. The cluster control plane is provisioned across multiple Availability Zones and fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC subnets to provide connectivity from the control plane instances to the nodes (for example, to support kubectl exec, logs, and proxy data flows). Amazon EKS nodes run in your AWS account and connect to your cluster's control plane via the Kubernetes API server endpoint and a certificate file that is created for your cluster. Cluster creation typically takes several minutes. After you create an Amazon EKS cluster, you must configure your Kubernetes tooling to communicate with the API server and launch nodes into your cluster. For more information, see Managing Cluster Authentication and Launching Amazon EKS nodes in the Amazon EKS User Guide.
|
|
33
41
|
*/
|
|
34
42
|
createCluster(params: EKS.Types.CreateClusterRequest, callback?: (err: AWSError, data: EKS.Types.CreateClusterResponse) => void): Request<EKS.Types.CreateClusterResponse, AWSError>;
|
|
35
43
|
/**
|
|
36
|
-
* Creates an Amazon EKS control plane. The Amazon EKS control plane consists of control plane instances that run the Kubernetes software, such as etcd and the API server. The control plane runs in an account managed by AWS, and the Kubernetes API is exposed via the Amazon EKS API server endpoint. Each Amazon EKS cluster control plane is single-tenant and unique and runs on its own set of Amazon EC2 instances. The cluster control plane is provisioned across multiple Availability Zones and fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC subnets to provide connectivity from the control plane instances to the nodes (for example, to support kubectl exec, logs, and proxy data flows). Amazon EKS nodes run in your AWS account and connect to your cluster's control plane via the Kubernetes API server endpoint and a certificate file that is created for your cluster.
|
|
44
|
+
* Creates an Amazon EKS control plane. The Amazon EKS control plane consists of control plane instances that run the Kubernetes software, such as etcd and the API server. The control plane runs in an account managed by AWS, and the Kubernetes API is exposed via the Amazon EKS API server endpoint. Each Amazon EKS cluster control plane is single-tenant and unique and runs on its own set of Amazon EC2 instances. The cluster control plane is provisioned across multiple Availability Zones and fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC subnets to provide connectivity from the control plane instances to the nodes (for example, to support kubectl exec, logs, and proxy data flows). Amazon EKS nodes run in your AWS account and connect to your cluster's control plane via the Kubernetes API server endpoint and a certificate file that is created for your cluster. Cluster creation typically takes several minutes. After you create an Amazon EKS cluster, you must configure your Kubernetes tooling to communicate with the API server and launch nodes into your cluster. For more information, see Managing Cluster Authentication and Launching Amazon EKS nodes in the Amazon EKS User Guide.
|
|
37
45
|
*/
|
|
38
46
|
createCluster(callback?: (err: AWSError, data: EKS.Types.CreateClusterResponse) => void): Request<EKS.Types.CreateClusterResponse, AWSError>;
|
|
39
47
|
/**
|
|
@@ -406,6 +414,23 @@ declare namespace EKS {
|
|
|
406
414
|
}
|
|
407
415
|
export type AddonVersionInfoList = AddonVersionInfo[];
|
|
408
416
|
export type Addons = AddonInfo[];
|
|
417
|
+
export interface AssociateEncryptionConfigRequest {
|
|
418
|
+
/**
|
|
419
|
+
* The name of the cluster that you are associating with encryption configuration.
|
|
420
|
+
*/
|
|
421
|
+
clusterName: String;
|
|
422
|
+
/**
|
|
423
|
+
* The configuration you are using for encryption.
|
|
424
|
+
*/
|
|
425
|
+
encryptionConfig: EncryptionConfigList;
|
|
426
|
+
/**
|
|
427
|
+
* The client request token you are using with the encryption configuration.
|
|
428
|
+
*/
|
|
429
|
+
clientRequestToken?: String;
|
|
430
|
+
}
|
|
431
|
+
export interface AssociateEncryptionConfigResponse {
|
|
432
|
+
update?: Update;
|
|
433
|
+
}
|
|
409
434
|
export interface AssociateIdentityProviderConfigRequest {
|
|
410
435
|
/**
|
|
411
436
|
* The name of the cluster to associate the configuration to.
|
|
@@ -1672,10 +1697,10 @@ declare namespace EKS {
|
|
|
1672
1697
|
*/
|
|
1673
1698
|
value?: String;
|
|
1674
1699
|
}
|
|
1675
|
-
export type UpdateParamType = "Version"|"PlatformVersion"|"EndpointPrivateAccess"|"EndpointPublicAccess"|"ClusterLogging"|"DesiredSize"|"LabelsToAdd"|"LabelsToRemove"|"MaxSize"|"MinSize"|"ReleaseVersion"|"PublicAccessCidrs"|"IdentityProviderConfig"|"AddonVersion"|"ServiceAccountRoleArn"|"ResolveConflicts"|string;
|
|
1700
|
+
export type UpdateParamType = "Version"|"PlatformVersion"|"EndpointPrivateAccess"|"EndpointPublicAccess"|"ClusterLogging"|"DesiredSize"|"LabelsToAdd"|"LabelsToRemove"|"MaxSize"|"MinSize"|"ReleaseVersion"|"PublicAccessCidrs"|"IdentityProviderConfig"|"EncryptionConfig"|"AddonVersion"|"ServiceAccountRoleArn"|"ResolveConflicts"|string;
|
|
1676
1701
|
export type UpdateParams = UpdateParam[];
|
|
1677
1702
|
export type UpdateStatus = "InProgress"|"Failed"|"Cancelled"|"Successful"|string;
|
|
1678
|
-
export type UpdateType = "VersionUpdate"|"EndpointAccessUpdate"|"LoggingUpdate"|"ConfigUpdate"|"AssociateIdentityProviderConfig"|"DisassociateIdentityProviderConfig"|"AddonUpdate"|string;
|
|
1703
|
+
export type UpdateType = "VersionUpdate"|"EndpointAccessUpdate"|"LoggingUpdate"|"ConfigUpdate"|"AssociateIdentityProviderConfig"|"DisassociateIdentityProviderConfig"|"AssociateEncryptionConfig"|"AddonUpdate"|string;
|
|
1679
1704
|
export interface VpcConfigRequest {
|
|
1680
1705
|
/**
|
|
1681
1706
|
* Specify subnets for your Amazon EKS nodes. Amazon EKS creates cross-account elastic network interfaces in these subnets to allow communication between your nodes and the Kubernetes control plane.
|