Skip to content

Commit 78ddf33

Browse files
author
awstools
committed
feat(client-appconfig): Enabling boto3 paginators for list APIs and adding documentation around ServiceQuotaExceededException errors
1 parent 70e51ce commit 78ddf33

14 files changed

+227
-52
lines changed

clients/client-appconfig/src/commands/CreateApplicationCommand.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,17 @@ export interface CreateApplicationCommandOutput extends Application, __MetadataB
7676
* @throws {@link InternalServerException} (server fault)
7777
* <p>There was an internal failure in the AppConfig service.</p>
7878
*
79+
* @throws {@link ServiceQuotaExceededException} (client fault)
80+
* <p>The number of one more AppConfig resources exceeds the maximum allowed. Verify that your
81+
* environment doesn't exceed the following service quotas:</p>
82+
* <p>Applications: 100 max</p>
83+
* <p>Deployment strategies: 20 max</p>
84+
* <p>Configuration profiles: 100 max per application</p>
85+
* <p>Environments: 20 max per application</p>
86+
* <p>To resolve this issue, you can delete one or more resources and try again. Or, you
87+
* can request a quota increase. For more information about quotas and to request an increase,
88+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig">Service quotas for AppConfig</a> in the Amazon Web Services General Reference.</p>
89+
*
7990
* @throws {@link AppConfigServiceException}
8091
* <p>Base exception class for all service exceptions from AppConfig service.</p>
8192
*

clients/client-appconfig/src/commands/CreateConfigurationProfileCommand.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,17 @@ export interface CreateConfigurationProfileCommandOutput extends ConfigurationPr
139139
* @throws {@link ResourceNotFoundException} (client fault)
140140
* <p>The requested resource could not be found.</p>
141141
*
142+
* @throws {@link ServiceQuotaExceededException} (client fault)
143+
* <p>The number of one more AppConfig resources exceeds the maximum allowed. Verify that your
144+
* environment doesn't exceed the following service quotas:</p>
145+
* <p>Applications: 100 max</p>
146+
* <p>Deployment strategies: 20 max</p>
147+
* <p>Configuration profiles: 100 max per application</p>
148+
* <p>Environments: 20 max per application</p>
149+
* <p>To resolve this issue, you can delete one or more resources and try again. Or, you
150+
* can request a quota increase. For more information about quotas and to request an increase,
151+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig">Service quotas for AppConfig</a> in the Amazon Web Services General Reference.</p>
152+
*
142153
* @throws {@link AppConfigServiceException}
143154
* <p>Base exception class for all service exceptions from AppConfig service.</p>
144155
*

clients/client-appconfig/src/commands/CreateDeploymentStrategyCommand.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,17 @@ export interface CreateDeploymentStrategyCommandOutput extends DeploymentStrateg
8585
* @throws {@link InternalServerException} (server fault)
8686
* <p>There was an internal failure in the AppConfig service.</p>
8787
*
88+
* @throws {@link ServiceQuotaExceededException} (client fault)
89+
* <p>The number of one more AppConfig resources exceeds the maximum allowed. Verify that your
90+
* environment doesn't exceed the following service quotas:</p>
91+
* <p>Applications: 100 max</p>
92+
* <p>Deployment strategies: 20 max</p>
93+
* <p>Configuration profiles: 100 max per application</p>
94+
* <p>Environments: 20 max per application</p>
95+
* <p>To resolve this issue, you can delete one or more resources and try again. Or, you
96+
* can request a quota increase. For more information about quotas and to request an increase,
97+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig">Service quotas for AppConfig</a> in the Amazon Web Services General Reference.</p>
98+
*
8899
* @throws {@link AppConfigServiceException}
89100
* <p>Base exception class for all service exceptions from AppConfig service.</p>
90101
*

clients/client-appconfig/src/commands/CreateEnvironmentCommand.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,17 @@ export interface CreateEnvironmentCommandOutput extends Environment, __MetadataB
9797
* @throws {@link ResourceNotFoundException} (client fault)
9898
* <p>The requested resource could not be found.</p>
9999
*
100+
* @throws {@link ServiceQuotaExceededException} (client fault)
101+
* <p>The number of one more AppConfig resources exceeds the maximum allowed. Verify that your
102+
* environment doesn't exceed the following service quotas:</p>
103+
* <p>Applications: 100 max</p>
104+
* <p>Deployment strategies: 20 max</p>
105+
* <p>Configuration profiles: 100 max per application</p>
106+
* <p>Environments: 20 max per application</p>
107+
* <p>To resolve this issue, you can delete one or more resources and try again. Or, you
108+
* can request a quota increase. For more information about quotas and to request an increase,
109+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig">Service quotas for AppConfig</a> in the Amazon Web Services General Reference.</p>
110+
*
100111
* @throws {@link AppConfigServiceException}
101112
* <p>Base exception class for all service exceptions from AppConfig service.</p>
102113
*

clients/client-appconfig/src/commands/CreateExtensionAssociationCommand.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,15 @@ export interface CreateExtensionAssociationCommandOutput extends ExtensionAssoci
9797
* <p>The requested resource could not be found.</p>
9898
*
9999
* @throws {@link ServiceQuotaExceededException} (client fault)
100-
* <p>The number of hosted configuration versions exceeds the limit for the AppConfig hosted configuration store. Delete one or more versions and try again.</p>
100+
* <p>The number of one more AppConfig resources exceeds the maximum allowed. Verify that your
101+
* environment doesn't exceed the following service quotas:</p>
102+
* <p>Applications: 100 max</p>
103+
* <p>Deployment strategies: 20 max</p>
104+
* <p>Configuration profiles: 100 max per application</p>
105+
* <p>Environments: 20 max per application</p>
106+
* <p>To resolve this issue, you can delete one or more resources and try again. Or, you
107+
* can request a quota increase. For more information about quotas and to request an increase,
108+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig">Service quotas for AppConfig</a> in the Amazon Web Services General Reference.</p>
101109
*
102110
* @throws {@link AppConfigServiceException}
103111
* <p>Base exception class for all service exceptions from AppConfig service.</p>

