cdk-lambda-subminute 2.0.470 → 2.0.472

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/.jsii +4 -4
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/README.md +1 -1
  4. package/node_modules/aws-sdk/apis/amplify-2017-07-25.min.json +76 -55
  5. package/node_modules/aws-sdk/apis/appstream-2016-12-01.min.json +181 -44
  6. package/node_modules/aws-sdk/apis/docdb-2014-10-31.min.json +31 -3
  7. package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +109 -89
  8. package/node_modules/aws-sdk/apis/fis-2020-12-01.min.json +19 -5
  9. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +41 -37
  10. package/node_modules/aws-sdk/apis/iam-2010-05-08.min.json +0 -1
  11. package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +92 -92
  12. package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +53 -38
  13. package/node_modules/aws-sdk/apis/s3-2006-03-01.paginators.json +3 -0
  14. package/node_modules/aws-sdk/clients/amplify.d.ts +20 -1
  15. package/node_modules/aws-sdk/clients/appstream.d.ts +200 -1
  16. package/node_modules/aws-sdk/clients/codebuild.d.ts +10 -10
  17. package/node_modules/aws-sdk/clients/docdb.d.ts +31 -1
  18. package/node_modules/aws-sdk/clients/ecs.d.ts +75 -56
  19. package/node_modules/aws-sdk/clients/fis.d.ts +21 -0
  20. package/node_modules/aws-sdk/clients/glue.d.ts +6 -0
  21. package/node_modules/aws-sdk/clients/iam.d.ts +7 -7
  22. package/node_modules/aws-sdk/clients/s3.d.ts +43 -24
  23. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  24. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +15 -11
  25. package/node_modules/aws-sdk/dist/aws-sdk.js +173 -132
  26. package/node_modules/aws-sdk/dist/aws-sdk.min.js +59 -59
  27. package/node_modules/aws-sdk/lib/core.js +1 -1
  28. package/node_modules/aws-sdk/lib/services/s3.js +5 -1
  29. package/node_modules/aws-sdk/package.json +1 -1
  30. package/node_modules/aws-sdk/scripts/region-checker/allowlist.js +2 -1
  31. package/package.json +2 -2
