diff --git a/clients/client-apprunner/src/commands/CreateServiceCommand.ts b/clients/client-apprunner/src/commands/CreateServiceCommand.ts index 1a057e658ba1..7388c8b277a5 100644 --- a/clients/client-apprunner/src/commands/CreateServiceCommand.ts +++ b/clients/client-apprunner/src/commands/CreateServiceCommand.ts @@ -74,6 +74,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met * }, * }, * }, + * SourceDirectory: "STRING_VALUE", * }, * ImageRepository: { // ImageRepository * ImageIdentifier: "STRING_VALUE", // required @@ -166,6 +167,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met * // }, * // }, * // }, + * // SourceDirectory: "STRING_VALUE", * // }, * // ImageRepository: { // ImageRepository * // ImageIdentifier: "STRING_VALUE", // required diff --git a/clients/client-apprunner/src/commands/DeleteServiceCommand.ts b/clients/client-apprunner/src/commands/DeleteServiceCommand.ts index 59bf8d5d15d0..9e5e1c6ba940 100644 --- a/clients/client-apprunner/src/commands/DeleteServiceCommand.ts +++ b/clients/client-apprunner/src/commands/DeleteServiceCommand.ts @@ -91,6 +91,7 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met * // }, * // }, * // }, + * // SourceDirectory: "STRING_VALUE", * // }, * // ImageRepository: { // ImageRepository * // ImageIdentifier: "STRING_VALUE", // required diff --git a/clients/client-apprunner/src/commands/DescribeServiceCommand.ts b/clients/client-apprunner/src/commands/DescribeServiceCommand.ts index c24c8d3828c1..ef24cf14587a 100644 --- a/clients/client-apprunner/src/commands/DescribeServiceCommand.ts +++ b/clients/client-apprunner/src/commands/DescribeServiceCommand.ts @@ -85,6 +85,7 @@ export interface DescribeServiceCommandOutput extends DescribeServiceResponse, _ * // }, * // }, * // }, + * // SourceDirectory: "STRING_VALUE", * // }, * // ImageRepository: { // ImageRepository * // ImageIdentifier: "STRING_VALUE", // required diff --git a/clients/client-apprunner/src/commands/PauseServiceCommand.ts b/clients/client-apprunner/src/commands/PauseServiceCommand.ts index 38f6c0c753f4..1635fb0a9e14 100644 --- a/clients/client-apprunner/src/commands/PauseServiceCommand.ts +++ b/clients/client-apprunner/src/commands/PauseServiceCommand.ts @@ -84,6 +84,7 @@ export interface PauseServiceCommandOutput extends PauseServiceResponse, __Metad * // }, * // }, * // }, + * // SourceDirectory: "STRING_VALUE", * // }, * // ImageRepository: { // ImageRepository * // ImageIdentifier: "STRING_VALUE", // required diff --git a/clients/client-apprunner/src/commands/ResumeServiceCommand.ts b/clients/client-apprunner/src/commands/ResumeServiceCommand.ts index 914e0b88b745..2422741d1940 100644 --- a/clients/client-apprunner/src/commands/ResumeServiceCommand.ts +++ b/clients/client-apprunner/src/commands/ResumeServiceCommand.ts @@ -87,6 +87,7 @@ export interface ResumeServiceCommandOutput extends ResumeServiceResponse, __Met * // }, * // }, * // }, + * // SourceDirectory: "STRING_VALUE", * // }, * // ImageRepository: { // ImageRepository * // ImageIdentifier: "STRING_VALUE", // required diff --git a/clients/client-apprunner/src/commands/UpdateServiceCommand.ts b/clients/client-apprunner/src/commands/UpdateServiceCommand.ts index 2267faaf679d..7238a1bad6ee 100644 --- a/clients/client-apprunner/src/commands/UpdateServiceCommand.ts +++ b/clients/client-apprunner/src/commands/UpdateServiceCommand.ts @@ -78,6 +78,7 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met * }, * }, * }, + * SourceDirectory: "STRING_VALUE", * }, * ImageRepository: { // ImageRepository * ImageIdentifier: "STRING_VALUE", // required @@ -161,6 +162,7 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met * // }, * // }, * // }, + * // SourceDirectory: "STRING_VALUE", * // }, * // ImageRepository: { // ImageRepository * // ImageIdentifier: "STRING_VALUE", // required diff --git a/clients/client-apprunner/src/models/models_0.ts b/clients/client-apprunner/src/models/models_0.ts index 60c0fbb51a8e..9a90e7a99447 100644 --- a/clients/client-apprunner/src/models/models_0.ts +++ b/clients/client-apprunner/src/models/models_0.ts @@ -278,8 +278,8 @@ export interface CreateAutoScalingConfigurationRequest { *
A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number
* 1
of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.
Prior to the release of Managing auto
- * scaling, the name DefaultConfiguration
was reserved.
Prior to the release of Auto scale
+ * configuration enhancements, the name DefaultConfiguration
was reserved.
This restriction is no longer in place. You can now manage DefaultConfiguration
the same way you manage your custom auto scaling
* configurations. This means you can do the following with the DefaultConfiguration
that App Runner provides:
The Amazon Resource Name (ARN) of the observability configuration that is associated with the service. Specified only when
* ObservabilityEnabled
is true
.
Specify an ARN with a name and a revision number to associate that revision. For example:
- * arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3
+ * arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3
*
Specify just the name to associate the latest revision. For example:
* arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing
@@ -987,13 +987,15 @@ export interface CodeConfigurationValues {
/**
* @public
- *
The command App Runner runs to build your application.
+ *The command App Runner runs to build your + * application.
*/ BuildCommand?: string; /** * @public - *The command App Runner runs to start your application.
+ *The command App Runner runs to start your + * application.
*/ StartCommand?: string; @@ -1013,20 +1015,17 @@ export interface CodeConfigurationValues { /** * @public - *An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. - * The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.
+ *An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. The supported + * values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager + * Parameter Store.
*- * If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Amazon Web Services Region as the service that you're launching, - * you can use either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified. - *
+ *If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Amazon Web Services Region as the service that you're launching, you can use + * either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified.
*- * Currently, cross account referencing of Amazon Web Services Systems Manager Parameter Store parameter is not supported. - *
+ *Currently, cross account referencing of Amazon Web Services Systems Manager Parameter Store parameter is not supported.
*The path of the directory that stores source code and configuration files. The build and start commands also execute from here. The path is absolute + * from root and, if not specified, defaults to the repository root.
+ */ + SourceDirectory?: string; } /** @@ -1168,20 +1174,17 @@ export interface ImageConfiguration { /** * @public - *An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. - * The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.
+ *An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. The supported + * values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager + * Parameter Store.
*- * If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Amazon Web Services Region as the service that you're launching, - * you can use either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified. - *
+ *If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Amazon Web Services Region as the service that you're launching, you can use + * either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified.
*- * Currently, cross account referencing of Amazon Web Services Systems Manager Parameter Store parameter is not supported. - *
+ *Currently, cross account referencing of Amazon Web Services Systems Manager Parameter Store parameter is not supported.
*The description of a source code repository.
+ *The description of a source code + * repository.
*You must provide either this member or ImageRepository
(but not both).
- * CREATE_FAILED
– The service failed to create. The failed service isn't usable, and still counts towards your service quota.
- * To troubleshoot this failure, read the failure events and logs, change any
- * parameters that need to be fixed, and rebuild your service using UpdateService
.
CREATE_FAILED
– The service failed to create. The failed service isn't usable, and still counts towards your service quota. To
+ * troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and rebuild your service using
+ * UpdateService
.
* @@ -2654,9 +2658,9 @@ export interface ServiceSummary { *
- * CREATE_FAILED
– The service failed to create. The failed service isn't usable, and still counts towards your service quota.
- * To troubleshoot this failure, read the failure events and logs, change any
- * parameters that need to be fixed, and rebuild your service using UpdateService
.
CREATE_FAILED
– The service failed to create. The failed service isn't usable, and still counts towards your service quota. To
+ * troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and rebuild your service using
+ * UpdateService
.
* diff --git a/codegen/sdk-codegen/aws-models/apprunner.json b/codegen/sdk-codegen/aws-models/apprunner.json index 1c79444f60da..4f9c7cec4925 100644 --- a/codegen/sdk-codegen/aws-models/apprunner.json +++ b/codegen/sdk-codegen/aws-models/apprunner.json @@ -1288,13 +1288,13 @@ "BuildCommand": { "target": "com.amazonaws.apprunner#BuildCommand", "traits": { - "smithy.api#documentation": "
The command App Runner runs to build your application.
" + "smithy.api#documentation": "The command App Runner runs to build your\n application.
" } }, "StartCommand": { "target": "com.amazonaws.apprunner#StartCommand", "traits": { - "smithy.api#documentation": "The command App Runner runs to start your application.
" + "smithy.api#documentation": "The command App Runner runs to start your\n application.
" } }, "Port": { @@ -1312,7 +1312,7 @@ "RuntimeEnvironmentSecrets": { "target": "com.amazonaws.apprunner#RuntimeEnvironmentSecrets", "traits": { - "smithy.api#documentation": "An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. \n The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.
\n\n If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Amazon Web Services Region as the service that you're launching, \n you can use either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified.\n
\n\n Currently, cross account referencing of Amazon Web Services Systems Manager Parameter Store parameter is not supported.\n
\nAn array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. The supported\n values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager\n Parameter Store.
\nIf the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Amazon Web Services Region as the service that you're launching, you can use\n either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified.
\nCurrently, cross account referencing of Amazon Web Services Systems Manager Parameter Store parameter is not supported.
\nConfiguration for building and running the service from a source code repository.
\n\n CodeConfiguration
is required only for CreateService
request.
The path of the directory that stores source code and configuration files. The build and start commands also execute from here. The path is absolute\n from root and, if not specified, defaults to the repository root.
" + } } }, "traits": { @@ -1525,7 +1531,7 @@ "AutoScalingConfigurationName": { "target": "com.amazonaws.apprunner#AutoScalingConfigurationName", "traits": { - "smithy.api#documentation": "A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number\n 1
of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.
Prior to the release of Managing auto\n scaling, the name DefaultConfiguration
was reserved.
This restriction is no longer in place. You can now manage DefaultConfiguration
the same way you manage your custom auto scaling\n configurations. This means you can do the following with the DefaultConfiguration
that App Runner provides:
Create new revisions of the DefaultConfiguration
.
Delete the revisions of the DefaultConfiguration
.
Delete the auto scaling configuration for which the App Runner DefaultConfiguration
was created.
If you delete the auto scaling configuration you can create another custom auto scaling configuration with the same\n DefaultConfiguration
name. The original DefaultConfiguration
resource provided by App Runner remains in your account unless\n you make changes to it.
A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number\n 1
of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.
Prior to the release of Auto scale\n configuration enhancements, the name DefaultConfiguration
was reserved.
This restriction is no longer in place. You can now manage DefaultConfiguration
the same way you manage your custom auto scaling\n configurations. This means you can do the following with the DefaultConfiguration
that App Runner provides:
Create new revisions of the DefaultConfiguration
.
Delete the revisions of the DefaultConfiguration
.
Delete the auto scaling configuration for which the App Runner DefaultConfiguration
was created.
If you delete the auto scaling configuration you can create another custom auto scaling configuration with the same\n DefaultConfiguration
name. The original DefaultConfiguration
resource provided by App Runner remains in your account unless\n you make changes to it.
An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. \n The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.
\n\n If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Amazon Web Services Region as the service that you're launching, \n you can use either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified.\n
\n\n Currently, cross account referencing of Amazon Web Services Systems Manager Parameter Store parameter is not supported.\n
\nAn array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. The supported\n values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager\n Parameter Store.
\nIf the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Amazon Web Services Region as the service that you're launching, you can use\n either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified.
\nCurrently, cross account referencing of Amazon Web Services Systems Manager Parameter Store parameter is not supported.
\nThe current state of the App Runner service. These particular values mean the following.
\n\n CREATE_FAILED
– The service failed to create. The failed service isn't usable, and still counts towards your service quota. \n To troubleshoot this failure, read the failure events and logs, change any\n parameters that need to be fixed, and rebuild your service using UpdateService
.
\n DELETE_FAILED
– The service failed to delete and can't be successfully recovered. Retry the service deletion call to ensure\n that all related resources are removed.
The current state of the App Runner service. These particular values mean the following.
\n\n CREATE_FAILED
– The service failed to create. The failed service isn't usable, and still counts towards your service quota. To\n troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and rebuild your service using\n UpdateService
.
\n DELETE_FAILED
– The service failed to delete and can't be successfully recovered. Retry the service deletion call to ensure\n that all related resources are removed.
The Amazon Resource Name (ARN) of the observability configuration that is associated with the service. Specified only when\n ObservabilityEnabled
is true
.
Specify an ARN with a name and a revision number to associate that revision. For example:\n arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3
\n
Specify just the name to associate the latest revision. For example:\n arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing
\n
The Amazon Resource Name (ARN) of the observability configuration that is associated with the service. Specified only when\n ObservabilityEnabled
is true
.
Specify an ARN with a name and a revision number to associate that revision. For example:\n arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3
\n
Specify just the name to associate the latest revision. For example:\n arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing
\n
The current state of the App Runner service. These particular values mean the following.
\n\n CREATE_FAILED
– The service failed to create. The failed service isn't usable, and still counts towards your service quota. \n To troubleshoot this failure, read the failure events and logs, change any\n parameters that need to be fixed, and rebuild your service using UpdateService
.
\n DELETE_FAILED
– The service failed to delete and can't be successfully recovered. Retry the service deletion call to ensure\n that all related resources are removed.
The current state of the App Runner service. These particular values mean the following.
\n\n CREATE_FAILED
– The service failed to create. The failed service isn't usable, and still counts towards your service quota. To\n troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and rebuild your service using\n UpdateService
.
\n DELETE_FAILED
– The service failed to delete and can't be successfully recovered. Retry the service deletion call to ensure\n that all related resources are removed.
The description of a source code repository.
\nYou must provide either this member or ImageRepository
(but not both).
The description of a source code\n repository.
\nYou must provide either this member or ImageRepository
(but not both).
Describes the source deployed to an App Runner service. It can be a code or an image repository.
" } }, + "com.amazonaws.apprunner#SourceDirectory": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 4096 + }, + "smithy.api#pattern": "^[^\\x00]+$" + } + }, "com.amazonaws.apprunner#StartCommand": { "type": "string", "traits": {