aws-sdk 2.1607.0 → 2.1609.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.
@@ -1102,7 +1102,7 @@ declare namespace CognitoIdentityServiceProvider {
1102
1102
  */
1103
1103
  UserCreateDate?: DateType;
1104
1104
  /**
1105
- * The date and time, in ISO 8601 format, when the item was modified.
1105
+ * The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
1106
1106
  */
1107
1107
  UserLastModifiedDate?: DateType;
1108
1108
  /**
@@ -1564,7 +1564,7 @@ declare namespace CognitoIdentityServiceProvider {
1564
1564
  */
1565
1565
  EventType?: EventType;
1566
1566
  /**
1567
- * The date and time, in ISO 8601 format, when the item was created.
1567
+ * The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
1568
1568
  */
1569
1569
  CreationDate?: DateType;
1570
1570
  /**
@@ -1885,7 +1885,7 @@ declare namespace CognitoIdentityServiceProvider {
1885
1885
  */
1886
1886
  UserPoolId: UserPoolIdType;
1887
1887
  /**
1888
- * A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the resource server is located, such as https://my-weather-api.example.com.
1888
+ * A unique resource server identifier for the resource server. The identifier can be an API friendly name like solar-system-data. You can also set an API URL like https://solar-system-data-api.example.com as your identifier. Amazon Cognito represents scopes in the access token in the format $resource-server-identifier/$scope. Longer scope-identifier strings increase the size of your access tokens.
1889
1889
  */
1890
1890
  Identifier: ResourceServerIdentifierType;
1891
1891
  /**
@@ -1977,7 +1977,7 @@ declare namespace CognitoIdentityServiceProvider {
1977
1977
  */
1978
1978
  LogoutURLs?: LogoutURLsListType;
1979
1979
  /**
1980
- * The default redirect URI. Must be in the CallbackURLs list. A redirect URI must: Be an absolute URI. Be registered with the authorization server. Not include a fragment component. See OAuth 2.0 - Redirection Endpoint. Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only. App callback URLs such as myapp://example are also supported.
1980
+ * The default redirect URI. In app clients with one assigned IdP, replaces redirect_uri in authentication requests. Must be in the CallbackURLs list. A redirect URI must: Be an absolute URI. Be registered with the authorization server. Not include a fragment component. For more information, see Default redirect URI. Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only. App callback URLs such as myapp://example are also supported.
1981
1981
  */
1982
1982
  DefaultRedirectURI?: RedirectUrlType;
1983
1983
  /**
@@ -2272,7 +2272,7 @@ declare namespace CognitoIdentityServiceProvider {
2272
2272
  */
2273
2273
  UserPoolId: UserPoolIdType;
2274
2274
  /**
2275
- * The identifier for the resource server
2275
+ * A unique resource server identifier for the resource server. The identifier can be an API friendly name like solar-system-data. You can also set an API URL like https://solar-system-data-api.example.com as your identifier. Amazon Cognito represents scopes in the access token in the format $resource-server-identifier/$scope. Longer scope-identifier strings increase the size of your access tokens.
2276
2276
  */
2277
2277
  Identifier: ResourceServerIdentifierType;
2278
2278
  }
@@ -2393,7 +2393,7 @@ declare namespace CognitoIdentityServiceProvider {
2393
2393
  */
2394
2394
  DeviceCreateDate?: DateType;
2395
2395
  /**
2396
- * The date and time, in ISO 8601 format, when the item was modified.
2396
+ * The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
2397
2397
  */
2398
2398
  DeviceLastModifiedDate?: DateType;
2399
2399
  /**
@@ -2775,11 +2775,11 @@ declare namespace CognitoIdentityServiceProvider {
2775
2775
  */
2776
2776
  Precedence?: PrecedenceType;
2777
2777
  /**
2778
- * The date and time, in ISO 8601 format, when the item was modified.
2778
+ * The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
2779
2779
  */
2780
2780
  LastModifiedDate?: DateType;
2781
2781
  /**
2782
- * The date and time, in ISO 8601 format, when the item was created.
2782
+ * The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
2783
2783
  */
2784
2784
  CreationDate?: DateType;
2785
2785
  }