@@ -156,6 +156,14 @@ declare class AppStream extends Service {
156
156
  * Creates a temporary URL to start an AppStream 2.0 streaming session for the specified user. A streaming URL enables application streaming to be tested without user setup.
157
157
  */
158
158
  createStreamingURL(callback?: (err: AWSError, data: AppStream.Types.CreateStreamingURLResult) => void): Request<AppStream.Types.CreateStreamingURLResult, AWSError>;
159
+ /**
160
+ * Creates custom branding that customizes the appearance of the streaming application catalog page.
161
+ */
162
+ createThemeForStack(params: AppStream.Types.CreateThemeForStackRequest, callback?: (err: AWSError, data: AppStream.Types.CreateThemeForStackResult) => void): Request<AppStream.Types.CreateThemeForStackResult, AWSError>;
163
+ /**
164
+ * Creates custom branding that customizes the appearance of the streaming application catalog page.
165
+ */
166
+ createThemeForStack(callback?: (err: AWSError, data: AppStream.Types.CreateThemeForStackResult) => void): Request<AppStream.Types.CreateThemeForStackResult, AWSError>;
159
167
  /**
160
168
  * Creates a new image with the latest Windows operating system updates, driver updates, and AppStream 2.0 agent software. For more information, see the "Update an Image by Using Managed AppStream 2.0 Image Updates" section in Administer Your AppStream 2.0 Images, in the Amazon AppStream 2.0 Administration Guide.
161
169
  */
@@ -260,6 +268,14 @@ declare class AppStream extends Service {
260
268
  * Deletes the specified stack. After the stack is deleted, the application streaming environment provided by the stack is no longer available to users. Also, any reservations made for application streaming sessions for the stack are released.
261
269
  */
262
270
  deleteStack(callback?: (err: AWSError, data: AppStream.Types.DeleteStackResult) => void): Request<AppStream.Types.DeleteStackResult, AWSError>;
271
+ /**
272
+ * Deletes custom branding that customizes the appearance of the streaming application catalog page.
273
+ */
274
+ deleteThemeForStack(params: AppStream.Types.DeleteThemeForStackRequest, callback?: (err: AWSError, data: AppStream.Types.DeleteThemeForStackResult) => void): Request<AppStream.Types.DeleteThemeForStackResult, AWSError>;
275
+ /**
276
+ * Deletes custom branding that customizes the appearance of the streaming application catalog page.
277
+ */
278
+ deleteThemeForStack(callback?: (err: AWSError, data: AppStream.Types.DeleteThemeForStackResult) => void): Request<AppStream.Types.DeleteThemeForStackResult, AWSError>;
263
279
  /**
264
280
  * Disables usage report generation.
265
281
  */
@@ -380,6 +396,14 @@ declare class AppStream extends Service {
380
396
  * Retrieves a list that describes one or more specified stacks, if the stack names are provided. Otherwise, all stacks in the account are described.
381
397
  */
382
398
  describeStacks(callback?: (err: AWSError, data: AppStream.Types.DescribeStacksResult) => void): Request<AppStream.Types.DescribeStacksResult, AWSError>;
399
+ /**
400
+ * Retrieves a list that describes the theme for a specified stack. A theme is custom branding that customizes the appearance of the streaming application catalog page.
401
+ */
402
+ describeThemeForStack(params: AppStream.Types.DescribeThemeForStackRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeThemeForStackResult) => void): Request<AppStream.Types.DescribeThemeForStackResult, AWSError>;
403
+ /**
404
+ * Retrieves a list that describes the theme for a specified stack. A theme is custom branding that customizes the appearance of the streaming application catalog page.
405
+ */
406
+ describeThemeForStack(callback?: (err: AWSError, data: AppStream.Types.DescribeThemeForStackResult) => void): Request<AppStream.Types.DescribeThemeForStackResult, AWSError>;
383
407
  /**
384
408
  * Retrieves a list that describes one or more usage report subscriptions.
385
409
  */
@@ -612,6 +636,14 @@ declare class AppStream extends Service {
612
636
  * Updates the specified fields for the specified stack.
613
637
  */
614
638
  updateStack(callback?: (err: AWSError, data: AppStream.Types.UpdateStackResult) => void): Request<AppStream.Types.UpdateStackResult, AWSError>;
639
+ /**
640
+ * Updates custom branding that customizes the appearance of the streaming application catalog page.
641
+ */
642
+ updateThemeForStack(params: AppStream.Types.UpdateThemeForStackRequest, callback?: (err: AWSError, data: AppStream.Types.UpdateThemeForStackResult) => void): Request<AppStream.Types.UpdateThemeForStackResult, AWSError>;
643
+ /**
644
+ * Updates custom branding that customizes the appearance of the streaming application catalog page.
645
+ */
646
+ updateThemeForStack(callback?: (err: AWSError, data: AppStream.Types.UpdateThemeForStackResult) => void): Request<AppStream.Types.UpdateThemeForStackResult, AWSError>;
615
647
  /**
616
648
  * Waits for the fleetStarted state by periodically calling the underlying AppStream.describeFleetsoperation every 30 seconds (at most 40 times).
617
649
  */
@@ -1270,7 +1302,7 @@ declare namespace AppStream {
1270
1302
  */
1271
1303
  ImageArn?: Arn;
1272
1304
  /**
1273
- * The instance type to use when launching fleet instances. The following instance types are available: stream.standard.small stream.standard.medium stream.standard.large stream.standard.xlarge stream.standard.2xlarge stream.compute.large stream.compute.xlarge stream.compute.2xlarge stream.compute.4xlarge stream.compute.8xlarge stream.memory.large stream.memory.xlarge stream.memory.2xlarge stream.memory.4xlarge stream.memory.8xlarge stream.memory.z1d.large stream.memory.z1d.xlarge stream.memory.z1d.2xlarge stream.memory.z1d.3xlarge stream.memory.z1d.6xlarge stream.memory.z1d.12xlarge stream.graphics-design.large stream.graphics-design.xlarge stream.graphics-design.2xlarge stream.graphics-design.4xlarge stream.graphics-desktop.2xlarge stream.graphics.g4dn.xlarge stream.graphics.g4dn.2xlarge stream.graphics.g4dn.4xlarge stream.graphics.g4dn.8xlarge stream.graphics.g4dn.12xlarge stream.graphics.g4dn.16xlarge stream.graphics-pro.4xlarge stream.graphics-pro.8xlarge stream.graphics-pro.16xlarge The following instance types are available for Elastic fleets: stream.standard.small stream.standard.medium stream.standard.large stream.standard.xlarge stream.standard.2xlarge
1305
+ * The instance type to use when launching fleet instances. The following instance types are available: stream.standard.small stream.standard.medium stream.standard.large stream.standard.xlarge stream.standard.2xlarge stream.compute.large stream.compute.xlarge stream.compute.2xlarge stream.compute.4xlarge stream.compute.8xlarge stream.memory.large stream.memory.xlarge stream.memory.2xlarge stream.memory.4xlarge stream.memory.8xlarge stream.memory.z1d.large stream.memory.z1d.xlarge stream.memory.z1d.2xlarge stream.memory.z1d.3xlarge stream.memory.z1d.6xlarge stream.memory.z1d.12xlarge stream.graphics-design.large stream.graphics-design.xlarge stream.graphics-design.2xlarge stream.graphics-design.4xlarge stream.graphics-desktop.2xlarge stream.graphics.g4dn.xlarge stream.graphics.g4dn.2xlarge stream.graphics.g4dn.4xlarge stream.graphics.g4dn.8xlarge stream.graphics.g4dn.12xlarge stream.graphics.g4dn.16xlarge stream.graphics.g5.xlarge stream.graphics.g5.2xlarge stream.graphics.g5.4xlarge stream.graphics.g5.8xlarge stream.graphics.g5.12xlarge stream.graphics.g5.16xlarge stream.graphics.g5.24xlarge stream.graphics-pro.4xlarge stream.graphics-pro.8xlarge stream.graphics-pro.16xlarge The following instance types are available for Elastic fleets: stream.standard.small stream.standard.medium stream.standard.large stream.standard.xlarge stream.standard.2xlarge
1274
1306
  */
1275
1307
  InstanceType: String;
1276
1308
  /**
@@ -1524,6 +1556,38 @@ declare namespace AppStream {
1524
1556
  */
1525
1557
  Expires?: Timestamp;
1526
1558
  }
1559
+ export interface CreateThemeForStackRequest {
1560
+ /**
1561
+ * The name of the stack for the theme.
1562
+ */
1563
+ StackName: Name;
1564
+ /**
1565
+ * The links that are displayed in the footer of the streaming application catalog page. These links are helpful resources for users, such as the organization's IT support and product marketing sites.
1566
+ */
1567
+ FooterLinks?: ThemeFooterLinks;
1568
+ /**
1569
+ * The title that is displayed at the top of the browser tab during users' application streaming sessions.
1570
+ */
1571
+ TitleText: ThemeTitleText;
1572
+ /**
1573
+ * The color theme that is applied to website links, text, and buttons. These colors are also applied as accents in the background for the streaming application catalog page.
1574
+ */
1575
+ ThemeStyling: ThemeStyling;
1576
+ /**
1577
+ * The organization logo that appears on the streaming application catalog page.
1578
+ */
1579
+ OrganizationLogoS3Location: S3Location;
1580
+ /**
1581
+ * The S3 location of the favicon. The favicon enables users to recognize their application streaming site in a browser full of tabs or bookmarks. It is displayed at the top of the browser tab for the application streaming site during users' streaming sessions.
1582
+ */
1583
+ FaviconS3Location: S3Location;
1584
+ }
1585
+ export interface CreateThemeForStackResult {
1586
+ /**
1587
+ * The theme object that contains the metadata of the custom branding.
1588
+ */
1589
+ Theme?: Theme;
1590
+ }
1527
1591
  export interface CreateUpdatedImageRequest {
1528
1592
  /**
1529
1593
  * The name of the image to update.
@@ -1689,6 +1753,14 @@ declare namespace AppStream {
1689
1753
  }
1690
1754
  export interface DeleteStackResult {
1691
1755
  }
1756
+ export interface DeleteThemeForStackRequest {
1757
+ /**
1758
+ * The name of the stack for the theme.
1759
+ */
1760
+ StackName: Name;
1761
+ }
1762
+ export interface DeleteThemeForStackResult {
1763
+ }
1692
1764
  export interface DeleteUsageReportSubscriptionRequest {
1693
1765
  }
1694
1766
  export interface DeleteUsageReportSubscriptionResult {
@@ -2054,6 +2126,18 @@ declare namespace AppStream {
2054
2126
  */
2055
2127
  NextToken?: String;
2056
2128
  }
2129
+ export interface DescribeThemeForStackRequest {
2130
+ /**
2131
+ * The name of the stack for the theme.
2132
+ */
2133
+ StackName: Name;
2134
+ }
2135
+ export interface DescribeThemeForStackResult {
2136
+ /**
2137
+ * The theme object that contains the metadata of the custom branding.
2138
+ */
2139
+ Theme?: Theme;
2140
+ }
2057
2141
  export interface DescribeUsageReportSubscriptionsRequest {
2058
2142
  /**
2059
2143
  * The maximum size of each page of results.
@@ -2233,6 +2317,7 @@ declare namespace AppStream {
2233
2317
  OrganizationalUnitDistinguishedName?: OrganizationalUnitDistinguishedName;
2234
2318
  }
2235
2319
  export type DomainList = Domain[];
2320
+ export type DynamicAppProvidersEnabled = "ENABLED"|"DISABLED"|string;
2236
2321
  export type EmbedHostDomain = string;
2237
2322
  export type EmbedHostDomains = EmbedHostDomain[];
2238
2323
  export interface EnableUserRequest {
@@ -2504,6 +2589,22 @@ declare namespace AppStream {
2504
2589
  * Describes the errors that are returned when a new image can't be created.
2505
2590
  */
2506
2591
  ImageErrors?: ResourceErrors;
2592
+ /**
2593
+ * Indicates whether the image is using the latest AppStream 2.0 agent version or not.
2594
+ */
2595
+ LatestAppstreamAgentVersion?: LatestAppstreamAgentVersion;
2596
+ /**
2597
+ * The supported instances families that determine which image a customer can use when the customer launches a fleet or image builder. The following instances families are supported: General Purpose Compute Optimized Memory Optimized Graphics Graphics Design Graphics Pro Graphics G4 Graphics G5
2598
+ */
2599
+ SupportedInstanceFamilies?: StringList;
2600
+ /**
2601
+ * Indicates whether dynamic app providers are enabled within an AppStream 2.0 image or not.
2602
+ */
2603
+ DynamicAppProvidersEnabled?: DynamicAppProvidersEnabled;
2604
+ /**
2605
+ * Indicates whether the image is shared with another account ID.
2606
+ */
2607
+ ImageSharedWithOthers?: ImageSharedWithOthers;
2507
2608
  }
2508
2609
  export interface ImageBuilder {
2509
2610
  /**
@@ -2575,6 +2676,10 @@ declare namespace AppStream {
2575
2676
  * The list of virtual private cloud (VPC) interface endpoint objects. Administrators can connect to the image builder only through the specified endpoints.
2576
2677
  */
2577
2678
  AccessEndpoints?: AccessEndpointList;
2679
+ /**
2680
+ * Indicates whether the image builder is using the latest AppStream 2.0 agent version or not.
2681
+ */
2682
+ LatestAppstreamAgentVersion?: LatestAppstreamAgentVersion;
2578
2683
  }
2579
2684
  export type ImageBuilderList = ImageBuilder[];
2580
2685
  export type ImageBuilderState = "PENDING"|"UPDATING_AGENT"|"RUNNING"|"STOPPING"|"STOPPED"|"REBOOTING"|"SNAPSHOTTING"|"DELETING"|"FAILED"|"UPDATING"|"PENDING_QUALIFICATION"|string;
@@ -2600,6 +2705,7 @@ declare namespace AppStream {
2600
2705
  */
2601
2706
  allowImageBuilder?: BooleanObject;
2602
2707
  }
2708
+ export type ImageSharedWithOthers = "TRUE"|"FALSE"|string;
2603
2709
  export type ImageState = "PENDING"|"AVAILABLE"|"FAILED"|"COPYING"|"DELETING"|"CREATING"|"IMPORTING"|string;
2604
2710
  export interface ImageStateChangeReason {
2605
2711
  /**
@@ -2624,6 +2730,7 @@ declare namespace AppStream {
2624
2730
  ErrorMessage?: String;
2625
2731
  }
2626
2732
  export type LastReportGenerationExecutionErrors = LastReportGenerationExecutionError[];
2733
+ export type LatestAppstreamAgentVersion = "TRUE"|"FALSE"|string;
2627
2734
  export interface ListAssociatedFleetsRequest {
2628
2735
  /**
2629
2736
  * The name of the stack.
@@ -3024,6 +3131,58 @@ declare namespace AppStream {
3024
3131
  }
3025
3132
  export type TagValue = string;
3026
3133
  export type Tags = {[key: string]: TagValue};
3134
+ export interface Theme {
3135
+ /**
3136
+ * The stack that has the custom branding theme.
3137
+ */
3138
+ StackName?: Name;
3139
+ /**
3140
+ * The state of the theme.
3141
+ */
3142
+ State?: ThemeState;
3143
+ /**
3144
+ * The browser tab page title.
3145
+ */
3146
+ ThemeTitleText?: ThemeTitleText;
3147
+ /**
3148
+ * The color that is used for the website links, text, buttons, and catalog page background.
3149
+ */
3150
+ ThemeStyling?: ThemeStyling;
3151
+ /**
3152
+ * The website links that display in the catalog page footer.
3153
+ */
3154
+ ThemeFooterLinks?: ThemeFooterLinks;
3155
+ /**
3156
+ * The URL of the logo that displays in the catalog page header.
3157
+ */
3158
+ ThemeOrganizationLogoURL?: String;
3159
+ /**
3160
+ * The URL of the icon that displays at the top of a user's browser tab during streaming sessions.
3161
+ */
3162
+ ThemeFaviconURL?: String;
3163
+ /**
3164
+ * The time the theme was created.
3165
+ */
3166
+ CreatedTime?: Timestamp;
3167
+ }
3168
+ export type ThemeAttribute = "FOOTER_LINKS"|string;
3169
+ export type ThemeAttributes = ThemeAttribute[];
3170
+ export interface ThemeFooterLink {
3171
+ /**
3172
+ * The name of the websites that display in the catalog page footer.
3173
+ */
3174
+ DisplayName?: ThemeFooterLinkDisplayName;
3175
+ /**
3176
+ * The URL of the websites that display in the catalog page footer.
3177
+ */
3178
+ FooterLinkURL?: ThemeFooterLinkURL;
3179
+ }
3180
+ export type ThemeFooterLinkDisplayName = string;
3181
+ export type ThemeFooterLinkURL = string;
3182
+ export type ThemeFooterLinks = ThemeFooterLink[];
3183
+ export type ThemeState = "ENABLED"|"DISABLED"|string;
3184
+ export type ThemeStyling = "LIGHT_BLUE"|"BLUE"|"PINK"|"RED"|string;
3185
+ export type ThemeTitleText = string;
3027
3186
  export type Timestamp = Date;
3028
3187
  export interface UntagResourceRequest {
3029
3188
  /**
@@ -3347,6 +3506,46 @@ declare namespace AppStream {
3347
3506
  */
3348
3507
  Stack?: Stack;
3349
3508
  }
3509
+ export interface UpdateThemeForStackRequest {
3510
+ /**
3511
+ * The name of the stack for the theme.
3512
+ */
3513
+ StackName: Name;
3514
+ /**
3515
+ * The links that are displayed in the footer of the streaming application catalog page. These links are helpful resources for users, such as the organization's IT support and product marketing sites.
3516
+ */
3517
+ FooterLinks?: ThemeFooterLinks;
3518
+ /**
3519
+ * The title that is displayed at the top of the browser tab during users' application streaming sessions.
3520
+ */
3521
+ TitleText?: ThemeTitleText;
3522
+ /**
3523
+ * The color theme that is applied to website links, text, and buttons. These colors are also applied as accents in the background for the streaming application catalog page.
3524
+ */
3525
+ ThemeStyling?: ThemeStyling;
3526
+ /**
3527
+ * The organization logo that appears on the streaming application catalog page.
3528
+ */
3529
+ OrganizationLogoS3Location?: S3Location;
3530
+ /**
3531
+ * The S3 location of the favicon. The favicon enables users to recognize their application streaming site in a browser full of tabs or bookmarks. It is displayed at the top of the browser tab for the application streaming site during users' streaming sessions.
3532
+ */
3533
+ FaviconS3Location?: S3Location;
3534
+ /**
3535
+ * Specifies whether custom branding should be applied to catalog page or not.
3536
+ */
3537
+ State?: ThemeState;
3538
+ /**
3539
+ * The attributes to delete.
3540
+ */
3541
+ AttributesToDelete?: ThemeAttributes;
3542
+ }
3543
+ export interface UpdateThemeForStackResult {
3544
+ /**
3545
+ * The theme object that contains the metadata of the custom branding.
3546
+ */
3547
+ Theme?: Theme;
3548
+ }
3350
3549
  export type UsageReportExecutionErrorCode = "RESOURCE_NOT_FOUND"|"ACCESS_DENIED"|"INTERNAL_SERVICE_ERROR"|string;
3351
3550
  export type UsageReportSchedule = "DAILY"|string;
3352
3551
  export interface UsageReportSubscription {
@@ -196,11 +196,11 @@ declare class CodeBuild extends Service {
196
196
  */
197
197
  getResourcePolicy(callback?: (err: AWSError, data: CodeBuild.Types.GetResourcePolicyOutput) => void): Request<CodeBuild.Types.GetResourcePolicyOutput, AWSError>;
198
198
  /**
199
- * Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
199
+ * Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository.
200
200
  */
201
201
  importSourceCredentials(params: CodeBuild.Types.ImportSourceCredentialsInput, callback?: (err: AWSError, data: CodeBuild.Types.ImportSourceCredentialsOutput) => void): Request<CodeBuild.Types.ImportSourceCredentialsOutput, AWSError>;
202
202
  /**
203
- * Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
203
+ * Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository.
204
204
  */
205
205
  importSourceCredentials(callback?: (err: AWSError, data: CodeBuild.Types.ImportSourceCredentialsOutput) => void): Request<CodeBuild.Types.ImportSourceCredentialsOutput, AWSError>;
206
206
  /**
@@ -416,7 +416,7 @@ declare namespace CodeBuild {
416
416
  export type ArtifactNamespace = "NONE"|"BUILD_ID"|string;
417
417
  export type ArtifactPackaging = "NONE"|"ZIP"|string;
418
418
  export type ArtifactsType = "CODEPIPELINE"|"S3"|"NO_ARTIFACTS"|string;
419
- export type AuthType = "OAUTH"|"BASIC_AUTH"|"PERSONAL_ACCESS_TOKEN"|"CODECONNECTIONS"|string;
419
+ export type AuthType = "OAUTH"|"BASIC_AUTH"|"PERSONAL_ACCESS_TOKEN"|"CODECONNECTIONS"|"SECRETS_MANAGER"|string;
420
420
  export interface BatchDeleteBuildsInput {
421
421
  /**
422
422
  * The IDs of the builds to delete.
@@ -1578,7 +1578,7 @@ declare namespace CodeBuild {
1578
1578
  */
1579
1579
  username?: NonEmptyString;
1580
1580
  /**
1581
- * For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the authType CODECONNECTIONS, this is the connectionArn.
1581
+ * For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the authType CODECONNECTIONS, this is the connectionArn. For the authType SECRETS_MANAGER, this is the secretArn.
1582
1582
  */
1583
1583
  token: SensitiveNonEmptyString;
1584
1584
  /**
@@ -1586,7 +1586,7 @@ declare namespace CodeBuild {
1586
1586
  */
1587
1587
  serverType: ServerType;
1588
1588
  /**
1589
- * The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console. Note that CODECONNECTIONS is only valid for GitLab and GitLab Self Managed.
1589
+ * The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console.
1590
1590
  */
1591
1591
  authType: AuthType;
1592
1592
  /**
@@ -2290,7 +2290,7 @@ declare namespace CodeBuild {
2290
2290
  */
2291
2291
  buildspec?: String;
2292
2292
  /**
2293
- * Information about the authorization settings for CodeBuild to access the source code to be built. This information is for the CodeBuild console's use only. Your code should not get or set this information directly.
2293
+ * Information about the authorization settings for CodeBuild to access the source code to be built.
2294
2294
  */
2295
2295
  auth?: SourceAuth;
2296
2296
  /**
@@ -2629,7 +2629,7 @@ declare namespace CodeBuild {
2629
2629
  export type SortOrderType = "ASCENDING"|"DESCENDING"|string;
2630
2630
  export interface SourceAuth {
2631
2631
  /**
2632
- * The authorization type to use. Valid options are OAUTH or CODECONNECTIONS.
2632
+ * The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
2633
2633
  */
2634
2634
  type: SourceAuthType;
2635
2635
  /**
@@ -2637,7 +2637,7 @@ declare namespace CodeBuild {
2637
2637
  */
2638
2638
  resource?: String;
2639
2639
  }
2640
- export type SourceAuthType = "OAUTH"|"CODECONNECTIONS"|string;
2640
+ export type SourceAuthType = "OAUTH"|"CODECONNECTIONS"|"SECRETS_MANAGER"|string;
2641
2641
  export interface SourceCredentialsInfo {
2642
2642
  /**
2643
2643
  * The Amazon Resource Name (ARN) of the token.
@@ -2648,11 +2648,11 @@ declare namespace CodeBuild {
2648
2648
  */
2649
2649
  serverType?: ServerType;
2650
2650
  /**
2651
- * The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS.
2651
+ * The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER.
2652
2652
  */
2653
2653
  authType?: AuthType;
2654
2654
  /**
2655
- * The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED and your authType is CODECONNECTIONS.
2655
+ * The connection ARN if your authType is CODECONNECTIONS or SECRETS_MANAGER.
2656
2656
  */
2657
2657
  resource?: String;
2658
2658
  }
@@ -300,6 +300,14 @@ declare class DocDB extends Service {
300
300
  * Forces a failover for a cluster. A failover for a cluster promotes one of the Amazon DocumentDB replicas (read-only instances) in the cluster to be the primary instance (the cluster writer). If the primary instance fails, Amazon DocumentDB automatically fails over to an Amazon DocumentDB replica, if one exists. You can force a failover when you want to simulate a failure of a primary instance for testing.
301
301
  */
302
302
  failoverDBCluster(callback?: (err: AWSError, data: DocDB.Types.FailoverDBClusterResult) => void): Request<DocDB.Types.FailoverDBClusterResult, AWSError>;
303
+ /**
304
+ * Promotes the specified secondary DB cluster to be the primary DB cluster in the global cluster when failing over a global cluster occurs. Use this operation to respond to an unplanned event, such as a regional disaster in the primary region. Failing over can result in a loss of write transaction data that wasn't replicated to the chosen secondary before the failover event occurred. However, the recovery process that promotes a DB instance on the chosen seconday DB cluster to be the primary writer DB instance guarantees that the data is in a transactionally consistent state.
305
+ */
306
+ failoverGlobalCluster(params: DocDB.Types.FailoverGlobalClusterMessage, callback?: (err: AWSError, data: DocDB.Types.FailoverGlobalClusterResult) => void): Request<DocDB.Types.FailoverGlobalClusterResult, AWSError>;
307
+ /**
308
+ * Promotes the specified secondary DB cluster to be the primary DB cluster in the global cluster when failing over a global cluster occurs. Use this operation to respond to an unplanned event, such as a regional disaster in the primary region. Failing over can result in a loss of write transaction data that wasn't replicated to the chosen secondary before the failover event occurred. However, the recovery process that promotes a DB instance on the chosen seconday DB cluster to be the primary writer DB instance guarantees that the data is in a transactionally consistent state.
309
+ */
310
+ failoverGlobalCluster(callback?: (err: AWSError, data: DocDB.Types.FailoverGlobalClusterResult) => void): Request<DocDB.Types.FailoverGlobalClusterResult, AWSError>;
303
311
  /**
304
312
  * Lists all tags on an Amazon DocumentDB resource.
305
313
  */
@@ -1027,6 +1035,7 @@ declare namespace DocDB {
1027
1035
  */
1028
1036
  StorageType?: String;
1029
1037
  }
1038
+ export type DBClusterIdentifier = string;
1030
1039
  export type DBClusterList = DBCluster[];
1031
1040
  export interface DBClusterMember {
1032
1041
  /**
@@ -2025,6 +2034,27 @@ declare namespace DocDB {
2025
2034
  export interface FailoverDBClusterResult {
2026
2035
  DBCluster?: DBCluster;
2027
2036
  }
2037
+ export interface FailoverGlobalClusterMessage {
2038
+ /**
2039
+ * The identifier of the Amazon DocumentDB global cluster to apply this operation. The identifier is the unique key assigned by the user when the cluster is created. In other words, it's the name of the global cluster. Constraints: Must match the identifier of an existing global cluster. Minimum length of 1. Maximum length of 255. Pattern: [A-Za-z][0-9A-Za-z-:._]*
2040
+ */
2041
+ GlobalClusterIdentifier: GlobalClusterIdentifier;
2042
+ /**
2043
+ * The identifier of the secondary Amazon DocumentDB cluster that you want to promote to the primary for the global cluster. Use the Amazon Resource Name (ARN) for the identifier so that Amazon DocumentDB can locate the cluster in its Amazon Web Services region. Constraints: Must match the identifier of an existing secondary cluster. Minimum length of 1. Maximum length of 255. Pattern: [A-Za-z][0-9A-Za-z-:._]*
2044
+ */
2045
+ TargetDbClusterIdentifier: DBClusterIdentifier;
2046
+ /**
2047
+ * Specifies whether to allow data loss for this global cluster operation. Allowing data loss triggers a global failover operation. If you don't specify AllowDataLoss, the global cluster operation defaults to a switchover. Constraints: Can't be specified together with the Switchover parameter.
2048
+ */
2049
+ AllowDataLoss?: BooleanOptional;
2050
+ /**
2051
+ * Specifies whether to switch over this global database cluster. Constraints: Can't be specified together with the AllowDataLoss parameter.
2052
+ */
2053
+ Switchover?: BooleanOptional;
2054
+ }
2055
+ export interface FailoverGlobalClusterResult {
2056
+ GlobalCluster?: GlobalCluster;
2057
+ }
2028
2058
  export interface Filter {
2029
2059
  /**
2030
2060
  * The name of the filter. Filter names are case sensitive.
@@ -2756,7 +2786,7 @@ declare namespace DocDB {
2756
2786
  /**
2757
2787
  * The identifier of the secondary Amazon DocumentDB cluster to promote to the new primary for the global database cluster. Use the Amazon Resource Name (ARN) for the identifier so that Amazon DocumentDB can locate the cluster in its Amazon Web Services region. Constraints: Must match the identifier of an existing secondary cluster. Minimum length of 1. Maximum length of 255. Pattern: [A-Za-z][0-9A-Za-z-:._]*
2758
2788
  */
2759
- TargetDbClusterIdentifier: String;
2789
+ TargetDbClusterIdentifier: DBClusterIdentifier;
2760
2790
  }
2761
2791
  export interface SwitchoverGlobalClusterResult {
2762
2792
  GlobalCluster?: GlobalCluster;