@aws-sdk/client-rolesanywhere 3.556.0 → 3.558.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.
Files changed (30) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +108 -0
  3. package/dist-es/RolesAnywhere.js +4 -0
  4. package/dist-es/commands/DeleteAttributeMappingCommand.js +24 -0
  5. package/dist-es/commands/PutAttributeMappingCommand.js +24 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +5 -0
  8. package/dist-es/protocols/Aws_restJson1.js +59 -0
  9. package/dist-types/RolesAnywhere.d.ts +14 -0
  10. package/dist-types/RolesAnywhereClient.d.ts +4 -2
  11. package/dist-types/commands/CreateProfileCommand.d.ts +10 -0
  12. package/dist-types/commands/DeleteAttributeMappingCommand.d.ts +99 -0
  13. package/dist-types/commands/DeleteProfileCommand.d.ts +10 -0
  14. package/dist-types/commands/DisableProfileCommand.d.ts +10 -0
  15. package/dist-types/commands/EnableProfileCommand.d.ts +10 -0
  16. package/dist-types/commands/GetProfileCommand.d.ts +10 -0
  17. package/dist-types/commands/ListProfilesCommand.d.ts +10 -0
  18. package/dist-types/commands/PutAttributeMappingCommand.d.ts +102 -0
  19. package/dist-types/commands/UpdateProfileCommand.d.ts +10 -0
  20. package/dist-types/commands/index.d.ts +2 -0
  21. package/dist-types/models/models_0.d.ts +105 -0
  22. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  23. package/dist-types/ts3.4/RolesAnywhere.d.ts +34 -0
  24. package/dist-types/ts3.4/RolesAnywhereClient.d.ts +12 -0
  25. package/dist-types/ts3.4/commands/DeleteAttributeMappingCommand.d.ts +39 -0
  26. package/dist-types/ts3.4/commands/PutAttributeMappingCommand.d.ts +39 -0
  27. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +31 -0
  29. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  30. package/package.json +1 -1