clients/client-appconfig/src/commands/CreateExtensionCommand.ts

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,25 @@ export interface CreateExtensionCommandOutput extends Extension, __MetadataBeare
4040
* logic or behavior at different points during the AppConfig workflow of creating
4141
* or deploying a configuration.</p>
4242
* <p>You can create your own extensions or use the Amazon Web Services authored extensions provided by
43-
* AppConfig. For most use cases, to create your own extension, you must create
44-
* an Lambda function to perform any computation and processing defined in the
45-
* extension. For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working with
43+
* AppConfig. For an AppConfig extension that uses Lambda, you must create a Lambda function to perform any computation and processing
44+
* defined in the extension. If you plan to create custom versions of the Amazon Web Services
45+
* authored notification extensions, you only need to specify an Amazon Resource Name (ARN) in
46+
* the <code>Uri</code> field for the new extension version.</p>
47+
* <ul>
48+
* <li>
49+
* <p>For a custom EventBridge notification extension, enter the ARN of the EventBridge
50+
* default events in the <code>Uri</code> field.</p>
51+
* </li>
52+
* <li>
53+
* <p>For a custom Amazon SNS notification extension, enter the ARN of an Amazon SNS
54+
* topic in the <code>Uri</code> field.</p>
55+
* </li>
56+
* <li>
57+
* <p>For a custom Amazon SQS notification extension, enter the ARN of an Amazon SQS
58+
* message queue in the <code>Uri</code> field. </p>
59+
* </li>
60+
* </ul>
61+
* <p>For more information about extensions, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html">Working with
4662
* AppConfig extensions</a> in the
4763
* <i>AppConfig User Guide</i>.</p>
4864
* @example
@@ -120,7 +136,15 @@ export interface CreateExtensionCommandOutput extends Extension, __MetadataBeare
120136
* <p>There was an internal failure in the AppConfig service.</p>
121137
*
122138
* @throws {@link ServiceQuotaExceededException} (client fault)
123-
* <p>The number of hosted configuration versions exceeds the limit for the AppConfig hosted configuration store. Delete one or more versions and try again.</p>
139+
* <p>The number of one more AppConfig resources exceeds the maximum allowed. Verify that your
140+
* environment doesn't exceed the following service quotas:</p>
141+
* <p>Applications: 100 max</p>
142+
* <p>Deployment strategies: 20 max</p>
143+
* <p>Configuration profiles: 100 max per application</p>
144+
* <p>Environments: 20 max per application</p>
145+
* <p>To resolve this issue, you can delete one or more resources and try again. Or, you
146+
* can request a quota increase. For more information about quotas and to request an increase,
147+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig">Service quotas for AppConfig</a> in the Amazon Web Services General Reference.</p>
124148
*
125149
* @throws {@link AppConfigServiceException}
126150
* <p>Base exception class for all service exceptions from AppConfig service.</p>

clients/client-appconfig/src/commands/CreateHostedConfigurationVersionCommand.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,15 @@ export interface CreateHostedConfigurationVersionCommandOutput
120120
* <p>The requested resource could not be found.</p>
121121
*
122122
* @throws {@link ServiceQuotaExceededException} (client fault)
123-
* <p>The number of hosted configuration versions exceeds the limit for the AppConfig hosted configuration store. Delete one or more versions and try again.</p>
123+
* <p>The number of one more AppConfig resources exceeds the maximum allowed. Verify that your
124+
* environment doesn't exceed the following service quotas:</p>
125+
* <p>Applications: 100 max</p>
126+
* <p>Deployment strategies: 20 max</p>
127+
* <p>Configuration profiles: 100 max per application</p>
128+
* <p>Environments: 20 max per application</p>
129+
* <p>To resolve this issue, you can delete one or more resources and try again. Or, you
130+
* can request a quota increase. For more information about quotas and to request an increase,
131+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig">Service quotas for AppConfig</a> in the Amazon Web Services General Reference.</p>
124132
*
125133
* @throws {@link AppConfigServiceException}
126134
* <p>Base exception class for all service exceptions from AppConfig service.</p>

clients/client-appconfig/src/commands/GetDeploymentCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export interface GetDeploymentCommandOutput extends Deployment, __MetadataBearer
9999
* // ],
100100
* // KmsKeyArn: "STRING_VALUE",
101101
* // KmsKeyIdentifier: "STRING_VALUE",
102+
* // VersionLabel: "STRING_VALUE",
102103
* // };
103104
*
104105
* ```

clients/client-appconfig/src/commands/ListDeploymentsCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export interface ListDeploymentsCommandOutput extends Deployments, __MetadataBea
6565
* // PercentageComplete: Number("float"),
6666
* // StartedAt: new Date("TIMESTAMP"),
6767
* // CompletedAt: new Date("TIMESTAMP"),
68+
* // VersionLabel: "STRING_VALUE",
6869
* // },
6970
* // ],
7071
* // NextToken: "STRING_VALUE",

clients/client-appconfig/src/commands/StartDeploymentCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ export interface StartDeploymentCommandOutput extends Deployment, __MetadataBear
106106
* // ],
107107
* // KmsKeyArn: "STRING_VALUE",
108108
* // KmsKeyIdentifier: "STRING_VALUE",
109+
* // VersionLabel: "STRING_VALUE",
109110
* // };
110111
*
111112
* ```

0 commit comments

Comments
 (0)