aws-sdk 2.1404.0 → 2.1405.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 +8 -1
- package/README.md +1 -1
- package/apis/connect-2017-08-08.min.json +79 -27
- package/apis/connect-2017-08-08.paginators.json +6 -0
- package/apis/glue-2017-03-31.min.json +358 -348
- package/apis/guardduty-2017-11-28.min.json +54 -49
- package/apis/iam-2010-05-08.min.json +85 -54
- package/apis/iam-2010-05-08.paginators.json +49 -0
- package/apis/pinpoint-2016-12-01.min.json +202 -192
- package/clients/connect.d.ts +82 -4
- package/clients/glue.d.ts +11 -2
- package/clients/guardduty.d.ts +7 -2
- package/clients/iam.d.ts +51 -12
- package/clients/pinpoint.d.ts +10 -0
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +8 -8
- package/dist/aws-sdk.js +222 -84
- package/dist/aws-sdk.min.js +78 -78
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/clients/connect.d.ts
CHANGED
@@ -100,11 +100,11 @@ declare class Connect extends Service {
|
|
100
100
|
*/
|
101
101
|
associateSecurityKey(callback?: (err: AWSError, data: Connect.Types.AssociateSecurityKeyResponse) => void): Request<Connect.Types.AssociateSecurityKeyResponse, AWSError>;
|
102
102
|
/**
|
103
|
-
* Claims an available phone number to your Amazon Connect instance or traffic distribution group. You can call this API only in the same Amazon Web Services Region where the Amazon Connect instance or traffic distribution group was created. For more information about how to use this operation, see Claim a phone number in your country and Claim phone numbers to traffic distribution groups in the Amazon Connect Administrator Guide. You can call the SearchAvailablePhoneNumbers API for available phone numbers that you can claim. Call the DescribePhoneNumber API to verify the status of a previous ClaimPhoneNumber operation.
|
103
|
+
* Claims an available phone number to your Amazon Connect instance or traffic distribution group. You can call this API only in the same Amazon Web Services Region where the Amazon Connect instance or traffic distribution group was created. For more information about how to use this operation, see Claim a phone number in your country and Claim phone numbers to traffic distribution groups in the Amazon Connect Administrator Guide. You can call the SearchAvailablePhoneNumbers API for available phone numbers that you can claim. Call the DescribePhoneNumber API to verify the status of a previous ClaimPhoneNumber operation. If you plan to claim and release numbers frequently during a 30 day period, contact us for a service quota exception. Otherwise, it is possible you will be blocked from claiming and releasing any more numbers until 30 days past the oldest number released has expired. By default you can claim and release up to 200% of your maximum number of active phone numbers during any 30 day period. If you claim and release phone numbers using the UI or API during a rolling 30 day cycle that exceeds 200% of your phone number service level quota, you will be blocked from claiming any more numbers until 30 days past the oldest number released has expired. For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any 30 day period you release 99, claim 99, and then release 99, you will have exceeded the 200% limit. At that point you are blocked from claiming any more numbers until you open an Amazon Web Services support ticket.
|
104
104
|
*/
|
105
105
|
claimPhoneNumber(params: Connect.Types.ClaimPhoneNumberRequest, callback?: (err: AWSError, data: Connect.Types.ClaimPhoneNumberResponse) => void): Request<Connect.Types.ClaimPhoneNumberResponse, AWSError>;
|
106
106
|
/**
|
107
|
-
* Claims an available phone number to your Amazon Connect instance or traffic distribution group. You can call this API only in the same Amazon Web Services Region where the Amazon Connect instance or traffic distribution group was created. For more information about how to use this operation, see Claim a phone number in your country and Claim phone numbers to traffic distribution groups in the Amazon Connect Administrator Guide. You can call the SearchAvailablePhoneNumbers API for available phone numbers that you can claim. Call the DescribePhoneNumber API to verify the status of a previous ClaimPhoneNumber operation.
|
107
|
+
* Claims an available phone number to your Amazon Connect instance or traffic distribution group. You can call this API only in the same Amazon Web Services Region where the Amazon Connect instance or traffic distribution group was created. For more information about how to use this operation, see Claim a phone number in your country and Claim phone numbers to traffic distribution groups in the Amazon Connect Administrator Guide. You can call the SearchAvailablePhoneNumbers API for available phone numbers that you can claim. Call the DescribePhoneNumber API to verify the status of a previous ClaimPhoneNumber operation. If you plan to claim and release numbers frequently during a 30 day period, contact us for a service quota exception. Otherwise, it is possible you will be blocked from claiming and releasing any more numbers until 30 days past the oldest number released has expired. By default you can claim and release up to 200% of your maximum number of active phone numbers during any 30 day period. If you claim and release phone numbers using the UI or API during a rolling 30 day cycle that exceeds 200% of your phone number service level quota, you will be blocked from claiming any more numbers until 30 days past the oldest number released has expired. For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any 30 day period you release 99, claim 99, and then release 99, you will have exceeded the 200% limit. At that point you are blocked from claiming any more numbers until you open an Amazon Web Services support ticket.
|
108
108
|
*/
|
109
109
|
claimPhoneNumber(callback?: (err: AWSError, data: Connect.Types.ClaimPhoneNumberResponse) => void): Request<Connect.Types.ClaimPhoneNumberResponse, AWSError>;
|
110
110
|
/**
|
@@ -1036,11 +1036,11 @@ declare class Connect extends Service {
|
|
1036
1036
|
*/
|
1037
1037
|
putUserStatus(callback?: (err: AWSError, data: Connect.Types.PutUserStatusResponse) => void): Request<Connect.Types.PutUserStatusResponse, AWSError>;
|
1038
1038
|
/**
|
1039
|
-
* Releases a phone number previously claimed to an Amazon Connect instance or traffic distribution group. You can call this API only in the Amazon Web Services Region where the number was claimed. To release phone numbers from a traffic distribution group, use the ReleasePhoneNumber API, not the Amazon Connect console. After releasing a phone number, the phone number enters into a cooldown period of 30 days. It cannot be searched for or claimed again until the period has ended. If you accidentally release a phone number, contact Amazon Web Services Support.
|
1039
|
+
* Releases a phone number previously claimed to an Amazon Connect instance or traffic distribution group. You can call this API only in the Amazon Web Services Region where the number was claimed. To release phone numbers from a traffic distribution group, use the ReleasePhoneNumber API, not the Amazon Connect console. After releasing a phone number, the phone number enters into a cooldown period of 30 days. It cannot be searched for or claimed again until the period has ended. If you accidentally release a phone number, contact Amazon Web Services Support. If you plan to claim and release numbers frequently during a 30 day period, contact us for a service quota exception. Otherwise, it is possible you will be blocked from claiming and releasing any more numbers until 30 days past the oldest number released has expired. By default you can claim and release up to 200% of your maximum number of active phone numbers during any 30 day period. If you claim and release phone numbers using the UI or API during a rolling 30 day cycle that exceeds 200% of your phone number service level quota, you will be blocked from claiming any more numbers until 30 days past the oldest number released has expired. For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any 30 day period you release 99, claim 99, and then release 99, you will have exceeded the 200% limit. At that point you are blocked from claiming any more numbers until you open an Amazon Web Services support ticket.
|
1040
1040
|
*/
|
1041
1041
|
releasePhoneNumber(params: Connect.Types.ReleasePhoneNumberRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
1042
1042
|
/**
|
1043
|
-
* Releases a phone number previously claimed to an Amazon Connect instance or traffic distribution group. You can call this API only in the Amazon Web Services Region where the number was claimed. To release phone numbers from a traffic distribution group, use the ReleasePhoneNumber API, not the Amazon Connect console. After releasing a phone number, the phone number enters into a cooldown period of 30 days. It cannot be searched for or claimed again until the period has ended. If you accidentally release a phone number, contact Amazon Web Services Support.
|
1043
|
+
* Releases a phone number previously claimed to an Amazon Connect instance or traffic distribution group. You can call this API only in the Amazon Web Services Region where the number was claimed. To release phone numbers from a traffic distribution group, use the ReleasePhoneNumber API, not the Amazon Connect console. After releasing a phone number, the phone number enters into a cooldown period of 30 days. It cannot be searched for or claimed again until the period has ended. If you accidentally release a phone number, contact Amazon Web Services Support. If you plan to claim and release numbers frequently during a 30 day period, contact us for a service quota exception. Otherwise, it is possible you will be blocked from claiming and releasing any more numbers until 30 days past the oldest number released has expired. By default you can claim and release up to 200% of your maximum number of active phone numbers during any 30 day period. If you claim and release phone numbers using the UI or API during a rolling 30 day cycle that exceeds 200% of your phone number service level quota, you will be blocked from claiming any more numbers until 30 days past the oldest number released has expired. For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any 30 day period you release 99, claim 99, and then release 99, you will have exceeded the 200% limit. At that point you are blocked from claiming any more numbers until you open an Amazon Web Services support ticket.
|
1044
1044
|
*/
|
1045
1045
|
releasePhoneNumber(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
1046
1046
|
/**
|
@@ -1099,6 +1099,14 @@ declare class Connect extends Service {
|
|
1099
1099
|
* Searches quick connects in an Amazon Connect instance, with optional filtering.
|
1100
1100
|
*/
|
1101
1101
|
searchQuickConnects(callback?: (err: AWSError, data: Connect.Types.SearchQuickConnectsResponse) => void): Request<Connect.Types.SearchQuickConnectsResponse, AWSError>;
|
1102
|
+
/**
|
1103
|
+
* Searches tags used in an Amazon Connect instance using optional search criteria.
|
1104
|
+
*/
|
1105
|
+
searchResourceTags(params: Connect.Types.SearchResourceTagsRequest, callback?: (err: AWSError, data: Connect.Types.SearchResourceTagsResponse) => void): Request<Connect.Types.SearchResourceTagsResponse, AWSError>;
|
1106
|
+
/**
|
1107
|
+
* Searches tags used in an Amazon Connect instance using optional search criteria.
|
1108
|
+
*/
|
1109
|
+
searchResourceTags(callback?: (err: AWSError, data: Connect.Types.SearchResourceTagsResponse) => void): Request<Connect.Types.SearchResourceTagsResponse, AWSError>;
|
1102
1110
|
/**
|
1103
1111
|
* This API is in preview release for Amazon Connect and is subject to change. Searches routing profiles in an Amazon Connect instance, with optional filtering.
|
1104
1112
|
*/
|
@@ -6840,6 +6848,13 @@ declare namespace Connect {
|
|
6840
6848
|
export type RequiredTaskTemplateFields = RequiredFieldInfo[];
|
6841
6849
|
export type ResourceArnOrId = string;
|
6842
6850
|
export type ResourceId = string;
|
6851
|
+
export interface ResourceTagsSearchCriteria {
|
6852
|
+
/**
|
6853
|
+
* The search criteria to be used to return tags.
|
6854
|
+
*/
|
6855
|
+
TagSearchCondition?: TagSearchCondition;
|
6856
|
+
}
|
6857
|
+
export type ResourceTypeList = String[];
|
6843
6858
|
export interface ResumeContactRecordingRequest {
|
6844
6859
|
/**
|
6845
6860
|
* The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
|
@@ -7312,6 +7327,38 @@ declare namespace Connect {
|
|
7312
7327
|
*/
|
7313
7328
|
ApproximateTotalCount?: ApproximateTotalCount;
|
7314
7329
|
}
|
7330
|
+
export interface SearchResourceTagsRequest {
|
7331
|
+
/**
|
7332
|
+
* The identifier of the Amazon Connect instance. You can find the instanceId in the Amazon Resource Name (ARN) of the instance.
|
7333
|
+
*/
|
7334
|
+
InstanceId: InstanceIdOrArn;
|
7335
|
+
/**
|
7336
|
+
* The list of resource types to be used to search tags from. If not provided or if any empty list is provided, this API will search from all supported resource types.
|
7337
|
+
*/
|
7338
|
+
ResourceTypes?: ResourceTypeList;
|
7339
|
+
/**
|
7340
|
+
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
7341
|
+
*/
|
7342
|
+
NextToken?: NextToken2500;
|
7343
|
+
/**
|
7344
|
+
* The maximum number of results to return per page.
|
7345
|
+
*/
|
7346
|
+
MaxResults?: MaxResult100;
|
7347
|
+
/**
|
7348
|
+
* The search criteria to be used to return tags.
|
7349
|
+
*/
|
7350
|
+
SearchCriteria?: ResourceTagsSearchCriteria;
|
7351
|
+
}
|
7352
|
+
export interface SearchResourceTagsResponse {
|
7353
|
+
/**
|
7354
|
+
* A list of tags used in the Amazon Connect instance.
|
7355
|
+
*/
|
7356
|
+
Tags?: TagsList;
|
7357
|
+
/**
|
7358
|
+
* If there are additional results, this is the token for the next set of results.
|
7359
|
+
*/
|
7360
|
+
NextToken?: NextToken2500;
|
7361
|
+
}
|
7315
7362
|
export interface SearchRoutingProfilesRequest {
|
7316
7363
|
/**
|
7317
7364
|
* The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
|
@@ -7980,6 +8027,7 @@ declare namespace Connect {
|
|
7980
8027
|
}
|
7981
8028
|
export type TagKey = string;
|
7982
8029
|
export type TagKeyList = TagKey[];
|
8030
|
+
export type TagKeyString = string;
|
7983
8031
|
export type TagMap = {[key: string]: TagValue};
|
7984
8032
|
export type TagOrConditionList = TagAndConditionList[];
|
7985
8033
|
export interface TagResourceRequest {
|
@@ -7994,7 +8042,37 @@ declare namespace Connect {
|
|
7994
8042
|
}
|
7995
8043
|
export type TagRestrictedResourceList = TagRestrictedResourceName[];
|
7996
8044
|
export type TagRestrictedResourceName = string;
|
8045
|
+
export interface TagSearchCondition {
|
8046
|
+
/**
|
8047
|
+
* The tag key used in the tag search condition.
|
8048
|
+
*/
|
8049
|
+
tagKey?: TagKeyString;
|
8050
|
+
/**
|
8051
|
+
* The tag value used in the tag search condition.
|
8052
|
+
*/
|
8053
|
+
tagValue?: TagValueString;
|
8054
|
+
/**
|
8055
|
+
* The type of comparison to be made when evaluating the tag key in tag search condition.
|
8056
|
+
*/
|
8057
|
+
tagKeyComparisonType?: StringComparisonType;
|
8058
|
+
/**
|
8059
|
+
* The type of comparison to be made when evaluating the tag value in tag search condition.
|
8060
|
+
*/
|
8061
|
+
tagValueComparisonType?: StringComparisonType;
|
8062
|
+
}
|
8063
|
+
export interface TagSet {
|
8064
|
+
/**
|
8065
|
+
* The tag key in the tagSet.
|
8066
|
+
*/
|
8067
|
+
key?: TagKey;
|
8068
|
+
/**
|
8069
|
+
* The tag value in the tagSet.
|
8070
|
+
*/
|
8071
|
+
value?: TagValue;
|
8072
|
+
}
|
7997
8073
|
export type TagValue = string;
|
8074
|
+
export type TagValueString = string;
|
8075
|
+
export type TagsList = TagSet[];
|
7998
8076
|
export interface TaskActionDefinition {
|
7999
8077
|
/**
|
8000
8078
|
* The name. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
|
package/clients/glue.d.ts
CHANGED
@@ -8080,6 +8080,7 @@ declare namespace Glue {
|
|
8080
8080
|
export type IntegerFlag = number;
|
8081
8081
|
export type IntegerValue = number;
|
8082
8082
|
export type IsVersionValid = boolean;
|
8083
|
+
export type Iso8601DateTime = Date;
|
8083
8084
|
export type JDBCConnectionType = "sqlserver"|"mysql"|"oracle"|"postgresql"|"redshift"|string;
|
8084
8085
|
export interface JDBCConnectorOptions {
|
8085
8086
|
/**
|
@@ -8676,6 +8677,10 @@ declare namespace Glue {
|
|
8676
8677
|
* When this option is set to 'true', for each batch, it will emit the metrics for the duration between the oldest record received by the topic and the time it arrives in Glue to CloudWatch. The metric's name is "glue.driver.streaming.maxConsumerLagInMs". The default value is 'false'. This option is supported in Glue version 4.0 or later.
|
8677
8678
|
*/
|
8678
8679
|
EmitConsumerLagMetrics?: EnclosedInStringProperty;
|
8680
|
+
/**
|
8681
|
+
* The timestamp of the record in the Kafka topic to start reading data from. The possible values are a timestamp string in UTC format of the pattern yyyy-mm-ddTHH:MM:SSZ (where Z represents a UTC timezone offset with a +/-. For example: "2023-04-04T08:00:00+08:00"). Only one of StartingTimestamp or StartingOffsets must be set.
|
8682
|
+
*/
|
8683
|
+
StartingTimestamp?: Iso8601DateTime;
|
8679
8684
|
}
|
8680
8685
|
export type KeyList = NameString[];
|
8681
8686
|
export interface KeySchemaElement {
|
@@ -8708,7 +8713,7 @@ declare namespace Glue {
|
|
8708
8713
|
*/
|
8709
8714
|
Delimiter?: EnclosedInStringProperty;
|
8710
8715
|
/**
|
8711
|
-
* The starting position in the Kinesis data stream to read data from. The possible values are "latest", "trim_horizon", or "
|
8716
|
+
* The starting position in the Kinesis data stream to read data from. The possible values are "latest", "trim_horizon", "earliest", or a timestamp string in UTC format in the pattern yyyy-mm-ddTHH:MM:SSZ (where Z represents a UTC timezone offset with a +/-. For example: "2023-04-04T08:00:00-04:00"). The default value is "latest". Note: Using a value that is a timestamp string in UTC format for "startingPosition" is supported only for Glue version 4.0 or later.
|
8712
8717
|
*/
|
8713
8718
|
StartingPosition?: StartingPosition;
|
8714
8719
|
/**
|
@@ -8771,6 +8776,10 @@ declare namespace Glue {
|
|
8771
8776
|
* When this option is set to 'true', for each batch, it will emit the metrics for the duration between the oldest record received by the stream and the time it arrives in Glue to CloudWatch. The metric's name is "glue.driver.streaming.maxConsumerLagInMs". The default value is 'false'. This option is supported in Glue version 4.0 or later.
|
8772
8777
|
*/
|
8773
8778
|
EmitConsumerLagMetrics?: EnclosedInStringProperty;
|
8779
|
+
/**
|
8780
|
+
* The timestamp of the record in the Kinesis data stream to start reading data from. The possible values are a timestamp string in UTC format of the pattern yyyy-mm-ddTHH:MM:SSZ (where Z represents a UTC timezone offset with a +/-. For example: "2023-04-04T08:00:00+08:00").
|
8781
|
+
*/
|
8782
|
+
StartingTimestamp?: Iso8601DateTime;
|
8774
8783
|
}
|
8775
8784
|
export type KmsKeyArn = string;
|
8776
8785
|
export type LabelCount = number;
|
@@ -11806,7 +11815,7 @@ declare namespace Glue {
|
|
11806
11815
|
*/
|
11807
11816
|
BatchWindow?: NullableInteger;
|
11808
11817
|
}
|
11809
|
-
export type StartingPosition = "latest"|"trim_horizon"|"earliest"|string;
|
11818
|
+
export type StartingPosition = "latest"|"trim_horizon"|"earliest"|"timestamp"|string;
|
11810
11819
|
export interface Statement {
|
11811
11820
|
/**
|
11812
11821
|
* The ID of the statement.
|
package/clients/guardduty.d.ts
CHANGED
@@ -420,11 +420,11 @@ declare class GuardDuty extends Service {
|
|
420
420
|
*/
|
421
421
|
listPublishingDestinations(callback?: (err: AWSError, data: GuardDuty.Types.ListPublishingDestinationsResponse) => void): Request<GuardDuty.Types.ListPublishingDestinationsResponse, AWSError>;
|
422
422
|
/**
|
423
|
-
* Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets,
|
423
|
+
* Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, threat intel sets, publishing destination, with a limit of 50 tags per resource. When invoked, this operation returns all assigned tags for a given resource.
|
424
424
|
*/
|
425
425
|
listTagsForResource(params: GuardDuty.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: GuardDuty.Types.ListTagsForResourceResponse) => void): Request<GuardDuty.Types.ListTagsForResourceResponse, AWSError>;
|
426
426
|
/**
|
427
|
-
* Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets,
|
427
|
+
* Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, threat intel sets, publishing destination, with a limit of 50 tags per resource. When invoked, this operation returns all assigned tags for a given resource.
|
428
428
|
*/
|
429
429
|
listTagsForResource(callback?: (err: AWSError, data: GuardDuty.Types.ListTagsForResourceResponse) => void): Request<GuardDuty.Types.ListTagsForResourceResponse, AWSError>;
|
430
430
|
/**
|
@@ -2554,6 +2554,10 @@ declare namespace GuardDuty {
|
|
2554
2554
|
* The groups that include the user who called the Kubernetes API.
|
2555
2555
|
*/
|
2556
2556
|
Groups?: Groups;
|
2557
|
+
/**
|
2558
|
+
* Entity that assumes the IAM role when Kubernetes RBAC permissions are assigned to that role.
|
2559
|
+
*/
|
2560
|
+
SessionName?: SessionNameList;
|
2557
2561
|
}
|
2558
2562
|
export interface KubernetesWorkloadDetails {
|
2559
2563
|
/**
|
@@ -4051,6 +4055,7 @@ declare namespace GuardDuty {
|
|
4051
4055
|
*/
|
4052
4056
|
Type?: String;
|
4053
4057
|
}
|
4058
|
+
export type SessionNameList = String[];
|
4054
4059
|
export interface SortCriteria {
|
4055
4060
|
/**
|
4056
4061
|
* Represents the finding attribute, such as accountId, that sorts the findings.
|
package/clients/iam.d.ts
CHANGED
@@ -37,27 +37,27 @@ declare class IAM extends Service {
|
|
37
37
|
*/
|
38
38
|
addUserToGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
39
39
|
/**
|
40
|
-
* Attaches the specified managed policy to the specified IAM group. You use this operation to attach a managed policy to a group. To embed an inline policy in a group, use
|
40
|
+
* Attaches the specified managed policy to the specified IAM group. You use this operation to attach a managed policy to a group. To embed an inline policy in a group, use PutGroupPolicy . As a best practice, you can validate your IAM policies. To learn more, see Validating IAM policies in the IAM User Guide. For more information about policies, see Managed policies and inline policies in the IAM User Guide.
|
41
41
|
*/
|
42
42
|
attachGroupPolicy(params: IAM.Types.AttachGroupPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
43
43
|
/**
|
44
|
-
* Attaches the specified managed policy to the specified IAM group. You use this operation to attach a managed policy to a group. To embed an inline policy in a group, use
|
44
|
+
* Attaches the specified managed policy to the specified IAM group. You use this operation to attach a managed policy to a group. To embed an inline policy in a group, use PutGroupPolicy . As a best practice, you can validate your IAM policies. To learn more, see Validating IAM policies in the IAM User Guide. For more information about policies, see Managed policies and inline policies in the IAM User Guide.
|
45
45
|
*/
|
46
46
|
attachGroupPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
47
47
|
/**
|
48
|
-
* Attaches the specified managed policy to the specified IAM role. When you attach a managed policy to a role, the managed policy becomes part of the role's permission (access) policy. You cannot use a managed policy as the role's trust policy. The role's trust policy is created at the same time as the role, using
|
48
|
+
* Attaches the specified managed policy to the specified IAM role. When you attach a managed policy to a role, the managed policy becomes part of the role's permission (access) policy. You cannot use a managed policy as the role's trust policy. The role's trust policy is created at the same time as the role, using CreateRole . You can update a role's trust policy using UpdateAssumerolePolicy . Use this operation to attach a managed policy to a role. To embed an inline policy in a role, use PutRolePolicy . For more information about policies, see Managed policies and inline policies in the IAM User Guide. As a best practice, you can validate your IAM policies. To learn more, see Validating IAM policies in the IAM User Guide.
|
49
49
|
*/
|
50
50
|
attachRolePolicy(params: IAM.Types.AttachRolePolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
51
51
|
/**
|
52
|
-
* Attaches the specified managed policy to the specified IAM role. When you attach a managed policy to a role, the managed policy becomes part of the role's permission (access) policy. You cannot use a managed policy as the role's trust policy. The role's trust policy is created at the same time as the role, using
|
52
|
+
* Attaches the specified managed policy to the specified IAM role. When you attach a managed policy to a role, the managed policy becomes part of the role's permission (access) policy. You cannot use a managed policy as the role's trust policy. The role's trust policy is created at the same time as the role, using CreateRole . You can update a role's trust policy using UpdateAssumerolePolicy . Use this operation to attach a managed policy to a role. To embed an inline policy in a role, use PutRolePolicy . For more information about policies, see Managed policies and inline policies in the IAM User Guide. As a best practice, you can validate your IAM policies. To learn more, see Validating IAM policies in the IAM User Guide.
|
53
53
|
*/
|
54
54
|
attachRolePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
55
55
|
/**
|
56
|
-
* Attaches the specified managed policy to the specified user. You use this operation to attach a managed policy to a user. To embed an inline policy in a user, use
|
56
|
+
* Attaches the specified managed policy to the specified user. You use this operation to attach a managed policy to a user. To embed an inline policy in a user, use PutUserPolicy . As a best practice, you can validate your IAM policies. To learn more, see Validating IAM policies in the IAM User Guide. For more information about policies, see Managed policies and inline policies in the IAM User Guide.
|
57
57
|
*/
|
58
58
|
attachUserPolicy(params: IAM.Types.AttachUserPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
59
59
|
/**
|
60
|
-
* Attaches the specified managed policy to the specified user. You use this operation to attach a managed policy to a user. To embed an inline policy in a user, use
|
60
|
+
* Attaches the specified managed policy to the specified user. You use this operation to attach a managed policy to a user. To embed an inline policy in a user, use PutUserPolicy . As a best practice, you can validate your IAM policies. To learn more, see Validating IAM policies in the IAM User Guide. For more information about policies, see Managed policies and inline policies in the IAM User Guide.
|
61
61
|
*/
|
62
62
|
attachUserPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
63
63
|
/**
|
@@ -496,6 +496,14 @@ declare class IAM extends Service {
|
|
496
496
|
* Retrieves the user name for the specified IAM user. A login profile is created when you create a password for the user to access the Amazon Web Services Management Console. If the user does not exist or does not have a password, the operation returns a 404 (NoSuchEntity) error. If you create an IAM user with access to the console, the CreateDate reflects the date you created the initial password for the user. If you create an IAM user with programmatic access, and then later add a password for the user to access the Amazon Web Services Management Console, the CreateDate reflects the initial password creation date. A user with programmatic access does not have a login profile unless you create a password for the user to access the Amazon Web Services Management Console.
|
497
497
|
*/
|
498
498
|
getLoginProfile(callback?: (err: AWSError, data: IAM.Types.GetLoginProfileResponse) => void): Request<IAM.Types.GetLoginProfileResponse, AWSError>;
|
499
|
+
/**
|
500
|
+
* Retrieves information about an MFA device for a specified user.
|
501
|
+
*/
|
502
|
+
getMFADevice(params: IAM.Types.GetMFADeviceRequest, callback?: (err: AWSError, data: IAM.Types.GetMFADeviceResponse) => void): Request<IAM.Types.GetMFADeviceResponse, AWSError>;
|
503
|
+
/**
|
504
|
+
* Retrieves information about an MFA device for a specified user.
|
505
|
+
*/
|
506
|
+
getMFADevice(callback?: (err: AWSError, data: IAM.Types.GetMFADeviceResponse) => void): Request<IAM.Types.GetMFADeviceResponse, AWSError>;
|
499
507
|
/**
|
500
508
|
* Returns information about the specified OpenID Connect (OIDC) provider resource object in IAM.
|
501
509
|
*/
|
@@ -881,11 +889,11 @@ declare class IAM extends Service {
|
|
881
889
|
*/
|
882
890
|
listVirtualMFADevices(callback?: (err: AWSError, data: IAM.Types.ListVirtualMFADevicesResponse) => void): Request<IAM.Types.ListVirtualMFADevicesResponse, AWSError>;
|
883
891
|
/**
|
884
|
-
* Adds or updates an inline policy document that is embedded in the specified IAM group. A user can also have managed policies attached to it. To attach a managed policy to a group, use
|
892
|
+
* Adds or updates an inline policy document that is embedded in the specified IAM group. A user can also have managed policies attached to it. To attach a managed policy to a group, use AttachGroupPolicy . To create a new managed policy, use CreatePolicy . For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed in a group, see IAM and STS quotas in the IAM User Guide. Because policy documents can be large, you should use POST rather than GET when calling PutGroupPolicy. For general information about using the Query API with IAM, see Making query requests in the IAM User Guide.
|
885
893
|
*/
|
886
894
|
putGroupPolicy(params: IAM.Types.PutGroupPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
887
895
|
/**
|
888
|
-
* Adds or updates an inline policy document that is embedded in the specified IAM group. A user can also have managed policies attached to it. To attach a managed policy to a group, use
|
896
|
+
* Adds or updates an inline policy document that is embedded in the specified IAM group. A user can also have managed policies attached to it. To attach a managed policy to a group, use AttachGroupPolicy . To create a new managed policy, use CreatePolicy . For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed in a group, see IAM and STS quotas in the IAM User Guide. Because policy documents can be large, you should use POST rather than GET when calling PutGroupPolicy. For general information about using the Query API with IAM, see Making query requests in the IAM User Guide.
|
889
897
|
*/
|
890
898
|
putGroupPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
891
899
|
/**
|
@@ -897,11 +905,11 @@ declare class IAM extends Service {
|
|
897
905
|
*/
|
898
906
|
putRolePermissionsBoundary(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
899
907
|
/**
|
900
|
-
* Adds or updates an inline policy document that is embedded in the specified IAM role. When you embed an inline policy in a role, the inline policy is used as part of the role's access (permissions) policy. The role's trust policy is created at the same time as the role, using
|
908
|
+
* Adds or updates an inline policy document that is embedded in the specified IAM role. When you embed an inline policy in a role, the inline policy is used as part of the role's access (permissions) policy. The role's trust policy is created at the same time as the role, using CreateRole . You can update a role's trust policy using UpdateAssumerolePolicy . For more information about IAM roles, see Using roles to delegate permissions and federate identities. A role can also have a managed policy attached to it. To attach a managed policy to a role, use AttachRolePolicy . To create a new managed policy, use CreatePolicy . For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed with a role, see IAM and STS quotas in the IAM User Guide. Because policy documents can be large, you should use POST rather than GET when calling PutRolePolicy. For general information about using the Query API with IAM, see Making query requests in the IAM User Guide.
|
901
909
|
*/
|
902
910
|
putRolePolicy(params: IAM.Types.PutRolePolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
903
911
|
/**
|
904
|
-
* Adds or updates an inline policy document that is embedded in the specified IAM role. When you embed an inline policy in a role, the inline policy is used as part of the role's access (permissions) policy. The role's trust policy is created at the same time as the role, using
|
912
|
+
* Adds or updates an inline policy document that is embedded in the specified IAM role. When you embed an inline policy in a role, the inline policy is used as part of the role's access (permissions) policy. The role's trust policy is created at the same time as the role, using CreateRole . You can update a role's trust policy using UpdateAssumerolePolicy . For more information about IAM roles, see Using roles to delegate permissions and federate identities. A role can also have a managed policy attached to it. To attach a managed policy to a role, use AttachRolePolicy . To create a new managed policy, use CreatePolicy . For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed with a role, see IAM and STS quotas in the IAM User Guide. Because policy documents can be large, you should use POST rather than GET when calling PutRolePolicy. For general information about using the Query API with IAM, see Making query requests in the IAM User Guide.
|
905
913
|
*/
|
906
914
|
putRolePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
907
915
|
/**
|
@@ -913,11 +921,11 @@ declare class IAM extends Service {
|
|
913
921
|
*/
|
914
922
|
putUserPermissionsBoundary(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
915
923
|
/**
|
916
|
-
* Adds or updates an inline policy document that is embedded in the specified IAM user. An IAM user can also have a managed policy attached to it. To attach a managed policy to a user, use
|
924
|
+
* Adds or updates an inline policy document that is embedded in the specified IAM user. An IAM user can also have a managed policy attached to it. To attach a managed policy to a user, use AttachUserPolicy . To create a new managed policy, use CreatePolicy . For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed in a user, see IAM and STS quotas in the IAM User Guide. Because policy documents can be large, you should use POST rather than GET when calling PutUserPolicy. For general information about using the Query API with IAM, see Making query requests in the IAM User Guide.
|
917
925
|
*/
|
918
926
|
putUserPolicy(params: IAM.Types.PutUserPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
919
927
|
/**
|
920
|
-
* Adds or updates an inline policy document that is embedded in the specified IAM user. An IAM user can also have a managed policy attached to it. To attach a managed policy to a user, use
|
928
|
+
* Adds or updates an inline policy document that is embedded in the specified IAM user. An IAM user can also have a managed policy attached to it. To attach a managed policy to a user, use AttachUserPolicy . To create a new managed policy, use CreatePolicy . For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed in a user, see IAM and STS quotas in the IAM User Guide. Because policy documents can be large, you should use POST rather than GET when calling PutUserPolicy. For general information about using the Query API with IAM, see Making query requests in the IAM User Guide.
|
921
929
|
*/
|
922
930
|
putUserPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
923
931
|
/**
|
@@ -1453,6 +1461,9 @@ declare namespace IAM {
|
|
1453
1461
|
PolicyArn?: arnType;
|
1454
1462
|
}
|
1455
1463
|
export type BootstrapDatum = Buffer|Uint8Array|Blob|string;
|
1464
|
+
export type CertificationKeyType = string;
|
1465
|
+
export type CertificationMapType = {[key: string]: CertificationValueType};
|
1466
|
+
export type CertificationValueType = string;
|
1456
1467
|
export interface ChangePasswordRequest {
|
1457
1468
|
/**
|
1458
1469
|
* The IAM user's current password.
|
@@ -2321,6 +2332,34 @@ declare namespace IAM {
|
|
2321
2332
|
*/
|
2322
2333
|
LoginProfile: LoginProfile;
|
2323
2334
|
}
|
2335
|
+
export interface GetMFADeviceRequest {
|
2336
|
+
/**
|
2337
|
+
* Serial number that uniquely identifies the MFA device. For this API, we only accept FIDO security key ARNs.
|
2338
|
+
*/
|
2339
|
+
SerialNumber: serialNumberType;
|
2340
|
+
/**
|
2341
|
+
* The friendly name identifying the user.
|
2342
|
+
*/
|
2343
|
+
UserName?: userNameType;
|
2344
|
+
}
|
2345
|
+
export interface GetMFADeviceResponse {
|
2346
|
+
/**
|
2347
|
+
* The friendly name identifying the user.
|
2348
|
+
*/
|
2349
|
+
UserName?: userNameType;
|
2350
|
+
/**
|
2351
|
+
* Serial number that uniquely identifies the MFA device. For this API, we only accept FIDO security key ARNs.
|
2352
|
+
*/
|
2353
|
+
SerialNumber: serialNumberType;
|
2354
|
+
/**
|
2355
|
+
* The date that a specified user's MFA device was first enabled.
|
2356
|
+
*/
|
2357
|
+
EnableDate?: dateType;
|
2358
|
+
/**
|
2359
|
+
* The certifications of a specified user's MFA device. We currently provide FIPS-140-2, FIPS-140-3, and FIDO certification levels obtained from FIDO Alliance Metadata Service (MDS).
|
2360
|
+
*/
|
2361
|
+
Certifications?: CertificationMapType;
|
2362
|
+
}
|
2324
2363
|
export interface GetOpenIDConnectProviderRequest {
|
2325
2364
|
/**
|
2326
2365
|
* The Amazon Resource Name (ARN) of the OIDC provider resource object in IAM to get information for. You can get a list of OIDC provider resource ARNs by using the ListOpenIDConnectProviders operation. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
|
package/clients/pinpoint.d.ts
CHANGED
@@ -5112,6 +5112,10 @@ declare namespace Pinpoint {
|
|
5112
5112
|
* The time when a journey will not send messages. QuietTime should be configured first and SendingSchedule should be set to true.
|
5113
5113
|
*/
|
5114
5114
|
ClosedDays?: ClosedDays;
|
5115
|
+
/**
|
5116
|
+
* An array of time zone estimation methods, if any, to use for determining an Endpoints time zone if the Endpoint does not have a value for the Demographic.Timezone attribute. PHONE_NUMBER - A time zone is determined based on the Endpoint.Address and Endpoint.Location.Country. POSTAL_CODE - A time zone is determined based on the Endpoint.Location.PostalCode and Endpoint.Location.Country. POSTAL_CODE detection is only supported in the United States, United Kingdom, Australia, New Zealand, Canada, France, Italy, Spain, Germany and in regions where Amazon Pinpoint is available.
|
5117
|
+
*/
|
5118
|
+
TimezoneEstimationMethods?: ListOf__TimezoneEstimationMethodsElement;
|
5115
5119
|
}
|
5116
5120
|
export interface JourneyRunExecutionActivityMetricsResponse {
|
5117
5121
|
/**
|
@@ -7476,6 +7480,10 @@ declare namespace Pinpoint {
|
|
7476
7480
|
* The time when journey will stop sending messages. QuietTime should be configured first and SendingSchedule should be set to true.
|
7477
7481
|
*/
|
7478
7482
|
ClosedDays?: ClosedDays;
|
7483
|
+
/**
|
7484
|
+
* An array of time zone estimation methods, if any, to use for determining an Endpoints time zone if the Endpoint does not have a value for the Demographic.Timezone attribute. PHONE_NUMBER - A time zone is determined based on the Endpoint.Address and Endpoint.Location.Country. POSTAL_CODE - A time zone is determined based on the Endpoint.Location.PostalCode and Endpoint.Location.Country. POSTAL_CODE detection is only supported in the United States, United Kingdom, Australia, New Zealand, Canada, France, Italy, Spain, Germany and in regions where Amazon Pinpoint is available.
|
7485
|
+
*/
|
7486
|
+
TimezoneEstimationMethods?: ListOf__TimezoneEstimationMethodsElement;
|
7479
7487
|
}
|
7480
7488
|
export interface WriteSegmentRequest {
|
7481
7489
|
/**
|
@@ -7526,6 +7534,7 @@ declare namespace Pinpoint {
|
|
7526
7534
|
TreatmentName?: __string;
|
7527
7535
|
}
|
7528
7536
|
export type __EndpointTypesElement = "PUSH"|"GCM"|"APNS"|"APNS_SANDBOX"|"APNS_VOIP"|"APNS_VOIP_SANDBOX"|"ADM"|"SMS"|"VOICE"|"EMAIL"|"BAIDU"|"CUSTOM"|"IN_APP"|string;
|
7537
|
+
export type __TimezoneEstimationMethodsElement = "PHONE_NUMBER"|"POSTAL_CODE"|string;
|
7529
7538
|
export type __boolean = boolean;
|
7530
7539
|
export type __double = number;
|
7531
7540
|
export type __integer = number;
|
@@ -7555,6 +7564,7 @@ declare namespace Pinpoint {
|
|
7555
7564
|
export type ListOfTreatmentResource = TreatmentResource[];
|
7556
7565
|
export type ListOfWriteTreatmentResource = WriteTreatmentResource[];
|
7557
7566
|
export type ListOf__EndpointTypesElement = __EndpointTypesElement[];
|
7567
|
+
export type ListOf__TimezoneEstimationMethodsElement = __TimezoneEstimationMethodsElement[];
|
7558
7568
|
export type ListOf__string = __string[];
|
7559
7569
|
export type MapOfActivity = {[key: string]: Activity};
|
7560
7570
|
export type MapOfAddressConfiguration = {[key: string]: AddressConfiguration};
|