@aws-sdk/client-config-service 3.1080.0 → 3.1082.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 (83) hide show
  1. package/README.md +42 -7
  2. package/dist-cjs/index.js +245 -35
  3. package/dist-es/ConfigService.js +12 -0
  4. package/dist-es/commands/DeleteConnectorCommand.js +4 -0
  5. package/dist-es/commands/GetConnectorCommand.js +4 -0
  6. package/dist-es/commands/ListConnectorsCommand.js +4 -0
  7. package/dist-es/commands/PutConnectorCommand.js +4 -0
  8. package/dist-es/commands/PutThirdPartyServiceLinkedConfigurationRecorderCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +6 -0
  11. package/dist-es/models/errors.js +24 -12
  12. package/dist-es/pagination/ListConnectorsPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/schemas/schemas_0.js +165 -23
  15. package/dist-types/ConfigService.d.ts +44 -0
  16. package/dist-types/ConfigServiceClient.d.ts +7 -2
  17. package/dist-types/commands/AssociateResourceTypesCommand.d.ts +25 -0
  18. package/dist-types/commands/BatchGetAggregateResourceConfigCommand.d.ts +9 -0
  19. package/dist-types/commands/BatchGetResourceConfigCommand.d.ts +9 -0
  20. package/dist-types/commands/DeleteConnectorCommand.d.ts +117 -0
  21. package/dist-types/commands/DeleteRemediationConfigurationCommand.d.ts +3 -0
  22. package/dist-types/commands/DeleteResourceConfigCommand.d.ts +9 -0
  23. package/dist-types/commands/DeleteServiceLinkedConfigurationRecorderCommand.d.ts +17 -2
  24. package/dist-types/commands/DeleteStoredQueryCommand.d.ts +9 -0
  25. package/dist-types/commands/DescribeAggregateComplianceByConfigRulesCommand.d.ts +9 -0
  26. package/dist-types/commands/DescribeAggregateComplianceByConformancePacksCommand.d.ts +9 -0
  27. package/dist-types/commands/DescribeConfigRulesCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeConfigurationRecorderStatusCommand.d.ts +9 -0
  29. package/dist-types/commands/DescribeConfigurationRecordersCommand.d.ts +20 -0
  30. package/dist-types/commands/DisassociateResourceTypesCommand.d.ts +25 -0
  31. package/dist-types/commands/GetAggregateComplianceDetailsByConfigRuleCommand.d.ts +9 -0
  32. package/dist-types/commands/GetAggregateConfigRuleComplianceSummaryCommand.d.ts +9 -0
  33. package/dist-types/commands/GetAggregateConformancePackComplianceSummaryCommand.d.ts +9 -0
  34. package/dist-types/commands/GetAggregateDiscoveredResourceCountsCommand.d.ts +9 -0
  35. package/dist-types/commands/GetAggregateResourceConfigCommand.d.ts +9 -0
  36. package/dist-types/commands/GetConnectorCommand.d.ts +129 -0
  37. package/dist-types/commands/GetDiscoveredResourceCountsCommand.d.ts +9 -0
  38. package/dist-types/commands/GetResourceConfigHistoryCommand.d.ts +9 -0
  39. package/dist-types/commands/GetStoredQueryCommand.d.ts +9 -0
  40. package/dist-types/commands/ListAggregateDiscoveredResourcesCommand.d.ts +9 -0
  41. package/dist-types/commands/ListConfigurationRecordersCommand.d.ts +10 -0
  42. package/dist-types/commands/ListConnectorsCommand.d.ts +134 -0
  43. package/dist-types/commands/ListDiscoveredResourcesCommand.d.ts +9 -0
  44. package/dist-types/commands/ListStoredQueriesCommand.d.ts +9 -0
  45. package/dist-types/commands/ListTagsForResourceCommand.d.ts +9 -0
  46. package/dist-types/commands/PutConfigRuleCommand.d.ts +3 -0
  47. package/dist-types/commands/PutConfigurationRecorderCommand.d.ts +20 -0
  48. package/dist-types/commands/PutConformancePackCommand.d.ts +3 -0
  49. package/dist-types/commands/PutConnectorCommand.d.ts +195 -0
  50. package/dist-types/commands/PutOrganizationConfigRuleCommand.d.ts +12 -0
  51. package/dist-types/commands/PutOrganizationConformancePackCommand.d.ts +12 -0
  52. package/dist-types/commands/PutRemediationConfigurationsCommand.d.ts +3 -0
  53. package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +3 -0
  54. package/dist-types/commands/PutResourceConfigCommand.d.ts +12 -0
  55. package/dist-types/commands/PutServiceLinkedConfigurationRecorderCommand.d.ts +17 -0
  56. package/dist-types/commands/PutStoredQueryCommand.d.ts +9 -0
  57. package/dist-types/commands/PutThirdPartyServiceLinkedConfigurationRecorderCommand.d.ts +199 -0
  58. package/dist-types/commands/StartRemediationExecutionCommand.d.ts +3 -0
  59. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  60. package/dist-types/commands/UntagResourceCommand.d.ts +9 -0
  61. package/dist-types/commands/index.d.ts +5 -0
  62. package/dist-types/models/enums.d.ts +22 -0
  63. package/dist-types/models/errors.d.ts +41 -12
  64. package/dist-types/models/models_0.d.ts +304 -13
  65. package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
  66. package/dist-types/pagination/index.d.ts +1 -0
  67. package/dist-types/schemas/schemas_0.d.ts +21 -0
  68. package/dist-types/ts3.4/ConfigService.d.ts +100 -0
  69. package/dist-types/ts3.4/ConfigServiceClient.d.ts +30 -0
  70. package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +38 -0
  71. package/dist-types/ts3.4/commands/DeleteServiceLinkedConfigurationRecorderCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/GetConnectorCommand.d.ts +40 -0
  73. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +43 -0
  74. package/dist-types/ts3.4/commands/PutConnectorCommand.d.ts +40 -0
  75. package/dist-types/ts3.4/commands/PutThirdPartyServiceLinkedConfigurationRecorderCommand.d.ts +44 -0
  76. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  77. package/dist-types/ts3.4/models/enums.d.ts +9 -0
  78. package/dist-types/ts3.4/models/errors.d.ts +17 -7
  79. package/dist-types/ts3.4/models/models_0.d.ts +73 -2
  80. package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +11 -0
  81. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  82. package/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
  83. package/package.json +8 -8