@@ -2822,11 +2822,11 @@ declare namespace CognitoIdentityServiceProvider {
2822
2822
  */
2823
2823
  IdpIdentifiers?: IdpIdentifiersListType;
2824
2824
  /**
2825
- * The date and time, in ISO 8601 format, when the item was modified.
2825
+ * The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
2826
2826
  */
2827
2827
  LastModifiedDate?: DateType;
2828
2828
  /**
2829
- * The date and time, in ISO 8601 format, when the item was created.
2829
+ * The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
2830
2830
  */
2831
2831
  CreationDate?: DateType;
2832
2832
  }
@@ -3353,7 +3353,7 @@ declare namespace CognitoIdentityServiceProvider {
3353
3353
  */
3354
3354
  LastModifiedDate?: DateType;
3355
3355
  /**
3356
- * The date and time, in ISO 8601 format, when the item was created.
3356
+ * The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
3357
3357
  */
3358
3358
  CreationDate?: DateType;
3359
3359
  }
@@ -3445,7 +3445,7 @@ declare namespace CognitoIdentityServiceProvider {
3445
3445
  */
3446
3446
  UserPoolId?: UserPoolIdType;
3447
3447
  /**
3448
- * The identifier for the resource server.
3448
+ * A unique resource server identifier for the resource server. The identifier can be an API friendly name like solar-system-data. You can also set an API URL like https://solar-system-data-api.example.com as your identifier. Amazon Cognito represents scopes in the access token in the format $resource-server-identifier/$scope. Longer scope-identifier strings increase the size of your access tokens.
3449
3449
  */
3450
3450
  Identifier?: ResourceServerIdentifierType;
3451
3451
  /**
@@ -3544,7 +3544,7 @@ declare namespace CognitoIdentityServiceProvider {
3544
3544
  */
3545
3545
  RiskExceptionConfiguration?: RiskExceptionConfigurationType;
3546
3546
  /**
3547
- * The date and time, in ISO 8601 format, when the item was modified.
3547
+ * The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
3548
3548
  */
3549
3549
  LastModifiedDate?: DateType;
3550
3550
  }
@@ -3931,11 +3931,11 @@ declare namespace CognitoIdentityServiceProvider {
3931
3931
  */
3932
3932
  CSSVersion?: CSSVersionType;
3933
3933
  /**
3934
- * The date and time, in ISO 8601 format, when the item was modified.
3934
+ * The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
3935
3935
  */
3936
3936
  LastModifiedDate?: DateType;
3937
3937
  /**
3938
- * The date and time, in ISO 8601 format, when the item was created.
3938
+ * The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
3939
3939
  */
3940
3940
  CreationDate?: DateType;
3941
3941
  }
@@ -4053,7 +4053,7 @@ declare namespace CognitoIdentityServiceProvider {
4053
4053
  */
4054
4054
  UserPoolId: UserPoolIdType;
4055
4055
  /**
4056
- * The identifier for the resource server.
4056
+ * A unique resource server identifier for the resource server. The identifier can be an API friendly name like solar-system-data. You can also set an API URL like https://solar-system-data-api.example.com as your identifier. Amazon Cognito represents scopes in the access token in the format $resource-server-identifier/$scope. Longer scope-identifier strings increase the size of your access tokens.
4057
4057
  */
4058
4058
  Identifier: ResourceServerIdentifierType;
4059
4059
  /**
@@ -4325,7 +4325,7 @@ declare namespace CognitoIdentityServiceProvider {
4325
4325
  */
4326
4326
  PreSignedUrl?: PreSignedUrlType;
4327
4327
  /**
4328
- * The date and time, in ISO 8601 format, when the item was created.
4328
+ * The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
4329
4329
  */
4330
4330
  CreationDate?: DateType;
4331
4331
  /**
@@ -4402,11 +4402,11 @@ declare namespace CognitoIdentityServiceProvider {
4402
4402
  */
4403
4403
  ClientSecret?: ClientSecretType;
4404
4404
  /**
4405
- * The date and time, in ISO 8601 format, when the item was modified.
4405
+ * The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
4406
4406
  */
4407
4407
  LastModifiedDate?: DateType;
4408
4408
  /**
4409
- * The date and time, in ISO 8601 format, when the item was created.
4409
+ * The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
4410
4410
  */
4411
4411
  CreationDate?: DateType;
4412
4412
  /**
@@ -4504,11 +4504,11 @@ declare namespace CognitoIdentityServiceProvider {
4504
4504
  */
4505
4505
  Status?: StatusType;
4506
4506
  /**
4507
- * The date and time, in ISO 8601 format, when the item was modified.
4507
+ * The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
4508
4508
  */
4509
4509
  LastModifiedDate?: DateType;
4510
4510
  /**
4511
- * The date and time, in ISO 8601 format, when the item was created.
4511
+ * The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
4512
4512
  */
4513
4513
  CreationDate?: DateType;
4514
4514
  }
