@aws-sdk/client-wellarchitected 3.115.0 → 3.121.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.
@@ -33,6 +33,7 @@ import { ListWorkloadSharesCommandInput, ListWorkloadSharesCommandOutput } from
33
33
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
34
34
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
35
35
  import { UpdateAnswerCommandInput, UpdateAnswerCommandOutput } from "./commands/UpdateAnswerCommand";
36
+ import { UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput } from "./commands/UpdateGlobalSettingsCommand";
36
37
  import { UpdateLensReviewCommandInput, UpdateLensReviewCommandOutput } from "./commands/UpdateLensReviewCommand";
37
38
  import { UpdateShareInvitationCommandInput, UpdateShareInvitationCommandOutput } from "./commands/UpdateShareInvitationCommand";
38
39
  import { UpdateWorkloadCommandInput, UpdateWorkloadCommandOutput } from "./commands/UpdateWorkloadCommand";
@@ -367,6 +368,12 @@ export declare class WellArchitected extends WellArchitectedClient {
367
368
  updateAnswer(args: UpdateAnswerCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAnswerCommandOutput>;
368
369
  updateAnswer(args: UpdateAnswerCommandInput, cb: (err: any, data?: UpdateAnswerCommandOutput) => void): void;
369
370
  updateAnswer(args: UpdateAnswerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAnswerCommandOutput) => void): void;
371
+ /**
372
+ * <p>Updates whether the Amazon Web Services account is opted into organization sharing features.</p>
373
+ */
374
+ updateGlobalSettings(args: UpdateGlobalSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGlobalSettingsCommandOutput>;
375
+ updateGlobalSettings(args: UpdateGlobalSettingsCommandInput, cb: (err: any, data?: UpdateGlobalSettingsCommandOutput) => void): void;
376
+ updateGlobalSettings(args: UpdateGlobalSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGlobalSettingsCommandOutput) => void): void;
370
377
  /**
371
378
  * <p>Update lens review.</p>
372
379
  */
@@ -40,13 +40,14 @@ import { ListWorkloadSharesCommandInput, ListWorkloadSharesCommandOutput } from
40
40
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
41
41
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
42
42
  import { UpdateAnswerCommandInput, UpdateAnswerCommandOutput } from "./commands/UpdateAnswerCommand";
43
+ import { UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput } from "./commands/UpdateGlobalSettingsCommand";
43
44
  import { UpdateLensReviewCommandInput, UpdateLensReviewCommandOutput } from "./commands/UpdateLensReviewCommand";
44
45
  import { UpdateShareInvitationCommandInput, UpdateShareInvitationCommandOutput } from "./commands/UpdateShareInvitationCommand";
45
46
  import { UpdateWorkloadCommandInput, UpdateWorkloadCommandOutput } from "./commands/UpdateWorkloadCommand";
46
47
  import { UpdateWorkloadShareCommandInput, UpdateWorkloadShareCommandOutput } from "./commands/UpdateWorkloadShareCommand";
47
48
  import { UpgradeLensReviewCommandInput, UpgradeLensReviewCommandOutput } from "./commands/UpgradeLensReviewCommand";
48
- export declare type ServiceInputTypes = AssociateLensesCommandInput | CreateLensShareCommandInput | CreateLensVersionCommandInput | CreateMilestoneCommandInput | CreateWorkloadCommandInput | CreateWorkloadShareCommandInput | DeleteLensCommandInput | DeleteLensShareCommandInput | DeleteWorkloadCommandInput | DeleteWorkloadShareCommandInput | DisassociateLensesCommandInput | ExportLensCommandInput | GetAnswerCommandInput | GetLensCommandInput | GetLensReviewCommandInput | GetLensReviewReportCommandInput | GetLensVersionDifferenceCommandInput | GetMilestoneCommandInput | GetWorkloadCommandInput | ImportLensCommandInput | ListAnswersCommandInput | ListLensReviewImprovementsCommandInput | ListLensReviewsCommandInput | ListLensSharesCommandInput | ListLensesCommandInput | ListMilestonesCommandInput | ListNotificationsCommandInput | ListShareInvitationsCommandInput | ListTagsForResourceCommandInput | ListWorkloadSharesCommandInput | ListWorkloadsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnswerCommandInput | UpdateLensReviewCommandInput | UpdateShareInvitationCommandInput | UpdateWorkloadCommandInput | UpdateWorkloadShareCommandInput | UpgradeLensReviewCommandInput;
49
- export declare type ServiceOutputTypes = AssociateLensesCommandOutput | CreateLensShareCommandOutput | CreateLensVersionCommandOutput | CreateMilestoneCommandOutput | CreateWorkloadCommandOutput | CreateWorkloadShareCommandOutput | DeleteLensCommandOutput | DeleteLensShareCommandOutput | DeleteWorkloadCommandOutput | DeleteWorkloadShareCommandOutput | DisassociateLensesCommandOutput | ExportLensCommandOutput | GetAnswerCommandOutput | GetLensCommandOutput | GetLensReviewCommandOutput | GetLensReviewReportCommandOutput | GetLensVersionDifferenceCommandOutput | GetMilestoneCommandOutput | GetWorkloadCommandOutput | ImportLensCommandOutput | ListAnswersCommandOutput | ListLensReviewImprovementsCommandOutput | ListLensReviewsCommandOutput | ListLensSharesCommandOutput | ListLensesCommandOutput | ListMilestonesCommandOutput | ListNotificationsCommandOutput | ListShareInvitationsCommandOutput | ListTagsForResourceCommandOutput | ListWorkloadSharesCommandOutput | ListWorkloadsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnswerCommandOutput | UpdateLensReviewCommandOutput | UpdateShareInvitationCommandOutput | UpdateWorkloadCommandOutput | UpdateWorkloadShareCommandOutput | UpgradeLensReviewCommandOutput;
49
+ export declare type ServiceInputTypes = AssociateLensesCommandInput | CreateLensShareCommandInput | CreateLensVersionCommandInput | CreateMilestoneCommandInput | CreateWorkloadCommandInput | CreateWorkloadShareCommandInput | DeleteLensCommandInput | DeleteLensShareCommandInput | DeleteWorkloadCommandInput | DeleteWorkloadShareCommandInput | DisassociateLensesCommandInput | ExportLensCommandInput | GetAnswerCommandInput | GetLensCommandInput | GetLensReviewCommandInput | GetLensReviewReportCommandInput | GetLensVersionDifferenceCommandInput | GetMilestoneCommandInput | GetWorkloadCommandInput | ImportLensCommandInput | ListAnswersCommandInput | ListLensReviewImprovementsCommandInput | ListLensReviewsCommandInput | ListLensSharesCommandInput | ListLensesCommandInput | ListMilestonesCommandInput | ListNotificationsCommandInput | ListShareInvitationsCommandInput | ListTagsForResourceCommandInput | ListWorkloadSharesCommandInput | ListWorkloadsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnswerCommandInput | UpdateGlobalSettingsCommandInput | UpdateLensReviewCommandInput | UpdateShareInvitationCommandInput | UpdateWorkloadCommandInput | UpdateWorkloadShareCommandInput | UpgradeLensReviewCommandInput;
50
+ export declare type ServiceOutputTypes = AssociateLensesCommandOutput | CreateLensShareCommandOutput | CreateLensVersionCommandOutput | CreateMilestoneCommandOutput | CreateWorkloadCommandOutput | CreateWorkloadShareCommandOutput | DeleteLensCommandOutput | DeleteLensShareCommandOutput | DeleteWorkloadCommandOutput | DeleteWorkloadShareCommandOutput | DisassociateLensesCommandOutput | ExportLensCommandOutput | GetAnswerCommandOutput | GetLensCommandOutput | GetLensReviewCommandOutput | GetLensReviewReportCommandOutput | GetLensVersionDifferenceCommandOutput | GetMilestoneCommandOutput | GetWorkloadCommandOutput | ImportLensCommandOutput | ListAnswersCommandOutput | ListLensReviewImprovementsCommandOutput | ListLensReviewsCommandOutput | ListLensSharesCommandOutput | ListLensesCommandOutput | ListMilestonesCommandOutput | ListNotificationsCommandOutput | ListShareInvitationsCommandOutput | ListTagsForResourceCommandOutput | ListWorkloadSharesCommandOutput | ListWorkloadsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnswerCommandOutput | UpdateGlobalSettingsCommandOutput | UpdateLensReviewCommandOutput | UpdateShareInvitationCommandOutput | UpdateWorkloadCommandOutput | UpdateWorkloadShareCommandOutput | UpgradeLensReviewCommandOutput;
50
51
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
51
52
  /**
52
53
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateGlobalSettingsInput } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient";
5
+ export interface UpdateGlobalSettingsCommandInput extends UpdateGlobalSettingsInput {
6
+ }
7
+ export interface UpdateGlobalSettingsCommandOutput extends __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Updates whether the Amazon Web Services account is opted into organization sharing features.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { WellArchitectedClient, UpdateGlobalSettingsCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
15
+ * // const { WellArchitectedClient, UpdateGlobalSettingsCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
16
+ * const client = new WellArchitectedClient(config);
17
+ * const command = new UpdateGlobalSettingsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateGlobalSettingsCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateGlobalSettingsCommandOutput} for command's `response` shape.
23
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateGlobalSettingsCommand extends $Command<UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput, WellArchitectedClientResolvedConfig> {
27
+ readonly input: UpdateGlobalSettingsCommandInput;
28
+ constructor(input: UpdateGlobalSettingsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -32,6 +32,7 @@ export * from "./ListWorkloadsCommand";
32
32
  export * from "./TagResourceCommand";
33
33
  export * from "./UntagResourceCommand";
34
34
  export * from "./UpdateAnswerCommand";
35
+ export * from "./UpdateGlobalSettingsCommand";
35
36
  export * from "./UpdateLensReviewCommand";
36
37
  export * from "./UpdateShareInvitationCommand";
37
38
  export * from "./UpdateWorkloadCommand";
@@ -2144,7 +2144,10 @@ export declare namespace LensReviewSummary {
2144
2144
  }
2145
2145
  export declare enum ShareStatus {
2146
2146
  ACCEPTED = "ACCEPTED",
2147
+ ASSOCIATED = "ASSOCIATED",
2148
+ ASSOCIATING = "ASSOCIATING",
2147
2149
  EXPIRED = "EXPIRED",
2150
+ FAILED = "FAILED",
2148
2151
  PENDING = "PENDING",
2149
2152
  REJECTED = "REJECTED",
2150
2153
  REVOKED = "REVOKED"
@@ -2165,6 +2168,10 @@ export interface LensShareSummary {
2165
2168
  * <p>The status of a workload share.</p>
2166
2169
  */
2167
2170
  Status?: ShareStatus | string;
2171
+ /**
2172
+ * <p>Optional message to compliment the Status field.</p>
2173
+ */
2174
+ StatusMessage?: string;
2168
2175
  }