@@ -82,6 +82,17 @@ declare const DescribeConfigurationRecordersCommand_base: {
82
82
  * // },
83
83
  * // recordingScope: "INTERNAL" || "PAID",
84
84
  * // servicePrincipal: "STRING_VALUE",
85
+ * // connectorArn: "STRING_VALUE",
86
+ * // scopeConfiguration: { // ScopeConfiguration
87
+ * // scopeType: "STRING_VALUE", // required
88
+ * // scopeValues: [ // ScopeValues
89
+ * // "STRING_VALUE",
90
+ * // ],
91
+ * // allRegions: true || false, // required
92
+ * // includedRegions: [ // IncludedRegions
93
+ * // "STRING_VALUE",
94
+ * // ],
95
+ * // },
85
96
  * // },
86
97
  * // ],
87
98
  * // };
@@ -133,6 +144,15 @@ declare const DescribeConfigurationRecordersCommand_base: {
133
144
  * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
134
145
  * </li>
135
146
  * </ul>
147
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, one of the following errors:</p>
148
+ * <ul>
149
+ * <li>
150
+ * <p>You have provided both <code>Arn</code> and <code>ServicePrincipal</code>. Only one of <code>Arn</code> or <code>ServicePrincipal</code> can be specified.</p>
151
+ * </li>
152
+ * <li>
153
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
154
+ * </li>
155
+ * </ul>
136
156
  *
137
157
  * @throws {@link ConfigServiceServiceException}
138
158
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -76,6 +76,17 @@ declare const DisassociateResourceTypesCommand_base: {
76
76
  * // },
77
77
  * // recordingScope: "INTERNAL" || "PAID",
78
78
  * // servicePrincipal: "STRING_VALUE",
79
+ * // connectorArn: "STRING_VALUE",
80
+ * // scopeConfiguration: { // ScopeConfiguration
81
+ * // scopeType: "STRING_VALUE", // required
82
+ * // scopeValues: [ // ScopeValues
83
+ * // "STRING_VALUE",
84
+ * // ],
85
+ * // allRegions: true || false, // required
86
+ * // includedRegions: [ // IncludedRegions
87
+ * // "STRING_VALUE",
88
+ * // ],
89
+ * // },
79
90
  * // },
80
91
  * // };
81
92
  *
@@ -89,7 +100,12 @@ declare const DisassociateResourceTypesCommand_base: {
89
100
  *
90
101
  * @throws {@link ConflictException} (client fault)
91
102
  * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutServiceLinkedConfigurationRecorder.html">PutServiceLinkedConfigurationRecorder</a>, you cannot create a service-linked recorder because a service-linked recorder already exists for the specified service.</p>
103
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutThirdPartyServiceLinkedConfigurationRecorder.html">PutThirdPartyServiceLinkedConfigurationRecorder</a>, you cannot create a service-linked recorder because the specified service principal does not support multiple configuration recorders and one already exists.</p>
104
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutThirdPartyServiceLinkedConfigurationRecorder.html">PutThirdPartyServiceLinkedConfigurationRecorder</a>, another in-progress operation is currently referencing the same connector or service principal. Please try again later.</p>
105
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConnector.html">PutConnector</a>, you cannot create a connector because a connector already exists for the specified connector configuration.</p>
92
106
  * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, you cannot delete the service-linked recorder because it is currently in use by the linked Amazon Web Services service.</p>
107
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, another in-progress operation is currently referencing the same connector. Please try again later.</p>
108
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteConnector.html">DeleteConnector</a>, another in-progress operation is currently referencing the connector. Please try again later.</p>
93
109
  * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteDeliveryChannel.html">DeleteDeliveryChannel</a>, you cannot delete the specified delivery channel because the customer managed configuration recorder is running. Use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_StopConfigurationRecorder.html">StopConfigurationRecorder</a> operation to stop the customer managed configuration
94
110
  * recorder.</p>
95
111
  * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_AssociateResourceTypes.html">AssociateResourceTypes</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DisassociateResourceTypes.html">DisassociateResourceTypes</a>, one of the following errors:</p>
@@ -141,6 +157,15 @@ declare const DisassociateResourceTypesCommand_base: {
141
157
  * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
142
158
  * </li>
143
159
  * </ul>
160
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, one of the following errors:</p>
161
+ * <ul>
162
+ * <li>
163
+ * <p>You have provided both <code>Arn</code> and <code>ServicePrincipal</code>. Only one of <code>Arn</code> or <code>ServicePrincipal</code> can be specified.</p>
164
+ * </li>
165
+ * <li>
166
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
167
+ * </li>
168
+ * </ul>
144
169
  *
145
170
  * @throws {@link ConfigServiceServiceException}
146
171
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -130,6 +130,15 @@ declare const GetAggregateComplianceDetailsByConfigRuleCommand_base: {
130
130
  * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
131
131
  * </li>
132
132
  * </ul>
133
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, one of the following errors:</p>
134
+ * <ul>
135
+ * <li>
136
+ * <p>You have provided both <code>Arn</code> and <code>ServicePrincipal</code>. Only one of <code>Arn</code> or <code>ServicePrincipal</code> can be specified.</p>
137
+ * </li>
138
+ * <li>
139
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
140
+ * </li>
141
+ * </ul>
133
142
  *
134
143
  * @throws {@link ConfigServiceServiceException}
135
144
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -126,6 +126,15 @@ declare const GetAggregateConfigRuleComplianceSummaryCommand_base: {
126
126
  * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
127
127
  * </li>
128
128
  * </ul>
129
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, one of the following errors:</p>
130
+ * <ul>
131
+ * <li>
132
+ * <p>You have provided both <code>Arn</code> and <code>ServicePrincipal</code>. Only one of <code>Arn</code> or <code>ServicePrincipal</code> can be specified.</p>
133
+ * </li>
134
+ * <li>
135
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
136
+ * </li>
137
+ * </ul>
129
138
  *
130
139
  * @throws {@link ConfigServiceServiceException}
131
140
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -116,6 +116,15 @@ declare const GetAggregateConformancePackComplianceSummaryCommand_base: {
116
116
  * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
117
117
  * </li>
118
118
  * </ul>
119
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, one of the following errors:</p>
120
+ * <ul>
121
+ * <li>
122
+ * <p>You have provided both <code>Arn</code> and <code>ServicePrincipal</code>. Only one of <code>Arn</code> or <code>ServicePrincipal</code> can be specified.</p>
123
+ * </li>
124
+ * <li>
125
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
126
+ * </li>
127
+ * </ul>
119
128
  *
120
129
  * @throws {@link ConfigServiceServiceException}
121
130
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -114,6 +114,15 @@ declare const GetAggregateDiscoveredResourceCountsCommand_base: {
114
114
  * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
115
115
  * </li>
116
116
  * </ul>
117
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, one of the following errors:</p>
118
+ * <ul>
119
+ * <li>
120
+ * <p>You have provided both <code>Arn</code> and <code>ServicePrincipal</code>. Only one of <code>Arn</code> or <code>ServicePrincipal</code> can be specified.</p>
121
+ * </li>
122
+ * <li>
123
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
124
+ * </li>
125
+ * </ul>
117
126
  *
118
127
  * @throws {@link ConfigServiceServiceException}
119
128
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -139,6 +139,15 @@ declare const GetAggregateResourceConfigCommand_base: {
139
139
  * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
140
140
  * </li>
141
141
  * </ul>
142
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, one of the following errors:</p>
143
+ * <ul>
144
+ * <li>
145
+ * <p>You have provided both <code>Arn</code> and <code>ServicePrincipal</code>. Only one of <code>Arn</code> or <code>ServicePrincipal</code> can be specified.</p>
146
+ * </li>
147
+ * <li>
148
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
149
+ * </li>
150
+ * </ul>
142
151
  *
143
152
  * @throws {@link ConfigServiceServiceException}
144
153
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -0,0 +1,129 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetConnectorRequest, GetConnectorResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetConnectorCommand}.
11
+ */
12
+ export interface GetConnectorCommandInput extends GetConnectorRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetConnectorCommand}.
18
+ */
19
+ export interface GetConnectorCommandOutput extends GetConnectorResponse, __MetadataBearer {
20
+ }
21
+ declare const GetConnectorCommand_base: {
22
+ new (input: GetConnectorCommandInput): import("@smithy/core/client").CommandImpl<GetConnectorCommandInput, GetConnectorCommandOutput, import("..").ConfigServiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetConnectorCommandInput): import("@smithy/core/client").CommandImpl<GetConnectorCommandInput, GetConnectorCommandOutput, import("..").ConfigServiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns the details of the specified connector.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ConfigServiceClient, GetConnectorCommand } from "@aws-sdk/client-config-service"; // ES Modules import
32
+ * // const { ConfigServiceClient, GetConnectorCommand } = require("@aws-sdk/client-config-service"); // CommonJS import
33
+ * // import type { ConfigServiceClientConfig } from "@aws-sdk/client-config-service";
34
+ * const config = {}; // type is ConfigServiceClientConfig
35
+ * const client = new ConfigServiceClient(config);
36
+ * const input = { // GetConnectorRequest
37
+ * Arn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetConnectorCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetConnectorResponse
42
+ * // Connector: { // Connector
43
+ * // name: "STRING_VALUE", // required
44
+ * // arn: "STRING_VALUE", // required
45
+ * // connectorConfiguration: { // ConnectorConfiguration
46
+ * // azure: { // AzureConnectorConfiguration
47
+ * // tenantIdentifier: "STRING_VALUE", // required
48
+ * // clientIdentifier: "STRING_VALUE", // required
49
+ * // },
50
+ * // },
51
+ * // createdTime: new Date("TIMESTAMP"), // required
52
+ * // },
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param GetConnectorCommandInput - {@link GetConnectorCommandInput}
58
+ * @returns {@link GetConnectorCommandOutput}
59
+ * @see {@link GetConnectorCommandInput} for command's `input` shape.
60
+ * @see {@link GetConnectorCommandOutput} for command's `response` shape.
61
+ * @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape.
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>You have specified a resource that does not exist.</p>
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * <p>The requested operation is not valid. You will see this exception if there are missing required fields or if the input value fails the validation.</p>
68
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutStoredQuery.html">PutStoredQuery</a>, one of the following errors:</p>
69
+ * <ul>
70
+ * <li>
71
+ * <p>There are missing required fields.</p>
72
+ * </li>
73
+ * <li>
74
+ * <p>The input value fails the validation.</p>
75
+ * </li>
76
+ * <li>
77
+ * <p>You are trying to create more than 300 queries.</p>
78
+ * </li>
79
+ * </ul>
80
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorders.html">DescribeConfigurationRecorders</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorderStatus.html">DescribeConfigurationRecorderStatus</a>, one of the following errors:</p>
81
+ * <ul>
82
+ * <li>
83
+ * <p>You have specified more than one configuration recorder.</p>
84
+ * </li>
85
+ * <li>
86
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
87
+ * </li>
88
+ * </ul>
89
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_AssociateResourceTypes.html">AssociateResourceTypes</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DisassociateResourceTypes.html">DisassociateResourceTypes</a>, one of the following errors:</p>
90
+ * <ul>
91
+ * <li>
92
+ * <p>Your configuraiton recorder has a recording strategy that does not allow the association or disassociation of resource types.</p>
93
+ * </li>
94
+ * <li>
95
+ * <p>One or more of the specified resource types are already associated or disassociated with the configuration recorder.</p>
96
+ * </li>
97
+ * <li>
98
+ * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
99
+ * </li>
100
+ * </ul>
101
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, one of the following errors:</p>
102
+ * <ul>
103
+ * <li>
104
+ * <p>You have provided both <code>Arn</code> and <code>ServicePrincipal</code>. Only one of <code>Arn</code> or <code>ServicePrincipal</code> can be specified.</p>
105
+ * </li>
106
+ * <li>
107
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
108
+ * </li>
109
+ * </ul>
110
+ *
111
+ * @throws {@link ConfigServiceServiceException}
112
+ * <p>Base exception class for all service exceptions from ConfigService service.</p>
113
+ *
114
+ *
115
+ * @public
116
+ */
117
+ export declare class GetConnectorCommand extends GetConnectorCommand_base {
118
+ /** @internal type navigation helper, not in runtime. */
119
+ protected static __types: {
120
+ api: {
121
+ input: GetConnectorRequest;
122
+ output: GetConnectorResponse;
123
+ };
124
+ sdk: {
125
+ input: GetConnectorCommandInput;
126
+ output: GetConnectorCommandOutput;
127
+ };
128
+ };
129
+ }
@@ -161,6 +161,15 @@ declare const GetDiscoveredResourceCountsCommand_base: {
161
161
  * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
162
162
  * </li>
163
163
  * </ul>
164
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, one of the following errors:</p>
165
+ * <ul>
166
+ * <li>
167
+ * <p>You have provided both <code>Arn</code> and <code>ServicePrincipal</code>. Only one of <code>Arn</code> or <code>ServicePrincipal</code> can be specified.</p>
168
+ * </li>
169
+ * <li>
170
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
171
+ * </li>
172
+ * </ul>
164
173
  *
165
174
  * @throws {@link ConfigServiceServiceException}
166
175
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -177,6 +177,15 @@ declare const GetResourceConfigHistoryCommand_base: {
177
177
  * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
178
178
  * </li>
179
179
  * </ul>
180
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, one of the following errors:</p>
181
+ * <ul>
182
+ * <li>
183
+ * <p>You have provided both <code>Arn</code> and <code>ServicePrincipal</code>. Only one of <code>Arn</code> or <code>ServicePrincipal</code> can be specified.</p>
184
+ * </li>
185
+ * <li>
186
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
187
+ * </li>
188
+ * </ul>
180
189
  *
181
190
  * @throws {@link ConfigServiceServiceException}
182
191
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -94,6 +94,15 @@ declare const GetStoredQueryCommand_base: {
94
94
  * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
95
95
  * </li>
96
96
  * </ul>
97
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, one of the following errors:</p>
98
+ * <ul>
99
+ * <li>
100
+ * <p>You have provided both <code>Arn</code> and <code>ServicePrincipal</code>. Only one of <code>Arn</code> or <code>ServicePrincipal</code> can be specified.</p>
101
+ * </li>
102
+ * <li>
103
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
104
+ * </li>
105
+ * </ul>
97
106
  *
98
107
  * @throws {@link ConfigServiceServiceException}
99
108
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -117,6 +117,15 @@ declare const ListAggregateDiscoveredResourcesCommand_base: {
117
117
  * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
118
118
  * </li>
119
119
  * </ul>
120
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, one of the following errors:</p>
121
+ * <ul>
122
+ * <li>
123
+ * <p>You have provided both <code>Arn</code> and <code>ServicePrincipal</code>. Only one of <code>Arn</code> or <code>ServicePrincipal</code> can be specified.</p>
124
+ * </li>
125
+ * <li>
126
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
127
+ * </li>
128
+ * </ul>
120
129
  *
121
130
  * @throws {@link ConfigServiceServiceException}
122
131
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -54,6 +54,7 @@ declare const ListConfigurationRecordersCommand_base: {
54
54
  * // name: "STRING_VALUE", // required
55
55
  * // servicePrincipal: "STRING_VALUE",
56
56
  * // recordingScope: "INTERNAL" || "PAID", // required
57
+ * // provider: "AZURE",
57
58
  * // },
58
59
  * // ],
59
60
  * // NextToken: "STRING_VALUE",
@@ -102,6 +103,15 @@ declare const ListConfigurationRecordersCommand_base: {
102
103
  * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
103
104
  * </li>
104
105
  * </ul>
106
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, one of the following errors:</p>
107
+ * <ul>
108
+ * <li>
109
+ * <p>You have provided both <code>Arn</code> and <code>ServicePrincipal</code>. Only one of <code>Arn</code> or <code>ServicePrincipal</code> can be specified.</p>
110
+ * </li>
111
+ * <li>
112
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
113
+ * </li>
114
+ * </ul>
105
115
  *
106
116
  * @throws {@link ConfigServiceServiceException}
107
117
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -0,0 +1,134 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListConnectorsRequest, ListConnectorsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListConnectorsCommand}.
11
+ */
12
+ export interface ListConnectorsCommandInput extends ListConnectorsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListConnectorsCommand}.
18
+ */
19
+ export interface ListConnectorsCommandOutput extends ListConnectorsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListConnectorsCommand_base: {
22
+ new (input: ListConnectorsCommandInput): import("@smithy/core/client").CommandImpl<ListConnectorsCommandInput, ListConnectorsCommandOutput, import("..").ConfigServiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListConnectorsCommandInput]): import("@smithy/core/client").CommandImpl<ListConnectorsCommandInput, ListConnectorsCommandOutput, import("..").ConfigServiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns a list of connectors depending on the filters you specify.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ConfigServiceClient, ListConnectorsCommand } from "@aws-sdk/client-config-service"; // ES Modules import
32
+ * // const { ConfigServiceClient, ListConnectorsCommand } = require("@aws-sdk/client-config-service"); // CommonJS import
33
+ * // import type { ConfigServiceClientConfig } from "@aws-sdk/client-config-service";
34
+ * const config = {}; // type is ConfigServiceClientConfig
35
+ * const client = new ConfigServiceClient(config);
36
+ * const input = { // ListConnectorsRequest
37
+ * MaxResults: Number("int"),
38
+ * NextToken: "STRING_VALUE",
39
+ * Filters: [ // ConnectorFilterList
40
+ * { // ConnectorFilter
41
+ * filterName: "provider",
42
+ * filterValues: [ // FilterValueList
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * },
46
+ * ],
47
+ * };
48
+ * const command = new ListConnectorsCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // ListConnectorsResponse
51
+ * // ConnectorSummaries: [ // ConnectorSummaries // required
52
+ * // { // ConnectorSummary
53
+ * // arn: "STRING_VALUE", // required
54
+ * // name: "STRING_VALUE", // required
55
+ * // provider: "AZURE", // required
56
+ * // tenantIdentifier: "STRING_VALUE", // required
57
+ * // createdTime: new Date("TIMESTAMP"), // required
58
+ * // },
59
+ * // ],
60
+ * // NextToken: "STRING_VALUE",
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListConnectorsCommandInput - {@link ListConnectorsCommandInput}
66
+ * @returns {@link ListConnectorsCommandOutput}
67
+ * @see {@link ListConnectorsCommandInput} for command's `input` shape.
68
+ * @see {@link ListConnectorsCommandOutput} for command's `response` shape.
69
+ * @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape.
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>The requested operation is not valid. You will see this exception if there are missing required fields or if the input value fails the validation.</p>
73
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutStoredQuery.html">PutStoredQuery</a>, one of the following errors:</p>
74
+ * <ul>
75
+ * <li>
76
+ * <p>There are missing required fields.</p>
77
+ * </li>
78
+ * <li>
79
+ * <p>The input value fails the validation.</p>
80
+ * </li>
81
+ * <li>
82
+ * <p>You are trying to create more than 300 queries.</p>
83
+ * </li>
84
+ * </ul>
85
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorders.html">DescribeConfigurationRecorders</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorderStatus.html">DescribeConfigurationRecorderStatus</a>, one of the following errors:</p>
86
+ * <ul>
87
+ * <li>
88
+ * <p>You have specified more than one configuration recorder.</p>
89
+ * </li>
90
+ * <li>
91
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
92
+ * </li>
93
+ * </ul>
94
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_AssociateResourceTypes.html">AssociateResourceTypes</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DisassociateResourceTypes.html">DisassociateResourceTypes</a>, one of the following errors:</p>
95
+ * <ul>
96
+ * <li>
97
+ * <p>Your configuraiton recorder has a recording strategy that does not allow the association or disassociation of resource types.</p>
98
+ * </li>
99
+ * <li>
100
+ * <p>One or more of the specified resource types are already associated or disassociated with the configuration recorder.</p>
101
+ * </li>
102
+ * <li>
103
+ * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
104
+ * </li>
105
+ * </ul>
106
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, one of the following errors:</p>
107
+ * <ul>
108
+ * <li>
109
+ * <p>You have provided both <code>Arn</code> and <code>ServicePrincipal</code>. Only one of <code>Arn</code> or <code>ServicePrincipal</code> can be specified.</p>
110
+ * </li>
111
+ * <li>
112
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
113
+ * </li>
114
+ * </ul>
115
+ *
116
+ * @throws {@link ConfigServiceServiceException}
117
+ * <p>Base exception class for all service exceptions from ConfigService service.</p>
118
+ *
119
+ *
120
+ * @public
121
+ */
122
+ export declare class ListConnectorsCommand extends ListConnectorsCommand_base {
123
+ /** @internal type navigation helper, not in runtime. */
124
+ protected static __types: {
125
+ api: {
126
+ input: ListConnectorsRequest;
127
+ output: ListConnectorsResponse;
128
+ };
129
+ sdk: {
130
+ input: ListConnectorsCommandInput;
131
+ output: ListConnectorsCommandOutput;
132
+ };
133
+ };
134
+ }
@@ -166,6 +166,15 @@ declare const ListDiscoveredResourcesCommand_base: {
166
166
  * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
167
167
  * </li>
168
168
  * </ul>
169
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, one of the following errors:</p>
170
+ * <ul>
171
+ * <li>
172
+ * <p>You have provided both <code>Arn</code> and <code>ServicePrincipal</code>. Only one of <code>Arn</code> or <code>ServicePrincipal</code> can be specified.</p>
173
+ * </li>
174
+ * <li>
175
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
176
+ * </li>
177
+ * </ul>
169
178
  *
170
179
  * @throws {@link ConfigServiceServiceException}
171
180
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -99,6 +99,15 @@ declare const ListStoredQueriesCommand_base: {
99
99
  * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
100
100
  * </li>
101
101
  * </ul>
102
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, one of the following errors:</p>
103
+ * <ul>
104
+ * <li>
105
+ * <p>You have provided both <code>Arn</code> and <code>ServicePrincipal</code>. Only one of <code>Arn</code> or <code>ServicePrincipal</code> can be specified.</p>
106
+ * </li>
107
+ * <li>
108
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
109
+ * </li>
110
+ * </ul>
102
111
  *
103
112
  * @throws {@link ConfigServiceServiceException}
104
113
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -104,6 +104,15 @@ declare const ListTagsForResourceCommand_base: {
104
104
  * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
105
105
  * </li>
106
106
  * </ul>
107
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, one of the following errors:</p>
108
+ * <ul>
109
+ * <li>
110
+ * <p>You have provided both <code>Arn</code> and <code>ServicePrincipal</code>. Only one of <code>Arn</code> or <code>ServicePrincipal</code> can be specified.</p>
111
+ * </li>
112
+ * <li>
113
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
114
+ * </li>
115
+ * </ul>
107
116
  *
108
117
  * @throws {@link ConfigServiceServiceException}
109
118
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -168,6 +168,9 @@ declare const PutConfigRuleCommand_base: {
168
168
  * <li>
169
169
  * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutServiceLinkedConfigurationRecorder.html">PutServiceLinkedConfigurationRecorder</a>, a service-linked configuration recorder cannot be created because you do not have the following permissions: IAM <code>CreateServiceLinkedRole</code>.</p>
170
170
  * </li>
171
+ * <li>
172
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConnector.html">PutConnector</a>, a connector cannot be created because you do not have the following permissions: IAM <code>CreateServiceLinkedRole</code>.</p>
173
+ * </li>
171
174
  * </ul>
172
175
  *
173
176
  * @throws {@link InvalidParameterValueException} (client fault)
@@ -91,6 +91,17 @@ declare const PutConfigurationRecorderCommand_base: {
91
91
  * },
92
92
  * recordingScope: "INTERNAL" || "PAID",
93
93
  * servicePrincipal: "STRING_VALUE",
94
+ * connectorArn: "STRING_VALUE",
95
+ * scopeConfiguration: { // ScopeConfiguration
96
+ * scopeType: "STRING_VALUE", // required
97
+ * scopeValues: [ // ScopeValues
98
+ * "STRING_VALUE",
99
+ * ],
100
+ * allRegions: true || false, // required
101
+ * includedRegions: [ // IncludedRegions
102
+ * "STRING_VALUE",
103
+ * ],
104
+ * },
94
105
  * },
95
106
  * Tags: [ // TagsList
96
107
  * { // Tag
@@ -193,6 +204,15 @@ declare const PutConfigurationRecorderCommand_base: {
193
204
  * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
194
205
  * </li>
195
206
  * </ul>
207
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, one of the following errors:</p>
208
+ * <ul>
209
+ * <li>
210
+ * <p>You have provided both <code>Arn</code> and <code>ServicePrincipal</code>. Only one of <code>Arn</code> or <code>ServicePrincipal</code> can be specified.</p>
211
+ * </li>
212
+ * <li>
213
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
214
+ * </li>
215
+ * </ul>
196
216
  *
197
217
  * @throws {@link ConfigServiceServiceException}
198
218
  * <p>Base exception class for all service exceptions from ConfigService service.</p>