@@ -4550,11 +4550,11 @@ declare namespace CognitoIdentityServiceProvider {
4550
4550
  */
4551
4551
  Status?: StatusType;
4552
4552
  /**
4553
- * The date and time, in ISO 8601 format, when the item was modified.
4553
+ * The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
4554
4554
  */
4555
4555
  LastModifiedDate?: DateType;
4556
4556
  /**
4557
- * The date and time, in ISO 8601 format, when the item was created.
4557
+ * The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
4558
4558
  */
4559
4559
  CreationDate?: DateType;
4560
4560
  /**
@@ -4673,7 +4673,7 @@ declare namespace CognitoIdentityServiceProvider {
4673
4673
  */
4674
4674
  UserCreateDate?: DateType;
4675
4675
  /**
4676
- * The date and time, in ISO 8601 format, when the item was modified.
4676
+ * The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
4677
4677
  */
4678
4678
  UserLastModifiedDate?: DateType;
4679
4679
  /**
@@ -197,6 +197,10 @@ declare namespace ConnectCampaigns {
197
197
  * Enable or disable answering machine detection
198
198
  */
199
199
  enableAnswerMachineDetection: Boolean;
200
+ /**
201
+ * Enable or disable await answer machine prompt
202
+ */
203
+ awaitAnswerMachinePrompt?: Boolean;
200
204
  }
201
205
  export type Arn = string;
202
206
  export type AttributeName = string;