2169
2176
  export declare namespace LensShareSummary {
2170
2177
  /**
@@ -2562,6 +2569,10 @@ export interface ListLensSharesInput {
2562
2569
  * <p>The maximum number of results to return for this request.</p>
2563
2570
  */
2564
2571
  MaxResults?: number;
2572
+ /**
2573
+ * <p>The status of a workload share.</p>
2574
+ */
2575
+ Status?: ShareStatus | string;
2565
2576
  }
2566
2577
  export declare namespace ListLensSharesInput {
2567
2578
  /**
@@ -2955,6 +2966,10 @@ export interface ListWorkloadSharesInput {
2955
2966
  * <p>The maximum number of results to return for this request.</p>
2956
2967
  */
2957
2968
  MaxResults?: number;
2969
+ /**
2970
+ * <p>The status of a workload share.</p>
2971
+ */
2972
+ Status?: ShareStatus | string;
2958
2973
  }
2959
2974
  export declare namespace ListWorkloadSharesInput {
2960
2975
  /**
@@ -2982,6 +2997,10 @@ export interface WorkloadShareSummary {
2982
2997
  * <p>The status of a workload share.</p>
2983
2998
  */
2984
2999
  Status?: ShareStatus | string;
3000
+ /**
3001
+ * <p>Optional message to compliment the Status field.</p>
3002
+ */
3003
+ StatusMessage?: string;
2985
3004
  }
