Skip to content

Commit

Permalink
feat(client-supplychain): Allow vanity DNS domain when creating a new…
Browse files Browse the repository at this point in the history
… ASC instance
  • Loading branch information
awstools committed Jan 6, 2025
1 parent 997e37d commit 0cdf2e3
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export interface CreateInstanceCommandOutput extends CreateInstanceResponse, __M
* instanceName: "STRING_VALUE",
* instanceDescription: "STRING_VALUE",
* kmsKeyArn: "STRING_VALUE",
* webAppDnsDomain: "STRING_VALUE",
* tags: { // TagMap
* "<keys>": "STRING_VALUE",
* },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ export interface DeleteInstanceCommandOutput extends DeleteInstanceResponse, __M

/**
* <p>Enables you to programmatically delete an Amazon Web Services Supply Chain instance by deleting the KMS keys and relevant information associated with the API without using the Amazon Web Services console.</p>
* <p>This is an asynchronous operation. Upon receiving a DeleteInstance request, Amazon Web Services Supply Chain immediately returns a response with the instance resource, delete state while cleaning up all Amazon Web Services resources created during
* the instance creation process. You can use the GetInstance action to check the instance status.</p>
* <p>This is an asynchronous operation. Upon receiving a DeleteInstance request, Amazon Web Services Supply Chain immediately returns a response with the instance resource, delete state while cleaning up all Amazon Web Services resources created during the instance creation process. You can use the GetInstance action to check the instance status.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ export interface SendDataIntegrationEventCommandInput extends SendDataIntegratio
export interface SendDataIntegrationEventCommandOutput extends SendDataIntegrationEventResponse, __MetadataBearer {}

/**
* <p>Send the transactional data payload for the event with real-time data for analysis or monitoring. The real-time data events are stored in an Amazon Web Services service before being processed and stored in data lake.
* New data events are synced with data lake at 5 PM GMT everyday. The updated transactional data is available in data lake after ingestion.</p>
* <p>Send the transactional data payload for the event with real-time data for analysis or monitoring. The real-time data events are stored in an Amazon Web Services service before being processed and stored in data lake. New data events are synced with data lake at 5 PM GMT everyday. The updated transactional data is available in data lake after ingestion.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ export interface TagResourceCommandInput extends TagResourceRequest {}
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}

/**
* <p>You can create tags during or after creating a resource such as instance, data flow, or dataset in AWS Supply chain. During the data ingestion process, you can add tags such as dev, test, or prod to data flows
* created during the data ingestion process in the AWS Supply Chain datasets. You can use these tags to identify a group of resources or a single resource used by the developer.</p>
* <p>You can create tags during or after creating a resource such as instance, data flow, or dataset in AWS Supply chain. During the data ingestion process, you can add tags such as dev, test, or prod to data flows created during the data ingestion process in the AWS Supply Chain datasets. You can use these tags to identify a group of resources or a single resource used by the developer.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {}
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}

/**
* <p>You can delete tags for an Amazon Web Services Supply chain resource such as instance, data flow, or dataset in AWS Supply Chain. During the data ingestion process, you can delete tags such as dev, test, or prod to data flows
* created during the data ingestion process in the AWS Supply Chain datasets. </p>
* <p>You can delete tags for an Amazon Web Services Supply chain resource such as instance, data flow, or dataset in AWS Supply Chain. During the data ingestion process, you can delete tags such as dev, test, or prod to data flows created during the data ingestion process in the AWS Supply Chain datasets. </p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
36 changes: 20 additions & 16 deletions clients/client-supplychain/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ export interface CreateDataLakeDatasetRequest {
name: string | undefined;

/**
* <p>The custom schema of the data lake dataset and is only required when the name space is <i>default</i>.</p>
* <p>The custom schema of the data lake dataset and is only required when the name space is <b>default</b>.</p>
* @public
*/
schema?: DataLakeDatasetSchema | undefined;
Expand Down Expand Up @@ -810,6 +810,12 @@ export interface CreateInstanceRequest {
*/
kmsKeyArn?: string | undefined;

/**
* <p>The DNS subdomain of the web app. This would be "example" in the URL "example.scn.global.on.aws". You can set this to a custom value, as long as the domain isn't already being used by someone else. The name may only include alphanumeric characters and hyphens.</p>
* @public
*/
webAppDnsDomain?: string | undefined;

/**
* <p>The Amazon Web Services tags of an instance to be created.</p>
* @public
Expand Down Expand Up @@ -970,8 +976,7 @@ export interface SendDataIntegrationEventRequest {
eventType: DataIntegrationEventType | undefined;

/**
* <p>The data payload of the event. For more information on the data schema to use, see <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">Data entities supported in AWS Supply Chain
* </a>.</p>
* <p>The data payload of the event. For more information on the data schema to use, see <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">Data entities supported in AWS Supply Chain</a>.</p>
* @public
*/
data: string | undefined;
Expand Down Expand Up @@ -1223,24 +1228,23 @@ export interface DeleteDataLakeDatasetRequest {
instanceId: string | undefined;

/**
* <p>The namespace of the dataset. The available values are:</p>
* <p>The name space of the dataset. The available values are:</p>
* <ul>
* <li>
* <p>asc: for <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">
* AWS Supply Chain supported datasets
* </a>.</p>
* <p>
* <b>asc</b> - For information on the Amazon Web Services Supply Chain supported datasets see <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html</a>.</p>
* </li>
* <li>
* <p>default: for datasets with custom user-defined schemas.</p>
* <p>
* <b>default</b> - For datasets with custom user-defined schemas.</p>
* </li>
* </ul>
* @public
*/
namespace: string | undefined;

/**
* <p>The name of the dataset. If the namespace is <i>asc</i>, the name must be one of the supported <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">data entities
* </a>.</p>
* <p>The name of the dataset. For <b>asc</b> name space, the name must be one of the supported data entities under <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html</a>.</p>
* @public
*/
name: string | undefined;
Expand All @@ -1258,7 +1262,7 @@ export interface DeleteDataLakeDatasetResponse {
instanceId: string | undefined;

/**
* <p>The namespace of deleted dataset.</p>
* <p>The name space of deleted dataset.</p>
* @public
*/
namespace: string | undefined;
Expand Down Expand Up @@ -1328,15 +1332,15 @@ export interface ListDataLakeDatasetsRequest {
instanceId: string | undefined;

/**
* <p>The namespace of the dataset. The available values are:</p>
* <p>The name space of the dataset. The available values are:</p>
* <ul>
* <li>
* <p>asc: for <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">
* AWS Supply Chain supported datasets
* </a>.</p>
* <p>
* <b>asc</b> - For information on the Amazon Web Services Supply Chain supported datasets see <a href="https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html">https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html</a>.</p>
* </li>
* <li>
* <p>default: for datasets with custom user-defined schemas.</p>
* <p>
* <b>default</b> - For datasets with custom user-defined schemas.</p>
* </li>
* </ul>
* @public
Expand Down
1 change: 1 addition & 0 deletions clients/client-supplychain/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ export const se_CreateInstanceCommand = async (
instanceName: [],
kmsKeyArn: [],
tags: (_) => _json(_),
webAppDnsDomain: [],
})
);
b.m("POST").h(headers).b(body);
Expand Down
Loading

0 comments on commit 0cdf2e3

Please sign in to comment.