@@ -83,6 +83,30 @@ declare class ConnectCases extends Service {
83
83
  * Deletes a Cases domain. <note> <p>After deleting your domain you must disassociate the deleted domain from your Amazon Connect instance with another API call before being able to use Cases again with this Amazon Connect instance. See <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteIntegrationAssociation.html">DeleteIntegrationAssociation</a>.</p> </note>
84
84
  */
85
85
  deleteDomain(callback?: (err: AWSError, data: ConnectCases.Types.DeleteDomainResponse) => void): Request<ConnectCases.Types.DeleteDomainResponse, AWSError>;
86
+ /**
87
+ * Deletes a field from a cases template. You can delete up to 100 fields per domain. After a field is deleted: You can still retrieve the field by calling BatchGetField. You cannot update a deleted field by calling UpdateField; it throws a ValidationException. Deleted fields are not included in the ListFields response. Calling CreateCase with a deleted field throws a ValidationException denoting which field IDs in the request have been deleted. Calling GetCase with a deleted field ID returns the deleted field's value if one exists. Calling UpdateCase with a deleted field ID throws a ValidationException if the case does not already contain a value for the deleted field. Otherwise it succeeds, allowing you to update or remove (using emptyValue: {}) the field's value from the case. GetTemplate does not return field IDs for deleted fields. GetLayout does not return field IDs for deleted fields. Calling SearchCases with the deleted field ID as a filter returns any cases that have a value for the deleted field that matches the filter criteria. Calling SearchCases with a searchTerm value that matches a deleted field's value on a case returns the case in the response. Calling BatchPutFieldOptions with a deleted field ID throw a ValidationException. Calling GetCaseEventConfiguration does not return field IDs for deleted fields.
88
+ */
89
+ deleteField(params: ConnectCases.Types.DeleteFieldRequest, callback?: (err: AWSError, data: ConnectCases.Types.DeleteFieldResponse) => void): Request<ConnectCases.Types.DeleteFieldResponse, AWSError>;
90
+ /**
91
+ * Deletes a field from a cases template. You can delete up to 100 fields per domain. After a field is deleted: You can still retrieve the field by calling BatchGetField. You cannot update a deleted field by calling UpdateField; it throws a ValidationException. Deleted fields are not included in the ListFields response. Calling CreateCase with a deleted field throws a ValidationException denoting which field IDs in the request have been deleted. Calling GetCase with a deleted field ID returns the deleted field's value if one exists. Calling UpdateCase with a deleted field ID throws a ValidationException if the case does not already contain a value for the deleted field. Otherwise it succeeds, allowing you to update or remove (using emptyValue: {}) the field's value from the case. GetTemplate does not return field IDs for deleted fields. GetLayout does not return field IDs for deleted fields. Calling SearchCases with the deleted field ID as a filter returns any cases that have a value for the deleted field that matches the filter criteria. Calling SearchCases with a searchTerm value that matches a deleted field's value on a case returns the case in the response. Calling BatchPutFieldOptions with a deleted field ID throw a ValidationException. Calling GetCaseEventConfiguration does not return field IDs for deleted fields.
92
+ */
93
+ deleteField(callback?: (err: AWSError, data: ConnectCases.Types.DeleteFieldResponse) => void): Request<ConnectCases.Types.DeleteFieldResponse, AWSError>;
94
+ /**
95
+ * Deletes a layout from a cases template. You can delete up to 100 layouts per domain. &lt;p&gt;After a layout is deleted:&lt;/p&gt; &lt;ul&gt; &lt;li&gt; &lt;p&gt;You can still retrieve the layout by calling &lt;code&gt;GetLayout&lt;/code&gt;.&lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt;You cannot update a deleted layout by calling &lt;code&gt;UpdateLayout&lt;/code&gt;; it throws a &lt;code&gt;ValidationException&lt;/code&gt;.&lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt;Deleted layouts are not included in the &lt;code&gt;ListLayouts&lt;/code&gt; response.&lt;/p&gt; &lt;/li&gt; &lt;/ul&gt;
96
+ */
97
+ deleteLayout(params: ConnectCases.Types.DeleteLayoutRequest, callback?: (err: AWSError, data: ConnectCases.Types.DeleteLayoutResponse) => void): Request<ConnectCases.Types.DeleteLayoutResponse, AWSError>;
98
+ /**
99
+ * Deletes a layout from a cases template. You can delete up to 100 layouts per domain. &lt;p&gt;After a layout is deleted:&lt;/p&gt; &lt;ul&gt; &lt;li&gt; &lt;p&gt;You can still retrieve the layout by calling &lt;code&gt;GetLayout&lt;/code&gt;.&lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt;You cannot update a deleted layout by calling &lt;code&gt;UpdateLayout&lt;/code&gt;; it throws a &lt;code&gt;ValidationException&lt;/code&gt;.&lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt;Deleted layouts are not included in the &lt;code&gt;ListLayouts&lt;/code&gt; response.&lt;/p&gt; &lt;/li&gt; &lt;/ul&gt;
100
+ */
101
+ deleteLayout(callback?: (err: AWSError, data: ConnectCases.Types.DeleteLayoutResponse) => void): Request<ConnectCases.Types.DeleteLayoutResponse, AWSError>;
102
+ /**
103
+ * Deletes a cases template. You can delete up to 100 templates per domain. &lt;p&gt;After a cases template is deleted:&lt;/p&gt; &lt;ul&gt; &lt;li&gt; &lt;p&gt;You can still retrieve the template by calling &lt;code&gt;GetTemplate&lt;/code&gt;.&lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt;You cannot update the template. &lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt;You cannot create a case by using the deleted template.&lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt;Deleted templates are not included in the &lt;code&gt;ListTemplates&lt;/code&gt; response.&lt;/p&gt; &lt;/li&gt; &lt;/ul&gt;
104
+ */
105
+ deleteTemplate(params: ConnectCases.Types.DeleteTemplateRequest, callback?: (err: AWSError, data: ConnectCases.Types.DeleteTemplateResponse) => void): Request<ConnectCases.Types.DeleteTemplateResponse, AWSError>;
106
+ /**
107
+ * Deletes a cases template. You can delete up to 100 templates per domain. &lt;p&gt;After a cases template is deleted:&lt;/p&gt; &lt;ul&gt; &lt;li&gt; &lt;p&gt;You can still retrieve the template by calling &lt;code&gt;GetTemplate&lt;/code&gt;.&lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt;You cannot update the template. &lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt;You cannot create a case by using the deleted template.&lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt;Deleted templates are not included in the &lt;code&gt;ListTemplates&lt;/code&gt; response.&lt;/p&gt; &lt;/li&gt; &lt;/ul&gt;
108
+ */
109
+ deleteTemplate(callback?: (err: AWSError, data: ConnectCases.Types.DeleteTemplateResponse) => void): Request<ConnectCases.Types.DeleteTemplateResponse, AWSError>;
86
110
  /**
87
111
  * Returns information about a specific case if it exists.
88
112
  */
@@ -655,6 +679,43 @@ declare namespace ConnectCases {
655
679
  }
656
680
  export interface DeleteDomainResponse {
657
681
  }
682
+ export interface DeleteFieldRequest {
683
+ /**
684
+ * The unique identifier of the Cases domain.
685
+ */
686
+ domainId: DomainId;
687
+ /**
688
+ * The unique identifier of a field.
689
+ */
690
+ fieldId: FieldId;
691
+ }
692
+ export interface DeleteFieldResponse {
693
+ }
694
+ export interface DeleteLayoutRequest {
695
+ /**
696
+ * The unique identifier of the Cases domain.
697
+ */
698
+ domainId: DomainId;
699
+ /**
700
+ * The unique identifier of the layout.
701
+ */
702
+ layoutId: LayoutId;
703
+ }
704
+ export interface DeleteLayoutResponse {
705
+ }
706
+ export interface DeleteTemplateRequest {
707
+ /**
708
+ * The unique identifier of the Cases domain.
709
+ */
710
+ domainId: DomainId;
711
+ /**
712
+ * A unique identifier of a template.
713
+ */
714
+ templateId: TemplateId;
715
+ }
716
+ export interface DeleteTemplateResponse {
717
+ }
718
+ export type Deleted = boolean;
658
719
  export type DomainArn = string;
659
720
  export type DomainId = string;
660
721
  export type DomainName = string;
@@ -966,6 +1027,14 @@ declare namespace ConnectCases {
966
1027
  tags?: Tags;
967
1028
  }
968
1029
  export interface GetFieldResponse {
1030
+ /**
1031
+ * The timestamp for when the resource was created.
1032
+ */
1033
+ createdTime?: CreatedTime;
1034
+ /**
1035
+ * Indicates whether the resource has been deleted.
1036
+ */
1037
+ deleted?: Deleted;
969
1038
  /**
970
1039
  * Description of the field.
971
1040
  */
@@ -978,6 +1047,10 @@ declare namespace ConnectCases {
978
1047
  * Unique identifier of the field.
979
1048
  */
980
1049
  fieldId: FieldId;
1050
+ /**
1051
+ * The timestamp for when the resource was created or last modified.
1052
+ */
1053
+ lastModifiedTime?: LastModifiedTime;
981
1054
  /**
982
1055
  * Name of the field.
983
1056
  */
@@ -1010,6 +1083,18 @@ declare namespace ConnectCases {
1010
1083
  * Information about which fields will be present in the layout, the order of the fields, and read-only attribute of the field.
1011
1084
  */
1012
1085
  content: LayoutContent;
1086
+ /**
1087
+ * The timestamp for when the resource was created.
1088
+ */
1089
+ createdTime?: CreatedTime;
1090
+ /**
1091
+ * Indicates whether the resource has been deleted.
1092
+ */
1093
+ deleted?: Deleted;
1094
+ /**
1095
+ * The timestamp for when the resource was created or last modified.
1096
+ */
1097
+ lastModifiedTime?: LastModifiedTime;
1013
1098
  /**
1014
1099
  * The Amazon Resource Name (ARN) of the newly created layout.
1015
1100
  */
@@ -1038,10 +1123,22 @@ declare namespace ConnectCases {
1038
1123
  templateId: TemplateId;
1039
1124
  }
1040
1125
  export interface GetTemplateResponse {
1126
+ /**
1127
+ * The timestamp for when the resource was created.
1128
+ */
1129
+ createdTime?: CreatedTime;
1130
+ /**
1131
+ * Indicates whether the resource has been deleted.
1132
+ */
1133
+ deleted?: Deleted;
1041
1134
  /**
1042
1135
  * A brief description of the template.
1043
1136
  */
1044
1137
  description?: TemplateDescription;
1138
+ /**
1139
+ * The timestamp for when the resource was created or last modified.
1140
+ */
1141
+ lastModifiedTime?: LastModifiedTime;
1045
1142
  /**
1046
1143
  * Configuration of layouts associated to the template.
1047
1144
  */
@@ -1072,6 +1169,7 @@ declare namespace ConnectCases {
1072
1169
  templateId: TemplateId;
1073
1170
  }
1074
1171
  export type IamPrincipalArn = string;
1172
+ export type LastModifiedTime = Date;
1075
1173
  export type LayoutArn = string;
1076
1174
  export interface LayoutConfiguration {
1077
1175
  /**
@@ -1674,6 +1674,10 @@ declare namespace Inspector2 {
1674
1674
  * An array of Amazon Web Services resource types to return coverage statistics for. The values can be AWS_EC2_INSTANCE, AWS_LAMBDA_FUNCTION, AWS_ECR_CONTAINER_IMAGE, AWS_ECR_REPOSITORY or AWS_ACCOUNT.
1675
1675
  */
1676
1676
  resourceType?: CoverageStringFilterList;
1677
+ /**
1678
+ * The filter to search for Amazon EC2 instance coverage by scan mode. Valid values are EC2_SSM_AGENT_BASED and EC2_HYBRID.
1679
+ */
1680
+ scanMode?: CoverageStringFilterList;
1677
1681
  /**
1678
1682
  * The scan status code to filter on. Valid values are: ValidationException, InternalServerException, ResourceNotFoundException, BadRequestException, and ThrottlingException.
1679
1683
  */
@@ -1738,6 +1742,10 @@ declare namespace Inspector2 {
1738
1742
  * The type of the covered resource.
1739
1743
  */
1740
1744
  resourceType: CoverageResourceType;
1745
+ /**
1746
+ * The scan method that is applied to the instance.
1747
+ */
1748
+ scanMode?: ScanMode;
1741
1749
  /**
1742
1750
  * The status of the scan covering the resource.
1743
1751
  */
@@ -2079,6 +2087,18 @@ declare namespace Inspector2 {
2079
2087
  accountId: AccountId;
2080
2088
  }
2081
2089
  export type Double = number;
2090
+ export interface Ec2Configuration {
2091
+ /**
2092
+ * The scan method that is applied to the instance.
2093
+ */
2094
+ scanMode: Ec2ScanMode;
2095
+ }
2096
+ export interface Ec2ConfigurationState {
2097
+ /**
2098
+ * An object that contains details about the state of the Amazon EC2 scan mode.
2099
+ */
2100
+ scanModeState?: Ec2ScanModeState;
2101
+ }
2082
2102
  export type Ec2DeepInspectionStatus = "ACTIVATED"|"DEACTIVATED"|"PENDING"|"FAILED"|string;
2083
2103
  export interface Ec2InstanceAggregation {
2084
2104
  /**
@@ -2152,6 +2172,18 @@ declare namespace Inspector2 {
2152
2172
  tags?: TagMap;
2153
2173
  }
2154
2174
  export type Ec2Platform = "WINDOWS"|"LINUX"|"UNKNOWN"|"MACOS"|string;
2175
+ export type Ec2ScanMode = "EC2_SSM_AGENT_BASED"|"EC2_HYBRID"|string;
2176
+ export interface Ec2ScanModeState {
2177
+ /**
2178
+ * The scan method that is applied to the instance.
2179
+ */
2180
+ scanMode?: Ec2ScanMode;
2181
+ /**
2182
+ * The status of the Amazon EC2 scan mode setting.
2183
+ */
2184
+ scanModeStatus?: Ec2ScanModeStatus;
2185
+ }
2186
+ export type Ec2ScanModeStatus = "SUCCESS"|"PENDING"|string;
2155
2187
  export interface EcrConfiguration {
2156
2188
  /**
2157
2189
  * The rescan duration configured for image pull date.
@@ -2608,7 +2640,7 @@ declare namespace Inspector2 {
2608
2640
  */
2609
2641
  inspectorScoreDetails?: InspectorScoreDetails;
2610
2642
  /**
2611
- * The date and time that the finding was last observed.
2643
+ * The date and time the finding was last observed. This timestamp for this field remains unchanged until a finding is updated.
2612
2644
  */
2613
2645
  lastObservedAt: DateTimeTimestamp;
2614
2646
  /**
@@ -2804,7 +2836,7 @@ declare namespace Inspector2 {
2804
2836
  */
2805
2837
  status?: CisReportStatus;
2806
2838
  /**
2807
- * The URL where the CIS scan report PDF can be downloaded.
2839
+ * The URL where a PDF of the CIS scan report can be downloaded.
2808
2840
  */
2809
2841
  url?: String;
2810
2842
  }
@@ -2856,6 +2888,10 @@ declare namespace Inspector2 {
2856
2888
  export interface GetConfigurationRequest {
2857
2889
  }
2858
2890
  export interface GetConfigurationResponse {
2891
+ /**
2892
+ * Specifies how the Amazon EC2 automated scan mode is currently configured for your environment.
2893
+ */
2894
+ ec2Configuration?: Ec2ConfigurationState;
2859
2895
  /**
2860
2896
  * Specifies how the ECR automated re-scan duration is currently configured for your environment.
2861
2897
  */
@@ -4123,6 +4159,7 @@ declare namespace Inspector2 {
4123
4159
  export type RuleId = string;
4124
4160
  export type Runtime = "NODEJS"|"NODEJS_12_X"|"NODEJS_14_X"|"NODEJS_16_X"|"JAVA_8"|"JAVA_8_AL2"|"JAVA_11"|"PYTHON_3_7"|"PYTHON_3_8"|"PYTHON_3_9"|"UNSUPPORTED"|"NODEJS_18_X"|"GO_1_X"|"JAVA_17"|"PYTHON_3_10"|string;
4125
4161
  export type SbomReportFormat = "CYCLONEDX_1_4"|"SPDX_2_3"|string;
4162
+ export type ScanMode = "EC2_SSM_AGENT_BASED"|"EC2_AGENTLESS"|string;
4126
4163
  export interface ScanStatus {
4127
4164
  /**
4128
4165
  * The scan status. Possible return values and descriptions are: PENDING_INITIAL_SCAN - This resource has been identified for scanning, results will be available soon. ACCESS_DENIED - Resource access policy restricting Amazon Inspector access. Please update the IAM policy. INTERNAL_ERROR - Amazon Inspector has encountered an internal error for this resource. Amazon Inspector service will automatically resolve the issue and resume the scanning. No action required from the user. UNMANAGED_EC2_INSTANCE - The EC2 instance is not managed by SSM, please use the following SSM automation to remediate the issue: https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-awssupport-troubleshoot-managed-instance.html. Once the instance becomes managed by SSM, Inspector will automatically begin scanning this instance. UNSUPPORTED_OS - Amazon Inspector does not support this OS, architecture, or image manifest type at this time. To see a complete list of supported operating systems see: https://docs.aws.amazon.com/inspector/latest/user/supported.html. SCAN_ELIGIBILITY_EXPIRED - The configured scan duration has lapsed for this image. RESOURCE_TERMINATED - This resource has been terminated. The findings and coverage associated with this resource are in the process of being cleaned up. SUCCESSFUL - The scan was successful. NO_RESOURCES_FOUND - Reserved for future use. IMAGE_SIZE_EXCEEDED - Reserved for future use. SCAN_FREQUENCY_MANUAL - This image will not be covered by Amazon Inspector due to the repository scan frequency configuration. SCAN_FREQUENCY_SCAN_ON_PUSH - This image will be scanned one time and will not new findings because of the scan frequency configuration. EC2_INSTANCE_STOPPED - This EC2 instance is in a stopped state, therefore, Amazon Inspector will pause scanning. The existing findings will continue to exist until the instance is terminated. Once the instance is re-started, Inspector will automatically start scanning the instance again. Please note that you will not be charged for this instance while it’s in a stopped state. PENDING_DISABLE - This resource is pending cleanup during disablement. The customer will not be billed while a resource is in the pending disable status. NO INVENTORY - Amazon Inspector couldn’t find software application inventory to scan for vulnerabilities. This might be caused due to required Amazon Inspector associations being deleted or failing to run on your resource. Please verify the status of InspectorInventoryCollection-do-not-delete association in the SSM console for the resource. Additionally, you can verify the instance’s inventory in the SSM Fleet Manager console. STALE_INVENTORY - Amazon Inspector wasn’t able to collect an updated software application inventory in the last 7 days. Please confirm the required Amazon Inspector associations still exist and you can still see an updated inventory in the SSM console. EXCLUDED_BY_TAG - This resource was not scanned because it has been excluded by a tag. UNSUPPORTED_RUNTIME - The function was not scanned because it has an unsupported runtime. To see a complete list of supported runtimes see: https://docs.aws.amazon.com/inspector/latest/user/supported.html. UNSUPPORTED_MEDIA_TYPE - The ECR image has an unsupported media type. UNSUPPORTED_CONFIG_FILE - Reserved for future use. DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED - The instance has exceeded the 5000 package limit for Amazon Inspector Deep inspection. To resume Deep inspection for this instance you can try to adjust the custom paths associated with the account. DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED - The SSM agent couldn't send inventory to Amazon Inspector because the SSM quota for Inventory data collected per instance per day has already been reached for this instance. DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED - Amazon Inspector failed to extract the package inventory because the package collection time exceeding the maximum threshold of 15 minutes. DEEP_INSPECTION_NO_INVENTORY The Amazon Inspector plugin hasn't yet been able to collect an inventory of packages for this instance. This is usually the result of a pending scan, however, if this status persists after 6 hours, use SSM to ensure that the required Amazon Inspector associations exist and are running for the instance.
@@ -4562,10 +4599,14 @@ declare namespace Inspector2 {
4562
4599
  targetResourceTags?: TargetResourceTags;
4563
4600
  }
4564
4601
  export interface UpdateConfigurationRequest {
4602
+ /**
4603
+ * Specifies how the Amazon EC2 automated scan will be updated for your environment.
4604
+ */
4605
+ ec2Configuration?: Ec2Configuration;
4565
4606
  /**
4566
4607
  * Specifies how the ECR automated re-scan will be updated for your environment.
4567
4608
  */
4568
- ecrConfiguration: EcrConfiguration;
4609
+ ecrConfiguration?: EcrConfiguration;
4569
4610
  }
4570
4611
  export interface UpdateConfigurationResponse {
4571
4612
  }