2986
3005
  export declare namespace WorkloadShareSummary {
2987
3006
  /**
@@ -3012,6 +3031,10 @@ export declare namespace ListWorkloadSharesOutput {
3012
3031
  */
3013
3032
  const filterSensitiveLog: (obj: ListWorkloadSharesOutput) => any;
3014
3033
  }
3034
+ export declare enum OrganizationSharingStatus {
3035
+ DISABLED = "DISABLED",
3036
+ ENABLED = "ENABLED"
3037
+ }
3015
3038
  /**
3016
3039
  * <p>The share invitation.</p>
3017
3040
  */
@@ -3180,6 +3203,18 @@ export declare namespace UpdateAnswerOutput {
3180
3203
  */
3181
3204
  const filterSensitiveLog: (obj: UpdateAnswerOutput) => any;
3182
3205
  }
3206
+ export interface UpdateGlobalSettingsInput {
3207
+ /**
3208
+ * <p>The status of organization sharing settings.</p>
3209
+ */
3210
+ OrganizationSharingStatus?: OrganizationSharingStatus | string;
3211
+ }
3212
+ export declare namespace UpdateGlobalSettingsInput {
3213
+ /**
3214
+ * @internal
3215
+ */
3216
+ const filterSensitiveLog: (obj: UpdateGlobalSettingsInput) => any;
3217
+ }
3183
3218
  /**
3184
3219
  * <p>Input for update lens review.</p>
3185
3220
  */