@@ -60,6 +60,16 @@ declare const DeleteProfileCommand_base: {
60
60
  * // createdAt: new Date("TIMESTAMP"),
61
61
  * // updatedAt: new Date("TIMESTAMP"),
62
62
  * // durationSeconds: Number("int"),
63
+ * // attributeMappings: [ // AttributeMappings
64
+ * // { // AttributeMapping
65
+ * // certificateField: "STRING_VALUE",
66
+ * // mappingRules: [ // MappingRules
67
+ * // { // MappingRule
68
+ * // specifier: "STRING_VALUE", // required
69
+ * // },
70
+ * // ],
71
+ * // },
72
+ * // ],
63
73
  * // },
64
74
  * // };
65
75
  *
@@ -60,6 +60,16 @@ declare const DisableProfileCommand_base: {
60
60
  * // createdAt: new Date("TIMESTAMP"),
61
61
  * // updatedAt: new Date("TIMESTAMP"),
62
62
  * // durationSeconds: Number("int"),
63
+ * // attributeMappings: [ // AttributeMappings
64
+ * // { // AttributeMapping
65
+ * // certificateField: "STRING_VALUE",
66
+ * // mappingRules: [ // MappingRules
67
+ * // { // MappingRule
68
+ * // specifier: "STRING_VALUE", // required
69
+ * // },
70
+ * // ],
71
+ * // },
72
+ * // ],
63
73
  * // },
64
74
  * // };
65
75
  *
@@ -60,6 +60,16 @@ declare const EnableProfileCommand_base: {
60
60
  * // createdAt: new Date("TIMESTAMP"),
61
61
  * // updatedAt: new Date("TIMESTAMP"),
62
62
  * // durationSeconds: Number("int"),
63
+ * // attributeMappings: [ // AttributeMappings
64
+ * // { // AttributeMapping
65
+ * // certificateField: "STRING_VALUE",
66
+ * // mappingRules: [ // MappingRules
67
+ * // { // MappingRule
68
+ * // specifier: "STRING_VALUE", // required
69
+ * // },
70
+ * // ],
71
+ * // },
72
+ * // ],
63
73
  * // },
64
74
  * // };
65
75
  *
@@ -60,6 +60,16 @@ declare const GetProfileCommand_base: {
60
60
  * // createdAt: new Date("TIMESTAMP"),
61
61
  * // updatedAt: new Date("TIMESTAMP"),
62
62
  * // durationSeconds: Number("int"),
63
+ * // attributeMappings: [ // AttributeMappings
64
+ * // { // AttributeMapping
65
+ * // certificateField: "STRING_VALUE",
66
+ * // mappingRules: [ // MappingRules
67
+ * // { // MappingRule
68
+ * // specifier: "STRING_VALUE", // required
69
+ * // },
70
+ * // ],
71
+ * // },
72
+ * // ],
63
73
  * // },
64
74
  * // };
65
75
  *
@@ -63,6 +63,16 @@ declare const ListProfilesCommand_base: {
63
63
  * // createdAt: new Date("TIMESTAMP"),
64
64
  * // updatedAt: new Date("TIMESTAMP"),
65
65
  * // durationSeconds: Number("int"),
66
+ * // attributeMappings: [ // AttributeMappings
67
+ * // { // AttributeMapping
68
+ * // certificateField: "STRING_VALUE",
69
+ * // mappingRules: [ // MappingRules
70
+ * // { // MappingRule
71
+ * // specifier: "STRING_VALUE", // required
72
+ * // },
73
+ * // ],
74
+ * // },
75
+ * // ],
66
76
  * // },
67
77
  * // ],
68
78
  * // };
@@ -0,0 +1,102 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { PutAttributeMappingRequest, PutAttributeMappingResponse } from "../models/models_0";
4
+ import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link PutAttributeMappingCommand}.
13
+ */
14
+ export interface PutAttributeMappingCommandInput extends PutAttributeMappingRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link PutAttributeMappingCommand}.
20
+ */
21
+ export interface PutAttributeMappingCommandOutput extends PutAttributeMappingResponse, __MetadataBearer {
22
+ }
23
+ declare const PutAttributeMappingCommand_base: {
24
+ new (input: PutAttributeMappingCommandInput): import("@smithy/smithy-client").CommandImpl<PutAttributeMappingCommandInput, PutAttributeMappingCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutAttributeMappingCommandInput): import("@smithy/smithy-client").CommandImpl<PutAttributeMappingCommandInput, PutAttributeMappingCommandOutput, RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Put an entry in the attribute mapping rules that will be enforced by a given profile.
30
+ * A mapping specifies a certificate field and one or more specifiers that have contextual meanings.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { RolesAnywhereClient, PutAttributeMappingCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
35
+ * // const { RolesAnywhereClient, PutAttributeMappingCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
36
+ * const client = new RolesAnywhereClient(config);
37
+ * const input = { // PutAttributeMappingRequest
38
+ * profileId: "STRING_VALUE", // required
39
+ * certificateField: "STRING_VALUE", // required
40
+ * mappingRules: [ // MappingRules // required
41
+ * { // MappingRule
42
+ * specifier: "STRING_VALUE", // required
43
+ * },
44
+ * ],
45
+ * };
46
+ * const command = new PutAttributeMappingCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // PutAttributeMappingResponse
49
+ * // profile: { // ProfileDetail
50
+ * // profileId: "STRING_VALUE",
51
+ * // profileArn: "STRING_VALUE",
52
+ * // name: "STRING_VALUE",
53
+ * // requireInstanceProperties: true || false,
54
+ * // enabled: true || false,
55
+ * // createdBy: "STRING_VALUE",
56
+ * // sessionPolicy: "STRING_VALUE",
57
+ * // roleArns: [ // RoleArnList
58
+ * // "STRING_VALUE",
59
+ * // ],
60
+ * // managedPolicyArns: [ // ManagedPolicyList
61
+ * // "STRING_VALUE",
62
+ * // ],
63
+ * // createdAt: new Date("TIMESTAMP"),
64
+ * // updatedAt: new Date("TIMESTAMP"),
65
+ * // durationSeconds: Number("int"),
66
+ * // attributeMappings: [ // AttributeMappings
67
+ * // { // AttributeMapping
68
+ * // certificateField: "STRING_VALUE",
69
+ * // mappingRules: [ // MappingRules
70
+ * // { // MappingRule
71
+ * // specifier: "STRING_VALUE", // required
72
+ * // },
73
+ * // ],
74
+ * // },
75
+ * // ],
76
+ * // },
77
+ * // };
78
+ *
79
+ * ```
80
+ *
81
+ * @param PutAttributeMappingCommandInput - {@link PutAttributeMappingCommandInput}
82
+ * @returns {@link PutAttributeMappingCommandOutput}
83
+ * @see {@link PutAttributeMappingCommandInput} for command's `input` shape.
84
+ * @see {@link PutAttributeMappingCommandOutput} for command's `response` shape.
85
+ * @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape.
86
+ *
87
+ * @throws {@link AccessDeniedException} (client fault)
88
+ * <p>You do not have sufficient access to perform this action.</p>
89
+ *
90
+ * @throws {@link ResourceNotFoundException} (client fault)
91
+ * <p>The resource could not be found.</p>
92
+ *
93
+ * @throws {@link ValidationException} (client fault)
94
+ * <p>Validation exception error.</p>
95
+ *
96
+ * @throws {@link RolesAnywhereServiceException}
97
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
98
+ *
99
+ * @public
100
+ */
101
+ export declare class PutAttributeMappingCommand extends PutAttributeMappingCommand_base {
102
+ }
@@ -71,6 +71,16 @@ declare const UpdateProfileCommand_base: {
71
71
  * // createdAt: new Date("TIMESTAMP"),
72
72
  * // updatedAt: new Date("TIMESTAMP"),
73
73
  * // durationSeconds: Number("int"),
74
+ * // attributeMappings: [ // AttributeMappings
75
+ * // { // AttributeMapping
76
+ * // certificateField: "STRING_VALUE",
77
+ * // mappingRules: [ // MappingRules
78
+ * // { // MappingRule
79
+ * // specifier: "STRING_VALUE", // required
80
+ * // },
81
+ * // ],
82
+ * // },
83
+ * // ],
74
84
  * // },
75
85
  * // };
76
86
  *
@@ -1,5 +1,6 @@
1
1
  export * from "./CreateProfileCommand";
2
2
  export * from "./CreateTrustAnchorCommand";
3
+ export * from "./DeleteAttributeMappingCommand";
3
4
  export * from "./DeleteCrlCommand";
4
5
  export * from "./DeleteProfileCommand";
5
6
  export * from "./DeleteTrustAnchorCommand";
@@ -19,6 +20,7 @@ export * from "./ListProfilesCommand";
19
20
  export * from "./ListSubjectsCommand";
20
21
  export * from "./ListTagsForResourceCommand";
21
22
  export * from "./ListTrustAnchorsCommand";
23
+ export * from "./PutAttributeMappingCommand";
22
24
  export * from "./PutNotificationSettingsCommand";
23
25
  export * from "./ResetNotificationSettingsCommand";
24
26
  export * from "./TagResourceCommand";
@@ -12,6 +12,46 @@ export declare class AccessDeniedException extends __BaseException {
12
12
  */
13
13
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
14
  }
15
+ /**
16
+ * @public
17
+ * @enum
18
+ */
19
+ export declare const CertificateField: {
20
+ readonly x509Issuer: "x509Issuer";
21
+ readonly x509SAN: "x509SAN";
22
+ readonly x509Subject: "x509Subject";
23
+ };
24
+ /**
25
+ * @public
26
+ */
27
+ export type CertificateField = (typeof CertificateField)[keyof typeof CertificateField];
28
+ /**
29
+ * <p>A single mapping entry for each supported specifier or sub-field.</p>
30
+ * @public
31
+ */
32
+ export interface MappingRule {
33
+ /**
34
+ * <p>Specifier within a certificate field, such as CN, OU, or UID from the Subject field.</p>
35
+ * @public
36
+ */
37
+ specifier: string | undefined;
38
+ }
39
+ /**
40
+ * <p>A mapping applied to the authenticating end-entity certificate.</p>
41
+ * @public
42
+ */
43
+ export interface AttributeMapping {
44
+ /**
45
+ * <p>Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.</p>
46
+ * @public
47
+ */
48
+ certificateField?: CertificateField;
49
+ /**
50
+ * <p>A list of mapping entries for every supported specifier or sub-field.</p>
51
+ * @public
52
+ */
53
+ mappingRules?: MappingRule[];
54
+ }
15
55
  /**
16
56
  * <p>A label that consists of a key and value you define. </p>
17
57
  * @public
@@ -142,6 +182,11 @@ export interface ProfileDetail {
142
182
  * @public
143
183
  */
144
184
  durationSeconds?: number;
185
+ /**
186
+ * <p>A mapping applied to the authenticating end-entity certificate.</p>
187
+ * @public
188
+ */
189
+ attributeMappings?: AttributeMapping[];
145
190
  }
146
191
  /**
147
192
  * @public
@@ -616,6 +661,36 @@ export interface UpdateCrlRequest {
616
661
  */
617
662
  crlData?: Uint8Array;
618
663
  }
664
+ /**
665
+ * @public
666
+ */
667
+ export interface DeleteAttributeMappingRequest {
668
+ /**
669
+ * <p>The unique identifier of the profile.</p>
670
+ * @public
671
+ */
672
+ profileId: string | undefined;
673
+ /**
674
+ * <p>Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.</p>
675
+ * @public
676
+ */
677
+ certificateField: CertificateField | undefined;
678
+ /**
679
+ * <p>A list of specifiers of a certificate field; for example, CN, OU, UID from a Subject.</p>
680
+ * @public
681
+ */
682
+ specifiers?: string[];
683
+ }
684
+ /**
685
+ * @public
686
+ */
687
+ export interface DeleteAttributeMappingResponse {
688
+ /**
689
+ * <p>The state of the profile after a read or write operation.</p>
690
+ * @public
691
+ */
692
+ profile: ProfileDetail | undefined;
693
+ }
619
694
  /**
620
695
  * @public
621
696
  */
@@ -852,6 +927,36 @@ export interface NotificationSettingKey {
852
927
  */
853
928
  channel?: NotificationChannel;
854
929
  }
930
+ /**
931
+ * @public
932
+ */
933
+ export interface PutAttributeMappingRequest {
934
+ /**
935
+ * <p>The unique identifier of the profile.</p>
936
+ * @public
937
+ */
938
+ profileId: string | undefined;
939
+ /**
940
+ * <p>Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.</p>
941
+ * @public
942
+ */
943
+ certificateField: CertificateField | undefined;
944
+ /**
945
+ * <p>A list of mapping entries for every supported specifier or sub-field.</p>
946
+ * @public
947
+ */
948
+ mappingRules: MappingRule[] | undefined;
949
+ }
950
+ /**
951
+ * @public
952
+ */
953
+ export interface PutAttributeMappingResponse {
954
+ /**
955
+ * <p>The state of the profile after a read or write operation.</p>
956
+ * @public
957
+ */
958
+ profile: ProfileDetail | undefined;
959
+ }
855
960
  /**
856
961
  * @public
857
962
  */
@@ -2,6 +2,7 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { CreateProfileCommandInput, CreateProfileCommandOutput } from "../commands/CreateProfileCommand";
4
4
  import { CreateTrustAnchorCommandInput, CreateTrustAnchorCommandOutput } from "../commands/CreateTrustAnchorCommand";
5
+ import { DeleteAttributeMappingCommandInput, DeleteAttributeMappingCommandOutput } from "../commands/DeleteAttributeMappingCommand";
5
6
  import { DeleteCrlCommandInput, DeleteCrlCommandOutput } from "../commands/DeleteCrlCommand";
6
7
  import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "../commands/DeleteProfileCommand";
7
8
  import { DeleteTrustAnchorCommandInput, DeleteTrustAnchorCommandOutput } from "../commands/DeleteTrustAnchorCommand";
@@ -21,6 +22,7 @@ import { ListProfilesCommandInput, ListProfilesCommandOutput } from "../commands
21
22
  import { ListSubjectsCommandInput, ListSubjectsCommandOutput } from "../commands/ListSubjectsCommand";
22
23
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
23
24
  import { ListTrustAnchorsCommandInput, ListTrustAnchorsCommandOutput } from "../commands/ListTrustAnchorsCommand";
25
+ import { PutAttributeMappingCommandInput, PutAttributeMappingCommandOutput } from "../commands/PutAttributeMappingCommand";
24
26
  import { PutNotificationSettingsCommandInput, PutNotificationSettingsCommandOutput } from "../commands/PutNotificationSettingsCommand";
25
27
  import { ResetNotificationSettingsCommandInput, ResetNotificationSettingsCommandOutput } from "../commands/ResetNotificationSettingsCommand";
26
28
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
@@ -36,6 +38,10 @@ export declare const se_CreateProfileCommand: (input: CreateProfileCommandInput,
36
38
  * serializeAws_restJson1CreateTrustAnchorCommand
37
39
  */
38
40
  export declare const se_CreateTrustAnchorCommand: (input: CreateTrustAnchorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
41
+ /**
42
+ * serializeAws_restJson1DeleteAttributeMappingCommand
43
+ */
44
+ export declare const se_DeleteAttributeMappingCommand: (input: DeleteAttributeMappingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
45
  /**
40
46
  * serializeAws_restJson1DeleteCrlCommand
41
47
  */
@@ -112,6 +118,10 @@ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceC
112
118
  * serializeAws_restJson1ListTrustAnchorsCommand
113
119
  */
114
120
  export declare const se_ListTrustAnchorsCommand: (input: ListTrustAnchorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
121
+ /**
122
+ * serializeAws_restJson1PutAttributeMappingCommand
123
+ */
124
+ export declare const se_PutAttributeMappingCommand: (input: PutAttributeMappingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
115
125
  /**
116
126
  * serializeAws_restJson1PutNotificationSettingsCommand
117
127
  */
@@ -148,6 +158,10 @@ export declare const de_CreateProfileCommand: (output: __HttpResponse, context:
148
158
  * deserializeAws_restJson1CreateTrustAnchorCommand
149
159
  */
150
160
  export declare const de_CreateTrustAnchorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateTrustAnchorCommandOutput>;
161
+ /**
162
+ * deserializeAws_restJson1DeleteAttributeMappingCommand
163
+ */
164
+ export declare const de_DeleteAttributeMappingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteAttributeMappingCommandOutput>;
151
165
  /**
152
166
  * deserializeAws_restJson1DeleteCrlCommand
153
167
  */
@@ -224,6 +238,10 @@ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, con
224
238
  * deserializeAws_restJson1ListTrustAnchorsCommand
225
239
  */
226
240
  export declare const de_ListTrustAnchorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTrustAnchorsCommandOutput>;
241
+ /**
242
+ * deserializeAws_restJson1PutAttributeMappingCommand
243
+ */
244
+ export declare const de_PutAttributeMappingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutAttributeMappingCommandOutput>;
227
245
  /**
228
246
  * deserializeAws_restJson1PutNotificationSettingsCommand
229
247
  */
@@ -7,6 +7,10 @@ import {
7
7
  CreateTrustAnchorCommandInput,
8
8
  CreateTrustAnchorCommandOutput,
9
9
  } from "./commands/CreateTrustAnchorCommand";
10
+ import {
11
+ DeleteAttributeMappingCommandInput,
12
+ DeleteAttributeMappingCommandOutput,
13
+ } from "./commands/DeleteAttributeMappingCommand";
10
14
  import {
11
15
  DeleteCrlCommandInput,
12
16
  DeleteCrlCommandOutput,
@@ -83,6 +87,10 @@ import {
83
87
  ListTrustAnchorsCommandInput,
84
88
  ListTrustAnchorsCommandOutput,
85
89
  } from "./commands/ListTrustAnchorsCommand";
90
+ import {
91
+ PutAttributeMappingCommandInput,
92
+ PutAttributeMappingCommandOutput,
93
+ } from "./commands/PutAttributeMappingCommand";
86
94
  import {
87
95
  PutNotificationSettingsCommandInput,
88
96
  PutNotificationSettingsCommandOutput,
@@ -139,6 +147,19 @@ export interface RolesAnywhere {
139
147
  options: __HttpHandlerOptions,
140
148
  cb: (err: any, data?: CreateTrustAnchorCommandOutput) => void
141
149
  ): void;
150
+ deleteAttributeMapping(
151
+ args: DeleteAttributeMappingCommandInput,
152
+ options?: __HttpHandlerOptions
153
+ ): Promise<DeleteAttributeMappingCommandOutput>;
154
+ deleteAttributeMapping(
155
+ args: DeleteAttributeMappingCommandInput,
156
+ cb: (err: any, data?: DeleteAttributeMappingCommandOutput) => void
157
+ ): void;
158
+ deleteAttributeMapping(
159
+ args: DeleteAttributeMappingCommandInput,
160
+ options: __HttpHandlerOptions,
161
+ cb: (err: any, data?: DeleteAttributeMappingCommandOutput) => void
162
+ ): void;
142
163
  deleteCrl(
143
164
  args: DeleteCrlCommandInput,
144
165
  options?: __HttpHandlerOptions
@@ -390,6 +411,19 @@ export interface RolesAnywhere {
390
411
  options: __HttpHandlerOptions,
391
412
  cb: (err: any, data?: ListTrustAnchorsCommandOutput) => void
392
413
  ): void;
414
+ putAttributeMapping(
415
+ args: PutAttributeMappingCommandInput,
416
+ options?: __HttpHandlerOptions
417
+ ): Promise<PutAttributeMappingCommandOutput>;
418
+ putAttributeMapping(
419
+ args: PutAttributeMappingCommandInput,
420
+ cb: (err: any, data?: PutAttributeMappingCommandOutput) => void
421
+ ): void;
422
+ putAttributeMapping(
423
+ args: PutAttributeMappingCommandInput,
424
+ options: __HttpHandlerOptions,
425
+ cb: (err: any, data?: PutAttributeMappingCommandOutput) => void
426
+ ): void;
393
427
  putNotificationSettings(
394
428
  args: PutNotificationSettingsCommandInput,
395
429
  options?: __HttpHandlerOptions
@@ -53,6 +53,10 @@ import {
53
53
  CreateTrustAnchorCommandInput,
54
54
  CreateTrustAnchorCommandOutput,
55
55
  } from "./commands/CreateTrustAnchorCommand";
56
+ import {
57
+ DeleteAttributeMappingCommandInput,
58
+ DeleteAttributeMappingCommandOutput,
59
+ } from "./commands/DeleteAttributeMappingCommand";
56
60
  import {
57
61
  DeleteCrlCommandInput,
58
62
  DeleteCrlCommandOutput,
@@ -129,6 +133,10 @@ import {
129
133
  ListTrustAnchorsCommandInput,
130
134
  ListTrustAnchorsCommandOutput,
131
135
  } from "./commands/ListTrustAnchorsCommand";
136
+ import {
137
+ PutAttributeMappingCommandInput,
138
+ PutAttributeMappingCommandOutput,
139
+ } from "./commands/PutAttributeMappingCommand";
132
140
  import {
133
141
  PutNotificationSettingsCommandInput,
134
142
  PutNotificationSettingsCommandOutput,
@@ -167,6 +175,7 @@ export { __Client };
167
175
  export type ServiceInputTypes =
168
176
  | CreateProfileCommandInput
169
177
  | CreateTrustAnchorCommandInput
178
+ | DeleteAttributeMappingCommandInput
170
179
  | DeleteCrlCommandInput
171
180
  | DeleteProfileCommandInput
172
181
  | DeleteTrustAnchorCommandInput
@@ -186,6 +195,7 @@ export type ServiceInputTypes =
186
195
  | ListSubjectsCommandInput
187
196
  | ListTagsForResourceCommandInput
188
197
  | ListTrustAnchorsCommandInput
198
+ | PutAttributeMappingCommandInput
189
199
  | PutNotificationSettingsCommandInput
190
200
  | ResetNotificationSettingsCommandInput
191
201
  | TagResourceCommandInput
@@ -196,6 +206,7 @@ export type ServiceInputTypes =
196
206
  export type ServiceOutputTypes =
197
207
  | CreateProfileCommandOutput
198
208
  | CreateTrustAnchorCommandOutput
209
+ | DeleteAttributeMappingCommandOutput
199
210
  | DeleteCrlCommandOutput
200
211
  | DeleteProfileCommandOutput
201
212
  | DeleteTrustAnchorCommandOutput
@@ -215,6 +226,7 @@ export type ServiceOutputTypes =
215
226
  | ListSubjectsCommandOutput
216
227
  | ListTagsForResourceCommandOutput
217
228
  | ListTrustAnchorsCommandOutput
229
+ | PutAttributeMappingCommandOutput
218
230
  | PutNotificationSettingsCommandOutput
219
231
  | ResetNotificationSettingsCommandOutput
220
232
  | TagResourceCommandOutput
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DeleteAttributeMappingRequest,
5
+ DeleteAttributeMappingResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ RolesAnywhereClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../RolesAnywhereClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface DeleteAttributeMappingCommandInput
14
+ extends DeleteAttributeMappingRequest {}
15
+ export interface DeleteAttributeMappingCommandOutput
16
+ extends DeleteAttributeMappingResponse,
17
+ __MetadataBearer {}
18
+ declare const DeleteAttributeMappingCommand_base: {
19
+ new (
20
+ input: DeleteAttributeMappingCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ DeleteAttributeMappingCommandInput,
23
+ DeleteAttributeMappingCommandOutput,
24
+ RolesAnywhereClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: DeleteAttributeMappingCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DeleteAttributeMappingCommandInput,
32
+ DeleteAttributeMappingCommandOutput,
33
+ RolesAnywhereClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class DeleteAttributeMappingCommand extends DeleteAttributeMappingCommand_base {}
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ PutAttributeMappingRequest,
5
+ PutAttributeMappingResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ RolesAnywhereClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../RolesAnywhereClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface PutAttributeMappingCommandInput
14
+ extends PutAttributeMappingRequest {}
15
+ export interface PutAttributeMappingCommandOutput
16
+ extends PutAttributeMappingResponse,
17
+ __MetadataBearer {}
18
+ declare const PutAttributeMappingCommand_base: {
19
+ new (
20
+ input: PutAttributeMappingCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ PutAttributeMappingCommandInput,
23
+ PutAttributeMappingCommandOutput,
24
+ RolesAnywhereClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: PutAttributeMappingCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ PutAttributeMappingCommandInput,
32
+ PutAttributeMappingCommandOutput,
33
+ RolesAnywhereClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class PutAttributeMappingCommand extends PutAttributeMappingCommand_base {}
@@ -1,5 +1,6 @@
1
1
  export * from "./CreateProfileCommand";
2
2
  export * from "./CreateTrustAnchorCommand";
3
+ export * from "./DeleteAttributeMappingCommand";
3
4
  export * from "./DeleteCrlCommand";
4
5
  export * from "./DeleteProfileCommand";
5
6
  export * from "./DeleteTrustAnchorCommand";
@@ -19,6 +20,7 @@ export * from "./ListProfilesCommand";
19
20
  export * from "./ListSubjectsCommand";
20
21
  export * from "./ListTagsForResourceCommand";
21
22
  export * from "./ListTrustAnchorsCommand";
23
+ export * from "./PutAttributeMappingCommand";
22
24
  export * from "./PutNotificationSettingsCommand";
23
25
  export * from "./ResetNotificationSettingsCommand";
24
26
  export * from "./TagResourceCommand";