aws-sdk 2.1069.0 → 2.1073.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.
@@ -325,11 +325,11 @@ declare class S3Control extends Service {
325
325
  */
326
326
  listAccessPoints(callback?: (err: AWSError, data: S3Control.Types.ListAccessPointsResult) => void): Request<S3Control.Types.ListAccessPointsResult, AWSError>;
327
327
  /**
328
- * Returns a list of the access points associated with the Object Lambda Access Point. You can retrieve up to 1000 access points per call. If there are more than 1,000 access points (or the number specified in maxResults, whichever is less), the response will include a continuation token that you can use to list the additional access points. The following actions are related to ListAccessPointsForObjectLambda: CreateAccessPointForObjectLambda DeleteAccessPointForObjectLambda GetAccessPointForObjectLambda
328
+ * Returns some or all (up to 1,000) access points associated with the Object Lambda Access Point per call. If there are more access points than what can be returned in one call, the response will include a continuation token that you can use to list the additional access points. The following actions are related to ListAccessPointsForObjectLambda: CreateAccessPointForObjectLambda DeleteAccessPointForObjectLambda GetAccessPointForObjectLambda
329
329
  */
330
330
  listAccessPointsForObjectLambda(params: S3Control.Types.ListAccessPointsForObjectLambdaRequest, callback?: (err: AWSError, data: S3Control.Types.ListAccessPointsForObjectLambdaResult) => void): Request<S3Control.Types.ListAccessPointsForObjectLambdaResult, AWSError>;
331
331
  /**
332
- * Returns a list of the access points associated with the Object Lambda Access Point. You can retrieve up to 1000 access points per call. If there are more than 1,000 access points (or the number specified in maxResults, whichever is less), the response will include a continuation token that you can use to list the additional access points. The following actions are related to ListAccessPointsForObjectLambda: CreateAccessPointForObjectLambda DeleteAccessPointForObjectLambda GetAccessPointForObjectLambda
332
+ * Returns some or all (up to 1,000) access points associated with the Object Lambda Access Point per call. If there are more access points than what can be returned in one call, the response will include a continuation token that you can use to list the additional access points. The following actions are related to ListAccessPointsForObjectLambda: CreateAccessPointForObjectLambda DeleteAccessPointForObjectLambda GetAccessPointForObjectLambda
333
333
  */
334
334
  listAccessPointsForObjectLambda(callback?: (err: AWSError, data: S3Control.Types.ListAccessPointsForObjectLambdaResult) => void): Request<S3Control.Types.ListAccessPointsForObjectLambdaResult, AWSError>;
335
335
  /**
@@ -429,11 +429,11 @@ declare class S3Control extends Service {
429
429
  */
430
430
  putMultiRegionAccessPointPolicy(callback?: (err: AWSError, data: S3Control.Types.PutMultiRegionAccessPointPolicyResult) => void): Request<S3Control.Types.PutMultiRegionAccessPointPolicyResult, AWSError>;
431
431
  /**
432
- * Creates or modifies the PublicAccessBlock configuration for an Amazon Web Services account. For more information, see Using Amazon S3 block public access. Related actions include: GetPublicAccessBlock DeletePublicAccessBlock
432
+ * Creates or modifies the PublicAccessBlock configuration for an Amazon Web Services account. For this operation, users must have the s3:PutBucketPublicAccessBlock permission. For more information, see Using Amazon S3 block public access. Related actions include: GetPublicAccessBlock DeletePublicAccessBlock
433
433
  */
434
434
  putPublicAccessBlock(params: S3Control.Types.PutPublicAccessBlockRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
435
435
  /**
436
- * Creates or modifies the PublicAccessBlock configuration for an Amazon Web Services account. For more information, see Using Amazon S3 block public access. Related actions include: GetPublicAccessBlock DeletePublicAccessBlock
436
+ * Creates or modifies the PublicAccessBlock configuration for an Amazon Web Services account. For this operation, users must have the s3:PutBucketPublicAccessBlock permission. For more information, see Using Amazon S3 block public access. Related actions include: GetPublicAccessBlock DeletePublicAccessBlock
437
437
  */
438
438
  putPublicAccessBlock(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
439
439
  /**
@@ -765,7 +765,7 @@ declare namespace S3Control {
765
765
  /**
766
766
  * Configuration parameters for the manifest.
767
767
  */
768
- Manifest: JobManifest;
768
+ Manifest?: JobManifest;
769
769
  /**
770
770
  * A description for this job. You can use any string within the permitted length. Descriptions don't need to be unique and can be used for multiple jobs.
771
771
  */
@@ -782,6 +782,10 @@ declare namespace S3Control {
782
782
  * A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.
783
783
  */
784
784
  Tags?: S3TagSet;
785
+ /**
786
+ * The attribute container for the ManifestGenerator details. Jobs must be created with either a manifest file or a ManifestGenerator, but not both.
787
+ */
788
+ ManifestGenerator?: JobManifestGenerator;
785
789
  }
786
790
  export interface CreateJobResult {
787
791
  /**
@@ -1024,6 +1028,17 @@ declare namespace S3Control {
1024
1028
  export type ExpiredObjectDeleteMarker = boolean;
1025
1029
  export type Format = "CSV"|"Parquet"|string;
1026
1030
  export type FunctionArnString = string;
1031
+ export interface GeneratedManifestEncryption {
1032
+ /**
1033
+ * Specifies the use of SSE-S3 to encrypt generated manifest objects.
1034
+ */
1035
+ SSES3?: SSES3Encryption;
1036
+ /**
1037
+ * Configuration details on how SSE-KMS is used to encrypt generated manifest objects.
1038
+ */
1039
+ SSEKMS?: SSEKMSEncryption;
1040
+ }
1041
+ export type GeneratedManifestFormat = "S3InventoryReport_CSV_20211130"|string;
1027
1042
  export interface GetAccessPointConfigurationForObjectLambdaRequest {
1028
1043
  /**
1029
1044
  * The account ID for the account that owns the specified Object Lambda Access Point.
@@ -1437,6 +1452,14 @@ declare namespace S3Control {
1437
1452
  * The reason why the specified job was suspended. A job is only suspended if you create it through the Amazon S3 console. When you create the job, it enters the Suspended state to await confirmation before running. After you confirm the job, it automatically exits the Suspended state.
1438
1453
  */
1439
1454
  SuspendedCause?: SuspendedCause;
1455
+ /**
1456
+ * The manifest generator that was used to generate a job manifest for this job.
1457
+ */
1458
+ ManifestGenerator?: JobManifestGenerator;
1459
+ /**
1460
+ * The attribute of the JobDescriptor containing details about the job's generated manifest.
1461
+ */
1462
+ GeneratedManifestDescriptor?: S3GeneratedManifestDescriptor;
1440
1463
  }
1441
1464
  export interface JobFailure {
1442
1465
  /**
@@ -1500,6 +1523,30 @@ declare namespace S3Control {
1500
1523
  export type JobManifestFieldList = JobManifestFieldName[];
1501
1524
  export type JobManifestFieldName = "Ignore"|"Bucket"|"Key"|"VersionId"|string;
1502
1525
  export type JobManifestFormat = "S3BatchOperations_CSV_20180820"|"S3InventoryReport_CSV_20161130"|string;
1526
+ export interface JobManifestGenerator {
1527
+ /**
1528
+ * The S3 job ManifestGenerator's configuration details.
1529
+ */
1530
+ S3JobManifestGenerator?: S3JobManifestGenerator;
1531
+ }
1532
+ export interface JobManifestGeneratorFilter {
1533
+ /**
1534
+ * Include objects in the generated manifest only if they are eligible for replication according to the Replication configuration on the source bucket.
1535
+ */
1536
+ EligibleForReplication?: Boolean;
1537
+ /**
1538
+ * If provided, the generated manifest should include only source bucket objects that were created after this time.
1539
+ */
1540
+ CreatedAfter?: ObjectCreationTime;
1541
+ /**
1542
+ * If provided, the generated manifest should include only source bucket objects that were created before this time.
1543
+ */
1544
+ CreatedBefore?: ObjectCreationTime;
1545
+ /**
1546
+ * If provided, the generated manifest should include only source bucket objects that have one of the specified Replication statuses.
1547
+ */
1548
+ ObjectReplicationStatuses?: ReplicationStatusFilterList;
1549
+ }
1503
1550
  export interface JobManifestLocation {
1504
1551
  /**
1505
1552
  * The Amazon Resource Name (ARN) for a manifest object. Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
@@ -1553,6 +1600,10 @@ declare namespace S3Control {
1553
1600
  S3InitiateRestoreObject?: S3InitiateRestoreObjectOperation;
1554
1601
  S3PutObjectLegalHold?: S3SetObjectLegalHoldOperation;
1555
1602
  S3PutObjectRetention?: S3SetObjectRetentionOperation;
1603
+ /**
1604
+ * Directs the specified job to invoke ReplicateObject on every object in the job's manifest.
1605
+ */
1606
+ S3ReplicateObject?: S3ReplicateObjectOperation;
1556
1607
  }
1557
1608
  export type JobPriority = number;
1558
1609
  export interface JobProgressSummary {
@@ -1568,6 +1619,10 @@ declare namespace S3Control {
1568
1619
  *
1569
1620
  */
1570
1621
  NumberOfTasksFailed?: JobNumberOfTasksFailed;
1622
+ /**
1623
+ * The JobTimers attribute of a job's progress summary.
1624
+ */
1625
+ Timers?: JobTimers;
1571
1626
  }
1572
1627
  export interface JobReport {
1573
1628
  /**
@@ -1597,6 +1652,13 @@ declare namespace S3Control {
1597
1652
  export type JobStatusList = JobStatus[];
1598
1653
  export type JobStatusUpdateReason = string;
1599
1654
  export type JobTerminationDate = Date;
1655
+ export type JobTimeInStateSeconds = number;
1656
+ export interface JobTimers {
1657
+ /**
1658
+ * Indicates the elapsed time in seconds the job has been in the Active job state.
1659
+ */
1660
+ ElapsedTimeInActiveSeconds?: JobTimeInStateSeconds;
1661
+ }
1600
1662
  export type JobTotalNumberOfTasks = number;
1601
1663
  export type KmsKeyArnString = string;
1602
1664
  export interface LambdaInvokeOperation {
@@ -1691,7 +1753,7 @@ declare namespace S3Control {
1691
1753
  */
1692
1754
  NextToken?: NonEmptyMaxLength1024String;
1693
1755
  /**
1694
- * The maximum number of access points that you want to include in the list. If there are more than this number of access points, then the response will include a continuation token in the NextToken field that you can use to retrieve the next page of access points.
1756
+ * The maximum number of access points that you want to include in the list. The response may contain fewer access points but will never contain more. If there are more than this number of access points, then the response will include a continuation token in the NextToken field that you can use to retrieve the next page of access points.
1695
1757
  */
1696
1758
  MaxResults?: MaxResults;
1697
1759
  }
@@ -1852,6 +1914,7 @@ declare namespace S3Control {
1852
1914
  StorageLensConfigurationList?: StorageLensConfigurationList;
1853
1915
  }
1854
1916
  export type Location = string;
1917
+ export type ManifestPrefixString = string;
1855
1918
  export type MaxLength1024String = string;
1856
1919
  export type MaxResults = number;
1857
1920
  export type MinStorageBytesPercentage = number;
@@ -1932,6 +1995,7 @@ declare namespace S3Control {
1932
1995
  StorageClass?: TransitionStorageClass;
1933
1996
  }
1934
1997
  export type NoncurrentVersionTransitionList = NoncurrentVersionTransition[];
1998
+ export type ObjectCreationTime = Date;
1935
1999
  export interface ObjectLambdaAccessPoint {
1936
2000
  /**
1937
2001
  * The name of the Object Lambda Access Point.
@@ -1987,7 +2051,7 @@ declare namespace S3Control {
1987
2051
  export type ObjectLambdaTransformationConfigurationActionsList = ObjectLambdaTransformationConfigurationAction[];
1988
2052
  export type ObjectLambdaTransformationConfigurationsList = ObjectLambdaTransformationConfiguration[];
1989
2053
  export type ObjectLockEnabledForBucket = boolean;
1990
- export type OperationName = "LambdaInvoke"|"S3PutObjectCopy"|"S3PutObjectAcl"|"S3PutObjectTagging"|"S3DeleteObjectTagging"|"S3InitiateRestoreObject"|"S3PutObjectLegalHold"|"S3PutObjectRetention"|string;
2054
+ export type OperationName = "LambdaInvoke"|"S3PutObjectCopy"|"S3PutObjectAcl"|"S3PutObjectTagging"|"S3DeleteObjectTagging"|"S3InitiateRestoreObject"|"S3PutObjectLegalHold"|"S3PutObjectRetention"|"S3ReplicateObject"|string;
1991
2055
  export type OutputSchemaVersion = "V_1"|string;
1992
2056
  export type Policy = string;
1993
2057
  export interface PolicyStatus {
@@ -2256,6 +2320,8 @@ declare namespace S3Control {
2256
2320
  }
2257
2321
  export type RegionalBucketList = RegionalBucket[];
2258
2322
  export type Regions = S3AWSRegion[];
2323
+ export type ReplicationStatus = "COMPLETED"|"FAILED"|"REPLICA"|"NONE"|string;
2324
+ export type ReplicationStatusFilterList = ReplicationStatus[];
2259
2325
  export type ReportPrefixString = string;
2260
2326
  export type RequestedJobStatus = "Cancelled"|"Ready"|string;
2261
2327
  export type S3AWSRegion = string;
@@ -2331,7 +2397,7 @@ declare namespace S3Control {
2331
2397
  */
2332
2398
  ModifiedSinceConstraint?: TimeStamp;
2333
2399
  /**
2334
- *
2400
+ * If you don't provide this parameter, Amazon S3 copies all the metadata from the original objects. If you specify an empty set, the new objects will have no tags. Otherwise, Amazon S3 assigns the supplied tags to the new objects.
2335
2401
  */
2336
2402
  NewObjectMetadata?: S3ObjectMetadata;
2337
2403
  /**
@@ -2382,6 +2448,13 @@ declare namespace S3Control {
2382
2448
  export interface S3DeleteObjectTaggingOperation {
2383
2449
  }
2384
2450
  export type S3ExpirationInDays = number;
2451
+ export interface S3GeneratedManifestDescriptor {
2452
+ /**
2453
+ * The format of the generated manifest.
2454
+ */
2455
+ Format?: GeneratedManifestFormat;
2456
+ Location?: JobManifestLocation;
2457
+ }
2385
2458
  export type S3GlacierJobTier = "BULK"|"STANDARD"|string;
2386
2459
  export interface S3Grant {
2387
2460
  /**
@@ -2411,7 +2484,7 @@ declare namespace S3Control {
2411
2484
  export type S3GranteeTypeIdentifier = "id"|"emailAddress"|"uri"|string;
2412
2485
  export interface S3InitiateRestoreObjectOperation {
2413
2486
  /**
2414
- * This argument specifies how long the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive object remains available in Amazon S3. S3 Initiate Restore Object jobs that target S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive objects require ExpirationInDays set to 1 or greater. Conversely, do not set ExpirationInDays when creating S3 Initiate Restore Object jobs that target S3 Intelligent-Tiering Archive Access and Deep Archive Access tier objects. Objects in S3 Intelligent-Tiering archive access tiers are not subject to restore expiry, so specifying ExpirationInDays results in restore request failure. S3 Batch Operations jobs can operate either on S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive storage class objects or on S3 Intelligent-Tiering Archive Access and Deep Archive Access storage tier objects, but not both types in the same job. If you need to restore objects of both types you must create separate Batch Operations jobs.
2487
+ * This argument specifies how long the S3 Glacier or S3 Glacier Deep Archive object remains available in Amazon S3. S3 Initiate Restore Object jobs that target S3 Glacier and S3 Glacier Deep Archive objects require ExpirationInDays set to 1 or greater. Conversely, do not set ExpirationInDays when creating S3 Initiate Restore Object jobs that target S3 Intelligent-Tiering Archive Access and Deep Archive Access tier objects. Objects in S3 Intelligent-Tiering archive access tiers are not subject to restore expiry, so specifying ExpirationInDays results in restore request failure. S3 Batch Operations jobs can operate either on S3 Glacier and S3 Glacier Deep Archive storage class objects or on S3 Intelligent-Tiering Archive Access and Deep Archive Access storage tier objects, but not both types in the same job. If you need to restore objects of both types you must create separate Batch Operations jobs.
2415
2488
  */
2416
2489
  ExpirationInDays?: S3ExpirationInDays;
2417
2490
  /**
@@ -2419,7 +2492,51 @@ declare namespace S3Control {
2419
2492
  */
2420
2493
  GlacierJobTier?: S3GlacierJobTier;
2421
2494
  }
2495
+ export interface S3JobManifestGenerator {
2496
+ /**
2497
+ * The Amazon Web Services account ID that owns the bucket the generated manifest is written to. If provided the generated manifest bucket's owner Amazon Web Services account ID must match this value, else the job fails.
2498
+ */
2499
+ ExpectedBucketOwner?: AccountId;
2500
+ /**
2501
+ * The source bucket used by the ManifestGenerator.
2502
+ */
2503
+ SourceBucket: S3BucketArnString;
2504
+ /**
2505
+ * Specifies the location the generated manifest will be written to.
2506
+ */
2507
+ ManifestOutputLocation?: S3ManifestOutputLocation;
2508
+ /**
2509
+ * Specifies rules the S3JobManifestGenerator should use to use to decide whether an object in the source bucket should or should not be included in the generated job manifest.
2510
+ */
2511
+ Filter?: JobManifestGeneratorFilter;
2512
+ /**
2513
+ * Determines whether or not to write the job's generated manifest to a bucket.
2514
+ */
2515
+ EnableManifestOutput: Boolean;
2516
+ }
2422
2517
  export type S3KeyArnString = string;
2518
+ export interface S3ManifestOutputLocation {
2519
+ /**
2520
+ * The Account ID that owns the bucket the generated manifest is written to.
2521
+ */
2522
+ ExpectedManifestBucketOwner?: AccountId;
2523
+ /**
2524
+ * The bucket ARN the generated manifest should be written to.
2525
+ */
2526
+ Bucket: S3BucketArnString;
2527
+ /**
2528
+ * Prefix identifying one or more objects to which the manifest applies.
2529
+ */
2530
+ ManifestPrefix?: ManifestPrefixString;
2531
+ /**
2532
+ * Specifies what encryption should be used when the generated manifest objects are written.
2533
+ */
2534
+ ManifestEncryption?: GeneratedManifestEncryption;
2535
+ /**
2536
+ * The format of the generated manifest.
2537
+ */
2538
+ ManifestFormat: GeneratedManifestFormat;
2539
+ }
2423
2540
  export type S3MetadataDirective = "COPY"|"REPLACE"|string;
2424
2541
  export interface S3ObjectLockLegalHold {
2425
2542
  /**
@@ -2489,6 +2606,8 @@ declare namespace S3Control {
2489
2606
  export type S3ObjectVersionId = string;
2490
2607
  export type S3Permission = "FULL_CONTROL"|"READ"|"WRITE"|"READ_ACP"|"WRITE_ACP"|string;
2491
2608
  export type S3RegionalBucketArn = string;
2609
+ export interface S3ReplicateObjectOperation {
2610
+ }
2492
2611
  export interface S3Retention {
2493
2612
  /**
2494
2613
  * The date when the applied Object Lock retention will expire on all objects set by the Batch Operations job.
@@ -2528,7 +2647,7 @@ declare namespace S3Control {
2528
2647
  */
2529
2648
  TagSet?: S3TagSet;
2530
2649
  }
2531
- export type S3StorageClass = "STANDARD"|"STANDARD_IA"|"ONEZONE_IA"|"GLACIER"|"INTELLIGENT_TIERING"|"DEEP_ARCHIVE"|string;
2650
+ export type S3StorageClass = "STANDARD"|"STANDARD_IA"|"ONEZONE_IA"|"GLACIER"|"INTELLIGENT_TIERING"|"DEEP_ARCHIVE"|"GLACIER_IR"|string;
2532
2651
  export interface S3Tag {
2533
2652
  /**
2534
2653
  *
@@ -2547,9 +2666,17 @@ declare namespace S3Control {
2547
2666
  */
2548
2667
  KeyId: SSEKMSKeyId;
2549
2668
  }
2669
+ export interface SSEKMSEncryption {
2670
+ /**
2671
+ * Specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric customer managed key to use for encrypting generated manifest objects.
2672
+ */
2673
+ KeyId: KmsKeyArnString;
2674
+ }
2550
2675
  export type SSEKMSKeyId = string;
2551
2676
  export interface SSES3 {
2552
2677
  }
2678
+ export interface SSES3Encryption {
2679
+ }
2553
2680
  export interface SelectionCriteria {
2554
2681
  /**
2555
2682
  * A container for the delimiter of the selection criteria being used.
@@ -2764,7 +2764,7 @@ declare namespace SageMaker {
2764
2764
  MetricName: AutoMLMetricEnum;
2765
2765
  }
2766
2766
  export type AutoMLJobObjectiveType = "Maximize"|"Minimize"|string;
2767
- export type AutoMLJobSecondaryStatus = "Starting"|"AnalyzingData"|"FeatureEngineering"|"ModelTuning"|"MaxCandidatesReached"|"Failed"|"Stopped"|"MaxAutoMLJobRuntimeReached"|"Stopping"|"CandidateDefinitionsGenerated"|"GeneratingExplainabilityReport"|"Completed"|"ExplainabilityError"|"DeployingModel"|"ModelDeploymentError"|string;
2767
+ export type AutoMLJobSecondaryStatus = "Starting"|"AnalyzingData"|"FeatureEngineering"|"ModelTuning"|"MaxCandidatesReached"|"Failed"|"Stopped"|"MaxAutoMLJobRuntimeReached"|"Stopping"|"CandidateDefinitionsGenerated"|"GeneratingExplainabilityReport"|"Completed"|"ExplainabilityError"|"DeployingModel"|"ModelDeploymentError"|"GeneratingModelInsightsReport"|"ModelInsightsError"|string;
2768
2768
  export type AutoMLJobStatus = "Completed"|"InProgress"|"Failed"|"Stopped"|"Stopping"|string;
2769
2769
  export type AutoMLJobSummaries = AutoMLJobSummary[];
2770
2770
  export interface AutoMLJobSummary {
@@ -2972,6 +2972,10 @@ declare namespace SageMaker {
2972
2972
  * The Amazon S3 prefix to the explainability artifacts generated for the AutoML candidate.
2973
2973
  */
2974
2974
  Explainability: ExplainabilityLocation;
2975
+ /**
2976
+ * The Amazon S3 prefix to the model insight artifacts generated for the AutoML candidate.
2977
+ */
2978
+ ModelInsights?: ModelInsightsLocation;
2975
2979
  }
2976
2980
  export type CandidateDefinitionNotebookLocation = string;
2977
2981
  export type CandidateName = string;
@@ -12936,6 +12940,7 @@ declare namespace SageMaker {
12936
12940
  */
12937
12941
  DataInputConfig: DataInputConfig;
12938
12942
  }
12943
+ export type ModelInsightsLocation = string;
12939
12944
  export interface ModelLatencyThreshold {
12940
12945
  /**
12941
12946
  * The model latency percentile threshold.
package/clients/sns.d.ts CHANGED
@@ -228,11 +228,11 @@ declare class SNS extends Service {
228
228
  */
229
229
  optInPhoneNumber(callback?: (err: AWSError, data: SNS.Types.OptInPhoneNumberResponse) => void): Request<SNS.Types.OptInPhoneNumberResponse, AWSError>;
230
230
  /**
231
- * Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the TargetArn). If you send a message to a topic, Amazon SNS delivers the message to each endpoint that is subscribed to the topic. The format of the message depends on the notification protocol for each subscribed endpoint. When a messageId is returned, the message is saved and Amazon SNS immediately deliverers it to subscribers. To use the Publish action for publishing a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the CreatePlatformEndpoint action. For more information about formatting messages, see Send Custom Platform-Specific Payloads in Messages to Mobile Devices. You can publish messages only to topics and endpoints in the same Amazon Web Services Region.
231
+ * Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the TargetArn). If you send a message to a topic, Amazon SNS delivers the message to each endpoint that is subscribed to the topic. The format of the message depends on the notification protocol for each subscribed endpoint. When a messageId is returned, the message is saved and Amazon SNS immediately delivers it to subscribers. To use the Publish action for publishing a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the CreatePlatformEndpoint action. For more information about formatting messages, see Send Custom Platform-Specific Payloads in Messages to Mobile Devices. You can publish messages only to topics and endpoints in the same Amazon Web Services Region.
232
232
  */
233
233
  publish(params: SNS.Types.PublishInput, callback?: (err: AWSError, data: SNS.Types.PublishResponse) => void): Request<SNS.Types.PublishResponse, AWSError>;
234
234
  /**
235
- * Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the TargetArn). If you send a message to a topic, Amazon SNS delivers the message to each endpoint that is subscribed to the topic. The format of the message depends on the notification protocol for each subscribed endpoint. When a messageId is returned, the message is saved and Amazon SNS immediately deliverers it to subscribers. To use the Publish action for publishing a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the CreatePlatformEndpoint action. For more information about formatting messages, see Send Custom Platform-Specific Payloads in Messages to Mobile Devices. You can publish messages only to topics and endpoints in the same Amazon Web Services Region.
235
+ * Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the TargetArn). If you send a message to a topic, Amazon SNS delivers the message to each endpoint that is subscribed to the topic. The format of the message depends on the notification protocol for each subscribed endpoint. When a messageId is returned, the message is saved and Amazon SNS immediately delivers it to subscribers. To use the Publish action for publishing a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the CreatePlatformEndpoint action. For more information about formatting messages, see Send Custom Platform-Specific Payloads in Messages to Mobile Devices. You can publish messages only to topics and endpoints in the same Amazon Web Services Region.
236
236
  */
237
237
  publish(callback?: (err: AWSError, data: SNS.Types.PublishResponse) => void): Request<SNS.Types.PublishResponse, AWSError>;
238
238
  /**
@@ -752,7 +752,7 @@ declare namespace SSMIncidents {
752
752
  */
753
753
  value: ItemValue;
754
754
  }
755
- export type ItemType = "ANALYSIS"|"INCIDENT"|"METRIC"|"PARENT"|"ATTACHMENT"|"OTHER"|string;
755
+ export type ItemType = "ANALYSIS"|"INCIDENT"|"METRIC"|"PARENT"|"ATTACHMENT"|"OTHER"|"AUTOMATION"|string;
756
756
  export interface ItemValue {
757
757
  /**
758
758
  * The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.
@@ -28,19 +28,19 @@ declare class Synthetics extends Service {
28
28
  */
29
29
  deleteCanary(callback?: (err: AWSError, data: Synthetics.Types.DeleteCanaryResponse) => void): Request<Synthetics.Types.DeleteCanaryResponse, AWSError>;
30
30
  /**
31
- * This operation returns a list of the canaries in your account, along with full details about each canary. This operation does not have resource-level authorization, so if a user is able to use DescribeCanaries, the user can see all of the canaries in the account. A deny policy can only be used to restrict access to all canaries. It cannot be used on specific resources.
31
+ * This operation returns a list of the canaries in your account, along with full details about each canary. This operation supports resource-level authorization using an IAM policy and the Names parameter. If you specify the Names parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response. You are required to use the Names parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.
32
32
  */
33
33
  describeCanaries(params: Synthetics.Types.DescribeCanariesRequest, callback?: (err: AWSError, data: Synthetics.Types.DescribeCanariesResponse) => void): Request<Synthetics.Types.DescribeCanariesResponse, AWSError>;
34
34
  /**
35
- * This operation returns a list of the canaries in your account, along with full details about each canary. This operation does not have resource-level authorization, so if a user is able to use DescribeCanaries, the user can see all of the canaries in the account. A deny policy can only be used to restrict access to all canaries. It cannot be used on specific resources.
35
+ * This operation returns a list of the canaries in your account, along with full details about each canary. This operation supports resource-level authorization using an IAM policy and the Names parameter. If you specify the Names parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response. You are required to use the Names parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.
36
36
  */
37
37
  describeCanaries(callback?: (err: AWSError, data: Synthetics.Types.DescribeCanariesResponse) => void): Request<Synthetics.Types.DescribeCanariesResponse, AWSError>;
38
38
  /**
39
- * Use this operation to see information from the most recent run of each canary that you have created.
39
+ * Use this operation to see information from the most recent run of each canary that you have created. This operation supports resource-level authorization using an IAM policy and the Names parameter. If you specify the Names parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response. You are required to use the Names parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.
40
40
  */
41
41
  describeCanariesLastRun(params: Synthetics.Types.DescribeCanariesLastRunRequest, callback?: (err: AWSError, data: Synthetics.Types.DescribeCanariesLastRunResponse) => void): Request<Synthetics.Types.DescribeCanariesLastRunResponse, AWSError>;
42
42
  /**
43
- * Use this operation to see information from the most recent run of each canary that you have created.
43
+ * Use this operation to see information from the most recent run of each canary that you have created. This operation supports resource-level authorization using an IAM policy and the Names parameter. If you specify the Names parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response. You are required to use the Names parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.
44
44
  */
45
45
  describeCanariesLastRun(callback?: (err: AWSError, data: Synthetics.Types.DescribeCanariesLastRunResponse) => void): Request<Synthetics.Types.DescribeCanariesLastRunResponse, AWSError>;
46
46
  /**
@@ -221,7 +221,7 @@ declare namespace Synthetics {
221
221
  */
222
222
  S3Version?: String;
223
223
  /**
224
- * If you input your canary script directly into the canary instead of referring to an S3 location, the value of this parameter is the base64-encoded contents of the .zip file that contains the script. It must be smaller than 256 Kb.
224
+ * If you input your canary script directly into the canary instead of referring to an S3 location, the value of this parameter is the base64-encoded contents of the .zip file that contains the script. It must be smaller than 225 Kb. For large canary scripts, we recommend that you use an S3 location instead of inputting it directly with this parameter.
225
225
  */
226
226
  ZipFile?: _Blob;
227
227
  /**
@@ -449,6 +449,7 @@ declare namespace Synthetics {
449
449
  }
450
450
  export interface DeleteCanaryResponse {
451
451
  }
452
+ export type DescribeCanariesLastRunNameFilter = CanaryName[];
452
453
  export interface DescribeCanariesLastRunRequest {
453
454
  /**
454
455
  * A token that indicates that there is more data available. You can use this token in a subsequent DescribeCanaries operation to retrieve the next set of results.
@@ -458,6 +459,10 @@ declare namespace Synthetics {
458
459
  * Specify this parameter to limit how many runs are returned each time you use the DescribeLastRun operation. If you omit this parameter, the default of 100 is used.
459
460
  */
460
461
  MaxResults?: MaxSize100;
462
+ /**
463
+ * Use this parameter to return only canaries that match the names that you specify here. You can specify as many as five canary names. If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response. You are required to use the Names parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.
464
+ */
465
+ Names?: DescribeCanariesLastRunNameFilter;
461
466
  }
462
467
  export interface DescribeCanariesLastRunResponse {
463
468
  /**
@@ -469,6 +474,7 @@ declare namespace Synthetics {
469
474
  */
470
475
  NextToken?: Token;
471
476
  }
477
+ export type DescribeCanariesNameFilter = CanaryName[];
472
478
  export interface DescribeCanariesRequest {
473
479
  /**
474
480
  * A token that indicates that there is more data available. You can use this token in a subsequent operation to retrieve the next set of results.
@@ -478,6 +484,10 @@ declare namespace Synthetics {
478
484
  * Specify this parameter to limit how many canaries are returned each time you use the DescribeCanaries operation. If you omit this parameter, the default of 100 is used.
479
485
  */
480
486
  MaxResults?: MaxCanaryResults;
487
+ /**
488
+ * Use this parameter to return only canaries that match the names that you specify here. You can specify as many as five canary names. If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response. You are required to use this parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.
489
+ */
490
+ Names?: DescribeCanariesNameFilter;
481
491
  }
482
492
  export interface DescribeCanariesResponse {
483
493
  /**