@@ -34,6 +34,7 @@ import { ListWorkloadSharesCommandInput, ListWorkloadSharesCommandOutput } from
34
34
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
35
35
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
36
36
  import { UpdateAnswerCommandInput, UpdateAnswerCommandOutput } from "../commands/UpdateAnswerCommand";
37
+ import { UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput } from "../commands/UpdateGlobalSettingsCommand";
37
38
  import { UpdateLensReviewCommandInput, UpdateLensReviewCommandOutput } from "../commands/UpdateLensReviewCommand";
38
39
  import { UpdateShareInvitationCommandInput, UpdateShareInvitationCommandOutput } from "../commands/UpdateShareInvitationCommand";
39
40
  import { UpdateWorkloadCommandInput, UpdateWorkloadCommandOutput } from "../commands/UpdateWorkloadCommand";
@@ -73,6 +74,7 @@ export declare const serializeAws_restJson1ListWorkloadSharesCommand: (input: Li
73
74
  export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
74
75
  export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
75
76
  export declare const serializeAws_restJson1UpdateAnswerCommand: (input: UpdateAnswerCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
+ export declare const serializeAws_restJson1UpdateGlobalSettingsCommand: (input: UpdateGlobalSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
76
78
  export declare const serializeAws_restJson1UpdateLensReviewCommand: (input: UpdateLensReviewCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
79
  export declare const serializeAws_restJson1UpdateShareInvitationCommand: (input: UpdateShareInvitationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
78
80
  export declare const serializeAws_restJson1UpdateWorkloadCommand: (input: UpdateWorkloadCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -112,6 +114,7 @@ export declare const deserializeAws_restJson1ListWorkloadSharesCommand: (output:
112
114
  export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
113
115
  export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
114
116
  export declare const deserializeAws_restJson1UpdateAnswerCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAnswerCommandOutput>;
117
+ export declare const deserializeAws_restJson1UpdateGlobalSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateGlobalSettingsCommandOutput>;
115
118
  export declare const deserializeAws_restJson1UpdateLensReviewCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateLensReviewCommandOutput>;
116
119
  export declare const deserializeAws_restJson1UpdateShareInvitationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateShareInvitationCommandOutput>;
117
120
  export declare const deserializeAws_restJson1UpdateWorkloadCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateWorkloadCommandOutput>;
@@ -33,6 +33,7 @@ import { ListWorkloadSharesCommandInput, ListWorkloadSharesCommandOutput } from
33
33
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
34
34
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
35
35
  import { UpdateAnswerCommandInput, UpdateAnswerCommandOutput } from "./commands/UpdateAnswerCommand";
36
+ import { UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput } from "./commands/UpdateGlobalSettingsCommand";
36
37
  import { UpdateLensReviewCommandInput, UpdateLensReviewCommandOutput } from "./commands/UpdateLensReviewCommand";
37
38
  import { UpdateShareInvitationCommandInput, UpdateShareInvitationCommandOutput } from "./commands/UpdateShareInvitationCommand";
38
39
  import { UpdateWorkloadCommandInput, UpdateWorkloadCommandOutput } from "./commands/UpdateWorkloadCommand";
@@ -178,6 +179,10 @@ export declare class WellArchitected extends WellArchitectedClient {
178
179
  updateAnswer(args: UpdateAnswerCommandInput, cb: (err: any, data?: UpdateAnswerCommandOutput) => void): void;
179
180
  updateAnswer(args: UpdateAnswerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAnswerCommandOutput) => void): void;
180
181
 
182
+ updateGlobalSettings(args: UpdateGlobalSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGlobalSettingsCommandOutput>;
183
+ updateGlobalSettings(args: UpdateGlobalSettingsCommandInput, cb: (err: any, data?: UpdateGlobalSettingsCommandOutput) => void): void;
184
+ updateGlobalSettings(args: UpdateGlobalSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGlobalSettingsCommandOutput) => void): void;
185
+
181
186
  updateLensReview(args: UpdateLensReviewCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLensReviewCommandOutput>;
182
187
  updateLensReview(args: UpdateLensReviewCommandInput, cb: (err: any, data?: UpdateLensReviewCommandOutput) => void): void;
183
188
  updateLensReview(args: UpdateLensReviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLensReviewCommandOutput) => void): void;
@@ -40,13 +40,14 @@ import { ListWorkloadSharesCommandInput, ListWorkloadSharesCommandOutput } from
40
40
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
41
41
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
42
42
  import { UpdateAnswerCommandInput, UpdateAnswerCommandOutput } from "./commands/UpdateAnswerCommand";
43
+ import { UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput } from "./commands/UpdateGlobalSettingsCommand";
43
44
  import { UpdateLensReviewCommandInput, UpdateLensReviewCommandOutput } from "./commands/UpdateLensReviewCommand";
44
45
  import { UpdateShareInvitationCommandInput, UpdateShareInvitationCommandOutput } from "./commands/UpdateShareInvitationCommand";
45
46
  import { UpdateWorkloadCommandInput, UpdateWorkloadCommandOutput } from "./commands/UpdateWorkloadCommand";
46
47
  import { UpdateWorkloadShareCommandInput, UpdateWorkloadShareCommandOutput } from "./commands/UpdateWorkloadShareCommand";
47
48
  import { UpgradeLensReviewCommandInput, UpgradeLensReviewCommandOutput } from "./commands/UpgradeLensReviewCommand";
48
- export declare type ServiceInputTypes = AssociateLensesCommandInput | CreateLensShareCommandInput | CreateLensVersionCommandInput | CreateMilestoneCommandInput | CreateWorkloadCommandInput | CreateWorkloadShareCommandInput | DeleteLensCommandInput | DeleteLensShareCommandInput | DeleteWorkloadCommandInput | DeleteWorkloadShareCommandInput | DisassociateLensesCommandInput | ExportLensCommandInput | GetAnswerCommandInput | GetLensCommandInput | GetLensReviewCommandInput | GetLensReviewReportCommandInput | GetLensVersionDifferenceCommandInput | GetMilestoneCommandInput | GetWorkloadCommandInput | ImportLensCommandInput | ListAnswersCommandInput | ListLensReviewImprovementsCommandInput | ListLensReviewsCommandInput | ListLensSharesCommandInput | ListLensesCommandInput | ListMilestonesCommandInput | ListNotificationsCommandInput | ListShareInvitationsCommandInput | ListTagsForResourceCommandInput | ListWorkloadSharesCommandInput | ListWorkloadsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnswerCommandInput | UpdateLensReviewCommandInput | UpdateShareInvitationCommandInput | UpdateWorkloadCommandInput | UpdateWorkloadShareCommandInput | UpgradeLensReviewCommandInput;
49
- export declare type ServiceOutputTypes = AssociateLensesCommandOutput | CreateLensShareCommandOutput | CreateLensVersionCommandOutput | CreateMilestoneCommandOutput | CreateWorkloadCommandOutput | CreateWorkloadShareCommandOutput | DeleteLensCommandOutput | DeleteLensShareCommandOutput | DeleteWorkloadCommandOutput | DeleteWorkloadShareCommandOutput | DisassociateLensesCommandOutput | ExportLensCommandOutput | GetAnswerCommandOutput | GetLensCommandOutput | GetLensReviewCommandOutput | GetLensReviewReportCommandOutput | GetLensVersionDifferenceCommandOutput | GetMilestoneCommandOutput | GetWorkloadCommandOutput | ImportLensCommandOutput | ListAnswersCommandOutput | ListLensReviewImprovementsCommandOutput | ListLensReviewsCommandOutput | ListLensSharesCommandOutput | ListLensesCommandOutput | ListMilestonesCommandOutput | ListNotificationsCommandOutput | ListShareInvitationsCommandOutput | ListTagsForResourceCommandOutput | ListWorkloadSharesCommandOutput | ListWorkloadsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnswerCommandOutput | UpdateLensReviewCommandOutput | UpdateShareInvitationCommandOutput | UpdateWorkloadCommandOutput | UpdateWorkloadShareCommandOutput | UpgradeLensReviewCommandOutput;
49
+ export declare type ServiceInputTypes = AssociateLensesCommandInput | CreateLensShareCommandInput | CreateLensVersionCommandInput | CreateMilestoneCommandInput | CreateWorkloadCommandInput | CreateWorkloadShareCommandInput | DeleteLensCommandInput | DeleteLensShareCommandInput | DeleteWorkloadCommandInput | DeleteWorkloadShareCommandInput | DisassociateLensesCommandInput | ExportLensCommandInput | GetAnswerCommandInput | GetLensCommandInput | GetLensReviewCommandInput | GetLensReviewReportCommandInput | GetLensVersionDifferenceCommandInput | GetMilestoneCommandInput | GetWorkloadCommandInput | ImportLensCommandInput | ListAnswersCommandInput | ListLensReviewImprovementsCommandInput | ListLensReviewsCommandInput | ListLensSharesCommandInput | ListLensesCommandInput | ListMilestonesCommandInput | ListNotificationsCommandInput | ListShareInvitationsCommandInput | ListTagsForResourceCommandInput | ListWorkloadSharesCommandInput | ListWorkloadsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnswerCommandInput | UpdateGlobalSettingsCommandInput | UpdateLensReviewCommandInput | UpdateShareInvitationCommandInput | UpdateWorkloadCommandInput | UpdateWorkloadShareCommandInput | UpgradeLensReviewCommandInput;
50
+ export declare type ServiceOutputTypes = AssociateLensesCommandOutput | CreateLensShareCommandOutput | CreateLensVersionCommandOutput | CreateMilestoneCommandOutput | CreateWorkloadCommandOutput | CreateWorkloadShareCommandOutput | DeleteLensCommandOutput | DeleteLensShareCommandOutput | DeleteWorkloadCommandOutput | DeleteWorkloadShareCommandOutput | DisassociateLensesCommandOutput | ExportLensCommandOutput | GetAnswerCommandOutput | GetLensCommandOutput | GetLensReviewCommandOutput | GetLensReviewReportCommandOutput | GetLensVersionDifferenceCommandOutput | GetMilestoneCommandOutput | GetWorkloadCommandOutput | ImportLensCommandOutput | ListAnswersCommandOutput | ListLensReviewImprovementsCommandOutput | ListLensReviewsCommandOutput | ListLensSharesCommandOutput | ListLensesCommandOutput | ListMilestonesCommandOutput | ListNotificationsCommandOutput | ListShareInvitationsCommandOutput | ListTagsForResourceCommandOutput | ListWorkloadSharesCommandOutput | ListWorkloadsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnswerCommandOutput | UpdateGlobalSettingsCommandOutput | UpdateLensReviewCommandOutput | UpdateShareInvitationCommandOutput | UpdateWorkloadCommandOutput | UpdateWorkloadShareCommandOutput | UpgradeLensReviewCommandOutput;
50
51
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
51
52
 
52
53
  requestHandler?: __HttpHandler;
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateGlobalSettingsInput } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient";
5
+ export interface UpdateGlobalSettingsCommandInput extends UpdateGlobalSettingsInput {
6
+ }
7
+ export interface UpdateGlobalSettingsCommandOutput extends __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateGlobalSettingsCommand extends $Command<UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput, WellArchitectedClientResolvedConfig> {
11
+ readonly input: UpdateGlobalSettingsCommandInput;
12
+ constructor(input: UpdateGlobalSettingsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -32,6 +32,7 @@ export * from "./ListWorkloadsCommand";
32
32
  export * from "./TagResourceCommand";
33
33
  export * from "./UntagResourceCommand";
34
34
  export * from "./UpdateAnswerCommand";
35
+ export * from "./UpdateGlobalSettingsCommand";
35
36
  export * from "./UpdateLensReviewCommand";
36
37
  export * from "./UpdateShareInvitationCommand";
37
38
  export * from "./UpdateWorkloadCommand";
@@ -975,7 +975,10 @@ export declare namespace LensReviewSummary {
975
975
  }
976
976
  export declare enum ShareStatus {
977
977
  ACCEPTED = "ACCEPTED",
978
+ ASSOCIATED = "ASSOCIATED",
979
+ ASSOCIATING = "ASSOCIATING",
978
980
  EXPIRED = "EXPIRED",
981
+ FAILED = "FAILED",
979
982
  PENDING = "PENDING",
980
983
  REJECTED = "REJECTED",
981
984
  REVOKED = "REVOKED"
@@ -988,6 +991,8 @@ export interface LensShareSummary {
988
991
  SharedWith?: string;
989
992
 
990
993
  Status?: ShareStatus | string;
994
+
995
+ StatusMessage?: string;
991
996
  }
992
997
  export declare namespace LensShareSummary {
993
998
 
@@ -1187,6 +1192,8 @@ export interface ListLensSharesInput {
1187
1192
  NextToken?: string;
1188
1193
 
1189
1194
  MaxResults?: number;
1195
+
1196
+ Status?: ShareStatus | string;
1190
1197
  }
1191
1198
  export declare namespace ListLensSharesInput {
1192
1199
 
@@ -1410,6 +1417,8 @@ export interface ListWorkloadSharesInput {
1410
1417
  NextToken?: string;
1411
1418
 
1412
1419
  MaxResults?: number;
1420
+
1421
+ Status?: ShareStatus | string;
1413
1422
  }
1414
1423
  export declare namespace ListWorkloadSharesInput {
1415
1424
 
@@ -1425,6 +1434,8 @@ export interface WorkloadShareSummary {
1425
1434
  PermissionType?: PermissionType | string;
1426
1435
 
1427
1436
  Status?: ShareStatus | string;
1437
+
1438
+ StatusMessage?: string;
1428
1439
  }
1429
1440
  export declare namespace WorkloadShareSummary {
1430
1441
 
@@ -1443,6 +1454,10 @@ export declare namespace ListWorkloadSharesOutput {
1443
1454
 
1444
1455
  const filterSensitiveLog: (obj: ListWorkloadSharesOutput) => any;
1445
1456
  }
1457
+ export declare enum OrganizationSharingStatus {
1458
+ DISABLED = "DISABLED",
1459
+ ENABLED = "ENABLED"
1460
+ }
1446
1461
 
1447
1462
  export interface ShareInvitation {
1448
1463
 
@@ -1534,6 +1549,14 @@ export declare namespace UpdateAnswerOutput {
1534
1549
 
1535
1550
  const filterSensitiveLog: (obj: UpdateAnswerOutput) => any;
1536
1551
  }
1552
+ export interface UpdateGlobalSettingsInput {
1553
+
1554
+ OrganizationSharingStatus?: OrganizationSharingStatus | string;
1555
+ }
1556
+ export declare namespace UpdateGlobalSettingsInput {
1557
+
1558
+ const filterSensitiveLog: (obj: UpdateGlobalSettingsInput) => any;
1559
+ }
1537
1560
 
1538
1561
  export interface UpdateLensReviewInput {
1539
1562
 
@@ -34,6 +34,7 @@ import { ListWorkloadSharesCommandInput, ListWorkloadSharesCommandOutput } from
34
34
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
35
35
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
36
36
  import { UpdateAnswerCommandInput, UpdateAnswerCommandOutput } from "../commands/UpdateAnswerCommand";
37
+ import { UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput } from "../commands/UpdateGlobalSettingsCommand";
37
38
  import { UpdateLensReviewCommandInput, UpdateLensReviewCommandOutput } from "../commands/UpdateLensReviewCommand";
38
39
  import { UpdateShareInvitationCommandInput, UpdateShareInvitationCommandOutput } from "../commands/UpdateShareInvitationCommand";
39
40
  import { UpdateWorkloadCommandInput, UpdateWorkloadCommandOutput } from "../commands/UpdateWorkloadCommand";
@@ -73,6 +74,7 @@ export declare const serializeAws_restJson1ListWorkloadSharesCommand: (input: Li
73
74
  export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
74
75
  export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
75
76
  export declare const serializeAws_restJson1UpdateAnswerCommand: (input: UpdateAnswerCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
+ export declare const serializeAws_restJson1UpdateGlobalSettingsCommand: (input: UpdateGlobalSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
76
78
  export declare const serializeAws_restJson1UpdateLensReviewCommand: (input: UpdateLensReviewCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
79
  export declare const serializeAws_restJson1UpdateShareInvitationCommand: (input: UpdateShareInvitationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
78
80
  export declare const serializeAws_restJson1UpdateWorkloadCommand: (input: UpdateWorkloadCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -112,6 +114,7 @@ export declare const deserializeAws_restJson1ListWorkloadSharesCommand: (output:
112
114
  export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
113
115
  export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
114
116
  export declare const deserializeAws_restJson1UpdateAnswerCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAnswerCommandOutput>;
117
+ export declare const deserializeAws_restJson1UpdateGlobalSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateGlobalSettingsCommandOutput>;
115
118
  export declare const deserializeAws_restJson1UpdateLensReviewCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateLensReviewCommandOutput>;
116
119
  export declare const deserializeAws_restJson1UpdateShareInvitationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateShareInvitationCommandOutput>;
117
120
  export declare const deserializeAws_restJson1UpdateWorkloadCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateWorkloadCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-wellarchitected",
3
3
  "description": "AWS SDK for JavaScript Wellarchitected Client for Node.js, Browser and React Native",
4
- "version": "3.115.0",
4
+ "version": "3.121.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.112.0",
21
+ "@aws-sdk/client-sts": "3.121.0",
22
22
  "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.112.0",
23
+ "@aws-sdk/credential-provider-node": "3.121.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.110.0",
25
25
  "@aws-sdk/hash-node": "3.110.0",
26
26
  "@aws-sdk/invalid-dependency": "3.110.0",
@@ -28,13 +28,13 @@
28
28
  "@aws-sdk/middleware-host-header": "3.110.0",
29
29
  "@aws-sdk/middleware-logger": "3.110.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.110.0",
31
+ "@aws-sdk/middleware-retry": "3.118.1",
32
32
  "@aws-sdk/middleware-serde": "3.110.0",
33
33
  "@aws-sdk/middleware-signing": "3.110.0",
34
34
  "@aws-sdk/middleware-stack": "3.110.0",
35
35
  "@aws-sdk/middleware-user-agent": "3.110.0",
36
36
  "@aws-sdk/node-config-provider": "3.110.0",
37
- "@aws-sdk/node-http-handler": "3.110.0",
37
+ "@aws-sdk/node-http-handler": "3.118.1",
38
38
  "@aws-sdk/protocol-http": "3.110.0",
39
39
  "@aws-sdk/smithy-client": "3.110.0",
40
40
  "@aws-sdk/types": "3.110.0",
@@ -46,7 +46,7 @@
46
46
  "@aws-sdk/util-defaults-mode-browser": "3.110.0",
47
47
  "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
48
  "@aws-sdk/util-user-agent-browser": "3.110.0",
49
- "@aws-sdk/util-user-agent-node": "3.110.0",
49
+ "@aws-sdk/util-user-agent-node": "3.118.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
51
51
  "@aws-sdk/util-utf8-node": "3.109.0",
52
52
  "tslib": "^2.3.1",