Skip to content

Commit

Permalink
feat(client-datazone): Add support to let data publisher specify a su…
Browse files Browse the repository at this point in the history
…bset of the data asset that a subscriber will have access to based on the asset filters provided, when accepting a subscription request.
  • Loading branch information
awstools committed Sep 3, 2024
1 parent 594c589 commit da060f0
Show file tree
Hide file tree
Showing 21 changed files with 328 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ export interface AcceptSubscriptionRequestCommandOutput extends AcceptSubscripti
* domainIdentifier: "STRING_VALUE", // required
* identifier: "STRING_VALUE", // required
* decisionComment: "STRING_VALUE",
* assetScopes: [ // AcceptedAssetScopes
* { // AcceptedAssetScope
* assetId: "STRING_VALUE", // required
* filterIds: [ // FilterIds // required
* "STRING_VALUE",
* ],
* },
* ],
* };
* const command = new AcceptSubscriptionRequestCommand(input);
* const response = await client.send(command);
Expand Down Expand Up @@ -82,6 +90,14 @@ export interface AcceptSubscriptionRequestCommandOutput extends AcceptSubscripti
* // shortDescription: "STRING_VALUE",
* // },
* // ],
* // assetScope: { // AssetScope
* // assetId: "STRING_VALUE", // required
* // filterIds: [ // FilterIds // required
* // "STRING_VALUE",
* // ],
* // status: "STRING_VALUE", // required
* // errorMessage: "STRING_VALUE",
* // },
* // },
* // productListing: { // SubscribedProductListing
* // entityId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ export interface CancelSubscriptionCommandOutput extends CancelSubscriptionOutpu
* // shortDescription: "STRING_VALUE",
* // },
* // ],
* // assetScope: { // AssetScope
* // assetId: "STRING_VALUE", // required
* // filterIds: [ // FilterIds // required
* // "STRING_VALUE",
* // ],
* // status: "STRING_VALUE", // required
* // errorMessage: "STRING_VALUE",
* // },
* // },
* // productListing: { // SubscribedProductListing
* // entityId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@ export interface CreateSubscriptionGrantCommandOutput extends CreateSubscription
* // },
* // grantedTimestamp: new Date("TIMESTAMP"),
* // failureTimestamp: new Date("TIMESTAMP"),
* // assetScope: { // AssetScope
* // assetId: "STRING_VALUE", // required
* // filterIds: [ // FilterIds // required
* // "STRING_VALUE",
* // ],
* // status: "STRING_VALUE", // required
* // errorMessage: "STRING_VALUE",
* // },
* // },
* // ],
* // subscriptionId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ export interface CreateSubscriptionRequestCommandOutput extends CreateSubscripti
* // shortDescription: "STRING_VALUE",
* // },
* // ],
* // assetScope: { // AssetScope
* // assetId: "STRING_VALUE", // required
* // filterIds: [ // FilterIds // required
* // "STRING_VALUE",
* // ],
* // status: "STRING_VALUE", // required
* // errorMessage: "STRING_VALUE",
* // },
* // },
* // productListing: { // SubscribedProductListing
* // entityId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
import { commonParams } from "../endpoint/EndpointParameters";
import {
DeleteEnvironmentBlueprintConfigurationInput,
DeleteEnvironmentBlueprintConfigurationOutput,
} from "../models/models_0";
import { DeleteEnvironmentBlueprintConfigurationInput } from "../models/models_0";
import { DeleteEnvironmentBlueprintConfigurationOutput } from "../models/models_1";
import {
de_DeleteEnvironmentBlueprintConfigurationCommand,
se_DeleteEnvironmentBlueprintConfigurationCommand,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ export interface DeleteSubscriptionGrantCommandOutput extends DeleteSubscription
* // },
* // grantedTimestamp: new Date("TIMESTAMP"),
* // failureTimestamp: new Date("TIMESTAMP"),
* // assetScope: { // AssetScope
* // assetId: "STRING_VALUE", // required
* // filterIds: [ // FilterIds // required
* // "STRING_VALUE",
* // ],
* // status: "STRING_VALUE", // required
* // errorMessage: "STRING_VALUE",
* // },
* // },
* // ],
* // subscriptionId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
import { commonParams } from "../endpoint/EndpointParameters";
import { GetEnvironmentBlueprintConfigurationInput } from "../models/models_0";
import { GetEnvironmentBlueprintConfigurationOutput } from "../models/models_1";
import {
GetEnvironmentBlueprintConfigurationInput,
GetEnvironmentBlueprintConfigurationOutput,
} from "../models/models_1";
import {
de_GetEnvironmentBlueprintConfigurationCommand,
se_GetEnvironmentBlueprintConfigurationCommand,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ export interface GetSubscriptionCommandOutput extends GetSubscriptionOutput, __M
* // shortDescription: "STRING_VALUE",
* // },
* // ],
* // assetScope: { // AssetScope
* // assetId: "STRING_VALUE", // required
* // filterIds: [ // FilterIds // required
* // "STRING_VALUE",
* // ],
* // status: "STRING_VALUE", // required
* // errorMessage: "STRING_VALUE",
* // },
* // },
* // productListing: { // SubscribedProductListing
* // entityId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ export interface GetSubscriptionGrantCommandOutput extends GetSubscriptionGrantO
* // },
* // grantedTimestamp: new Date("TIMESTAMP"),
* // failureTimestamp: new Date("TIMESTAMP"),
* // assetScope: { // AssetScope
* // assetId: "STRING_VALUE", // required
* // filterIds: [ // FilterIds // required
* // "STRING_VALUE",
* // ],
* // status: "STRING_VALUE", // required
* // errorMessage: "STRING_VALUE",
* // },
* // },
* // ],
* // subscriptionId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ export interface GetSubscriptionRequestDetailsCommandOutput
* // shortDescription: "STRING_VALUE",
* // },
* // ],
* // assetScope: { // AssetScope
* // assetId: "STRING_VALUE", // required
* // filterIds: [ // FilterIds // required
* // "STRING_VALUE",
* // ],
* // status: "STRING_VALUE", // required
* // errorMessage: "STRING_VALUE",
* // },
* // },
* // productListing: { // SubscribedProductListing
* // entityId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ export interface ListSubscriptionGrantsCommandOutput extends ListSubscriptionGra
* // },
* // grantedTimestamp: new Date("TIMESTAMP"),
* // failureTimestamp: new Date("TIMESTAMP"),
* // assetScope: { // AssetScope
* // assetId: "STRING_VALUE", // required
* // filterIds: [ // FilterIds // required
* // "STRING_VALUE",
* // ],
* // status: "STRING_VALUE", // required
* // errorMessage: "STRING_VALUE",
* // },
* // },
* // ],
* // subscriptionId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ export interface ListSubscriptionRequestsCommandOutput extends ListSubscriptionR
* // shortDescription: "STRING_VALUE",
* // },
* // ],
* // assetScope: { // AssetScope
* // assetId: "STRING_VALUE", // required
* // filterIds: [ // FilterIds // required
* // "STRING_VALUE",
* // ],
* // status: "STRING_VALUE", // required
* // errorMessage: "STRING_VALUE",
* // },
* // },
* // productListing: { // SubscribedProductListing
* // entityId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@ export interface ListSubscriptionsCommandOutput extends ListSubscriptionsOutput,
* // shortDescription: "STRING_VALUE",
* // },
* // ],
* // assetScope: { // AssetScope
* // assetId: "STRING_VALUE", // required
* // filterIds: [ // FilterIds // required
* // "STRING_VALUE",
* // ],
* // status: "STRING_VALUE", // required
* // errorMessage: "STRING_VALUE",
* // },
* // },
* // productListing: { // SubscribedProductListing
* // entityId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ export interface RejectSubscriptionRequestCommandOutput extends RejectSubscripti
* // shortDescription: "STRING_VALUE",
* // },
* // ],
* // assetScope: { // AssetScope
* // assetId: "STRING_VALUE", // required
* // filterIds: [ // FilterIds // required
* // "STRING_VALUE",
* // ],
* // status: "STRING_VALUE", // required
* // errorMessage: "STRING_VALUE",
* // },
* // },
* // productListing: { // SubscribedProductListing
* // entityId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ export interface RevokeSubscriptionCommandOutput extends RevokeSubscriptionOutpu
* // shortDescription: "STRING_VALUE",
* // },
* // ],
* // assetScope: { // AssetScope
* // assetId: "STRING_VALUE", // required
* // filterIds: [ // FilterIds // required
* // "STRING_VALUE",
* // ],
* // status: "STRING_VALUE", // required
* // errorMessage: "STRING_VALUE",
* // },
* // },
* // productListing: { // SubscribedProductListing
* // entityId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ export interface UpdateSubscriptionGrantStatusCommandOutput
* // },
* // grantedTimestamp: new Date("TIMESTAMP"),
* // failureTimestamp: new Date("TIMESTAMP"),
* // assetScope: { // AssetScope
* // assetId: "STRING_VALUE", // required
* // filterIds: [ // FilterIds // required
* // "STRING_VALUE",
* // ],
* // status: "STRING_VALUE", // required
* // errorMessage: "STRING_VALUE",
* // },
* // },
* // ],
* // subscriptionId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ export interface UpdateSubscriptionRequestCommandOutput extends UpdateSubscripti
* // shortDescription: "STRING_VALUE",
* // },
* // ],
* // assetScope: { // AssetScope
* // assetId: "STRING_VALUE", // required
* // filterIds: [ // FilterIds // required
* // "STRING_VALUE",
* // ],
* // status: "STRING_VALUE", // required
* // errorMessage: "STRING_VALUE",
* // },
* // },
* // productListing: { // SubscribedProductListing
* // entityId: "STRING_VALUE",
Expand Down
Loading

0 comments on commit da060f0

Please sign in to comment.