From c0c44f18be1c5a1f4975218b1c3bf76a3fee45b9 Mon Sep 17 00:00:00 2001 From: AWS SDK For Ruby Date: Mon, 5 Aug 2024 18:33:54 +0000 Subject: [PATCH] Updated API models and rebuilt service gems. --- apis/datazone/2018-05-10/api-2.json | 541 ++++++++++- apis/datazone/2018-05-10/docs-2.json | 307 +++++- apis/datazone/2018-05-10/paginators-1.json | 6 + apis/ecr/2015-09-21/api-2.json | 67 ++ apis/ecr/2015-09-21/docs-2.json | 45 +- .../2018-05-10/api-2.json | 32 + .../2018-05-10/docs-2.json | 17 +- .../2018-05-10/endpoint-rule-set-1.json | 64 +- apis/pi/2018-02-27/docs-2.json | 2 +- gems/aws-partitions/CHANGELOG.md | 5 + gems/aws-partitions/VERSION | 2 +- gems/aws-partitions/partitions.json | 6 + gems/aws-sdk-datazone/CHANGELOG.md | 5 + gems/aws-sdk-datazone/VERSION | 2 +- gems/aws-sdk-datazone/lib/aws-sdk-datazone.rb | 2 +- .../lib/aws-sdk-datazone/client.rb | 561 ++++++++++- .../lib/aws-sdk-datazone/client_api.rb | 307 +++++- .../lib/aws-sdk-datazone/endpoints.rb | 65 ++ .../lib/aws-sdk-datazone/plugins/endpoints.rb | 10 + .../lib/aws-sdk-datazone/types.rb | 908 +++++++++++++++++- gems/aws-sdk-datazone/sig/client.rbs | 142 ++- gems/aws-sdk-datazone/sig/types.rbs | 220 ++++- gems/aws-sdk-ecr/CHANGELOG.md | 5 + gems/aws-sdk-ecr/VERSION | 2 +- gems/aws-sdk-ecr/lib/aws-sdk-ecr.rb | 2 +- gems/aws-sdk-ecr/lib/aws-sdk-ecr/client.rb | 78 +- .../aws-sdk-ecr/lib/aws-sdk-ecr/client_api.rb | 44 + gems/aws-sdk-ecr/lib/aws-sdk-ecr/endpoints.rb | 28 + .../lib/aws-sdk-ecr/plugins/endpoints.rb | 4 + gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb | 80 +- gems/aws-sdk-ecr/sig/client.rbs | 23 + gems/aws-sdk-ecr/sig/types.rbs | 23 + .../CHANGELOG.md | 5 + .../aws-sdk-kinesisvideowebrtcstorage/VERSION | 2 +- .../lib/aws-sdk-kinesisvideowebrtcstorage.rb | 2 +- .../client.rb | 99 +- .../client_api.rb | 18 + .../endpoint_provider.rb | 2 +- .../endpoints.rb | 14 + .../plugins/endpoints.rb | 2 + .../types.rb | 17 + .../sig/client.rbs | 7 + .../sig/types.rbs | 6 + gems/aws-sdk-pi/CHANGELOG.md | 5 + gems/aws-sdk-pi/VERSION | 2 +- gems/aws-sdk-pi/lib/aws-sdk-pi.rb | 2 +- gems/aws-sdk-pi/lib/aws-sdk-pi/client.rb | 2 +- gems/aws-sdk-pi/lib/aws-sdk-pi/types.rb | 6 +- 48 files changed, 3670 insertions(+), 126 deletions(-) diff --git a/apis/datazone/2018-05-10/api-2.json b/apis/datazone/2018-05-10/api-2.json index 51116abcf2..88baed0b52 100644 --- a/apis/datazone/2018-05-10/api-2.json +++ b/apis/datazone/2018-05-10/api-2.json @@ -191,6 +191,47 @@ {"shape":"UnauthorizedException"} ] }, + "CreateDataProduct":{ + "name":"CreateDataProduct", + "http":{ + "method":"POST", + "requestUri":"/v2/domains/{domainIdentifier}/data-products", + "responseCode":201 + }, + "input":{"shape":"CreateDataProductInput"}, + "output":{"shape":"CreateDataProductOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "idempotent":true + }, + "CreateDataProductRevision":{ + "name":"CreateDataProductRevision", + "http":{ + "method":"POST", + "requestUri":"/v2/domains/{domainIdentifier}/data-products/{identifier}/revisions", + "responseCode":201 + }, + "input":{"shape":"CreateDataProductRevisionInput"}, + "output":{"shape":"CreateDataProductRevisionOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "idempotent":true + }, "CreateDataSource":{ "name":"CreateDataSource", "http":{ @@ -518,6 +559,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"UnauthorizedException"} ], @@ -561,6 +603,26 @@ {"shape":"UnauthorizedException"} ] }, + "DeleteDataProduct":{ + "name":"DeleteDataProduct", + "http":{ + "method":"DELETE", + "requestUri":"/v2/domains/{domainIdentifier}/data-products/{identifier}", + "responseCode":204 + }, + "input":{"shape":"DeleteDataProductInput"}, + "output":{"shape":"DeleteDataProductOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "idempotent":true + }, "DeleteDataSource":{ "name":"DeleteDataSource", "http":{ @@ -940,6 +1002,24 @@ {"shape":"UnauthorizedException"} ] }, + "GetDataProduct":{ + "name":"GetDataProduct", + "http":{ + "method":"GET", + "requestUri":"/v2/domains/{domainIdentifier}/data-products/{identifier}", + "responseCode":200 + }, + "input":{"shape":"GetDataProductInput"}, + "output":{"shape":"GetDataProductOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ] + }, "GetDataSource":{ "name":"GetDataSource", "http":{ @@ -1414,6 +1494,24 @@ {"shape":"UnauthorizedException"} ] }, + "ListDataProductRevisions":{ + "name":"ListDataProductRevisions", + "http":{ + "method":"GET", + "requestUri":"/v2/domains/{domainIdentifier}/data-products/{identifier}/revisions", + "responseCode":200 + }, + "input":{"shape":"ListDataProductRevisionsInput"}, + "output":{"shape":"ListDataProductRevisionsOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ] + }, "ListDataSourceRunActivities":{ "name":"ListDataSourceRunActivities", "http":{ @@ -2542,6 +2640,18 @@ "type":"string", "pattern":"^[a-zA-Z0-9_-]{1,36}$" }, + "AssetInDataProductListingItem":{ + "type":"structure", + "members":{ + "entityId":{"shape":"String"}, + "entityRevision":{"shape":"String"}, + "entityType":{"shape":"String"} + } + }, + "AssetInDataProductListingItems":{ + "type":"list", + "member":{"shape":"AssetInDataProductListingItem"} + }, "AssetItem":{ "type":"structure", "required":[ @@ -3129,6 +3239,114 @@ "updatedBy":{"shape":"UpdatedBy"} } }, + "CreateDataProductInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "name", + "owningProjectIdentifier" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + }, + "description":{"shape":"DataProductDescription"}, + "domainIdentifier":{ + "shape":"DomainId", + "location":"uri", + "locationName":"domainIdentifier" + }, + "formsInput":{"shape":"FormInputList"}, + "glossaryTerms":{"shape":"GlossaryTerms"}, + "items":{"shape":"DataProductItems"}, + "name":{"shape":"DataProductName"}, + "owningProjectIdentifier":{"shape":"ProjectId"} + } + }, + "CreateDataProductOutput":{ + "type":"structure", + "required":[ + "domainId", + "id", + "name", + "owningProjectId", + "revision", + "status" + ], + "members":{ + "createdAt":{"shape":"CreatedAt"}, + "createdBy":{"shape":"CreatedBy"}, + "description":{"shape":"DataProductDescription"}, + "domainId":{"shape":"DomainId"}, + "firstRevisionCreatedAt":{"shape":"CreatedAt"}, + "firstRevisionCreatedBy":{"shape":"CreatedBy"}, + "formsOutput":{"shape":"FormOutputList"}, + "glossaryTerms":{"shape":"GlossaryTerms"}, + "id":{"shape":"DataProductId"}, + "items":{"shape":"DataProductItems"}, + "name":{"shape":"DataProductName"}, + "owningProjectId":{"shape":"ProjectId"}, + "revision":{"shape":"Revision"}, + "status":{"shape":"DataProductStatus"} + } + }, + "CreateDataProductRevisionInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "identifier", + "name" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + }, + "description":{"shape":"DataProductDescription"}, + "domainIdentifier":{ + "shape":"DomainId", + "location":"uri", + "locationName":"domainIdentifier" + }, + "formsInput":{"shape":"FormInputList"}, + "glossaryTerms":{"shape":"GlossaryTerms"}, + "identifier":{ + "shape":"DataProductId", + "location":"uri", + "locationName":"identifier" + }, + "items":{"shape":"DataProductItems"}, + "name":{"shape":"DataProductName"} + } + }, + "CreateDataProductRevisionOutput":{ + "type":"structure", + "required":[ + "domainId", + "id", + "name", + "owningProjectId", + "revision", + "status" + ], + "members":{ + "createdAt":{"shape":"CreatedAt"}, + "createdBy":{"shape":"CreatedBy"}, + "description":{"shape":"DataProductDescription"}, + "domainId":{"shape":"DomainId"}, + "firstRevisionCreatedAt":{"shape":"CreatedAt"}, + "firstRevisionCreatedBy":{"shape":"CreatedBy"}, + "formsOutput":{"shape":"FormOutputList"}, + "glossaryTerms":{"shape":"GlossaryTerms"}, + "id":{"shape":"DataProductId"}, + "items":{"shape":"DataProductItems"}, + "name":{"shape":"DataProductName"}, + "owningProjectId":{"shape":"ProjectId"}, + "revision":{"shape":"Revision"}, + "status":{"shape":"DataProductStatus"} + } + }, "CreateDataSourceInput":{ "type":"structure", "required":[ @@ -3673,7 +3891,11 @@ "grantedEntity":{"shape":"GrantedEntity"}, "id":{"shape":"SubscriptionGrantId"}, "status":{"shape":"SubscriptionGrantOverallStatus"}, - "subscriptionId":{"shape":"SubscriptionId"}, + "subscriptionId":{ + "shape":"SubscriptionId", + "deprecated":true, + "deprecatedMessage":"Multiple subscriptions can exist for a single grant" + }, "subscriptionTargetId":{"shape":"SubscriptionTargetId"}, "updatedAt":{"shape":"UpdatedAt"}, "updatedBy":{"shape":"UpdatedBy"} @@ -3891,6 +4113,123 @@ "type":"string", "pattern":"^[a-zA-Z0-9_-]{0,36}$" }, + "DataProductDescription":{ + "type":"string", + "max":4096, + "min":1, + "sensitive":true + }, + "DataProductId":{ + "type":"string", + "pattern":"^[a-zA-Z0-9_-]{1,36}$" + }, + "DataProductItem":{ + "type":"structure", + "required":[ + "identifier", + "itemType" + ], + "members":{ + "glossaryTerms":{"shape":"ItemGlossaryTerms"}, + "identifier":{"shape":"EntityIdentifier"}, + "itemType":{"shape":"DataProductItemType"}, + "revision":{"shape":"Revision"} + } + }, + "DataProductItemType":{ + "type":"string", + "enum":["ASSET"] + }, + "DataProductItems":{ + "type":"list", + "member":{"shape":"DataProductItem"}, + "min":1 + }, + "DataProductListing":{ + "type":"structure", + "members":{ + "createdAt":{"shape":"CreatedAt"}, + "dataProductId":{"shape":"DataProductId"}, + "dataProductRevision":{"shape":"Revision"}, + "forms":{"shape":"Forms"}, + "glossaryTerms":{"shape":"DetailedGlossaryTerms"}, + "items":{"shape":"ListingSummaries"}, + "owningProjectId":{"shape":"ProjectId"} + } + }, + "DataProductListingItem":{ + "type":"structure", + "members":{ + "additionalAttributes":{"shape":"DataProductListingItemAdditionalAttributes"}, + "createdAt":{"shape":"CreatedAt"}, + "description":{"shape":"Description"}, + "entityId":{"shape":"DataProductId"}, + "entityRevision":{"shape":"Revision"}, + "glossaryTerms":{"shape":"DetailedGlossaryTerms"}, + "items":{"shape":"ListingSummaryItems"}, + "listingCreatedBy":{"shape":"CreatedBy"}, + "listingId":{"shape":"ListingId"}, + "listingRevision":{"shape":"Revision"}, + "listingUpdatedBy":{"shape":"UpdatedBy"}, + "name":{"shape":"DataProductName"}, + "owningProjectId":{"shape":"ProjectId"} + } + }, + "DataProductListingItemAdditionalAttributes":{ + "type":"structure", + "members":{ + "forms":{"shape":"Forms"} + } + }, + "DataProductName":{ + "type":"string", + "max":64, + "min":1, + "sensitive":true + }, + "DataProductResultItem":{ + "type":"structure", + "required":[ + "domainId", + "id", + "name", + "owningProjectId" + ], + "members":{ + "createdAt":{"shape":"CreatedAt"}, + "createdBy":{"shape":"CreatedBy"}, + "description":{"shape":"DataProductDescription"}, + "domainId":{"shape":"DomainId"}, + "firstRevisionCreatedAt":{"shape":"CreatedAt"}, + "firstRevisionCreatedBy":{"shape":"CreatedBy"}, + "glossaryTerms":{"shape":"GlossaryTerms"}, + "id":{"shape":"DataProductId"}, + "name":{"shape":"DataProductName"}, + "owningProjectId":{"shape":"ProjectId"} + } + }, + "DataProductRevision":{ + "type":"structure", + "members":{ + "createdAt":{"shape":"CreatedAt"}, + "createdBy":{"shape":"CreatedBy"}, + "domainId":{"shape":"DomainId"}, + "id":{"shape":"DataProductId"}, + "revision":{"shape":"Revision"} + } + }, + "DataProductRevisions":{ + "type":"list", + "member":{"shape":"DataProductRevision"} + }, + "DataProductStatus":{ + "type":"string", + "enum":[ + "CREATED", + "CREATING", + "CREATE_FAILED" + ] + }, "DataSourceConfigurationInput":{ "type":"structure", "members":{ @@ -4141,6 +4480,30 @@ "members":{ } }, + "DeleteDataProductInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "identifier" + ], + "members":{ + "domainIdentifier":{ + "shape":"DomainId", + "location":"uri", + "locationName":"domainIdentifier" + }, + "identifier":{ + "shape":"DataProductId", + "location":"uri", + "locationName":"identifier" + } + } + }, + "DeleteDataProductOutput":{ + "type":"structure", + "members":{ + } + }, "DeleteDataSourceInput":{ "type":"structure", "required":[ @@ -4510,7 +4873,11 @@ "grantedEntity":{"shape":"GrantedEntity"}, "id":{"shape":"SubscriptionGrantId"}, "status":{"shape":"SubscriptionGrantOverallStatus"}, - "subscriptionId":{"shape":"SubscriptionId"}, + "subscriptionId":{ + "shape":"SubscriptionId", + "deprecated":true, + "deprecatedMessage":"Multiple subscriptions can exist for a single grant" + }, "subscriptionTargetId":{"shape":"SubscriptionTargetId"}, "updatedAt":{"shape":"UpdatedAt"}, "updatedBy":{"shape":"UpdatedBy"} @@ -4785,7 +5152,10 @@ }, "EntityType":{ "type":"string", - "enum":["ASSET"] + "enum":[ + "ASSET", + "DATA_PRODUCT" + ] }, "EnvironmentActionId":{ "type":"string", @@ -5373,6 +5743,57 @@ "updatedBy":{"shape":"UpdatedBy"} } }, + "GetDataProductInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "identifier" + ], + "members":{ + "domainIdentifier":{ + "shape":"DomainId", + "location":"uri", + "locationName":"domainIdentifier" + }, + "identifier":{ + "shape":"DataProductId", + "location":"uri", + "locationName":"identifier" + }, + "revision":{ + "shape":"Revision", + "location":"querystring", + "locationName":"revision" + } + } + }, + "GetDataProductOutput":{ + "type":"structure", + "required":[ + "domainId", + "id", + "name", + "owningProjectId", + "revision", + "status" + ], + "members":{ + "createdAt":{"shape":"CreatedAt"}, + "createdBy":{"shape":"CreatedBy"}, + "description":{"shape":"DataProductDescription"}, + "domainId":{"shape":"DomainId"}, + "firstRevisionCreatedAt":{"shape":"CreatedAt"}, + "firstRevisionCreatedBy":{"shape":"CreatedBy"}, + "formsOutput":{"shape":"FormOutputList"}, + "glossaryTerms":{"shape":"GlossaryTerms"}, + "id":{"shape":"DataProductId"}, + "items":{"shape":"DataProductItems"}, + "name":{"shape":"DataProductName"}, + "owningProjectId":{"shape":"ProjectId"}, + "revision":{"shape":"Revision"}, + "status":{"shape":"DataProductStatus"} + } + }, "GetDataSourceInput":{ "type":"structure", "required":[ @@ -6138,7 +6559,11 @@ "grantedEntity":{"shape":"GrantedEntity"}, "id":{"shape":"SubscriptionGrantId"}, "status":{"shape":"SubscriptionGrantOverallStatus"}, - "subscriptionId":{"shape":"SubscriptionId"}, + "subscriptionId":{ + "shape":"SubscriptionId", + "deprecated":true, + "deprecatedMessage":"Multiple subscriptions can exist for a single grant" + }, "subscriptionTargetId":{"shape":"SubscriptionTargetId"}, "updatedAt":{"shape":"UpdatedAt"}, "updatedBy":{"shape":"UpdatedBy"} @@ -6673,7 +7098,8 @@ "enum":[ "ASSET", "GLOSSARY", - "GLOSSARY_TERM" + "GLOSSARY_TERM", + "DATA_PRODUCT" ] }, "IsNotNullExpression":{ @@ -6690,6 +7116,12 @@ "columnName":{"shape":"String"} } }, + "ItemGlossaryTerms":{ + "type":"list", + "member":{"shape":"GlossaryTermId"}, + "max":2, + "min":1 + }, "KmsKeyArn":{ "type":"string", "max":1024, @@ -6891,6 +7323,43 @@ "nextToken":{"shape":"PaginationToken"} } }, + "ListDataProductRevisionsInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "identifier" + ], + "members":{ + "domainIdentifier":{ + "shape":"DomainId", + "location":"uri", + "locationName":"domainIdentifier" + }, + "identifier":{ + "shape":"DataProductId", + "location":"uri", + "locationName":"identifier" + }, + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"PaginationToken", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListDataProductRevisionsOutput":{ + "type":"structure", + "required":["items"], + "members":{ + "items":{"shape":"DataProductRevisions"}, + "nextToken":{"shape":"PaginationToken"} + } + }, "ListDataSourceRunActivitiesInput":{ "type":"structure", "required":[ @@ -7557,6 +8026,11 @@ "location":"querystring", "locationName":"nextToken" }, + "owningProjectId":{ + "shape":"ProjectId", + "location":"querystring", + "locationName":"owningProjectId" + }, "sortBy":{ "shape":"SortKey", "location":"querystring", @@ -7844,7 +8318,8 @@ "ListingItem":{ "type":"structure", "members":{ - "assetListing":{"shape":"AssetListing"} + "assetListing":{"shape":"AssetListing"}, + "dataProductListing":{"shape":"DataProductListing"} }, "union":true }, @@ -7883,6 +8358,30 @@ "INACTIVE" ] }, + "ListingSummaries":{ + "type":"list", + "member":{"shape":"ListingSummary"} + }, + "ListingSummary":{ + "type":"structure", + "members":{ + "glossaryTerms":{"shape":"DetailedGlossaryTerms"}, + "listingId":{"shape":"ListingId"}, + "listingRevision":{"shape":"Revision"} + } + }, + "ListingSummaryItem":{ + "type":"structure", + "members":{ + "glossaryTerms":{"shape":"DetailedGlossaryTerms"}, + "listingId":{"shape":"ListingId"}, + "listingRevision":{"shape":"Revision"} + } + }, + "ListingSummaryItems":{ + "type":"list", + "member":{"shape":"ListingSummaryItem"} + }, "LongDescription":{ "type":"string", "max":4096, @@ -8809,6 +9308,7 @@ "type":"structure", "members":{ "assetItem":{"shape":"AssetItem"}, + "dataProductItem":{"shape":"DataProductResultItem"}, "glossaryItem":{"shape":"GlossaryItem"}, "glossaryTermItem":{"shape":"GlossaryTermItem"} }, @@ -8866,7 +9366,8 @@ "SearchResultItem":{ "type":"structure", "members":{ - "assetListing":{"shape":"AssetListingItem"} + "assetListing":{"shape":"AssetListingItem"}, + "dataProductListing":{"shape":"DataProductListingItem"} }, "union":true }, @@ -9220,7 +9721,8 @@ "SubscribedListingItem":{ "type":"structure", "members":{ - "assetListing":{"shape":"SubscribedAssetListing"} + "assetListing":{"shape":"SubscribedAssetListing"}, + "productListing":{"shape":"SubscribedProductListing"} }, "union":true }, @@ -9244,6 +9746,17 @@ "max":1, "min":1 }, + "SubscribedProductListing":{ + "type":"structure", + "members":{ + "assetListings":{"shape":"AssetInDataProductListingItems"}, + "description":{"shape":"String"}, + "entityId":{"shape":"AssetId"}, + "entityRevision":{"shape":"Revision"}, + "glossaryTerms":{"shape":"DetailedGlossaryTerms"}, + "name":{"shape":"String"} + } + }, "SubscribedProject":{ "type":"structure", "members":{ @@ -9306,7 +9819,11 @@ "grantedEntity":{"shape":"GrantedEntity"}, "id":{"shape":"SubscriptionGrantId"}, "status":{"shape":"SubscriptionGrantOverallStatus"}, - "subscriptionId":{"shape":"SubscriptionId"}, + "subscriptionId":{ + "shape":"SubscriptionId", + "deprecated":true, + "deprecatedMessage":"Multiple subscriptions can exist for a single grant" + }, "subscriptionTargetId":{"shape":"SubscriptionTargetId"}, "updatedAt":{"shape":"UpdatedAt"}, "updatedBy":{"shape":"UpdatedBy"} @@ -10300,7 +10817,11 @@ "grantedEntity":{"shape":"GrantedEntity"}, "id":{"shape":"SubscriptionGrantId"}, "status":{"shape":"SubscriptionGrantOverallStatus"}, - "subscriptionId":{"shape":"SubscriptionId"}, + "subscriptionId":{ + "shape":"SubscriptionId", + "deprecated":true, + "deprecatedMessage":"Multiple subscriptions can exist for a single grant" + }, "subscriptionTargetId":{"shape":"SubscriptionTargetId"}, "updatedAt":{"shape":"UpdatedAt"}, "updatedBy":{"shape":"UpdatedBy"} diff --git a/apis/datazone/2018-05-10/docs-2.json b/apis/datazone/2018-05-10/docs-2.json index 496f003b54..8fa3eec588 100644 --- a/apis/datazone/2018-05-10/docs-2.json +++ b/apis/datazone/2018-05-10/docs-2.json @@ -11,6 +11,8 @@ "CreateAssetFilter": "

Creates a data asset filter.

", "CreateAssetRevision": "

Creates a revision of the asset.

", "CreateAssetType": "

Creates a custom asset type.

", + "CreateDataProduct": "

Creates a data product.

", + "CreateDataProductRevision": "

Creates a data product revision.

", "CreateDataSource": "

Creates an Amazon DataZone data source.

", "CreateDomain": "

Creates an Amazon DataZone domain.

", "CreateEnvironment": "

Create an Amazon DataZone environment.

", @@ -27,9 +29,10 @@ "CreateSubscriptionRequest": "

Creates a subscription request in Amazon DataZone.

", "CreateSubscriptionTarget": "

Creates a subscription target in Amazon DataZone.

", "CreateUserProfile": "

Creates a user profile in Amazon DataZone.

", - "DeleteAsset": "

Delets an asset in Amazon DataZone.

", + "DeleteAsset": "

Deletes an asset in Amazon DataZone.

", "DeleteAssetFilter": "

Deletes an asset filter.

", "DeleteAssetType": "

Deletes an asset type in Amazon DataZone.

", + "DeleteDataProduct": "

Deletes an data product in Amazon DataZone.

", "DeleteDataSource": "

Deletes a data source in Amazon DataZone.

", "DeleteDomain": "

Deletes a Amazon DataZone domain.

", "DeleteEnvironment": "

Deletes an environment in Amazon DataZone.

", @@ -50,6 +53,7 @@ "GetAsset": "

Gets an Amazon DataZone asset.

", "GetAssetFilter": "

Gets an asset filter.

", "GetAssetType": "

Gets an Amazon DataZone asset type.

", + "GetDataProduct": "

Gets the data product.

", "GetDataSource": "

Gets an Amazon DataZone data source.

", "GetDataSourceRun": "

Gets an Amazon DataZone data source run.

", "GetDomain": "

Gets an Amazon DataZone domain.

", @@ -65,7 +69,7 @@ "GetGroupProfile": "

Gets a group profile in Amazon DataZone.

", "GetIamPortalLoginUrl": "

Gets the data portal URL for the specified Amazon DataZone domain.

", "GetLineageNode": "

Gets the data lineage node.

", - "GetListing": "

Gets a listing (a record of an asset at a given time).

", + "GetListing": "

Gets a listing (a record of an asset at a given time). If you specify a listing version, only details that are specific to that version are returned.

", "GetMetadataGenerationRun": "

Gets a metadata generation run in Amazon DataZone.

", "GetProject": "

Gets a project in Amazon DataZone.

", "GetSubscription": "

Gets a subscription in Amazon DataZone.

", @@ -76,6 +80,7 @@ "GetUserProfile": "

Gets a user profile in Amazon DataZone.

", "ListAssetFilters": "

Lists asset filters.

", "ListAssetRevisions": "

Lists the revisions for the asset.

", + "ListDataProductRevisions": "

Lists data product revisions.

", "ListDataSourceRunActivities": "

Lists data source run activities.

", "ListDataSourceRuns": "

Lists data source runs in Amazon DataZone.

", "ListDataSources": "

Lists data sources in Amazon DataZone.

", @@ -259,6 +264,7 @@ "RejectPredictionsOutput$assetId": "

The ID of the asset.

", "SubscribedAsset$assetId": "

The identifier of the asset for which the subscription grant is created.

", "SubscribedAssetListing$entityId": "

The identifier of the published asset for which the subscription grant is created.

", + "SubscribedProductListing$entityId": "

The ID of the data product listing.

", "UpdateAssetFilterInput$assetIdentifier": "

The ID of the data asset.

", "UpdateAssetFilterOutput$assetId": "

The ID of the data asset.

", "UpdateSubscriptionGrantStatusInput$assetIdentifier": "

The identifier of the asset the subscription grant status of which is to be updated.

" @@ -276,6 +282,18 @@ "RejectPredictionsInput$identifier": "

The identifier of the prediction.

" } }, + "AssetInDataProductListingItem": { + "base": "

The listing of the asset in a data product.

", + "refs": { + "AssetInDataProductListingItems$member": null + } + }, + "AssetInDataProductListingItems": { + "base": null, + "refs": { + "SubscribedProductListing$assetListings": "

The data assets of the data product listing.

" + } + }, "AssetItem": { "base": "

A Amazon DataZone inventory asset.

", "refs": { @@ -521,6 +539,8 @@ "AcceptPredictionsInput$clientToken": "

A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.

", "CreateAssetInput$clientToken": "

A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

", "CreateAssetRevisionInput$clientToken": "

A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

", + "CreateDataProductInput$clientToken": "

A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

", + "CreateDataProductRevisionInput$clientToken": "

A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

", "CreateGlossaryInput$clientToken": "

A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

", "CreateGlossaryTermInput$clientToken": "

A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

", "CreateListingChangeSetInput$clientToken": "

A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

", @@ -623,6 +643,26 @@ "refs": { } }, + "CreateDataProductInput": { + "base": null, + "refs": { + } + }, + "CreateDataProductOutput": { + "base": null, + "refs": { + } + }, + "CreateDataProductRevisionInput": { + "base": null, + "refs": { + } + }, + "CreateDataProductRevisionOutput": { + "base": null, + "refs": { + } + }, "CreateDataSourceInput": { "base": null, "refs": { @@ -813,9 +853,18 @@ "CreateAssetRevisionOutput$createdAt": "

The timestamp of when the asset revision occured.

", "CreateAssetRevisionOutput$firstRevisionCreatedAt": "

The timestamp of when the first asset revision occured.

", "CreateAssetTypeOutput$createdAt": "

The timestamp of when the asset type is to be created.

", + "CreateDataProductOutput$createdAt": "

The timestamp at which the data product was created.

", + "CreateDataProductOutput$firstRevisionCreatedAt": "

The timestamp at which the first revision of the data product was created.

", + "CreateDataProductRevisionOutput$createdAt": "

The timestamp at which the data product revision is created.

", + "CreateDataProductRevisionOutput$firstRevisionCreatedAt": "

The timestamp at which the first revision of the data product is created.

", "CreateSubscriptionGrantOutput$createdAt": "

A timestamp of when the subscription grant is created.

", "CreateSubscriptionRequestOutput$createdAt": "

A timestamp of when the subscription request is created.

", "CreateSubscriptionTargetOutput$createdAt": "

The timestamp of when the subscription target was created.

", + "DataProductListing$createdAt": "

The timestamp at which the data product listing was created.

", + "DataProductListingItem$createdAt": "

The timestamp at which the asset of the data product listing was created.

", + "DataProductResultItem$createdAt": "

The timestamp at which the data product was created.

", + "DataProductResultItem$firstRevisionCreatedAt": "

The timestamp at which first revision of the data product was created.

", + "DataProductRevision$createdAt": "

The timestamp at which the data product revision was created.

", "DeleteSubscriptionGrantOutput$createdAt": "

The timestamp of when the subscription grant that is deleted was created.

", "DomainSummary$createdAt": "

A timestamp of when a Amazon DataZone domain was created.

", "FormTypeData$createdAt": "

The timestamp of when the metadata form type was created.

", @@ -823,6 +872,8 @@ "GetAssetOutput$createdAt": "

The timestamp of when the asset was created.

", "GetAssetOutput$firstRevisionCreatedAt": "

The timestamp of when the first revision of the asset was created.

", "GetAssetTypeOutput$createdAt": "

The timestamp of when the asset type was created.

", + "GetDataProductOutput$createdAt": "

The timestamp at which the data product is created.

", + "GetDataProductOutput$firstRevisionCreatedAt": "

The timestamp at which the first revision of the data product is created.

", "GetDomainOutput$createdAt": "

The timestamp of when the Amazon DataZone domain was created.

", "GetFormTypeOutput$createdAt": "

The timestamp of when this metadata form type was created.

", "GetGlossaryOutput$createdAt": "

The timestamp of when this business glossary was created.

", @@ -867,15 +918,25 @@ "CreateAssetRevisionOutput$createdBy": "

The Amazon DataZone user who performed the asset revision.

", "CreateAssetRevisionOutput$firstRevisionCreatedBy": "

The Amazon DataZone user who performed the first asset revision.

", "CreateAssetTypeOutput$createdBy": "

The Amazon DataZone user who creates this custom asset type.

", + "CreateDataProductOutput$createdBy": "

The user who created the data product.

", + "CreateDataProductOutput$firstRevisionCreatedBy": "

The user who created the first revision of the data product.

", + "CreateDataProductRevisionOutput$createdBy": "

The user who created the data product revision.

", + "CreateDataProductRevisionOutput$firstRevisionCreatedBy": "

The user who created the first revision of the data product.

", "CreateProjectOutput$createdBy": "

The Amazon DataZone user who created the project.

", "CreateSubscriptionGrantOutput$createdBy": "

The Amazon DataZone user who created the subscription grant.

", "CreateSubscriptionRequestOutput$createdBy": "

The Amazon DataZone user who created the subscription request.

", "CreateSubscriptionTargetOutput$createdBy": "

The Amazon DataZone user who created the subscription target.

", + "DataProductListingItem$listingCreatedBy": "

The timestamp at which the listing was created.

", + "DataProductResultItem$createdBy": "

The user who created the data product.

", + "DataProductResultItem$firstRevisionCreatedBy": "

The user who created the first revision of the data product.

", + "DataProductRevision$createdBy": "

The user who created the data product revision.

", "DeleteSubscriptionGrantOutput$createdBy": "

The Amazon DataZone user who created the subscription grant that is deleted.

", "FormTypeData$createdBy": "

The Amazon DataZone user who created teh metadata form type.

", "GetAssetOutput$createdBy": "

The Amazon DataZone user who created the asset.

", "GetAssetOutput$firstRevisionCreatedBy": "

The Amazon DataZone user who created the first revision of the asset.

", "GetAssetTypeOutput$createdBy": "

The Amazon DataZone user who created the asset type.

", + "GetDataProductOutput$createdBy": "

The user who created the data product.

", + "GetDataProductOutput$firstRevisionCreatedBy": "

The user who created the first revision of the data product.

", "GetFormTypeOutput$createdBy": "

The Amazon DataZone user who created this metadata form type.

", "GetGlossaryOutput$createdBy": "

The Amazon DataZone user who created this business glossary.

", "GetGlossaryTermOutput$createdBy": "

The Amazon DataZone user who created the business glossary.

", @@ -950,6 +1011,111 @@ "TimeSeriesDataPointSummaryFormOutput$id": "

The ID of the time series data points summary form.

" } }, + "DataProductDescription": { + "base": null, + "refs": { + "CreateDataProductInput$description": "

The description of the data product.

", + "CreateDataProductOutput$description": "

The description of the data product.

", + "CreateDataProductRevisionInput$description": "

The description of the data product revision.

", + "CreateDataProductRevisionOutput$description": "

The description of the data product revision.

", + "DataProductResultItem$description": "

The description of the data product.

", + "GetDataProductOutput$description": "

The description of the data product.

" + } + }, + "DataProductId": { + "base": null, + "refs": { + "CreateDataProductOutput$id": "

The ID of the data product.

", + "CreateDataProductRevisionInput$identifier": "

The ID of the data product revision.

", + "CreateDataProductRevisionOutput$id": "

The ID of the data product revision.

", + "DataProductListing$dataProductId": "

The ID of the data product listing.

", + "DataProductListingItem$entityId": "

The entity ID of the asset of the asset of the data product.

", + "DataProductResultItem$id": "

The ID of the data product.

", + "DataProductRevision$id": "

The ID of the data product revision.

", + "DeleteDataProductInput$identifier": "

The identifier of the data product that is deleted.

", + "GetDataProductInput$identifier": "

The ID of the data product.

", + "GetDataProductOutput$id": "

The ID of the data product.

", + "ListDataProductRevisionsInput$identifier": "

The ID of the data product revision.

" + } + }, + "DataProductItem": { + "base": "

The data product.

", + "refs": { + "DataProductItems$member": null + } + }, + "DataProductItemType": { + "base": null, + "refs": { + "DataProductItem$itemType": "

The type of the data product.

" + } + }, + "DataProductItems": { + "base": null, + "refs": { + "CreateDataProductInput$items": "

The data assets of the data product.

", + "CreateDataProductOutput$items": "

The data assets of the data product.

", + "CreateDataProductRevisionInput$items": "

The data assets of the data product revision.

", + "CreateDataProductRevisionOutput$items": "

The data assets of the data product revision.

", + "GetDataProductOutput$items": "

The data assets of the data product.

" + } + }, + "DataProductListing": { + "base": "

The data product listing.

", + "refs": { + "ListingItem$dataProductListing": "

The data product listing.

" + } + }, + "DataProductListingItem": { + "base": "

The asset of the data product listing.

", + "refs": { + "SearchResultItem$dataProductListing": "

The data product listing.

" + } + }, + "DataProductListingItemAdditionalAttributes": { + "base": "

The additional attributes of the asset of the data product.

", + "refs": { + "DataProductListingItem$additionalAttributes": "

The additional attributes of the asset of the data product.

" + } + }, + "DataProductName": { + "base": null, + "refs": { + "CreateDataProductInput$name": "

The name of the data product.

", + "CreateDataProductOutput$name": "

The name of the data product.

", + "CreateDataProductRevisionInput$name": "

The name of the data product revision.

", + "CreateDataProductRevisionOutput$name": "

The name of the data product revision.

", + "DataProductListingItem$name": "

The name of the asset of the data product.

", + "DataProductResultItem$name": "

The name of the data product.

", + "GetDataProductOutput$name": "

The name of the data product.

" + } + }, + "DataProductResultItem": { + "base": "

The data product.

", + "refs": { + "SearchInventoryResultItem$dataProductItem": "

The data product.

" + } + }, + "DataProductRevision": { + "base": "

The data product revision.

", + "refs": { + "DataProductRevisions$member": null + } + }, + "DataProductRevisions": { + "base": null, + "refs": { + "ListDataProductRevisionsOutput$items": "

The results of the ListDataProductRevisions action.

" + } + }, + "DataProductStatus": { + "base": null, + "refs": { + "CreateDataProductOutput$status": "

The status of the data product.

", + "CreateDataProductRevisionOutput$status": "

The status of the data product revision.

", + "GetDataProductOutput$status": "

The status of the data product.

" + } + }, "DataSourceConfigurationInput": { "base": "

The configuration of the data source.

", "refs": { @@ -1171,6 +1337,16 @@ "refs": { } }, + "DeleteDataProductInput": { + "base": null, + "refs": { + } + }, + "DeleteDataProductOutput": { + "base": null, + "refs": { + } + }, "DeleteDataSourceInput": { "base": null, "refs": { @@ -1384,6 +1560,7 @@ "CreateProjectInput$description": "

The description of the Amazon DataZone project.

", "CreateProjectOutput$description": "

The description of the project.

", "CustomParameter$description": "

The description of the parameter.

", + "DataProductListingItem$description": "

The description of the asset of the asset of the data product.

", "DataSourceRunActivity$technicalDescription": "

The technical description included in the data source run activity.

", "DeleteDataSourceOutput$description": "

The description of the data source that is deleted.

", "EnvironmentBlueprintSummary$description": "

The description of a blueprint.

", @@ -1423,7 +1600,12 @@ "refs": { "AssetListing$glossaryTerms": "

The glossary terms attached to an asset published in an Amazon DataZone catalog.

", "AssetListingItem$glossaryTerms": "

Glossary terms attached to the inventory asset.

", - "SubscribedAssetListing$glossaryTerms": "

The glossary terms attached to the published asset for which the subscription grant is created.

" + "DataProductListing$glossaryTerms": "

The glossary terms of the data product listing.

", + "DataProductListingItem$glossaryTerms": "

The glossary terms of the asset of the asset of the data product.

", + "ListingSummary$glossaryTerms": "

The glossary terms of the data product.

", + "ListingSummaryItem$glossaryTerms": "

The glossary terms of the data product listing.

", + "SubscribedAssetListing$glossaryTerms": "

The glossary terms attached to the published asset for which the subscription grant is created.

", + "SubscribedProductListing$glossaryTerms": "

The glossary terms of the data product listing.

" } }, "DisassociateEnvironmentRoleInput": { @@ -1467,6 +1649,10 @@ "CreateAssetTypeInput$domainIdentifier": "

The unique identifier of the Amazon DataZone domain where the custom asset type is being created.

", "CreateAssetTypeOutput$domainId": "

The ID of the Amazon DataZone domain in which the asset type was created.

", "CreateAssetTypeOutput$originDomainId": "

The ID of the Amazon DataZone domain where the asset type was originally created.

", + "CreateDataProductInput$domainIdentifier": "

The ID of the domain where the data product is created.

", + "CreateDataProductOutput$domainId": "

The ID of the domain where the data product lives.

", + "CreateDataProductRevisionInput$domainIdentifier": "

The ID of the domain where the data product revision is created.

", + "CreateDataProductRevisionOutput$domainId": "

The ID of the domain where data product revision is created.

", "CreateDataSourceInput$domainIdentifier": "

The ID of the Amazon DataZone domain where the data source is created.

", "CreateDataSourceOutput$domainId": "

The ID of the Amazon DataZone domain in which the data source is created.

", "CreateDomainOutput$id": "

The identifier of the Amazon DataZone domain.

", @@ -1497,10 +1683,13 @@ "CreateSubscriptionTargetOutput$domainId": "

The ID of the Amazon DataZone domain in which the subscription target was created.

", "CreateUserProfileInput$domainIdentifier": "

The identifier of the Amazon DataZone domain in which a user profile is created.

", "CreateUserProfileOutput$domainId": "

The identifier of the Amazon DataZone domain in which a user profile is created.

", + "DataProductResultItem$domainId": "

The ID of the domain where the data product lives.

", + "DataProductRevision$domainId": "

The ID of the domain where the data product revision lives.

", "DataSourceSummary$domainId": "

The ID of the Amazon DataZone domain in which the data source exists.

", "DeleteAssetFilterInput$domainIdentifier": "

The ID of the domain where you want to delete an asset filter.

", "DeleteAssetInput$domainIdentifier": "

The ID of the Amazon DataZone domain in which the asset is deleted.

", "DeleteAssetTypeInput$domainIdentifier": "

The ID of the Amazon DataZone domain in which the asset type is deleted.

", + "DeleteDataProductInput$domainIdentifier": "

The ID of the Amazon DataZone domain in which the data product is deleted.

", "DeleteDataSourceInput$domainIdentifier": "

The ID of the Amazon DataZone domain in which the data source is deleted.

", "DeleteDataSourceOutput$domainId": "

The ID of the Amazon DataZone domain in which the data source is deleted.

", "DeleteDomainInput$identifier": "

The identifier of the Amazon Web Services domain that is to be deleted.

", @@ -1534,6 +1723,8 @@ "GetAssetTypeInput$domainIdentifier": "

The ID of the Amazon DataZone domain in which the asset type exists.

", "GetAssetTypeOutput$domainId": "

The ID of the Amazon DataZone domain in which the asset type exists.

", "GetAssetTypeOutput$originDomainId": "

The ID of the Amazon DataZone domain in which the asset type was originally created.

", + "GetDataProductInput$domainIdentifier": "

The ID of the domain where the data product lives.

", + "GetDataProductOutput$domainId": "

The ID of the domain where the data product lives.

", "GetDataSourceInput$domainIdentifier": "

The ID of the Amazon DataZone domain in which the data source exists.

", "GetDataSourceOutput$domainId": "

The ID of the Amazon DataZone domain in which the data source exists.

", "GetDataSourceRunInput$domainIdentifier": "

The ID of the domain in which this data source run was performed.

", @@ -1587,6 +1778,7 @@ "LineageNodeTypeItem$domainId": "

The ID of the domain where the data lineage node type lives.

", "ListAssetFiltersInput$domainIdentifier": "

The ID of the domain where you want to list asset filters.

", "ListAssetRevisionsInput$domainIdentifier": "

The identifier of the domain.

", + "ListDataProductRevisionsInput$domainIdentifier": "

The ID of the domain of the data product revisions that you want to list.

", "ListDataSourceRunActivitiesInput$domainIdentifier": "

The identifier of the Amazon DataZone domain in which to list data source run activities.

", "ListDataSourceRunsInput$domainIdentifier": "

The identifier of the Amazon DataZone domain in which to invoke the ListDataSourceRuns action.

", "ListDataSourcesInput$domainIdentifier": "

The identifier of the Amazon DataZone domain in which to list the data sources.

", @@ -1735,6 +1927,7 @@ "base": null, "refs": { "CreateListingChangeSetInput$entityIdentifier": "

The ID of the asset.

", + "DataProductItem$identifier": "

The ID of the data product.

", "DeleteTimeSeriesDataPointsInput$entityIdentifier": "

The ID of the asset for which you want to delete a time series form.

", "GetTimeSeriesDataPointInput$entityIdentifier": "

The ID of the asset for which you want to get the data point.

", "ListTimeSeriesDataPointsInput$entityIdentifier": "

The ID of the asset for which you want to list data points.

", @@ -2130,6 +2323,8 @@ "refs": { "CreateAssetInput$formsInput": "

Metadata forms attached to the asset.

", "CreateAssetRevisionInput$formsInput": "

The metadata forms to be attached to the asset as part of asset revision.

", + "CreateDataProductInput$formsInput": "

The metadata forms of the data product.

", + "CreateDataProductRevisionInput$formsInput": "

The metadata forms of the data product revision.

", "CreateDataSourceInput$assetFormsInput": "

The metadata forms that are to be attached to the assets that this data source works with.

", "UpdateDataSourceInput$assetFormsInput": "

The asset forms to be updated as part of the UpdateDataSource action.

" } @@ -2159,10 +2354,13 @@ "CreateAssetOutput$readOnlyFormsOutput": "

The read-only metadata forms that are attached to the created asset.

", "CreateAssetRevisionOutput$formsOutput": "

The metadata forms that were attached to the asset as part of the asset revision.

", "CreateAssetRevisionOutput$readOnlyFormsOutput": "

The read-only metadata forms that were attached to the asset as part of the asset revision.

", + "CreateDataProductOutput$formsOutput": "

The metadata forms of the data product.

", + "CreateDataProductRevisionOutput$formsOutput": "

The metadata forms of the data product revision.

", "CreateDataSourceOutput$assetFormsOutput": "

The metadata forms attached to the assets that this data source creates.

", "DeleteDataSourceOutput$assetFormsOutput": "

The asset data forms associated with this data source.

", "GetAssetOutput$formsOutput": "

The metadata forms attached to the asset.

", "GetAssetOutput$readOnlyFormsOutput": "

The read-only metadata forms attached to the asset.

", + "GetDataProductOutput$formsOutput": "

The metadata forms of the data product.

", "GetDataSourceOutput$assetFormsOutput": "

The metadata forms attached to the assets created by this data source.

", "GetLineageNodeOutput$formsOutput": "

The metadata of the specified data lineage node.

", "UpdateDataSourceOutput$assetFormsOutput": "

The asset forms to be updated as part of the UpdateDataSource action.

" @@ -2211,6 +2409,8 @@ "refs": { "AssetListing$forms": "

The metadata forms attached to an asset published in an Amazon DataZone catalog.

", "AssetListingItemAdditionalAttributes$forms": "

The metadata forms that form additional attributes of the metadata asset.

", + "DataProductListing$forms": "

The metadata forms of the data product listing.

", + "DataProductListingItemAdditionalAttributes$forms": "

The metadata forms of the asset of the data product.

", "SubscribedAssetListing$forms": "

The forms attached to the published asset for which the subscription grant is created.

" } }, @@ -2259,6 +2459,16 @@ "refs": { } }, + "GetDataProductInput": { + "base": null, + "refs": { + } + }, + "GetDataProductOutput": { + "base": null, + "refs": { + } + }, "GetDataSourceInput": { "base": null, "refs": { @@ -2576,6 +2786,7 @@ "GetGlossaryTermOutput$id": "

The ID of the business glossary term.

", "GlossaryTermItem$id": "

The identifier of the business glossary term.

", "GlossaryTerms$member": null, + "ItemGlossaryTerms$member": null, "TermRelationsClassifiesList$member": null, "TermRelationsIsAList$member": null, "UpdateGlossaryTermInput$glossaryIdentifier": "

The identifier of the business glossary in which a term is to be updated.

", @@ -2620,11 +2831,17 @@ "CreateAssetOutput$glossaryTerms": "

The glossary terms that are attached to the created asset.

", "CreateAssetRevisionInput$glossaryTerms": "

The glossary terms to be attached to the asset as part of asset revision.

", "CreateAssetRevisionOutput$glossaryTerms": "

The glossary terms that were attached to the asset as part of asset revision.

", + "CreateDataProductInput$glossaryTerms": "

The glossary terms of the data product.

", + "CreateDataProductOutput$glossaryTerms": "

The glossary terms of the data product.

", + "CreateDataProductRevisionInput$glossaryTerms": "

The glossary terms of the data product revision.

", + "CreateDataProductRevisionOutput$glossaryTerms": "

The glossary terms of the data product revision.

", "CreateEnvironmentInput$glossaryTerms": "

The glossary terms that can be used in this Amazon DataZone environment.

", "CreateEnvironmentOutput$glossaryTerms": "

The glossary terms that can be used in this Amazon DataZone environment.

", "CreateProjectInput$glossaryTerms": "

The glossary terms that can be used in this Amazon DataZone project.

", "CreateProjectOutput$glossaryTerms": "

The glossary terms that can be used in the project.

", + "DataProductResultItem$glossaryTerms": "

The glossary terms of the data product.

", "GetAssetOutput$glossaryTerms": "

The business glossary terms attached to the asset.

", + "GetDataProductOutput$glossaryTerms": "

The glossary terms of the data product.

", "GetEnvironmentBlueprintOutput$glossaryTerms": "

The glossary terms attached to this Amazon DataZone blueprint.

", "GetEnvironmentOutput$glossaryTerms": "

The business glossary terms that can be used in this environment.

", "GetProjectOutput$glossaryTerms": "

The business glossary terms that can be used in the project.

", @@ -2835,6 +3052,12 @@ "RowFilterExpression$isNull": "

The 'is null' clause of the row filter expression.

" } }, + "ItemGlossaryTerms": { + "base": null, + "refs": { + "DataProductItem$glossaryTerms": "

The glossary terms of the data product.

" + } + }, "KmsKeyArn": { "base": null, "refs": { @@ -2945,6 +3168,16 @@ "refs": { } }, + "ListDataProductRevisionsInput": { + "base": null, + "refs": { + } + }, + "ListDataProductRevisionsOutput": { + "base": null, + "refs": { + } + }, "ListDataSourceRunActivitiesInput": { "base": null, "refs": { @@ -3157,6 +3390,7 @@ "AssetListingDetails$listingId": "

The identifier of an asset published in an Amazon DataZone catalog.

", "AssetListingItem$listingId": "

The identifier of the listing (asset published in Amazon DataZone catalog).

", "CreateListingChangeSetOutput$listingId": "

The ID of the listing (a record of an asset at a given time).

", + "DataProductListingItem$listingId": "

The ID of the listing.

", "DeleteListingInput$identifier": "

The ID of the listing to be deleted.

", "GetListingInput$identifier": "

The ID of the listing.

", "GetListingOutput$id": "

The ID of the listing.

", @@ -3165,6 +3399,8 @@ "ListSubscriptionsInput$subscribedListingId": "

The identifier of the subscribed listing for the subscriptions that you want to list.

", "ListingRevision$id": "

An identifier of a revision of an asset published in a Amazon DataZone catalog.

", "ListingRevisionInput$identifier": "

An identifier of revision to be made to an asset published in a Amazon DataZone catalog.

", + "ListingSummary$listingId": "

The ID of the data product listing.

", + "ListingSummaryItem$listingId": "

The ID of the data product listing.

", "SubscribedListing$id": "

The identifier of the published asset for which the subscription grant is created.

", "SubscribedListingInput$identifier": "

The identifier of the published asset for which the subscription grant is to be created.

" } @@ -3202,6 +3438,30 @@ "GetListingOutput$status": "

The status of the listing.

" } }, + "ListingSummaries": { + "base": null, + "refs": { + "DataProductListing$items": "

The data assets of the data product listing.

" + } + }, + "ListingSummary": { + "base": "

The summary of the listing of the data product.

", + "refs": { + "ListingSummaries$member": null + } + }, + "ListingSummaryItem": { + "base": "

The results of the data product summary.

", + "refs": { + "ListingSummaryItems$member": null + } + }, + "ListingSummaryItems": { + "base": null, + "refs": { + "DataProductListingItem$items": "

The data of the asset of the data product.

" + } + }, "LongDescription": { "base": null, "refs": { @@ -3218,6 +3478,7 @@ "refs": { "ListAssetFiltersInput$maxResults": "

The maximum number of asset filters to return in a single call to ListAssetFilters. When the number of asset filters to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListAssetFilters to list the next set of asset filters.

", "ListAssetRevisionsInput$maxResults": "

The maximum number of revisions to return in a single call to ListAssetRevisions. When the number of revisions to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListAssetRevisions to list the next set of revisions.

", + "ListDataProductRevisionsInput$maxResults": "

The maximum number of asset filters to return in a single call to ListDataProductRevisions. When the number of data product revisions to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListDataProductRevisions to list the next set of data product revisions.

", "ListDataSourceRunActivitiesInput$maxResults": "

The maximum number of activities to return in a single call to ListDataSourceRunActivities. When the number of activities to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListDataSourceRunActivities to list the next set of activities.

", "ListDataSourceRunsInput$maxResults": "

The maximum number of runs to return in a single call to ListDataSourceRuns. When the number of runs to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListDataSourceRuns to list the next set of runs.

", "ListDataSourcesInput$maxResults": "

The maximum number of data sources to return in a single call to ListDataSources. When the number of data sources to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListDataSources to list the next set of data sources.

", @@ -3420,6 +3681,8 @@ "ListAssetFiltersOutput$nextToken": "

When the number of asset filters is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of asset filters, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListAssetFilters to list the next set of asset filters.

", "ListAssetRevisionsInput$nextToken": "

When the number of revisions is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of revisions, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListAssetRevisions to list the next set of revisions.

", "ListAssetRevisionsOutput$nextToken": "

When the number of revisions is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of revisions, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListAssetRevisions to list the next set of revisions.

", + "ListDataProductRevisionsInput$nextToken": "

When the number of data product revisions is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of data product revisions, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListDataProductRevisions to list the next set of data product revisions.

", + "ListDataProductRevisionsOutput$nextToken": "

When the number of data product revisions is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of data product revisions, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListDataProductRevisions to list the next set of data product revisions.

", "ListDataSourceRunActivitiesInput$nextToken": "

When the number of activities is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of activities, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListDataSourceRunActivities to list the next set of activities.

", "ListDataSourceRunActivitiesOutput$nextToken": "

When the number of activities is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of activities, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListDataSourceRunActivities to list the next set of activities.

", "ListDataSourceRunsInput$nextToken": "

When the number of runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of runs, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListDataSourceRuns to list the next set of runs.

", @@ -3525,6 +3788,9 @@ "CreateAssetTypeInput$owningProjectIdentifier": "

The identifier of the Amazon DataZone project that is to own the custom asset type.

", "CreateAssetTypeOutput$originProjectId": "

The ID of the Amazon DataZone project where the asset type was originally created.

", "CreateAssetTypeOutput$owningProjectId": "

The ID of the Amazon DataZone project that currently owns this asset type.

", + "CreateDataProductInput$owningProjectIdentifier": "

The ID of the owning project of the data product.

", + "CreateDataProductOutput$owningProjectId": "

The ID of the owning project of the data product.

", + "CreateDataProductRevisionOutput$owningProjectId": "

The ID of the owning project of the data product revision.

", "CreateDataSourceOutput$projectId": "

The ID of the Amazon DataZone project to which the data source is added.

", "CreateEnvironmentInput$projectIdentifier": "

The identifier of the Amazon DataZone project in which this environment is created.

", "CreateEnvironmentOutput$projectId": "

The ID of the Amazon DataZone project in which this environment is created.

", @@ -3538,6 +3804,9 @@ "CreateProjectMembershipInput$projectIdentifier": "

The ID of the project for which this project membership was created.

", "CreateProjectOutput$id": "

The ID of the Amazon DataZone project.

", "CreateSubscriptionTargetOutput$projectId": "

???

", + "DataProductListing$owningProjectId": "

The ID of the owning project of the data product listing.

", + "DataProductListingItem$owningProjectId": "

The ID of the owning project of the asset of the data product.

", + "DataProductResultItem$owningProjectId": "

The ID of the owning project of the data product.

", "DataSourceRunActivity$projectId": "

The project ID included in the data source run activity.

", "DataSourceRunSummary$projectId": "

The project ID of the data source run.

", "DeleteDataSourceOutput$projectId": "

The ID of the project in which this data source exists and from which it's deleted.

", @@ -3550,6 +3819,7 @@ "GetAssetOutput$owningProjectId": "

The ID of the project that owns the asset.

", "GetAssetTypeOutput$originProjectId": "

The ID of the Amazon DataZone project in which the asset type was originally created.

", "GetAssetTypeOutput$owningProjectId": "

The ID of the Amazon DataZone project that owns the asset type.

", + "GetDataProductOutput$owningProjectId": "

The ID of the owning project of the data product.

", "GetDataSourceOutput$projectId": "

The ID of the project where the data source creates and publishes assets.

", "GetDataSourceRunOutput$projectId": "

The ID of the project in which this data source run occured.

", "GetEnvironmentOutput$projectId": "

The ID of the Amazon DataZone project in which this environment is created.

", @@ -3565,6 +3835,7 @@ "ListEnvironmentProfilesInput$projectIdentifier": "

The identifier of the Amazon DataZone project.

", "ListEnvironmentsInput$projectIdentifier": "

The identifier of the Amazon DataZone project.

", "ListProjectMembershipsInput$projectIdentifier": "

The identifier of the project whose memberships you want to list.

", + "ListSubscriptionGrantsInput$owningProjectId": "

The ID of the owning project of the subscription grants.

", "ListSubscriptionRequestsInput$approverProjectId": "

The identifier of the subscription request approver's project.

", "ListSubscriptionRequestsInput$owningProjectId": "

The identifier of the project for the subscription requests.

", "ListSubscriptionsInput$approverProjectId": "

The identifier of the project for the subscription's approver.

", @@ -3920,9 +4191,16 @@ "CreateAssetRevisionOutput$revision": "

The revision of the asset.

", "CreateAssetRevisionOutput$typeRevision": "

The revision type of the asset.

", "CreateAssetTypeOutput$revision": "

The revision of the custom asset type.

", + "CreateDataProductOutput$revision": "

The revision of the data product.

", + "CreateDataProductRevisionOutput$revision": "

The revision of the data product revision.

", "CreateFormTypeOutput$revision": "

The revision of this Amazon DataZone metadata form type.

", "CreateListingChangeSetInput$entityRevision": "

The revision of an asset.

", "CreateListingChangeSetOutput$listingRevision": "

The revision of a listing.

", + "DataProductItem$revision": "

The revision of the data product.

", + "DataProductListing$dataProductRevision": "

The revision of the data product listing.

", + "DataProductListingItem$entityRevision": "

The revision of the asset of the asset of the data product.

", + "DataProductListingItem$listingRevision": "

The revision of the listing.

", + "DataProductRevision$revision": "

The data product revision.

", "FormEntryInput$typeRevision": "

The type revision of the form entry.

", "FormEntryOutput$typeRevision": "

The type revision of the form entry.

", "FormInput$typeRevision": "

The revision of the metadata form type.

", @@ -3933,6 +4211,8 @@ "GetAssetOutput$typeRevision": "

The revision of the asset type.

", "GetAssetTypeInput$revision": "

The revision of the asset type.

", "GetAssetTypeOutput$revision": "

The revision of the asset type.

", + "GetDataProductInput$revision": "

The revision of the data product.

", + "GetDataProductOutput$revision": "

The revision of the data product.

", "GetFormTypeInput$revision": "

The revision of this metadata form type.

", "GetFormTypeOutput$revision": "

The revision of the metadata form type.

", "GetLineageNodeOutput$typeRevision": "

The revision type of the specified data lineage node.

", @@ -3943,12 +4223,15 @@ "LineageNodeTypeItem$revision": "

The revision of the data lineage node type.

", "ListingRevision$revision": "

The details of a revision of an asset published in a Amazon DataZone catalog.

", "ListingRevisionInput$revision": "

The details of a revision to be made to an asset published in a Amazon DataZone catalog.

", + "ListingSummary$listingRevision": "

The revision of the data product listing.

", + "ListingSummaryItem$listingRevision": "

The revision of the data product listing.

", "MetadataGenerationRunTarget$revision": "

The revision of the asset for which metadata was generated.

", "RejectPredictionsInput$revision": "

The revision that is to be made to the asset.

", "RejectPredictionsOutput$assetRevision": "

The revision that is to be made to the asset.

", "SubscribedAsset$assetRevision": "

The revision of the asset for which the subscription grant is created.

", "SubscribedAssetListing$entityRevision": "

The revision of the published asset for which the subscription grant is created.

", "SubscribedListing$revision": "

The revision of the published asset for which the subscription grant is created.

", + "SubscribedProductListing$entityRevision": "

The revision of the data product listing.

", "TimeSeriesDataPointFormInput$typeRevision": "

The revision type of the time series data points form.

", "TimeSeriesDataPointFormOutput$typeRevision": "

The revision type of the time series data points form.

", "TimeSeriesDataPointSummaryFormOutput$typeRevision": "

The type revision of the time series data points summary form.

" @@ -4301,6 +4584,9 @@ "AcceptSubscriptionRequestOutput$reviewerId": "

Specifes the ID of the Amazon DataZone user who reviewed the subscription request.

", "AssetFilterSummary$effectiveRowFilter": "

The effective row filter of the asset filter.

", "AssetFilterSummary$errorMessage": "

The error message that is displayed if the action does not succeed.

", + "AssetInDataProductListingItem$entityId": "

The entity ID of the listing of the asset in a data product.

", + "AssetInDataProductListingItem$entityRevision": "

The entity revision of the listing of the asset in a data product.

", + "AssetInDataProductListingItem$entityType": "

The entity type of the listing of the asset in a data product.

", "AssetTargetNameMap$targetName": "

The target name in the asset target name map.

", "AssociateEnvironmentRoleInput$environmentRoleArn": "

The ARN of the environment role.

", "AwsConsoleLinkParameters$uri": "

The URI of the console link specified as part of the environment action.

", @@ -4458,6 +4744,8 @@ "StringList$member": null, "SubscribedAsset$targetName": "

The target name of the asset for which the subscription grant is created.

", "SubscribedListing$ownerProjectName": "

The name of the project that owns the published asset for which the subscription grant is created.

", + "SubscribedProductListing$description": "

The description of the data product listing.

", + "SubscribedProductListing$name": "

The name of the data product listing.

", "SubscriptionRequestSummary$reviewerId": "

The identifier of the subscription request reviewer.

", "SubscriptionTargetForm$content": "

The content of the subscription target configuration.

", "SubscriptionTargetSummary$manageAccessRole": "

The manage access role specified in the subscription target.

", @@ -4584,6 +4872,12 @@ "CreateSubscriptionRequestInput$subscribedPrincipals": "

The Amazon DataZone principals for whom the subscription request is created.

" } }, + "SubscribedProductListing": { + "base": "

The data product listing.

", + "refs": { + "SubscribedListingItem$productListing": "

The data product listing.

" + } + }, "SubscribedProject": { "base": "

The project that has the subscription grant.

", "refs": { @@ -4651,7 +4945,7 @@ "ListSubscriptionGrantsInput$subscriptionId": "

The identifier of the subscription.

", "RevokeSubscriptionInput$identifier": "

The identifier of the revoked subscription.

", "RevokeSubscriptionOutput$id": "

The identifier of the revoked subscription.

", - "SubscriptionGrantSummary$subscriptionId": "

The ID of the subscription grant.

", + "SubscriptionGrantSummary$subscriptionId": "

The ID of the subscription.

", "SubscriptionSummary$id": "

The identifier of the subscription.

", "UpdateSubscriptionGrantStatusOutput$subscriptionId": "

The identifier of the subscription.

" } @@ -4683,7 +4977,7 @@ "AcceptSubscriptionRequestOutput$status": "

Specifies the status of the subscription request.

", "CreateSubscriptionRequestOutput$status": "

The status of the subscription request.

", "GetSubscriptionRequestDetailsOutput$status": "

The status of the subscription request.

", - "ListSubscriptionRequestsInput$status": "

Specifies the status of the subscription requests.

", + "ListSubscriptionRequestsInput$status": "

Specifies the status of the subscription requests.

This is not a required parameter, but if not specified, by default, Amazon DataZone returns only PENDING subscription requests.

", "RejectSubscriptionRequestOutput$status": "

The status of the subscription request.

", "SubscriptionRequestSummary$status": "

The status of the subscription request.

", "UpdateSubscriptionRequestOutput$status": "

The status of the subscription request.

" @@ -4718,7 +5012,7 @@ "refs": { "CancelSubscriptionOutput$status": "

The status of the request to cancel the subscription.

", "GetSubscriptionOutput$status": "

The status of the subscription.

", - "ListSubscriptionsInput$status": "

The status of the subscriptions that you want to list.

", + "ListSubscriptionsInput$status": "

The status of the subscriptions that you want to list.

This is not a required parameter, but if not provided, by default, Amazon DataZone returns only APPROVED subscriptions.

", "RevokeSubscriptionOutput$status": "

The status of the revoked subscription.

", "SubscriptionSummary$status": "

The status of the subscription.

" } @@ -5279,6 +5573,7 @@ "CreateSubscriptionGrantOutput$updatedBy": "

The Amazon DataZone user who updated the subscription grant.

", "CreateSubscriptionRequestOutput$updatedBy": "

The Amazon DataZone user who updated the subscription request.

", "CreateSubscriptionTargetOutput$updatedBy": "

The Amazon DataZone user who updated the subscription target.

", + "DataProductListingItem$listingUpdatedBy": "

The user who updated the listing.

", "DeleteSubscriptionGrantOutput$updatedBy": "

The Amazon DataZone user who updated the subscription grant that is deleted.

", "GetAssetTypeOutput$updatedBy": "

The Amazon DataZone user that updated the asset type.

", "GetGlossaryOutput$updatedBy": "

The Amazon DataZone user who updated the business glossary.

", diff --git a/apis/datazone/2018-05-10/paginators-1.json b/apis/datazone/2018-05-10/paginators-1.json index aab10c6eb1..f983daf1c8 100644 --- a/apis/datazone/2018-05-10/paginators-1.json +++ b/apis/datazone/2018-05-10/paginators-1.json @@ -12,6 +12,12 @@ "limit_key": "maxResults", "result_key": "items" }, + "ListDataProductRevisions": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "items" + }, "ListDataSourceRunActivities": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/apis/ecr/2015-09-21/api-2.json b/apis/ecr/2015-09-21/api-2.json index 8d1be9de82..2ddc879bee 100644 --- a/apis/ecr/2015-09-21/api-2.json +++ b/apis/ecr/2015-09-21/api-2.json @@ -346,6 +346,20 @@ {"shape":"InvalidParameterException"} ] }, + "GetAccountSetting":{ + "name":"GetAccountSetting", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetAccountSettingRequest"}, + "output":{"shape":"GetAccountSettingResponse"}, + "errors":[ + {"shape":"ServerException"}, + {"shape":"ValidationException"}, + {"shape":"InvalidParameterException"} + ] + }, "GetAuthorizationToken":{ "name":"GetAuthorizationToken", "http":{ @@ -495,6 +509,21 @@ {"shape":"ServerException"} ] }, + "PutAccountSetting":{ + "name":"PutAccountSetting", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"PutAccountSettingRequest"}, + "output":{"shape":"PutAccountSettingResponse"}, + "errors":[ + {"shape":"ServerException"}, + {"shape":"ValidationException"}, + {"shape":"InvalidParameterException"}, + {"shape":"LimitExceededException"} + ] + }, "PutImage":{ "name":"PutImage", "http":{ @@ -751,6 +780,12 @@ } }, "shapes":{ + "AccountSettingName":{ + "type":"string", + "max":64, + "min":1 + }, + "AccountSettingValue":{"type":"string"}, "Arch":{"type":"string"}, "Arn":{"type":"string"}, "Attribute":{ @@ -1329,6 +1364,20 @@ "value":{"shape":"SeverityCount"} }, "ForceFlag":{"type":"boolean"}, + "GetAccountSettingRequest":{ + "type":"structure", + "required":["name"], + "members":{ + "name":{"shape":"AccountSettingName"} + } + }, + "GetAccountSettingResponse":{ + "type":"structure", + "members":{ + "name":{"shape":"AccountSettingName"}, + "value":{"shape":"AccountSettingName"} + } + }, "GetAuthorizationTokenRegistryIdList":{ "type":"list", "member":{"shape":"RegistryId"}, @@ -2014,6 +2063,24 @@ "min":1 }, "PushTimestamp":{"type":"timestamp"}, + "PutAccountSettingRequest":{ + "type":"structure", + "required":[ + "name", + "value" + ], + "members":{ + "name":{"shape":"AccountSettingName"}, + "value":{"shape":"AccountSettingValue"} + } + }, + "PutAccountSettingResponse":{ + "type":"structure", + "members":{ + "name":{"shape":"AccountSettingName"}, + "value":{"shape":"AccountSettingValue"} + } + }, "PutImageRequest":{ "type":"structure", "required":[ diff --git a/apis/ecr/2015-09-21/docs-2.json b/apis/ecr/2015-09-21/docs-2.json index 1184eb21b2..e8cbaa227d 100644 --- a/apis/ecr/2015-09-21/docs-2.json +++ b/apis/ecr/2015-09-21/docs-2.json @@ -23,6 +23,7 @@ "DescribeRegistry": "

Describes the settings for a registry. The replication configuration for a repository can be created or updated with the PutReplicationConfiguration API action.

", "DescribeRepositories": "

Describes image repositories in a registry.

", "DescribeRepositoryCreationTemplates": "

Returns details about the repository creation templates in a registry. The prefixes request parameter can be used to return the details for a specific repository creation template.

", + "GetAccountSetting": "

Retrieves the basic scan type version name.

", "GetAuthorizationToken": "

Retrieves an authorization token. An authorization token represents your IAM authentication credentials and can be used to access any Amazon ECR registry that your IAM principal has access to. The authorization token is valid for 12 hours.

The authorizationToken returned is a base64 encoded string that can be decoded and used in a docker login command to authenticate to a registry. The CLI offers an get-login-password command that simplifies the login process. For more information, see Registry authentication in the Amazon Elastic Container Registry User Guide.

", "GetDownloadUrlForLayer": "

Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can only get URLs for image layers that are referenced in an image.

When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer that is not already cached.

This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

", "GetLifecyclePolicy": "

Retrieves the lifecycle policy for the specified repository.

", @@ -33,6 +34,7 @@ "InitiateLayerUpload": "

Notifies Amazon ECR that you intend to upload an image layer.

When an image is pushed, the InitiateLayerUpload API is called once per image layer that has not already been uploaded. Whether or not an image layer has been uploaded is determined by the BatchCheckLayerAvailability API action.

This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

", "ListImages": "

Lists all the image IDs for the specified repository.

You can filter images based on whether or not they are tagged by using the tagStatus filter and specifying either TAGGED, UNTAGGED or ANY. For example, you can filter your results to return only UNTAGGED images and then pipe that result to a BatchDeleteImage operation to delete them. Or, you can filter your results to return only TAGGED images to list all of the tags in your repository.

", "ListTagsForResource": "

List the tags for an Amazon ECR resource.

", + "PutAccountSetting": "

Allows you to change the basic scan type version by setting the name parameter to either CLAIR to AWS_NATIVE.

", "PutImage": "

Creates or updates the image manifest and tags associated with an image.

When an image is pushed and all new image layers have been uploaded, the PutImage API is called once to create or update the image manifest and the tags associated with the image.

This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

", "PutImageScanningConfiguration": "

The PutImageScanningConfiguration API is being deprecated, in favor of specifying the image scanning configuration at the registry level. For more information, see PutRegistryScanningConfiguration.

Updates the image scanning configuration for the specified repository.

", "PutImageTagMutability": "

Updates the image tag mutability settings for the specified repository. For more information, see Image tag mutability in the Amazon Elastic Container Registry User Guide.

", @@ -51,6 +53,23 @@ "ValidatePullThroughCacheRule": "

Validates an existing pull through cache rule for an upstream registry that requires authentication. This will retrieve the contents of the Amazon Web Services Secrets Manager secret, verify the syntax, and then validate that authentication to the upstream registry is successful.

" }, "shapes": { + "AccountSettingName": { + "base": null, + "refs": { + "GetAccountSettingRequest$name": "

Basic scan type version name.

", + "GetAccountSettingResponse$name": "

Retrieves the basic scan type version name.

", + "GetAccountSettingResponse$value": "

Retrieves the value that specifies what basic scan type is being used: AWS_NATIVE or CLAIR.

", + "PutAccountSettingRequest$name": "

Basic scan type version name.

", + "PutAccountSettingResponse$name": "

Retrieves the the basic scan type version name.

" + } + }, + "AccountSettingValue": { + "base": null, + "refs": { + "PutAccountSettingRequest$value": "

Setting value that determines what basic scan type is being used: AWS_NATIVE or CLAIR.

", + "PutAccountSettingResponse$value": "

Retrieves the basic scan type value, either AWS_NATIVE or -.

" + } + }, "Arch": { "base": null, "refs": { @@ -245,9 +264,9 @@ "CustomRoleArn": { "base": null, "refs": { - "CreateRepositoryCreationTemplateRequest$customRoleArn": "

The ARN of the role to be assumed by Amazon ECR. This role must be in the same account as the registry that you are configuring.

", - "RepositoryCreationTemplate$customRoleArn": "

The ARN of the role to be assumed by Amazon ECR.

", - "UpdateRepositoryCreationTemplateRequest$customRoleArn": "

The ARN of the role to be assumed by Amazon ECR. This role must be in the same account as the registry that you are configuring.

" + "CreateRepositoryCreationTemplateRequest$customRoleArn": "

The ARN of the role to be assumed by Amazon ECR. This role must be in the same account as the registry that you are configuring. Amazon ECR will assume your supplied role when the customRoleArn is specified. When this field isn't specified, Amazon ECR will use the service-linked role for the repository creation template.

", + "RepositoryCreationTemplate$customRoleArn": "

The ARN of the role to be assumed by Amazon ECR. Amazon ECR will assume your supplied role when the customRoleArn is specified. When this field isn't specified, Amazon ECR will use the service-linked role for the repository creation template.

", + "UpdateRepositoryCreationTemplateRequest$customRoleArn": "

The ARN of the role to be assumed by Amazon ECR. This role must be in the same account as the registry that you are configuring. Amazon ECR will assume your supplied role when the customRoleArn is specified. When this field isn't specified, Amazon ECR will use the service-linked role for the repository creation template.

" } }, "CvssScore": { @@ -578,6 +597,16 @@ "SetRepositoryPolicyRequest$force": "

If the policy you are attempting to set on a repository policy would prevent you from setting another policy in the future, you must force the SetRepositoryPolicy operation. This is intended to prevent accidental repository lock outs.

" } }, + "GetAccountSettingRequest": { + "base": null, + "refs": { + } + }, + "GetAccountSettingResponse": { + "base": null, + "refs": { + } + }, "GetAuthorizationTokenRegistryIdList": { "base": null, "refs": { @@ -1294,6 +1323,16 @@ "LifecyclePolicyPreviewResult$imagePushedAt": "

The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.

" } }, + "PutAccountSettingRequest": { + "base": null, + "refs": { + } + }, + "PutAccountSettingResponse": { + "base": null, + "refs": { + } + }, "PutImageRequest": { "base": null, "refs": { diff --git a/apis/kinesis-video-webrtc-storage/2018-05-10/api-2.json b/apis/kinesis-video-webrtc-storage/2018-05-10/api-2.json index bdf12bafc7..bb7377e788 100644 --- a/apis/kinesis-video-webrtc-storage/2018-05-10/api-2.json +++ b/apis/kinesis-video-webrtc-storage/2018-05-10/api-2.json @@ -26,6 +26,21 @@ {"shape":"AccessDeniedException"}, {"shape":"ResourceNotFoundException"} ] + }, + "JoinStorageSessionAsViewer":{ + "name":"JoinStorageSessionAsViewer", + "http":{ + "method":"POST", + "requestUri":"/joinStorageSessionAsViewer", + "responseCode":200 + }, + "input":{"shape":"JoinStorageSessionAsViewerInput"}, + "errors":[ + {"shape":"ClientLimitExceededException"}, + {"shape":"InvalidArgumentException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"} + ] } }, "shapes":{ @@ -44,6 +59,12 @@ "type":"string", "pattern":"^arn:(aws[a-zA-Z-]*):kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+$" }, + "ClientId":{ + "type":"string", + "max":256, + "min":1, + "pattern":"^[a-zA-Z0-9_.-]+$" + }, "ClientLimitExceededException":{ "type":"structure", "members":{ @@ -66,6 +87,17 @@ }, "exception":true }, + "JoinStorageSessionAsViewerInput":{ + "type":"structure", + "required":[ + "channelArn", + "clientId" + ], + "members":{ + "channelArn":{"shape":"ChannelArn"}, + "clientId":{"shape":"ClientId"} + } + }, "JoinStorageSessionInput":{ "type":"structure", "required":["channelArn"], diff --git a/apis/kinesis-video-webrtc-storage/2018-05-10/docs-2.json b/apis/kinesis-video-webrtc-storage/2018-05-10/docs-2.json index deecabc05d..ae7f5a8337 100644 --- a/apis/kinesis-video-webrtc-storage/2018-05-10/docs-2.json +++ b/apis/kinesis-video-webrtc-storage/2018-05-10/docs-2.json @@ -1,8 +1,9 @@ { "version": "2.0", - "service": "

", + "service": "

webrtc

", "operations": { - "JoinStorageSession": "

Join the ongoing one way-video and/or multi-way audio WebRTC session as a video producing device for an input channel. If there’s no existing session for the channel, a new streaming session needs to be created, and the Amazon Resource Name (ARN) of the signaling channel must be provided.

Currently for the SINGLE_MASTER type, a video producing device is able to ingest both audio and video media into a stream, while viewers can only ingest audio. Both a video producing device and viewers can join the session first, and wait for other participants.

While participants are having peer to peer conversations through webRTC, the ingested media session will be stored into the Kinesis Video Stream. Multiple viewers are able to playback real-time media.

Customers can also use existing Kinesis Video Streams features like HLS or DASH playback, Image generation, and more with ingested WebRTC media.

Assume that only one video producing device client can be associated with a session for the channel. If more than one client joins the session of a specific channel as a video producing device, the most recent client request takes precedence.

" + "JoinStorageSession": "

Before using this API, you must call the GetSignalingChannelEndpoint API to request the WEBRTC endpoint. You then specify the endpoint and region in your JoinStorageSession API request.

Join the ongoing one way-video and/or multi-way audio WebRTC session as a video producing device for an input channel. If there’s no existing session for the channel, a new streaming session needs to be created, and the Amazon Resource Name (ARN) of the signaling channel must be provided.

Currently for the SINGLE_MASTER type, a video producing device is able to ingest both audio and video media into a stream. Only video producing devices can join the session and record media.

Both audio and video tracks are currently required for WebRTC ingestion.

Current requirements:

The resulting ingested video in the Kinesis video stream will have the following parameters: H.264 video and AAC audio.

Once a master participant has negotiated a connection through WebRTC, the ingested media session will be stored in the Kinesis video stream. Multiple viewers are then able to play back real-time media through our Playback APIs.

You can also use existing Kinesis Video Streams features like HLS or DASH playback, image generation via GetImages, and more with ingested WebRTC media.

S3 image delivery and notifications are not currently supported.

Assume that only one video producing device client can be associated with a session for the channel. If more than one client joins the session of a specific channel as a video producing device, the most recent client request takes precedence.

Additional information

", + "JoinStorageSessionAsViewer": "

Join the ongoing one way-video and/or multi-way audio WebRTC session as a viewer for an input channel. If there’s no existing session for the channel, create a new streaming session and provide the Amazon Resource Name (ARN) of the signaling channel (channelArn) and client id (clientId).

Currently for SINGLE_MASTER type, a video producing device is able to ingest both audio and video media into a stream, while viewers can only ingest audio. Both a video producing device and viewers can join a session first and wait for other participants. While participants are having peer to peer conversations through WebRTC, the ingested media session will be stored into the Kinesis Video Stream. Multiple viewers are able to playback real-time media.

Customers can also use existing Kinesis Video Streams features like HLS or DASH playback, Image generation, and more with ingested WebRTC media. If there’s an existing session with the same clientId that's found in the join session request, the new request takes precedence.

" }, "shapes": { "AccessDeniedException": { @@ -13,9 +14,16 @@ "ChannelArn": { "base": null, "refs": { + "JoinStorageSessionAsViewerInput$channelArn": "

The Amazon Resource Name (ARN) of the signaling channel.

", "JoinStorageSessionInput$channelArn": "

The Amazon Resource Name (ARN) of the signaling channel.

" } }, + "ClientId": { + "base": null, + "refs": { + "JoinStorageSessionAsViewerInput$clientId": "

The unique identifier for the sender client.

" + } + }, "ClientLimitExceededException": { "base": "

Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client calls. Try making the call later.

", "refs": { @@ -26,6 +34,11 @@ "refs": { } }, + "JoinStorageSessionAsViewerInput": { + "base": null, + "refs": { + } + }, "JoinStorageSessionInput": { "base": null, "refs": { diff --git a/apis/kinesis-video-webrtc-storage/2018-05-10/endpoint-rule-set-1.json b/apis/kinesis-video-webrtc-storage/2018-05-10/endpoint-rule-set-1.json index f61682a8f1..d6abb57a2f 100644 --- a/apis/kinesis-video-webrtc-storage/2018-05-10/endpoint-rule-set-1.json +++ b/apis/kinesis-video-webrtc-storage/2018-05-10/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -59,7 +58,6 @@ }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -87,13 +85,14 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -106,7 +105,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -120,7 +118,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -143,7 +140,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -178,11 +174,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -193,16 +187,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -216,14 +213,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -232,15 +227,14 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -251,16 +245,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -274,7 +271,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -294,11 +290,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -309,20 +303,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -333,18 +329,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } - ] + ], + "type": "tree" } ] } \ No newline at end of file diff --git a/apis/pi/2018-02-27/docs-2.json b/apis/pi/2018-02-27/docs-2.json index 7e5dc0d809..97de8a20c8 100644 --- a/apis/pi/2018-02-27/docs-2.json +++ b/apis/pi/2018-02-27/docs-2.json @@ -625,7 +625,7 @@ "SanitizedStringList": { "base": null, "refs": { - "DimensionGroup$Dimensions": "

A list of specific dimensions from a dimension group. If this parameter is not present, then it signifies that all of the dimensions in the group were requested, or are present in the response.

Valid values for elements in the Dimensions array are:

" + "DimensionGroup$Dimensions": "

A list of specific dimensions from a dimension group. If this parameter is not present, then it signifies that all of the dimensions in the group were requested, or are present in the response.

Valid values for elements in the Dimensions array are:

" } }, "ServiceType": { diff --git a/gems/aws-partitions/CHANGELOG.md b/gems/aws-partitions/CHANGELOG.md index 1b2dd8fcde..9616e2bce1 100644 --- a/gems/aws-partitions/CHANGELOG.md +++ b/gems/aws-partitions/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.962.0 (2024-08-05) +------------------ + +* Feature - Updated the partitions source data the determines the AWS service regions and endpoints. + 1.961.0 (2024-08-01) ------------------ diff --git a/gems/aws-partitions/VERSION b/gems/aws-partitions/VERSION index 20a74df229..7be1c616d1 100644 --- a/gems/aws-partitions/VERSION +++ b/gems/aws-partitions/VERSION @@ -1 +1 @@ -1.961.0 +1.962.0 diff --git a/gems/aws-partitions/partitions.json b/gems/aws-partitions/partitions.json index 5877b015f7..b6a10d3539 100644 --- a/gems/aws-partitions/partitions.json +++ b/gems/aws-partitions/partitions.json @@ -26437,6 +26437,12 @@ "isRegionalized" : false, "partitionEndpoint" : "aws-us-gov-global" }, + "oam" : { + "endpoints" : { + "us-gov-east-1" : { }, + "us-gov-west-1" : { } + } + }, "oidc" : { "endpoints" : { "us-gov-east-1" : { diff --git a/gems/aws-sdk-datazone/CHANGELOG.md b/gems/aws-sdk-datazone/CHANGELOG.md index 9181e254c8..e2efffbb9b 100644 --- a/gems/aws-sdk-datazone/CHANGELOG.md +++ b/gems/aws-sdk-datazone/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.18.0 (2024-08-05) +------------------ + +* Feature - This releases Data Product feature. Data Products allow grouping data assets into cohesive, self-contained units for ease of publishing for data producers, and ease of finding and accessing for data consumers. + 1.17.0 (2024-07-25) ------------------ diff --git a/gems/aws-sdk-datazone/VERSION b/gems/aws-sdk-datazone/VERSION index 092afa15df..84cc529467 100644 --- a/gems/aws-sdk-datazone/VERSION +++ b/gems/aws-sdk-datazone/VERSION @@ -1 +1 @@ -1.17.0 +1.18.0 diff --git a/gems/aws-sdk-datazone/lib/aws-sdk-datazone.rb b/gems/aws-sdk-datazone/lib/aws-sdk-datazone.rb index fd9bf8e2e9..eada511f53 100644 --- a/gems/aws-sdk-datazone/lib/aws-sdk-datazone.rb +++ b/gems/aws-sdk-datazone/lib/aws-sdk-datazone.rb @@ -52,6 +52,6 @@ # @!group service module Aws::DataZone - GEM_VERSION = '1.17.0' + GEM_VERSION = '1.18.0' end diff --git a/gems/aws-sdk-datazone/lib/aws-sdk-datazone/client.rb b/gems/aws-sdk-datazone/lib/aws-sdk-datazone/client.rb index 1bc24ca4e2..6a43dfe6de 100644 --- a/gems/aws-sdk-datazone/lib/aws-sdk-datazone/client.rb +++ b/gems/aws-sdk-datazone/lib/aws-sdk-datazone/client.rb @@ -551,6 +551,17 @@ def accept_predictions(params = {}, options = {}) # resp.subscribed_listings[0].item.asset_listing.glossary_terms #=> Array # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].name #=> String # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].short_description #=> String + # resp.subscribed_listings[0].item.product_listing.asset_listings #=> Array + # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_id #=> String + # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_revision #=> String + # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_type #=> String + # resp.subscribed_listings[0].item.product_listing.description #=> String + # resp.subscribed_listings[0].item.product_listing.entity_id #=> String + # resp.subscribed_listings[0].item.product_listing.entity_revision #=> String + # resp.subscribed_listings[0].item.product_listing.glossary_terms #=> Array + # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].name #=> String + # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].short_description #=> String + # resp.subscribed_listings[0].item.product_listing.name #=> String # resp.subscribed_listings[0].name #=> String # resp.subscribed_listings[0].owner_project_id #=> String # resp.subscribed_listings[0].owner_project_name #=> String @@ -675,6 +686,17 @@ def cancel_metadata_generation_run(params = {}, options = {}) # resp.subscribed_listing.item.asset_listing.glossary_terms #=> Array # resp.subscribed_listing.item.asset_listing.glossary_terms[0].name #=> String # resp.subscribed_listing.item.asset_listing.glossary_terms[0].short_description #=> String + # resp.subscribed_listing.item.product_listing.asset_listings #=> Array + # resp.subscribed_listing.item.product_listing.asset_listings[0].entity_id #=> String + # resp.subscribed_listing.item.product_listing.asset_listings[0].entity_revision #=> String + # resp.subscribed_listing.item.product_listing.asset_listings[0].entity_type #=> String + # resp.subscribed_listing.item.product_listing.description #=> String + # resp.subscribed_listing.item.product_listing.entity_id #=> String + # resp.subscribed_listing.item.product_listing.entity_revision #=> String + # resp.subscribed_listing.item.product_listing.glossary_terms #=> Array + # resp.subscribed_listing.item.product_listing.glossary_terms[0].name #=> String + # resp.subscribed_listing.item.product_listing.glossary_terms[0].short_description #=> String + # resp.subscribed_listing.item.product_listing.name #=> String # resp.subscribed_listing.name #=> String # resp.subscribed_listing.owner_project_id #=> String # resp.subscribed_listing.owner_project_name #=> String @@ -1207,6 +1229,226 @@ def create_asset_type(params = {}, options = {}) req.send_request(options) end + # Creates a data product. + # + # @option params [String] :client_token + # A unique, case-sensitive identifier that is provided to ensure the + # idempotency of the request. + # + # **A suitable default value is auto-generated.** You should normally + # not need to pass this option.** + # + # @option params [String] :description + # The description of the data product. + # + # @option params [required, String] :domain_identifier + # The ID of the domain where the data product is created. + # + # @option params [Array] :forms_input + # The metadata forms of the data product. + # + # @option params [Array] :glossary_terms + # The glossary terms of the data product. + # + # @option params [Array] :items + # The data assets of the data product. + # + # @option params [required, String] :name + # The name of the data product. + # + # @option params [required, String] :owning_project_identifier + # The ID of the owning project of the data product. + # + # @return [Types::CreateDataProductOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::CreateDataProductOutput#created_at #created_at} => Time + # * {Types::CreateDataProductOutput#created_by #created_by} => String + # * {Types::CreateDataProductOutput#description #description} => String + # * {Types::CreateDataProductOutput#domain_id #domain_id} => String + # * {Types::CreateDataProductOutput#first_revision_created_at #first_revision_created_at} => Time + # * {Types::CreateDataProductOutput#first_revision_created_by #first_revision_created_by} => String + # * {Types::CreateDataProductOutput#forms_output #forms_output} => Array<Types::FormOutput> + # * {Types::CreateDataProductOutput#glossary_terms #glossary_terms} => Array<String> + # * {Types::CreateDataProductOutput#id #id} => String + # * {Types::CreateDataProductOutput#items #items} => Array<Types::DataProductItem> + # * {Types::CreateDataProductOutput#name #name} => String + # * {Types::CreateDataProductOutput#owning_project_id #owning_project_id} => String + # * {Types::CreateDataProductOutput#revision #revision} => String + # * {Types::CreateDataProductOutput#status #status} => String + # + # @example Request syntax with placeholder values + # + # resp = client.create_data_product({ + # client_token: "ClientToken", + # description: "DataProductDescription", + # domain_identifier: "DomainId", # required + # forms_input: [ + # { + # content: "FormInputContentString", + # form_name: "FormName", # required + # type_identifier: "FormTypeIdentifier", + # type_revision: "Revision", + # }, + # ], + # glossary_terms: ["GlossaryTermId"], + # items: [ + # { + # glossary_terms: ["GlossaryTermId"], + # identifier: "EntityIdentifier", # required + # item_type: "ASSET", # required, accepts ASSET + # revision: "Revision", + # }, + # ], + # name: "DataProductName", # required + # owning_project_identifier: "ProjectId", # required + # }) + # + # @example Response structure + # + # resp.created_at #=> Time + # resp.created_by #=> String + # resp.description #=> String + # resp.domain_id #=> String + # resp.first_revision_created_at #=> Time + # resp.first_revision_created_by #=> String + # resp.forms_output #=> Array + # resp.forms_output[0].content #=> String + # resp.forms_output[0].form_name #=> String + # resp.forms_output[0].type_name #=> String + # resp.forms_output[0].type_revision #=> String + # resp.glossary_terms #=> Array + # resp.glossary_terms[0] #=> String + # resp.id #=> String + # resp.items #=> Array + # resp.items[0].glossary_terms #=> Array + # resp.items[0].glossary_terms[0] #=> String + # resp.items[0].identifier #=> String + # resp.items[0].item_type #=> String, one of "ASSET" + # resp.items[0].revision #=> String + # resp.name #=> String + # resp.owning_project_id #=> String + # resp.revision #=> String + # resp.status #=> String, one of "CREATED", "CREATING", "CREATE_FAILED" + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateDataProduct AWS API Documentation + # + # @overload create_data_product(params = {}) + # @param [Hash] params ({}) + def create_data_product(params = {}, options = {}) + req = build_request(:create_data_product, params) + req.send_request(options) + end + + # Creates a data product revision. + # + # @option params [String] :client_token + # A unique, case-sensitive identifier that is provided to ensure the + # idempotency of the request. + # + # **A suitable default value is auto-generated.** You should normally + # not need to pass this option.** + # + # @option params [String] :description + # The description of the data product revision. + # + # @option params [required, String] :domain_identifier + # The ID of the domain where the data product revision is created. + # + # @option params [Array] :forms_input + # The metadata forms of the data product revision. + # + # @option params [Array] :glossary_terms + # The glossary terms of the data product revision. + # + # @option params [required, String] :identifier + # The ID of the data product revision. + # + # @option params [Array] :items + # The data assets of the data product revision. + # + # @option params [required, String] :name + # The name of the data product revision. + # + # @return [Types::CreateDataProductRevisionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::CreateDataProductRevisionOutput#created_at #created_at} => Time + # * {Types::CreateDataProductRevisionOutput#created_by #created_by} => String + # * {Types::CreateDataProductRevisionOutput#description #description} => String + # * {Types::CreateDataProductRevisionOutput#domain_id #domain_id} => String + # * {Types::CreateDataProductRevisionOutput#first_revision_created_at #first_revision_created_at} => Time + # * {Types::CreateDataProductRevisionOutput#first_revision_created_by #first_revision_created_by} => String + # * {Types::CreateDataProductRevisionOutput#forms_output #forms_output} => Array<Types::FormOutput> + # * {Types::CreateDataProductRevisionOutput#glossary_terms #glossary_terms} => Array<String> + # * {Types::CreateDataProductRevisionOutput#id #id} => String + # * {Types::CreateDataProductRevisionOutput#items #items} => Array<Types::DataProductItem> + # * {Types::CreateDataProductRevisionOutput#name #name} => String + # * {Types::CreateDataProductRevisionOutput#owning_project_id #owning_project_id} => String + # * {Types::CreateDataProductRevisionOutput#revision #revision} => String + # * {Types::CreateDataProductRevisionOutput#status #status} => String + # + # @example Request syntax with placeholder values + # + # resp = client.create_data_product_revision({ + # client_token: "ClientToken", + # description: "DataProductDescription", + # domain_identifier: "DomainId", # required + # forms_input: [ + # { + # content: "FormInputContentString", + # form_name: "FormName", # required + # type_identifier: "FormTypeIdentifier", + # type_revision: "Revision", + # }, + # ], + # glossary_terms: ["GlossaryTermId"], + # identifier: "DataProductId", # required + # items: [ + # { + # glossary_terms: ["GlossaryTermId"], + # identifier: "EntityIdentifier", # required + # item_type: "ASSET", # required, accepts ASSET + # revision: "Revision", + # }, + # ], + # name: "DataProductName", # required + # }) + # + # @example Response structure + # + # resp.created_at #=> Time + # resp.created_by #=> String + # resp.description #=> String + # resp.domain_id #=> String + # resp.first_revision_created_at #=> Time + # resp.first_revision_created_by #=> String + # resp.forms_output #=> Array + # resp.forms_output[0].content #=> String + # resp.forms_output[0].form_name #=> String + # resp.forms_output[0].type_name #=> String + # resp.forms_output[0].type_revision #=> String + # resp.glossary_terms #=> Array + # resp.glossary_terms[0] #=> String + # resp.id #=> String + # resp.items #=> Array + # resp.items[0].glossary_terms #=> Array + # resp.items[0].glossary_terms[0] #=> String + # resp.items[0].identifier #=> String + # resp.items[0].item_type #=> String, one of "ASSET" + # resp.items[0].revision #=> String + # resp.name #=> String + # resp.owning_project_id #=> String + # resp.revision #=> String + # resp.status #=> String, one of "CREATED", "CREATING", "CREATE_FAILED" + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateDataProductRevision AWS API Documentation + # + # @overload create_data_product_revision(params = {}) + # @param [Hash] params ({}) + def create_data_product_revision(params = {}, options = {}) + req = build_request(:create_data_product_revision, params) + req.send_request(options) + end + # Creates an Amazon DataZone data source. # # @option params [Array] :asset_forms_input @@ -2085,7 +2327,7 @@ def create_group_profile(params = {}, options = {}) # domain_identifier: "DomainId", # required # entity_identifier: "EntityIdentifier", # required # entity_revision: "Revision", - # entity_type: "ASSET", # required, accepts ASSET + # entity_type: "ASSET", # required, accepts ASSET, DATA_PRODUCT # }) # # @example Response structure @@ -2372,6 +2614,17 @@ def create_subscription_grant(params = {}, options = {}) # resp.subscribed_listings[0].item.asset_listing.glossary_terms #=> Array # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].name #=> String # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].short_description #=> String + # resp.subscribed_listings[0].item.product_listing.asset_listings #=> Array + # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_id #=> String + # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_revision #=> String + # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_type #=> String + # resp.subscribed_listings[0].item.product_listing.description #=> String + # resp.subscribed_listings[0].item.product_listing.entity_id #=> String + # resp.subscribed_listings[0].item.product_listing.entity_revision #=> String + # resp.subscribed_listings[0].item.product_listing.glossary_terms #=> Array + # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].name #=> String + # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].short_description #=> String + # resp.subscribed_listings[0].item.product_listing.name #=> String # resp.subscribed_listings[0].name #=> String # resp.subscribed_listings[0].owner_project_id #=> String # resp.subscribed_listings[0].owner_project_name #=> String @@ -2553,7 +2806,7 @@ def create_user_profile(params = {}, options = {}) req.send_request(options) end - # Delets an asset in Amazon DataZone. + # Deletes an asset in Amazon DataZone. # # @option params [required, String] :domain_identifier # The ID of the Amazon DataZone domain in which the asset is deleted. @@ -2636,6 +2889,33 @@ def delete_asset_type(params = {}, options = {}) req.send_request(options) end + # Deletes an data product in Amazon DataZone. + # + # @option params [required, String] :domain_identifier + # The ID of the Amazon DataZone domain in which the data product is + # deleted. + # + # @option params [required, String] :identifier + # The identifier of the data product that is deleted. + # + # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # + # @example Request syntax with placeholder values + # + # resp = client.delete_data_product({ + # domain_identifier: "DomainId", # required + # identifier: "DataProductId", # required + # }) + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteDataProduct AWS API Documentation + # + # @overload delete_data_product(params = {}) + # @param [Hash] params ({}) + def delete_data_product(params = {}, options = {}) + req = build_request(:delete_data_product, params) + req.send_request(options) + end + # Deletes a data source in Amazon DataZone. # # @option params [String] :client_token @@ -3515,6 +3795,78 @@ def get_asset_type(params = {}, options = {}) req.send_request(options) end + # Gets the data product. + # + # @option params [required, String] :domain_identifier + # The ID of the domain where the data product lives. + # + # @option params [required, String] :identifier + # The ID of the data product. + # + # @option params [String] :revision + # The revision of the data product. + # + # @return [Types::GetDataProductOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::GetDataProductOutput#created_at #created_at} => Time + # * {Types::GetDataProductOutput#created_by #created_by} => String + # * {Types::GetDataProductOutput#description #description} => String + # * {Types::GetDataProductOutput#domain_id #domain_id} => String + # * {Types::GetDataProductOutput#first_revision_created_at #first_revision_created_at} => Time + # * {Types::GetDataProductOutput#first_revision_created_by #first_revision_created_by} => String + # * {Types::GetDataProductOutput#forms_output #forms_output} => Array<Types::FormOutput> + # * {Types::GetDataProductOutput#glossary_terms #glossary_terms} => Array<String> + # * {Types::GetDataProductOutput#id #id} => String + # * {Types::GetDataProductOutput#items #items} => Array<Types::DataProductItem> + # * {Types::GetDataProductOutput#name #name} => String + # * {Types::GetDataProductOutput#owning_project_id #owning_project_id} => String + # * {Types::GetDataProductOutput#revision #revision} => String + # * {Types::GetDataProductOutput#status #status} => String + # + # @example Request syntax with placeholder values + # + # resp = client.get_data_product({ + # domain_identifier: "DomainId", # required + # identifier: "DataProductId", # required + # revision: "Revision", + # }) + # + # @example Response structure + # + # resp.created_at #=> Time + # resp.created_by #=> String + # resp.description #=> String + # resp.domain_id #=> String + # resp.first_revision_created_at #=> Time + # resp.first_revision_created_by #=> String + # resp.forms_output #=> Array + # resp.forms_output[0].content #=> String + # resp.forms_output[0].form_name #=> String + # resp.forms_output[0].type_name #=> String + # resp.forms_output[0].type_revision #=> String + # resp.glossary_terms #=> Array + # resp.glossary_terms[0] #=> String + # resp.id #=> String + # resp.items #=> Array + # resp.items[0].glossary_terms #=> Array + # resp.items[0].glossary_terms[0] #=> String + # resp.items[0].identifier #=> String + # resp.items[0].item_type #=> String, one of "ASSET" + # resp.items[0].revision #=> String + # resp.name #=> String + # resp.owning_project_id #=> String + # resp.revision #=> String + # resp.status #=> String, one of "CREATED", "CREATING", "CREATE_FAILED" + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetDataProduct AWS API Documentation + # + # @overload get_data_product(params = {}) + # @param [Hash] params ({}) + def get_data_product(params = {}, options = {}) + req = build_request(:get_data_product, params) + req.send_request(options) + end + # Gets an Amazon DataZone data source. # # @option params [required, String] :domain_identifier @@ -4412,7 +4764,9 @@ def get_lineage_node(params = {}, options = {}) req.send_request(options) end - # Gets a listing (a record of an asset at a given time). + # Gets a listing (a record of an asset at a given time). If you specify + # a listing version, only details that are specific to that version are + # returned. # # @option params [required, String] :domain_identifier # The ID of the Amazon DataZone domain. @@ -4468,6 +4822,20 @@ def get_lineage_node(params = {}, options = {}) # resp.item.asset_listing.latest_time_series_data_point_forms[0].type_identifier #=> String # resp.item.asset_listing.latest_time_series_data_point_forms[0].type_revision #=> String # resp.item.asset_listing.owning_project_id #=> String + # resp.item.data_product_listing.created_at #=> Time + # resp.item.data_product_listing.data_product_id #=> String + # resp.item.data_product_listing.data_product_revision #=> String + # resp.item.data_product_listing.forms #=> String + # resp.item.data_product_listing.glossary_terms #=> Array + # resp.item.data_product_listing.glossary_terms[0].name #=> String + # resp.item.data_product_listing.glossary_terms[0].short_description #=> String + # resp.item.data_product_listing.items #=> Array + # resp.item.data_product_listing.items[0].glossary_terms #=> Array + # resp.item.data_product_listing.items[0].glossary_terms[0].name #=> String + # resp.item.data_product_listing.items[0].glossary_terms[0].short_description #=> String + # resp.item.data_product_listing.items[0].listing_id #=> String + # resp.item.data_product_listing.items[0].listing_revision #=> String + # resp.item.data_product_listing.owning_project_id #=> String # resp.listing_revision #=> String # resp.name #=> String # resp.status #=> String, one of "CREATING", "ACTIVE", "INACTIVE" @@ -4631,6 +4999,17 @@ def get_project(params = {}, options = {}) # resp.subscribed_listing.item.asset_listing.glossary_terms #=> Array # resp.subscribed_listing.item.asset_listing.glossary_terms[0].name #=> String # resp.subscribed_listing.item.asset_listing.glossary_terms[0].short_description #=> String + # resp.subscribed_listing.item.product_listing.asset_listings #=> Array + # resp.subscribed_listing.item.product_listing.asset_listings[0].entity_id #=> String + # resp.subscribed_listing.item.product_listing.asset_listings[0].entity_revision #=> String + # resp.subscribed_listing.item.product_listing.asset_listings[0].entity_type #=> String + # resp.subscribed_listing.item.product_listing.description #=> String + # resp.subscribed_listing.item.product_listing.entity_id #=> String + # resp.subscribed_listing.item.product_listing.entity_revision #=> String + # resp.subscribed_listing.item.product_listing.glossary_terms #=> Array + # resp.subscribed_listing.item.product_listing.glossary_terms[0].name #=> String + # resp.subscribed_listing.item.product_listing.glossary_terms[0].short_description #=> String + # resp.subscribed_listing.item.product_listing.name #=> String # resp.subscribed_listing.name #=> String # resp.subscribed_listing.owner_project_id #=> String # resp.subscribed_listing.owner_project_name #=> String @@ -4763,6 +5142,17 @@ def get_subscription_grant(params = {}, options = {}) # resp.subscribed_listings[0].item.asset_listing.glossary_terms #=> Array # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].name #=> String # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].short_description #=> String + # resp.subscribed_listings[0].item.product_listing.asset_listings #=> Array + # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_id #=> String + # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_revision #=> String + # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_type #=> String + # resp.subscribed_listings[0].item.product_listing.description #=> String + # resp.subscribed_listings[0].item.product_listing.entity_id #=> String + # resp.subscribed_listings[0].item.product_listing.entity_revision #=> String + # resp.subscribed_listings[0].item.product_listing.glossary_terms #=> Array + # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].name #=> String + # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].short_description #=> String + # resp.subscribed_listings[0].item.product_listing.name #=> String # resp.subscribed_listings[0].name #=> String # resp.subscribed_listings[0].owner_project_id #=> String # resp.subscribed_listings[0].owner_project_name #=> String @@ -5084,6 +5474,67 @@ def list_asset_revisions(params = {}, options = {}) req.send_request(options) end + # Lists data product revisions. + # + # @option params [required, String] :domain_identifier + # The ID of the domain of the data product revisions that you want to + # list. + # + # @option params [required, String] :identifier + # The ID of the data product revision. + # + # @option params [Integer] :max_results + # The maximum number of asset filters to return in a single call to + # `ListDataProductRevisions`. When the number of data product revisions + # to be listed is greater than the value of `MaxResults`, the response + # contains a `NextToken` value that you can use in a subsequent call to + # `ListDataProductRevisions` to list the next set of data product + # revisions. + # + # @option params [String] :next_token + # When the number of data product revisions is greater than the default + # value for the `MaxResults` parameter, or if you explicitly specify a + # value for `MaxResults` that is less than the number of data product + # revisions, the response includes a pagination token named `NextToken`. + # You can specify this `NextToken` value in a subsequent call to + # `ListDataProductRevisions` to list the next set of data product + # revisions. + # + # @return [Types::ListDataProductRevisionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ListDataProductRevisionsOutput#items #items} => Array<Types::DataProductRevision> + # * {Types::ListDataProductRevisionsOutput#next_token #next_token} => String + # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # + # @example Request syntax with placeholder values + # + # resp = client.list_data_product_revisions({ + # domain_identifier: "DomainId", # required + # identifier: "DataProductId", # required + # max_results: 1, + # next_token: "PaginationToken", + # }) + # + # @example Response structure + # + # resp.items #=> Array + # resp.items[0].created_at #=> Time + # resp.items[0].created_by #=> String + # resp.items[0].domain_id #=> String + # resp.items[0].id #=> String + # resp.items[0].revision #=> String + # resp.next_token #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListDataProductRevisions AWS API Documentation + # + # @overload list_data_product_revisions(params = {}) + # @param [Hash] params ({}) + def list_data_product_revisions(params = {}, options = {}) + req = build_request(:list_data_product_revisions, params) + req.send_request(options) + end + # Lists data source run activities. # # @option params [required, String] :domain_identifier @@ -6143,6 +6594,9 @@ def list_projects(params = {}, options = {}) # You can specify this `NextToken` value in a subsequent call to # `ListSubscriptionGrants` to list the next set of subscription grants. # + # @option params [String] :owning_project_id + # The ID of the owning project of the subscription grants. + # # @option params [String] :sort_by # Specifies the way of sorting the results of this action. # @@ -6172,6 +6626,7 @@ def list_projects(params = {}, options = {}) # environment_id: "EnvironmentId", # max_results: 1, # next_token: "PaginationToken", + # owning_project_id: "ProjectId", # sort_by: "CREATED_AT", # accepts CREATED_AT, UPDATED_AT # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING # subscribed_listing_id: "ListingId", @@ -6249,6 +6704,11 @@ def list_subscription_grants(params = {}, options = {}) # @option params [String] :status # Specifies the status of the subscription requests. # + # This is not a required parameter, but if not specified, by default, + # Amazon DataZone returns only `PENDING` subscription requests. + # + # + # # @option params [String] :subscribed_listing_id # The identifier of the subscribed listing. # @@ -6294,6 +6754,17 @@ def list_subscription_grants(params = {}, options = {}) # resp.items[0].subscribed_listings[0].item.asset_listing.glossary_terms #=> Array # resp.items[0].subscribed_listings[0].item.asset_listing.glossary_terms[0].name #=> String # resp.items[0].subscribed_listings[0].item.asset_listing.glossary_terms[0].short_description #=> String + # resp.items[0].subscribed_listings[0].item.product_listing.asset_listings #=> Array + # resp.items[0].subscribed_listings[0].item.product_listing.asset_listings[0].entity_id #=> String + # resp.items[0].subscribed_listings[0].item.product_listing.asset_listings[0].entity_revision #=> String + # resp.items[0].subscribed_listings[0].item.product_listing.asset_listings[0].entity_type #=> String + # resp.items[0].subscribed_listings[0].item.product_listing.description #=> String + # resp.items[0].subscribed_listings[0].item.product_listing.entity_id #=> String + # resp.items[0].subscribed_listings[0].item.product_listing.entity_revision #=> String + # resp.items[0].subscribed_listings[0].item.product_listing.glossary_terms #=> Array + # resp.items[0].subscribed_listings[0].item.product_listing.glossary_terms[0].name #=> String + # resp.items[0].subscribed_listings[0].item.product_listing.glossary_terms[0].short_description #=> String + # resp.items[0].subscribed_listings[0].item.product_listing.name #=> String # resp.items[0].subscribed_listings[0].name #=> String # resp.items[0].subscribed_listings[0].owner_project_id #=> String # resp.items[0].subscribed_listings[0].owner_project_name #=> String @@ -6435,6 +6906,11 @@ def list_subscription_targets(params = {}, options = {}) # @option params [String] :status # The status of the subscriptions that you want to list. # + # This is not a required parameter, but if not provided, by default, + # Amazon DataZone returns only `APPROVED` subscriptions. + # + # + # # @option params [String] :subscribed_listing_id # The identifier of the subscribed listing for the subscriptions that # you want to list. @@ -6483,6 +6959,17 @@ def list_subscription_targets(params = {}, options = {}) # resp.items[0].subscribed_listing.item.asset_listing.glossary_terms #=> Array # resp.items[0].subscribed_listing.item.asset_listing.glossary_terms[0].name #=> String # resp.items[0].subscribed_listing.item.asset_listing.glossary_terms[0].short_description #=> String + # resp.items[0].subscribed_listing.item.product_listing.asset_listings #=> Array + # resp.items[0].subscribed_listing.item.product_listing.asset_listings[0].entity_id #=> String + # resp.items[0].subscribed_listing.item.product_listing.asset_listings[0].entity_revision #=> String + # resp.items[0].subscribed_listing.item.product_listing.asset_listings[0].entity_type #=> String + # resp.items[0].subscribed_listing.item.product_listing.description #=> String + # resp.items[0].subscribed_listing.item.product_listing.entity_id #=> String + # resp.items[0].subscribed_listing.item.product_listing.entity_revision #=> String + # resp.items[0].subscribed_listing.item.product_listing.glossary_terms #=> Array + # resp.items[0].subscribed_listing.item.product_listing.glossary_terms[0].name #=> String + # resp.items[0].subscribed_listing.item.product_listing.glossary_terms[0].short_description #=> String + # resp.items[0].subscribed_listing.item.product_listing.name #=> String # resp.items[0].subscribed_listing.name #=> String # resp.items[0].subscribed_listing.owner_project_id #=> String # resp.items[0].subscribed_listing.owner_project_name #=> String @@ -6923,6 +7410,17 @@ def reject_predictions(params = {}, options = {}) # resp.subscribed_listings[0].item.asset_listing.glossary_terms #=> Array # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].name #=> String # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].short_description #=> String + # resp.subscribed_listings[0].item.product_listing.asset_listings #=> Array + # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_id #=> String + # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_revision #=> String + # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_type #=> String + # resp.subscribed_listings[0].item.product_listing.description #=> String + # resp.subscribed_listings[0].item.product_listing.entity_id #=> String + # resp.subscribed_listings[0].item.product_listing.entity_revision #=> String + # resp.subscribed_listings[0].item.product_listing.glossary_terms #=> Array + # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].name #=> String + # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].short_description #=> String + # resp.subscribed_listings[0].item.product_listing.name #=> String # resp.subscribed_listings[0].name #=> String # resp.subscribed_listings[0].owner_project_id #=> String # resp.subscribed_listings[0].owner_project_name #=> String @@ -6994,6 +7492,17 @@ def reject_subscription_request(params = {}, options = {}) # resp.subscribed_listing.item.asset_listing.glossary_terms #=> Array # resp.subscribed_listing.item.asset_listing.glossary_terms[0].name #=> String # resp.subscribed_listing.item.asset_listing.glossary_terms[0].short_description #=> String + # resp.subscribed_listing.item.product_listing.asset_listings #=> Array + # resp.subscribed_listing.item.product_listing.asset_listings[0].entity_id #=> String + # resp.subscribed_listing.item.product_listing.asset_listings[0].entity_revision #=> String + # resp.subscribed_listing.item.product_listing.asset_listings[0].entity_type #=> String + # resp.subscribed_listing.item.product_listing.description #=> String + # resp.subscribed_listing.item.product_listing.entity_id #=> String + # resp.subscribed_listing.item.product_listing.entity_revision #=> String + # resp.subscribed_listing.item.product_listing.glossary_terms #=> Array + # resp.subscribed_listing.item.product_listing.glossary_terms[0].name #=> String + # resp.subscribed_listing.item.product_listing.glossary_terms[0].short_description #=> String + # resp.subscribed_listing.item.product_listing.name #=> String # resp.subscribed_listing.name #=> String # resp.subscribed_listing.owner_project_id #=> String # resp.subscribed_listing.owner_project_name #=> String @@ -7090,7 +7599,7 @@ def revoke_subscription(params = {}, options = {}) # attribute: "Attribute", # required # }, # ], - # search_scope: "ASSET", # required, accepts ASSET, GLOSSARY, GLOSSARY_TERM + # search_scope: "ASSET", # required, accepts ASSET, GLOSSARY, GLOSSARY_TERM, DATA_PRODUCT # search_text: "SearchText", # sort: { # attribute: "Attribute", # required @@ -7132,6 +7641,17 @@ def revoke_subscription(params = {}, options = {}) # resp.items[0].asset_item.owning_project_id #=> String # resp.items[0].asset_item.type_identifier #=> String # resp.items[0].asset_item.type_revision #=> String + # resp.items[0].data_product_item.created_at #=> Time + # resp.items[0].data_product_item.created_by #=> String + # resp.items[0].data_product_item.description #=> String + # resp.items[0].data_product_item.domain_id #=> String + # resp.items[0].data_product_item.first_revision_created_at #=> Time + # resp.items[0].data_product_item.first_revision_created_by #=> String + # resp.items[0].data_product_item.glossary_terms #=> Array + # resp.items[0].data_product_item.glossary_terms[0] #=> String + # resp.items[0].data_product_item.id #=> String + # resp.items[0].data_product_item.name #=> String + # resp.items[0].data_product_item.owning_project_id #=> String # resp.items[0].glossary_item.created_at #=> Time # resp.items[0].glossary_item.created_by #=> String # resp.items[0].glossary_item.description #=> String @@ -7335,6 +7855,26 @@ def search_group_profiles(params = {}, options = {}) # resp.items[0].asset_listing.listing_updated_by #=> String # resp.items[0].asset_listing.name #=> String # resp.items[0].asset_listing.owning_project_id #=> String + # resp.items[0].data_product_listing.additional_attributes.forms #=> String + # resp.items[0].data_product_listing.created_at #=> Time + # resp.items[0].data_product_listing.description #=> String + # resp.items[0].data_product_listing.entity_id #=> String + # resp.items[0].data_product_listing.entity_revision #=> String + # resp.items[0].data_product_listing.glossary_terms #=> Array + # resp.items[0].data_product_listing.glossary_terms[0].name #=> String + # resp.items[0].data_product_listing.glossary_terms[0].short_description #=> String + # resp.items[0].data_product_listing.items #=> Array + # resp.items[0].data_product_listing.items[0].glossary_terms #=> Array + # resp.items[0].data_product_listing.items[0].glossary_terms[0].name #=> String + # resp.items[0].data_product_listing.items[0].glossary_terms[0].short_description #=> String + # resp.items[0].data_product_listing.items[0].listing_id #=> String + # resp.items[0].data_product_listing.items[0].listing_revision #=> String + # resp.items[0].data_product_listing.listing_created_by #=> String + # resp.items[0].data_product_listing.listing_id #=> String + # resp.items[0].data_product_listing.listing_revision #=> String + # resp.items[0].data_product_listing.listing_updated_by #=> String + # resp.items[0].data_product_listing.name #=> String + # resp.items[0].data_product_listing.owning_project_id #=> String # resp.next_token #=> String # resp.total_match_count #=> Integer # @@ -8843,6 +9383,17 @@ def update_subscription_grant_status(params = {}, options = {}) # resp.subscribed_listings[0].item.asset_listing.glossary_terms #=> Array # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].name #=> String # resp.subscribed_listings[0].item.asset_listing.glossary_terms[0].short_description #=> String + # resp.subscribed_listings[0].item.product_listing.asset_listings #=> Array + # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_id #=> String + # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_revision #=> String + # resp.subscribed_listings[0].item.product_listing.asset_listings[0].entity_type #=> String + # resp.subscribed_listings[0].item.product_listing.description #=> String + # resp.subscribed_listings[0].item.product_listing.entity_id #=> String + # resp.subscribed_listings[0].item.product_listing.entity_revision #=> String + # resp.subscribed_listings[0].item.product_listing.glossary_terms #=> Array + # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].name #=> String + # resp.subscribed_listings[0].item.product_listing.glossary_terms[0].short_description #=> String + # resp.subscribed_listings[0].item.product_listing.name #=> String # resp.subscribed_listings[0].name #=> String # resp.subscribed_listings[0].owner_project_id #=> String # resp.subscribed_listings[0].owner_project_name #=> String @@ -9032,7 +9583,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-datazone' - context[:gem_version] = '1.17.0' + context[:gem_version] = '1.18.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-datazone/lib/aws-sdk-datazone/client_api.rb b/gems/aws-sdk-datazone/lib/aws-sdk-datazone/client_api.rb index f3a8f69bae..239bb5de62 100644 --- a/gems/aws-sdk-datazone/lib/aws-sdk-datazone/client_api.rb +++ b/gems/aws-sdk-datazone/lib/aws-sdk-datazone/client_api.rb @@ -32,6 +32,8 @@ module ClientApi AssetFilters = Shapes::ListShape.new(name: 'AssetFilters') AssetId = Shapes::StringShape.new(name: 'AssetId') AssetIdentifier = Shapes::StringShape.new(name: 'AssetIdentifier') + AssetInDataProductListingItem = Shapes::StructureShape.new(name: 'AssetInDataProductListingItem') + AssetInDataProductListingItems = Shapes::ListShape.new(name: 'AssetInDataProductListingItems') AssetItem = Shapes::StructureShape.new(name: 'AssetItem') AssetItemAdditionalAttributes = Shapes::StructureShape.new(name: 'AssetItemAdditionalAttributes') AssetListing = Shapes::StructureShape.new(name: 'AssetListing') @@ -78,6 +80,10 @@ module ClientApi CreateAssetRevisionOutput = Shapes::StructureShape.new(name: 'CreateAssetRevisionOutput') CreateAssetTypeInput = Shapes::StructureShape.new(name: 'CreateAssetTypeInput') CreateAssetTypeOutput = Shapes::StructureShape.new(name: 'CreateAssetTypeOutput') + CreateDataProductInput = Shapes::StructureShape.new(name: 'CreateDataProductInput') + CreateDataProductOutput = Shapes::StructureShape.new(name: 'CreateDataProductOutput') + CreateDataProductRevisionInput = Shapes::StructureShape.new(name: 'CreateDataProductRevisionInput') + CreateDataProductRevisionOutput = Shapes::StructureShape.new(name: 'CreateDataProductRevisionOutput') CreateDataSourceInput = Shapes::StructureShape.new(name: 'CreateDataSourceInput') CreateDataSourceOutput = Shapes::StructureShape.new(name: 'CreateDataSourceOutput') CreateDomainInput = Shapes::StructureShape.new(name: 'CreateDomainInput') @@ -120,6 +126,19 @@ module ClientApi CustomParameterList = Shapes::ListShape.new(name: 'CustomParameterList') DataAssetActivityStatus = Shapes::StringShape.new(name: 'DataAssetActivityStatus') DataPointIdentifier = Shapes::StringShape.new(name: 'DataPointIdentifier') + DataProductDescription = Shapes::StringShape.new(name: 'DataProductDescription') + DataProductId = Shapes::StringShape.new(name: 'DataProductId') + DataProductItem = Shapes::StructureShape.new(name: 'DataProductItem') + DataProductItemType = Shapes::StringShape.new(name: 'DataProductItemType') + DataProductItems = Shapes::ListShape.new(name: 'DataProductItems') + DataProductListing = Shapes::StructureShape.new(name: 'DataProductListing') + DataProductListingItem = Shapes::StructureShape.new(name: 'DataProductListingItem') + DataProductListingItemAdditionalAttributes = Shapes::StructureShape.new(name: 'DataProductListingItemAdditionalAttributes') + DataProductName = Shapes::StringShape.new(name: 'DataProductName') + DataProductResultItem = Shapes::StructureShape.new(name: 'DataProductResultItem') + DataProductRevision = Shapes::StructureShape.new(name: 'DataProductRevision') + DataProductRevisions = Shapes::ListShape.new(name: 'DataProductRevisions') + DataProductStatus = Shapes::StringShape.new(name: 'DataProductStatus') DataSourceConfigurationInput = Shapes::UnionShape.new(name: 'DataSourceConfigurationInput') DataSourceConfigurationOutput = Shapes::UnionShape.new(name: 'DataSourceConfigurationOutput') DataSourceErrorMessage = Shapes::StructureShape.new(name: 'DataSourceErrorMessage') @@ -143,6 +162,8 @@ module ClientApi DeleteAssetOutput = Shapes::StructureShape.new(name: 'DeleteAssetOutput') DeleteAssetTypeInput = Shapes::StructureShape.new(name: 'DeleteAssetTypeInput') DeleteAssetTypeOutput = Shapes::StructureShape.new(name: 'DeleteAssetTypeOutput') + DeleteDataProductInput = Shapes::StructureShape.new(name: 'DeleteDataProductInput') + DeleteDataProductOutput = Shapes::StructureShape.new(name: 'DeleteDataProductOutput') DeleteDataSourceInput = Shapes::StructureShape.new(name: 'DeleteDataSourceInput') DeleteDataSourceOutput = Shapes::StructureShape.new(name: 'DeleteDataSourceOutput') DeleteDomainInput = Shapes::StructureShape.new(name: 'DeleteDomainInput') @@ -256,6 +277,8 @@ module ClientApi GetAssetOutput = Shapes::StructureShape.new(name: 'GetAssetOutput') GetAssetTypeInput = Shapes::StructureShape.new(name: 'GetAssetTypeInput') GetAssetTypeOutput = Shapes::StructureShape.new(name: 'GetAssetTypeOutput') + GetDataProductInput = Shapes::StructureShape.new(name: 'GetDataProductInput') + GetDataProductOutput = Shapes::StructureShape.new(name: 'GetDataProductOutput') GetDataSourceInput = Shapes::StructureShape.new(name: 'GetDataSourceInput') GetDataSourceOutput = Shapes::StructureShape.new(name: 'GetDataSourceOutput') GetDataSourceRunInput = Shapes::StructureShape.new(name: 'GetDataSourceRunInput') @@ -345,6 +368,7 @@ module ClientApi InventorySearchScope = Shapes::StringShape.new(name: 'InventorySearchScope') IsNotNullExpression = Shapes::StructureShape.new(name: 'IsNotNullExpression') IsNullExpression = Shapes::StructureShape.new(name: 'IsNullExpression') + ItemGlossaryTerms = Shapes::ListShape.new(name: 'ItemGlossaryTerms') KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn') LakeFormationConfiguration = Shapes::StructureShape.new(name: 'LakeFormationConfiguration') LastName = Shapes::StringShape.new(name: 'LastName') @@ -363,6 +387,8 @@ module ClientApi ListAssetFiltersOutput = Shapes::StructureShape.new(name: 'ListAssetFiltersOutput') ListAssetRevisionsInput = Shapes::StructureShape.new(name: 'ListAssetRevisionsInput') ListAssetRevisionsOutput = Shapes::StructureShape.new(name: 'ListAssetRevisionsOutput') + ListDataProductRevisionsInput = Shapes::StructureShape.new(name: 'ListDataProductRevisionsInput') + ListDataProductRevisionsOutput = Shapes::StructureShape.new(name: 'ListDataProductRevisionsOutput') ListDataSourceRunActivitiesInput = Shapes::StructureShape.new(name: 'ListDataSourceRunActivitiesInput') ListDataSourceRunActivitiesOutput = Shapes::StructureShape.new(name: 'ListDataSourceRunActivitiesOutput') ListDataSourceRunsInput = Shapes::StructureShape.new(name: 'ListDataSourceRunsInput') @@ -410,6 +436,10 @@ module ClientApi ListingRevision = Shapes::StructureShape.new(name: 'ListingRevision') ListingRevisionInput = Shapes::StructureShape.new(name: 'ListingRevisionInput') ListingStatus = Shapes::StringShape.new(name: 'ListingStatus') + ListingSummaries = Shapes::ListShape.new(name: 'ListingSummaries') + ListingSummary = Shapes::StructureShape.new(name: 'ListingSummary') + ListingSummaryItem = Shapes::StructureShape.new(name: 'ListingSummaryItem') + ListingSummaryItems = Shapes::ListShape.new(name: 'ListingSummaryItems') LongDescription = Shapes::StringShape.new(name: 'LongDescription') MaxResults = Shapes::IntegerShape.new(name: 'MaxResults') MaxResultsForListDomains = Shapes::IntegerShape.new(name: 'MaxResultsForListDomains') @@ -556,6 +586,7 @@ module ClientApi SubscribedPrincipal = Shapes::UnionShape.new(name: 'SubscribedPrincipal') SubscribedPrincipalInput = Shapes::UnionShape.new(name: 'SubscribedPrincipalInput') SubscribedPrincipalInputs = Shapes::ListShape.new(name: 'SubscribedPrincipalInputs') + SubscribedProductListing = Shapes::StructureShape.new(name: 'SubscribedProductListing') SubscribedProject = Shapes::StructureShape.new(name: 'SubscribedProject') SubscribedProjectInput = Shapes::StructureShape.new(name: 'SubscribedProjectInput') SubscriptionGrantId = Shapes::StringShape.new(name: 'SubscriptionGrantId') @@ -741,6 +772,13 @@ module ClientApi AssetFilters.member = Shapes::ShapeRef.new(shape: AssetFilterSummary) + AssetInDataProductListingItem.add_member(:entity_id, Shapes::ShapeRef.new(shape: String, location_name: "entityId")) + AssetInDataProductListingItem.add_member(:entity_revision, Shapes::ShapeRef.new(shape: String, location_name: "entityRevision")) + AssetInDataProductListingItem.add_member(:entity_type, Shapes::ShapeRef.new(shape: String, location_name: "entityType")) + AssetInDataProductListingItem.struct_class = Types::AssetInDataProductListingItem + + AssetInDataProductListingItems.member = Shapes::ShapeRef.new(shape: AssetInDataProductListingItem) + AssetItem.add_member(:additional_attributes, Shapes::ShapeRef.new(shape: AssetItemAdditionalAttributes, location_name: "additionalAttributes")) AssetItem.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "createdAt")) AssetItem.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "createdBy")) @@ -992,6 +1030,58 @@ module ClientApi CreateAssetTypeOutput.add_member(:updated_by, Shapes::ShapeRef.new(shape: UpdatedBy, location_name: "updatedBy")) CreateAssetTypeOutput.struct_class = Types::CreateAssetTypeOutput + CreateDataProductInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true})) + CreateDataProductInput.add_member(:description, Shapes::ShapeRef.new(shape: DataProductDescription, location_name: "description")) + CreateDataProductInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier")) + CreateDataProductInput.add_member(:forms_input, Shapes::ShapeRef.new(shape: FormInputList, location_name: "formsInput")) + CreateDataProductInput.add_member(:glossary_terms, Shapes::ShapeRef.new(shape: GlossaryTerms, location_name: "glossaryTerms")) + CreateDataProductInput.add_member(:items, Shapes::ShapeRef.new(shape: DataProductItems, location_name: "items")) + CreateDataProductInput.add_member(:name, Shapes::ShapeRef.new(shape: DataProductName, required: true, location_name: "name")) + CreateDataProductInput.add_member(:owning_project_identifier, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "owningProjectIdentifier")) + CreateDataProductInput.struct_class = Types::CreateDataProductInput + + CreateDataProductOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "createdAt")) + CreateDataProductOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "createdBy")) + CreateDataProductOutput.add_member(:description, Shapes::ShapeRef.new(shape: DataProductDescription, location_name: "description")) + CreateDataProductOutput.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "domainId")) + CreateDataProductOutput.add_member(:first_revision_created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "firstRevisionCreatedAt")) + CreateDataProductOutput.add_member(:first_revision_created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "firstRevisionCreatedBy")) + CreateDataProductOutput.add_member(:forms_output, Shapes::ShapeRef.new(shape: FormOutputList, location_name: "formsOutput")) + CreateDataProductOutput.add_member(:glossary_terms, Shapes::ShapeRef.new(shape: GlossaryTerms, location_name: "glossaryTerms")) + CreateDataProductOutput.add_member(:id, Shapes::ShapeRef.new(shape: DataProductId, required: true, location_name: "id")) + CreateDataProductOutput.add_member(:items, Shapes::ShapeRef.new(shape: DataProductItems, location_name: "items")) + CreateDataProductOutput.add_member(:name, Shapes::ShapeRef.new(shape: DataProductName, required: true, location_name: "name")) + CreateDataProductOutput.add_member(:owning_project_id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "owningProjectId")) + CreateDataProductOutput.add_member(:revision, Shapes::ShapeRef.new(shape: Revision, required: true, location_name: "revision")) + CreateDataProductOutput.add_member(:status, Shapes::ShapeRef.new(shape: DataProductStatus, required: true, location_name: "status")) + CreateDataProductOutput.struct_class = Types::CreateDataProductOutput + + CreateDataProductRevisionInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true})) + CreateDataProductRevisionInput.add_member(:description, Shapes::ShapeRef.new(shape: DataProductDescription, location_name: "description")) + CreateDataProductRevisionInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier")) + CreateDataProductRevisionInput.add_member(:forms_input, Shapes::ShapeRef.new(shape: FormInputList, location_name: "formsInput")) + CreateDataProductRevisionInput.add_member(:glossary_terms, Shapes::ShapeRef.new(shape: GlossaryTerms, location_name: "glossaryTerms")) + CreateDataProductRevisionInput.add_member(:identifier, Shapes::ShapeRef.new(shape: DataProductId, required: true, location: "uri", location_name: "identifier")) + CreateDataProductRevisionInput.add_member(:items, Shapes::ShapeRef.new(shape: DataProductItems, location_name: "items")) + CreateDataProductRevisionInput.add_member(:name, Shapes::ShapeRef.new(shape: DataProductName, required: true, location_name: "name")) + CreateDataProductRevisionInput.struct_class = Types::CreateDataProductRevisionInput + + CreateDataProductRevisionOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "createdAt")) + CreateDataProductRevisionOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "createdBy")) + CreateDataProductRevisionOutput.add_member(:description, Shapes::ShapeRef.new(shape: DataProductDescription, location_name: "description")) + CreateDataProductRevisionOutput.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "domainId")) + CreateDataProductRevisionOutput.add_member(:first_revision_created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "firstRevisionCreatedAt")) + CreateDataProductRevisionOutput.add_member(:first_revision_created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "firstRevisionCreatedBy")) + CreateDataProductRevisionOutput.add_member(:forms_output, Shapes::ShapeRef.new(shape: FormOutputList, location_name: "formsOutput")) + CreateDataProductRevisionOutput.add_member(:glossary_terms, Shapes::ShapeRef.new(shape: GlossaryTerms, location_name: "glossaryTerms")) + CreateDataProductRevisionOutput.add_member(:id, Shapes::ShapeRef.new(shape: DataProductId, required: true, location_name: "id")) + CreateDataProductRevisionOutput.add_member(:items, Shapes::ShapeRef.new(shape: DataProductItems, location_name: "items")) + CreateDataProductRevisionOutput.add_member(:name, Shapes::ShapeRef.new(shape: DataProductName, required: true, location_name: "name")) + CreateDataProductRevisionOutput.add_member(:owning_project_id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "owningProjectId")) + CreateDataProductRevisionOutput.add_member(:revision, Shapes::ShapeRef.new(shape: Revision, required: true, location_name: "revision")) + CreateDataProductRevisionOutput.add_member(:status, Shapes::ShapeRef.new(shape: DataProductStatus, required: true, location_name: "status")) + CreateDataProductRevisionOutput.struct_class = Types::CreateDataProductRevisionOutput + CreateDataSourceInput.add_member(:asset_forms_input, Shapes::ShapeRef.new(shape: FormInputList, location_name: "assetFormsInput")) CreateDataSourceInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true})) CreateDataSourceInput.add_member(:configuration, Shapes::ShapeRef.new(shape: DataSourceConfigurationInput, location_name: "configuration")) @@ -1242,7 +1332,7 @@ module ClientApi CreateSubscriptionGrantOutput.add_member(:granted_entity, Shapes::ShapeRef.new(shape: GrantedEntity, required: true, location_name: "grantedEntity")) CreateSubscriptionGrantOutput.add_member(:id, Shapes::ShapeRef.new(shape: SubscriptionGrantId, required: true, location_name: "id")) CreateSubscriptionGrantOutput.add_member(:status, Shapes::ShapeRef.new(shape: SubscriptionGrantOverallStatus, required: true, location_name: "status")) - CreateSubscriptionGrantOutput.add_member(:subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, location_name: "subscriptionId")) + CreateSubscriptionGrantOutput.add_member(:subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, deprecated: true, location_name: "subscriptionId", metadata: {"deprecatedMessage"=>"Multiple subscriptions can exist for a single grant"})) CreateSubscriptionGrantOutput.add_member(:subscription_target_id, Shapes::ShapeRef.new(shape: SubscriptionTargetId, required: true, location_name: "subscriptionTargetId")) CreateSubscriptionGrantOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAt, required: true, location_name: "updatedAt")) CreateSubscriptionGrantOutput.add_member(:updated_by, Shapes::ShapeRef.new(shape: UpdatedBy, location_name: "updatedBy")) @@ -1325,6 +1415,62 @@ module ClientApi CustomParameterList.member = Shapes::ShapeRef.new(shape: CustomParameter) + DataProductItem.add_member(:glossary_terms, Shapes::ShapeRef.new(shape: ItemGlossaryTerms, location_name: "glossaryTerms")) + DataProductItem.add_member(:identifier, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "identifier")) + DataProductItem.add_member(:item_type, Shapes::ShapeRef.new(shape: DataProductItemType, required: true, location_name: "itemType")) + DataProductItem.add_member(:revision, Shapes::ShapeRef.new(shape: Revision, location_name: "revision")) + DataProductItem.struct_class = Types::DataProductItem + + DataProductItems.member = Shapes::ShapeRef.new(shape: DataProductItem) + + DataProductListing.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "createdAt")) + DataProductListing.add_member(:data_product_id, Shapes::ShapeRef.new(shape: DataProductId, location_name: "dataProductId")) + DataProductListing.add_member(:data_product_revision, Shapes::ShapeRef.new(shape: Revision, location_name: "dataProductRevision")) + DataProductListing.add_member(:forms, Shapes::ShapeRef.new(shape: Forms, location_name: "forms")) + DataProductListing.add_member(:glossary_terms, Shapes::ShapeRef.new(shape: DetailedGlossaryTerms, location_name: "glossaryTerms")) + DataProductListing.add_member(:items, Shapes::ShapeRef.new(shape: ListingSummaries, location_name: "items")) + DataProductListing.add_member(:owning_project_id, Shapes::ShapeRef.new(shape: ProjectId, location_name: "owningProjectId")) + DataProductListing.struct_class = Types::DataProductListing + + DataProductListingItem.add_member(:additional_attributes, Shapes::ShapeRef.new(shape: DataProductListingItemAdditionalAttributes, location_name: "additionalAttributes")) + DataProductListingItem.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "createdAt")) + DataProductListingItem.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description")) + DataProductListingItem.add_member(:entity_id, Shapes::ShapeRef.new(shape: DataProductId, location_name: "entityId")) + DataProductListingItem.add_member(:entity_revision, Shapes::ShapeRef.new(shape: Revision, location_name: "entityRevision")) + DataProductListingItem.add_member(:glossary_terms, Shapes::ShapeRef.new(shape: DetailedGlossaryTerms, location_name: "glossaryTerms")) + DataProductListingItem.add_member(:items, Shapes::ShapeRef.new(shape: ListingSummaryItems, location_name: "items")) + DataProductListingItem.add_member(:listing_created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "listingCreatedBy")) + DataProductListingItem.add_member(:listing_id, Shapes::ShapeRef.new(shape: ListingId, location_name: "listingId")) + DataProductListingItem.add_member(:listing_revision, Shapes::ShapeRef.new(shape: Revision, location_name: "listingRevision")) + DataProductListingItem.add_member(:listing_updated_by, Shapes::ShapeRef.new(shape: UpdatedBy, location_name: "listingUpdatedBy")) + DataProductListingItem.add_member(:name, Shapes::ShapeRef.new(shape: DataProductName, location_name: "name")) + DataProductListingItem.add_member(:owning_project_id, Shapes::ShapeRef.new(shape: ProjectId, location_name: "owningProjectId")) + DataProductListingItem.struct_class = Types::DataProductListingItem + + DataProductListingItemAdditionalAttributes.add_member(:forms, Shapes::ShapeRef.new(shape: Forms, location_name: "forms")) + DataProductListingItemAdditionalAttributes.struct_class = Types::DataProductListingItemAdditionalAttributes + + DataProductResultItem.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "createdAt")) + DataProductResultItem.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "createdBy")) + DataProductResultItem.add_member(:description, Shapes::ShapeRef.new(shape: DataProductDescription, location_name: "description")) + DataProductResultItem.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "domainId")) + DataProductResultItem.add_member(:first_revision_created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "firstRevisionCreatedAt")) + DataProductResultItem.add_member(:first_revision_created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "firstRevisionCreatedBy")) + DataProductResultItem.add_member(:glossary_terms, Shapes::ShapeRef.new(shape: GlossaryTerms, location_name: "glossaryTerms")) + DataProductResultItem.add_member(:id, Shapes::ShapeRef.new(shape: DataProductId, required: true, location_name: "id")) + DataProductResultItem.add_member(:name, Shapes::ShapeRef.new(shape: DataProductName, required: true, location_name: "name")) + DataProductResultItem.add_member(:owning_project_id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "owningProjectId")) + DataProductResultItem.struct_class = Types::DataProductResultItem + + DataProductRevision.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "createdAt")) + DataProductRevision.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "createdBy")) + DataProductRevision.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "domainId")) + DataProductRevision.add_member(:id, Shapes::ShapeRef.new(shape: DataProductId, location_name: "id")) + DataProductRevision.add_member(:revision, Shapes::ShapeRef.new(shape: Revision, location_name: "revision")) + DataProductRevision.struct_class = Types::DataProductRevision + + DataProductRevisions.member = Shapes::ShapeRef.new(shape: DataProductRevision) + DataSourceConfigurationInput.add_member(:glue_run_configuration, Shapes::ShapeRef.new(shape: GlueRunConfigurationInput, location_name: "glueRunConfiguration")) DataSourceConfigurationInput.add_member(:redshift_run_configuration, Shapes::ShapeRef.new(shape: RedshiftRunConfigurationInput, location_name: "redshiftRunConfiguration")) DataSourceConfigurationInput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown')) @@ -1409,6 +1555,12 @@ module ClientApi DeleteAssetTypeOutput.struct_class = Types::DeleteAssetTypeOutput + DeleteDataProductInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier")) + DeleteDataProductInput.add_member(:identifier, Shapes::ShapeRef.new(shape: DataProductId, required: true, location: "uri", location_name: "identifier")) + DeleteDataProductInput.struct_class = Types::DeleteDataProductInput + + DeleteDataProductOutput.struct_class = Types::DeleteDataProductOutput + DeleteDataSourceInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true})) DeleteDataSourceInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier")) DeleteDataSourceInput.add_member(:identifier, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location: "uri", location_name: "identifier")) @@ -1514,7 +1666,7 @@ module ClientApi DeleteSubscriptionGrantOutput.add_member(:granted_entity, Shapes::ShapeRef.new(shape: GrantedEntity, required: true, location_name: "grantedEntity")) DeleteSubscriptionGrantOutput.add_member(:id, Shapes::ShapeRef.new(shape: SubscriptionGrantId, required: true, location_name: "id")) DeleteSubscriptionGrantOutput.add_member(:status, Shapes::ShapeRef.new(shape: SubscriptionGrantOverallStatus, required: true, location_name: "status")) - DeleteSubscriptionGrantOutput.add_member(:subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, location_name: "subscriptionId")) + DeleteSubscriptionGrantOutput.add_member(:subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, deprecated: true, location_name: "subscriptionId", metadata: {"deprecatedMessage"=>"Multiple subscriptions can exist for a single grant"})) DeleteSubscriptionGrantOutput.add_member(:subscription_target_id, Shapes::ShapeRef.new(shape: SubscriptionTargetId, required: true, location_name: "subscriptionTargetId")) DeleteSubscriptionGrantOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAt, required: true, location_name: "updatedAt")) DeleteSubscriptionGrantOutput.add_member(:updated_by, Shapes::ShapeRef.new(shape: UpdatedBy, location_name: "updatedBy")) @@ -1795,6 +1947,27 @@ module ClientApi GetAssetTypeOutput.add_member(:updated_by, Shapes::ShapeRef.new(shape: UpdatedBy, location_name: "updatedBy")) GetAssetTypeOutput.struct_class = Types::GetAssetTypeOutput + GetDataProductInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier")) + GetDataProductInput.add_member(:identifier, Shapes::ShapeRef.new(shape: DataProductId, required: true, location: "uri", location_name: "identifier")) + GetDataProductInput.add_member(:revision, Shapes::ShapeRef.new(shape: Revision, location: "querystring", location_name: "revision")) + GetDataProductInput.struct_class = Types::GetDataProductInput + + GetDataProductOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "createdAt")) + GetDataProductOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "createdBy")) + GetDataProductOutput.add_member(:description, Shapes::ShapeRef.new(shape: DataProductDescription, location_name: "description")) + GetDataProductOutput.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "domainId")) + GetDataProductOutput.add_member(:first_revision_created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "firstRevisionCreatedAt")) + GetDataProductOutput.add_member(:first_revision_created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "firstRevisionCreatedBy")) + GetDataProductOutput.add_member(:forms_output, Shapes::ShapeRef.new(shape: FormOutputList, location_name: "formsOutput")) + GetDataProductOutput.add_member(:glossary_terms, Shapes::ShapeRef.new(shape: GlossaryTerms, location_name: "glossaryTerms")) + GetDataProductOutput.add_member(:id, Shapes::ShapeRef.new(shape: DataProductId, required: true, location_name: "id")) + GetDataProductOutput.add_member(:items, Shapes::ShapeRef.new(shape: DataProductItems, location_name: "items")) + GetDataProductOutput.add_member(:name, Shapes::ShapeRef.new(shape: DataProductName, required: true, location_name: "name")) + GetDataProductOutput.add_member(:owning_project_id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "owningProjectId")) + GetDataProductOutput.add_member(:revision, Shapes::ShapeRef.new(shape: Revision, required: true, location_name: "revision")) + GetDataProductOutput.add_member(:status, Shapes::ShapeRef.new(shape: DataProductStatus, required: true, location_name: "status")) + GetDataProductOutput.struct_class = Types::GetDataProductOutput + GetDataSourceInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier")) GetDataSourceInput.add_member(:identifier, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location: "uri", location_name: "identifier")) GetDataSourceInput.struct_class = Types::GetDataSourceInput @@ -2109,7 +2282,7 @@ module ClientApi GetSubscriptionGrantOutput.add_member(:granted_entity, Shapes::ShapeRef.new(shape: GrantedEntity, required: true, location_name: "grantedEntity")) GetSubscriptionGrantOutput.add_member(:id, Shapes::ShapeRef.new(shape: SubscriptionGrantId, required: true, location_name: "id")) GetSubscriptionGrantOutput.add_member(:status, Shapes::ShapeRef.new(shape: SubscriptionGrantOverallStatus, required: true, location_name: "status")) - GetSubscriptionGrantOutput.add_member(:subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, location_name: "subscriptionId")) + GetSubscriptionGrantOutput.add_member(:subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, deprecated: true, location_name: "subscriptionId", metadata: {"deprecatedMessage"=>"Multiple subscriptions can exist for a single grant"})) GetSubscriptionGrantOutput.add_member(:subscription_target_id, Shapes::ShapeRef.new(shape: SubscriptionTargetId, required: true, location_name: "subscriptionTargetId")) GetSubscriptionGrantOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAt, required: true, location_name: "updatedAt")) GetSubscriptionGrantOutput.add_member(:updated_by, Shapes::ShapeRef.new(shape: UpdatedBy, location_name: "updatedBy")) @@ -2298,6 +2471,8 @@ module ClientApi IsNullExpression.add_member(:column_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "columnName")) IsNullExpression.struct_class = Types::IsNullExpression + ItemGlossaryTerms.member = Shapes::ShapeRef.new(shape: GlossaryTermId) + LakeFormationConfiguration.add_member(:location_registration_exclude_s3_locations, Shapes::ShapeRef.new(shape: S3LocationList, location_name: "locationRegistrationExcludeS3Locations")) LakeFormationConfiguration.add_member(:location_registration_role, Shapes::ShapeRef.new(shape: RoleArn, location_name: "locationRegistrationRole")) LakeFormationConfiguration.struct_class = Types::LakeFormationConfiguration @@ -2368,6 +2543,16 @@ module ClientApi ListAssetRevisionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken")) ListAssetRevisionsOutput.struct_class = Types::ListAssetRevisionsOutput + ListDataProductRevisionsInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier")) + ListDataProductRevisionsInput.add_member(:identifier, Shapes::ShapeRef.new(shape: DataProductId, required: true, location: "uri", location_name: "identifier")) + ListDataProductRevisionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults")) + ListDataProductRevisionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken")) + ListDataProductRevisionsInput.struct_class = Types::ListDataProductRevisionsInput + + ListDataProductRevisionsOutput.add_member(:items, Shapes::ShapeRef.new(shape: DataProductRevisions, required: true, location_name: "items")) + ListDataProductRevisionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken")) + ListDataProductRevisionsOutput.struct_class = Types::ListDataProductRevisionsOutput + ListDataSourceRunActivitiesInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier")) ListDataSourceRunActivitiesInput.add_member(:identifier, Shapes::ShapeRef.new(shape: DataSourceRunId, required: true, location: "uri", location_name: "identifier")) ListDataSourceRunActivitiesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults")) @@ -2543,6 +2728,7 @@ module ClientApi ListSubscriptionGrantsInput.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, location: "querystring", location_name: "environmentId")) ListSubscriptionGrantsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults")) ListSubscriptionGrantsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken")) + ListSubscriptionGrantsInput.add_member(:owning_project_id, Shapes::ShapeRef.new(shape: ProjectId, location: "querystring", location_name: "owningProjectId")) ListSubscriptionGrantsInput.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortKey, location: "querystring", location_name: "sortBy")) ListSubscriptionGrantsInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder")) ListSubscriptionGrantsInput.add_member(:subscribed_listing_id, Shapes::ShapeRef.new(shape: ListingId, location: "querystring", location_name: "subscribedListingId")) @@ -2618,8 +2804,10 @@ module ClientApi ListTimeSeriesDataPointsOutput.struct_class = Types::ListTimeSeriesDataPointsOutput ListingItem.add_member(:asset_listing, Shapes::ShapeRef.new(shape: AssetListing, location_name: "assetListing")) + ListingItem.add_member(:data_product_listing, Shapes::ShapeRef.new(shape: DataProductListing, location_name: "dataProductListing")) ListingItem.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown')) ListingItem.add_member_subclass(:asset_listing, Types::ListingItem::AssetListing) + ListingItem.add_member_subclass(:data_product_listing, Types::ListingItem::DataProductListing) ListingItem.add_member_subclass(:unknown, Types::ListingItem::Unknown) ListingItem.struct_class = Types::ListingItem @@ -2631,6 +2819,20 @@ module ClientApi ListingRevisionInput.add_member(:revision, Shapes::ShapeRef.new(shape: Revision, required: true, location_name: "revision")) ListingRevisionInput.struct_class = Types::ListingRevisionInput + ListingSummaries.member = Shapes::ShapeRef.new(shape: ListingSummary) + + ListingSummary.add_member(:glossary_terms, Shapes::ShapeRef.new(shape: DetailedGlossaryTerms, location_name: "glossaryTerms")) + ListingSummary.add_member(:listing_id, Shapes::ShapeRef.new(shape: ListingId, location_name: "listingId")) + ListingSummary.add_member(:listing_revision, Shapes::ShapeRef.new(shape: Revision, location_name: "listingRevision")) + ListingSummary.struct_class = Types::ListingSummary + + ListingSummaryItem.add_member(:glossary_terms, Shapes::ShapeRef.new(shape: DetailedGlossaryTerms, location_name: "glossaryTerms")) + ListingSummaryItem.add_member(:listing_id, Shapes::ShapeRef.new(shape: ListingId, location_name: "listingId")) + ListingSummaryItem.add_member(:listing_revision, Shapes::ShapeRef.new(shape: Revision, location_name: "listingRevision")) + ListingSummaryItem.struct_class = Types::ListingSummaryItem + + ListingSummaryItems.member = Shapes::ShapeRef.new(shape: ListingSummaryItem) + Member.add_member(:group_identifier, Shapes::ShapeRef.new(shape: String, location_name: "groupIdentifier")) Member.add_member(:user_identifier, Shapes::ShapeRef.new(shape: String, location_name: "userIdentifier")) Member.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown')) @@ -3002,10 +3204,12 @@ module ClientApi SearchInput.struct_class = Types::SearchInput SearchInventoryResultItem.add_member(:asset_item, Shapes::ShapeRef.new(shape: AssetItem, location_name: "assetItem")) + SearchInventoryResultItem.add_member(:data_product_item, Shapes::ShapeRef.new(shape: DataProductResultItem, location_name: "dataProductItem")) SearchInventoryResultItem.add_member(:glossary_item, Shapes::ShapeRef.new(shape: GlossaryItem, location_name: "glossaryItem")) SearchInventoryResultItem.add_member(:glossary_term_item, Shapes::ShapeRef.new(shape: GlossaryTermItem, location_name: "glossaryTermItem")) SearchInventoryResultItem.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown')) SearchInventoryResultItem.add_member_subclass(:asset_item, Types::SearchInventoryResultItem::AssetItem) + SearchInventoryResultItem.add_member_subclass(:data_product_item, Types::SearchInventoryResultItem::DataProductItem) SearchInventoryResultItem.add_member_subclass(:glossary_item, Types::SearchInventoryResultItem::GlossaryItem) SearchInventoryResultItem.add_member_subclass(:glossary_term_item, Types::SearchInventoryResultItem::GlossaryTermItem) SearchInventoryResultItem.add_member_subclass(:unknown, Types::SearchInventoryResultItem::Unknown) @@ -3036,8 +3240,10 @@ module ClientApi SearchOutputAdditionalAttributes.member = Shapes::ShapeRef.new(shape: SearchOutputAdditionalAttribute) SearchResultItem.add_member(:asset_listing, Shapes::ShapeRef.new(shape: AssetListingItem, location_name: "assetListing")) + SearchResultItem.add_member(:data_product_listing, Shapes::ShapeRef.new(shape: DataProductListingItem, location_name: "dataProductListing")) SearchResultItem.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown')) SearchResultItem.add_member_subclass(:asset_listing, Types::SearchResultItem::AssetListing) + SearchResultItem.add_member_subclass(:data_product_listing, Types::SearchResultItem::DataProductListing) SearchResultItem.add_member_subclass(:unknown, Types::SearchResultItem::Unknown) SearchResultItem.struct_class = Types::SearchResultItem @@ -3185,8 +3391,10 @@ module ClientApi SubscribedListingInputs.member = Shapes::ShapeRef.new(shape: SubscribedListingInput) SubscribedListingItem.add_member(:asset_listing, Shapes::ShapeRef.new(shape: SubscribedAssetListing, location_name: "assetListing")) + SubscribedListingItem.add_member(:product_listing, Shapes::ShapeRef.new(shape: SubscribedProductListing, location_name: "productListing")) SubscribedListingItem.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown')) SubscribedListingItem.add_member_subclass(:asset_listing, Types::SubscribedListingItem::AssetListing) + SubscribedListingItem.add_member_subclass(:product_listing, Types::SubscribedListingItem::ProductListing) SubscribedListingItem.add_member_subclass(:unknown, Types::SubscribedListingItem::Unknown) SubscribedListingItem.struct_class = Types::SubscribedListingItem @@ -3204,6 +3412,14 @@ module ClientApi SubscribedPrincipalInputs.member = Shapes::ShapeRef.new(shape: SubscribedPrincipalInput) + SubscribedProductListing.add_member(:asset_listings, Shapes::ShapeRef.new(shape: AssetInDataProductListingItems, location_name: "assetListings")) + SubscribedProductListing.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description")) + SubscribedProductListing.add_member(:entity_id, Shapes::ShapeRef.new(shape: AssetId, location_name: "entityId")) + SubscribedProductListing.add_member(:entity_revision, Shapes::ShapeRef.new(shape: Revision, location_name: "entityRevision")) + SubscribedProductListing.add_member(:glossary_terms, Shapes::ShapeRef.new(shape: DetailedGlossaryTerms, location_name: "glossaryTerms")) + SubscribedProductListing.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name")) + SubscribedProductListing.struct_class = Types::SubscribedProductListing + SubscribedProject.add_member(:id, Shapes::ShapeRef.new(shape: ProjectId, location_name: "id")) SubscribedProject.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, location_name: "name")) SubscribedProject.struct_class = Types::SubscribedProject @@ -3218,7 +3434,7 @@ module ClientApi SubscriptionGrantSummary.add_member(:granted_entity, Shapes::ShapeRef.new(shape: GrantedEntity, required: true, location_name: "grantedEntity")) SubscriptionGrantSummary.add_member(:id, Shapes::ShapeRef.new(shape: SubscriptionGrantId, required: true, location_name: "id")) SubscriptionGrantSummary.add_member(:status, Shapes::ShapeRef.new(shape: SubscriptionGrantOverallStatus, required: true, location_name: "status")) - SubscriptionGrantSummary.add_member(:subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, location_name: "subscriptionId")) + SubscriptionGrantSummary.add_member(:subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, deprecated: true, location_name: "subscriptionId", metadata: {"deprecatedMessage"=>"Multiple subscriptions can exist for a single grant"})) SubscriptionGrantSummary.add_member(:subscription_target_id, Shapes::ShapeRef.new(shape: SubscriptionTargetId, required: true, location_name: "subscriptionTargetId")) SubscriptionGrantSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAt, required: true, location_name: "updatedAt")) SubscriptionGrantSummary.add_member(:updated_by, Shapes::ShapeRef.new(shape: UpdatedBy, location_name: "updatedBy")) @@ -3575,7 +3791,7 @@ module ClientApi UpdateSubscriptionGrantStatusOutput.add_member(:granted_entity, Shapes::ShapeRef.new(shape: GrantedEntity, required: true, location_name: "grantedEntity")) UpdateSubscriptionGrantStatusOutput.add_member(:id, Shapes::ShapeRef.new(shape: SubscriptionGrantId, required: true, location_name: "id")) UpdateSubscriptionGrantStatusOutput.add_member(:status, Shapes::ShapeRef.new(shape: SubscriptionGrantOverallStatus, required: true, location_name: "status")) - UpdateSubscriptionGrantStatusOutput.add_member(:subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, location_name: "subscriptionId")) + UpdateSubscriptionGrantStatusOutput.add_member(:subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, deprecated: true, location_name: "subscriptionId", metadata: {"deprecatedMessage"=>"Multiple subscriptions can exist for a single grant"})) UpdateSubscriptionGrantStatusOutput.add_member(:subscription_target_id, Shapes::ShapeRef.new(shape: SubscriptionTargetId, required: true, location_name: "subscriptionTargetId")) UpdateSubscriptionGrantStatusOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAt, required: true, location_name: "updatedAt")) UpdateSubscriptionGrantStatusOutput.add_member(:updated_by, Shapes::ShapeRef.new(shape: UpdatedBy, location_name: "updatedBy")) @@ -3823,6 +4039,37 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) end) + api.add_operation(:create_data_product, Seahorse::Model::Operation.new.tap do |o| + o.name = "CreateDataProduct" + o.http_method = "POST" + o.http_request_uri = "/v2/domains/{domainIdentifier}/data-products" + o.input = Shapes::ShapeRef.new(shape: CreateDataProductInput) + o.output = Shapes::ShapeRef.new(shape: CreateDataProductOutput) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) + o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) + end) + + api.add_operation(:create_data_product_revision, Seahorse::Model::Operation.new.tap do |o| + o.name = "CreateDataProductRevision" + o.http_method = "POST" + o.http_request_uri = "/v2/domains/{domainIdentifier}/data-products/{identifier}/revisions" + o.input = Shapes::ShapeRef.new(shape: CreateDataProductRevisionInput) + o.output = Shapes::ShapeRef.new(shape: CreateDataProductRevisionOutput) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) + end) + api.add_operation(:create_data_source, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateDataSource" o.http_method = "POST" @@ -4076,6 +4323,7 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) o.errors << Shapes::ShapeRef.new(shape: ValidationException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) end) @@ -4110,6 +4358,21 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) end) + api.add_operation(:delete_data_product, Seahorse::Model::Operation.new.tap do |o| + o.name = "DeleteDataProduct" + o.http_method = "DELETE" + o.http_request_uri = "/v2/domains/{domainIdentifier}/data-products/{identifier}" + o.input = Shapes::ShapeRef.new(shape: DeleteDataProductInput) + o.output = Shapes::ShapeRef.new(shape: DeleteDataProductOutput) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) + end) + api.add_operation(:delete_data_source, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteDataSource" o.http_method = "DELETE" @@ -4402,6 +4665,20 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) end) + api.add_operation(:get_data_product, Seahorse::Model::Operation.new.tap do |o| + o.name = "GetDataProduct" + o.http_method = "GET" + o.http_request_uri = "/v2/domains/{domainIdentifier}/data-products/{identifier}" + o.input = Shapes::ShapeRef.new(shape: GetDataProductInput) + o.output = Shapes::ShapeRef.new(shape: GetDataProductOutput) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) + end) + api.add_operation(:get_data_source, Seahorse::Model::Operation.new.tap do |o| o.name = "GetDataSource" o.http_method = "GET" @@ -4784,6 +5061,26 @@ module ClientApi ) end) + api.add_operation(:list_data_product_revisions, Seahorse::Model::Operation.new.tap do |o| + o.name = "ListDataProductRevisions" + o.http_method = "GET" + o.http_request_uri = "/v2/domains/{domainIdentifier}/data-products/{identifier}/revisions" + o.input = Shapes::ShapeRef.new(shape: ListDataProductRevisionsInput) + o.output = Shapes::ShapeRef.new(shape: ListDataProductRevisionsOutput) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_token" => "next_token" + } + ) + end) + api.add_operation(:list_data_source_run_activities, Seahorse::Model::Operation.new.tap do |o| o.name = "ListDataSourceRunActivities" o.http_method = "GET" diff --git a/gems/aws-sdk-datazone/lib/aws-sdk-datazone/endpoints.rb b/gems/aws-sdk-datazone/lib/aws-sdk-datazone/endpoints.rb index b23ac232c8..7ae2734b67 100644 --- a/gems/aws-sdk-datazone/lib/aws-sdk-datazone/endpoints.rb +++ b/gems/aws-sdk-datazone/lib/aws-sdk-datazone/endpoints.rb @@ -129,6 +129,32 @@ def self.build(context) end end + class CreateDataProduct + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::DataZone::EndpointParameters.new( + region: context.config.region, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + + class CreateDataProductRevision + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::DataZone::EndpointParameters.new( + region: context.config.region, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class CreateDataSource def self.build(context) unless context.config.regional_endpoint @@ -376,6 +402,19 @@ def self.build(context) end end + class DeleteDataProduct + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::DataZone::EndpointParameters.new( + region: context.config.region, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class DeleteDataSource def self.build(context) unless context.config.regional_endpoint @@ -636,6 +675,19 @@ def self.build(context) end end + class GetDataProduct + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::DataZone::EndpointParameters.new( + region: context.config.region, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class GetDataSource def self.build(context) unless context.config.regional_endpoint @@ -974,6 +1026,19 @@ def self.build(context) end end + class ListDataProductRevisions + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::DataZone::EndpointParameters.new( + region: context.config.region, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class ListDataSourceRunActivities def self.build(context) unless context.config.regional_endpoint diff --git a/gems/aws-sdk-datazone/lib/aws-sdk-datazone/plugins/endpoints.rb b/gems/aws-sdk-datazone/lib/aws-sdk-datazone/plugins/endpoints.rb index 59caf588e0..6e4bba7edf 100644 --- a/gems/aws-sdk-datazone/lib/aws-sdk-datazone/plugins/endpoints.rb +++ b/gems/aws-sdk-datazone/lib/aws-sdk-datazone/plugins/endpoints.rb @@ -76,6 +76,10 @@ def parameters_for_operation(context) Aws::DataZone::Endpoints::CreateAssetRevision.build(context) when :create_asset_type Aws::DataZone::Endpoints::CreateAssetType.build(context) + when :create_data_product + Aws::DataZone::Endpoints::CreateDataProduct.build(context) + when :create_data_product_revision + Aws::DataZone::Endpoints::CreateDataProductRevision.build(context) when :create_data_source Aws::DataZone::Endpoints::CreateDataSource.build(context) when :create_domain @@ -114,6 +118,8 @@ def parameters_for_operation(context) Aws::DataZone::Endpoints::DeleteAssetFilter.build(context) when :delete_asset_type Aws::DataZone::Endpoints::DeleteAssetType.build(context) + when :delete_data_product + Aws::DataZone::Endpoints::DeleteDataProduct.build(context) when :delete_data_source Aws::DataZone::Endpoints::DeleteDataSource.build(context) when :delete_domain @@ -154,6 +160,8 @@ def parameters_for_operation(context) Aws::DataZone::Endpoints::GetAssetFilter.build(context) when :get_asset_type Aws::DataZone::Endpoints::GetAssetType.build(context) + when :get_data_product + Aws::DataZone::Endpoints::GetDataProduct.build(context) when :get_data_source Aws::DataZone::Endpoints::GetDataSource.build(context) when :get_data_source_run @@ -206,6 +214,8 @@ def parameters_for_operation(context) Aws::DataZone::Endpoints::ListAssetFilters.build(context) when :list_asset_revisions Aws::DataZone::Endpoints::ListAssetRevisions.build(context) + when :list_data_product_revisions + Aws::DataZone::Endpoints::ListDataProductRevisions.build(context) when :list_data_source_run_activities Aws::DataZone::Endpoints::ListDataSourceRunActivities.build(context) when :list_data_source_runs diff --git a/gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb b/gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb index 48865b94b5..e8bee24f58 100644 --- a/gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb +++ b/gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb @@ -348,6 +348,30 @@ class AssetFilterSummary < Struct.new( include Aws::Structure end + # The listing of the asset in a data product. + # + # @!attribute [rw] entity_id + # The entity ID of the listing of the asset in a data product. + # @return [String] + # + # @!attribute [rw] entity_revision + # The entity revision of the listing of the asset in a data product. + # @return [String] + # + # @!attribute [rw] entity_type + # The entity type of the listing of the asset in a data product. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/AssetInDataProductListingItem AWS API Documentation + # + class AssetInDataProductListingItem < Struct.new( + :entity_id, + :entity_revision, + :entity_type) + SENSITIVE = [] + include Aws::Structure + end + # A Amazon DataZone inventory asset. # # @!attribute [rw] additional_attributes @@ -1558,6 +1582,264 @@ class CreateAssetTypeOutput < Struct.new( include Aws::Structure end + # @!attribute [rw] client_token + # A unique, case-sensitive identifier that is provided to ensure the + # idempotency of the request. + # + # **A suitable default value is auto-generated.** You should normally + # not need to pass this option. + # @return [String] + # + # @!attribute [rw] description + # The description of the data product. + # @return [String] + # + # @!attribute [rw] domain_identifier + # The ID of the domain where the data product is created. + # @return [String] + # + # @!attribute [rw] forms_input + # The metadata forms of the data product. + # @return [Array] + # + # @!attribute [rw] glossary_terms + # The glossary terms of the data product. + # @return [Array] + # + # @!attribute [rw] items + # The data assets of the data product. + # @return [Array] + # + # @!attribute [rw] name + # The name of the data product. + # @return [String] + # + # @!attribute [rw] owning_project_identifier + # The ID of the owning project of the data product. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateDataProductInput AWS API Documentation + # + class CreateDataProductInput < Struct.new( + :client_token, + :description, + :domain_identifier, + :forms_input, + :glossary_terms, + :items, + :name, + :owning_project_identifier) + SENSITIVE = [:description, :forms_input, :name] + include Aws::Structure + end + + # @!attribute [rw] created_at + # The timestamp at which the data product was created. + # @return [Time] + # + # @!attribute [rw] created_by + # The user who created the data product. + # @return [String] + # + # @!attribute [rw] description + # The description of the data product. + # @return [String] + # + # @!attribute [rw] domain_id + # The ID of the domain where the data product lives. + # @return [String] + # + # @!attribute [rw] first_revision_created_at + # The timestamp at which the first revision of the data product was + # created. + # @return [Time] + # + # @!attribute [rw] first_revision_created_by + # The user who created the first revision of the data product. + # @return [String] + # + # @!attribute [rw] forms_output + # The metadata forms of the data product. + # @return [Array] + # + # @!attribute [rw] glossary_terms + # The glossary terms of the data product. + # @return [Array] + # + # @!attribute [rw] id + # The ID of the data product. + # @return [String] + # + # @!attribute [rw] items + # The data assets of the data product. + # @return [Array] + # + # @!attribute [rw] name + # The name of the data product. + # @return [String] + # + # @!attribute [rw] owning_project_id + # The ID of the owning project of the data product. + # @return [String] + # + # @!attribute [rw] revision + # The revision of the data product. + # @return [String] + # + # @!attribute [rw] status + # The status of the data product. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateDataProductOutput AWS API Documentation + # + class CreateDataProductOutput < Struct.new( + :created_at, + :created_by, + :description, + :domain_id, + :first_revision_created_at, + :first_revision_created_by, + :forms_output, + :glossary_terms, + :id, + :items, + :name, + :owning_project_id, + :revision, + :status) + SENSITIVE = [:description, :name] + include Aws::Structure + end + + # @!attribute [rw] client_token + # A unique, case-sensitive identifier that is provided to ensure the + # idempotency of the request. + # + # **A suitable default value is auto-generated.** You should normally + # not need to pass this option. + # @return [String] + # + # @!attribute [rw] description + # The description of the data product revision. + # @return [String] + # + # @!attribute [rw] domain_identifier + # The ID of the domain where the data product revision is created. + # @return [String] + # + # @!attribute [rw] forms_input + # The metadata forms of the data product revision. + # @return [Array] + # + # @!attribute [rw] glossary_terms + # The glossary terms of the data product revision. + # @return [Array] + # + # @!attribute [rw] identifier + # The ID of the data product revision. + # @return [String] + # + # @!attribute [rw] items + # The data assets of the data product revision. + # @return [Array] + # + # @!attribute [rw] name + # The name of the data product revision. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateDataProductRevisionInput AWS API Documentation + # + class CreateDataProductRevisionInput < Struct.new( + :client_token, + :description, + :domain_identifier, + :forms_input, + :glossary_terms, + :identifier, + :items, + :name) + SENSITIVE = [:description, :forms_input, :name] + include Aws::Structure + end + + # @!attribute [rw] created_at + # The timestamp at which the data product revision is created. + # @return [Time] + # + # @!attribute [rw] created_by + # The user who created the data product revision. + # @return [String] + # + # @!attribute [rw] description + # The description of the data product revision. + # @return [String] + # + # @!attribute [rw] domain_id + # The ID of the domain where data product revision is created. + # @return [String] + # + # @!attribute [rw] first_revision_created_at + # The timestamp at which the first revision of the data product is + # created. + # @return [Time] + # + # @!attribute [rw] first_revision_created_by + # The user who created the first revision of the data product. + # @return [String] + # + # @!attribute [rw] forms_output + # The metadata forms of the data product revision. + # @return [Array] + # + # @!attribute [rw] glossary_terms + # The glossary terms of the data product revision. + # @return [Array] + # + # @!attribute [rw] id + # The ID of the data product revision. + # @return [String] + # + # @!attribute [rw] items + # The data assets of the data product revision. + # @return [Array] + # + # @!attribute [rw] name + # The name of the data product revision. + # @return [String] + # + # @!attribute [rw] owning_project_id + # The ID of the owning project of the data product revision. + # @return [String] + # + # @!attribute [rw] revision + # The revision of the data product revision. + # @return [String] + # + # @!attribute [rw] status + # The status of the data product revision. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateDataProductRevisionOutput AWS API Documentation + # + class CreateDataProductRevisionOutput < Struct.new( + :created_at, + :created_by, + :description, + :domain_id, + :first_revision_created_at, + :first_revision_created_by, + :forms_output, + :glossary_terms, + :id, + :items, + :name, + :owning_project_id, + :revision, + :status) + SENSITIVE = [:description, :name] + include Aws::Structure + end + # @!attribute [rw] asset_forms_input # The metadata forms that are to be attached to the assets that this # data source works with. @@ -3170,48 +3452,304 @@ class CreateUserProfileOutput < Struct.new( :details, :domain_id, :id, - :status, - :type) - SENSITIVE = [] + :status, + :type) + SENSITIVE = [] + include Aws::Structure + end + + # The details of user parameters of an environment blueprint. + # + # @!attribute [rw] default_value + # The default value of the parameter. + # @return [String] + # + # @!attribute [rw] description + # The description of the parameter. + # @return [String] + # + # @!attribute [rw] field_type + # The filed type of the parameter. + # @return [String] + # + # @!attribute [rw] is_editable + # Specifies whether the parameter is editable. + # @return [Boolean] + # + # @!attribute [rw] is_optional + # Specifies whether the custom parameter is optional. + # @return [Boolean] + # + # @!attribute [rw] key_name + # The key name of the parameter. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CustomParameter AWS API Documentation + # + class CustomParameter < Struct.new( + :default_value, + :description, + :field_type, + :is_editable, + :is_optional, + :key_name) + SENSITIVE = [:description] + include Aws::Structure + end + + # The data product. + # + # @!attribute [rw] glossary_terms + # The glossary terms of the data product. + # @return [Array] + # + # @!attribute [rw] identifier + # The ID of the data product. + # @return [String] + # + # @!attribute [rw] item_type + # The type of the data product. + # @return [String] + # + # @!attribute [rw] revision + # The revision of the data product. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DataProductItem AWS API Documentation + # + class DataProductItem < Struct.new( + :glossary_terms, + :identifier, + :item_type, + :revision) + SENSITIVE = [] + include Aws::Structure + end + + # The data product listing. + # + # @!attribute [rw] created_at + # The timestamp at which the data product listing was created. + # @return [Time] + # + # @!attribute [rw] data_product_id + # The ID of the data product listing. + # @return [String] + # + # @!attribute [rw] data_product_revision + # The revision of the data product listing. + # @return [String] + # + # @!attribute [rw] forms + # The metadata forms of the data product listing. + # @return [String] + # + # @!attribute [rw] glossary_terms + # The glossary terms of the data product listing. + # @return [Array] + # + # @!attribute [rw] items + # The data assets of the data product listing. + # @return [Array] + # + # @!attribute [rw] owning_project_id + # The ID of the owning project of the data product listing. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DataProductListing AWS API Documentation + # + class DataProductListing < Struct.new( + :created_at, + :data_product_id, + :data_product_revision, + :forms, + :glossary_terms, + :items, + :owning_project_id) + SENSITIVE = [] + include Aws::Structure + end + + # The asset of the data product listing. + # + # @!attribute [rw] additional_attributes + # The additional attributes of the asset of the data product. + # @return [Types::DataProductListingItemAdditionalAttributes] + # + # @!attribute [rw] created_at + # The timestamp at which the asset of the data product listing was + # created. + # @return [Time] + # + # @!attribute [rw] description + # The description of the asset of the asset of the data product. + # @return [String] + # + # @!attribute [rw] entity_id + # The entity ID of the asset of the asset of the data product. + # @return [String] + # + # @!attribute [rw] entity_revision + # The revision of the asset of the asset of the data product. + # @return [String] + # + # @!attribute [rw] glossary_terms + # The glossary terms of the asset of the asset of the data product. + # @return [Array] + # + # @!attribute [rw] items + # The data of the asset of the data product. + # @return [Array] + # + # @!attribute [rw] listing_created_by + # The timestamp at which the listing was created. + # @return [String] + # + # @!attribute [rw] listing_id + # The ID of the listing. + # @return [String] + # + # @!attribute [rw] listing_revision + # The revision of the listing. + # @return [String] + # + # @!attribute [rw] listing_updated_by + # The user who updated the listing. + # @return [String] + # + # @!attribute [rw] name + # The name of the asset of the data product. + # @return [String] + # + # @!attribute [rw] owning_project_id + # The ID of the owning project of the asset of the data product. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DataProductListingItem AWS API Documentation + # + class DataProductListingItem < Struct.new( + :additional_attributes, + :created_at, + :description, + :entity_id, + :entity_revision, + :glossary_terms, + :items, + :listing_created_by, + :listing_id, + :listing_revision, + :listing_updated_by, + :name, + :owning_project_id) + SENSITIVE = [:description, :name] + include Aws::Structure + end + + # The additional attributes of the asset of the data product. + # + # @!attribute [rw] forms + # The metadata forms of the asset of the data product. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DataProductListingItemAdditionalAttributes AWS API Documentation + # + class DataProductListingItemAdditionalAttributes < Struct.new( + :forms) + SENSITIVE = [] + include Aws::Structure + end + + # The data product. + # + # @!attribute [rw] created_at + # The timestamp at which the data product was created. + # @return [Time] + # + # @!attribute [rw] created_by + # The user who created the data product. + # @return [String] + # + # @!attribute [rw] description + # The description of the data product. + # @return [String] + # + # @!attribute [rw] domain_id + # The ID of the domain where the data product lives. + # @return [String] + # + # @!attribute [rw] first_revision_created_at + # The timestamp at which first revision of the data product was + # created. + # @return [Time] + # + # @!attribute [rw] first_revision_created_by + # The user who created the first revision of the data product. + # @return [String] + # + # @!attribute [rw] glossary_terms + # The glossary terms of the data product. + # @return [Array] + # + # @!attribute [rw] id + # The ID of the data product. + # @return [String] + # + # @!attribute [rw] name + # The name of the data product. + # @return [String] + # + # @!attribute [rw] owning_project_id + # The ID of the owning project of the data product. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DataProductResultItem AWS API Documentation + # + class DataProductResultItem < Struct.new( + :created_at, + :created_by, + :description, + :domain_id, + :first_revision_created_at, + :first_revision_created_by, + :glossary_terms, + :id, + :name, + :owning_project_id) + SENSITIVE = [:description, :name] include Aws::Structure end - # The details of user parameters of an environment blueprint. + # The data product revision. # - # @!attribute [rw] default_value - # The default value of the parameter. - # @return [String] + # @!attribute [rw] created_at + # The timestamp at which the data product revision was created. + # @return [Time] # - # @!attribute [rw] description - # The description of the parameter. + # @!attribute [rw] created_by + # The user who created the data product revision. # @return [String] # - # @!attribute [rw] field_type - # The filed type of the parameter. + # @!attribute [rw] domain_id + # The ID of the domain where the data product revision lives. # @return [String] # - # @!attribute [rw] is_editable - # Specifies whether the parameter is editable. - # @return [Boolean] - # - # @!attribute [rw] is_optional - # Specifies whether the custom parameter is optional. - # @return [Boolean] + # @!attribute [rw] id + # The ID of the data product revision. + # @return [String] # - # @!attribute [rw] key_name - # The key name of the parameter. + # @!attribute [rw] revision + # The data product revision. # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CustomParameter AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DataProductRevision AWS API Documentation # - class CustomParameter < Struct.new( - :default_value, - :description, - :field_type, - :is_editable, - :is_optional, - :key_name) - SENSITIVE = [:description] + class DataProductRevision < Struct.new( + :created_at, + :created_by, + :domain_id, + :id, + :revision) + SENSITIVE = [] include Aws::Structure end @@ -3563,6 +4101,28 @@ class DeleteAssetTypeInput < Struct.new( # class DeleteAssetTypeOutput < Aws::EmptyStructure; end + # @!attribute [rw] domain_identifier + # The ID of the Amazon DataZone domain in which the data product is + # deleted. + # @return [String] + # + # @!attribute [rw] identifier + # The identifier of the data product that is deleted. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteDataProductInput AWS API Documentation + # + class DeleteDataProductInput < Struct.new( + :domain_identifier, + :identifier) + SENSITIVE = [] + include Aws::Structure + end + + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteDataProductOutput AWS API Documentation + # + class DeleteDataProductOutput < Aws::EmptyStructure; end + # @!attribute [rw] client_token # A unique, case-sensitive identifier that is provided to ensure the # idempotency of the request. @@ -5220,6 +5780,106 @@ class GetAssetTypeOutput < Struct.new( include Aws::Structure end + # @!attribute [rw] domain_identifier + # The ID of the domain where the data product lives. + # @return [String] + # + # @!attribute [rw] identifier + # The ID of the data product. + # @return [String] + # + # @!attribute [rw] revision + # The revision of the data product. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetDataProductInput AWS API Documentation + # + class GetDataProductInput < Struct.new( + :domain_identifier, + :identifier, + :revision) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] created_at + # The timestamp at which the data product is created. + # @return [Time] + # + # @!attribute [rw] created_by + # The user who created the data product. + # @return [String] + # + # @!attribute [rw] description + # The description of the data product. + # @return [String] + # + # @!attribute [rw] domain_id + # The ID of the domain where the data product lives. + # @return [String] + # + # @!attribute [rw] first_revision_created_at + # The timestamp at which the first revision of the data product is + # created. + # @return [Time] + # + # @!attribute [rw] first_revision_created_by + # The user who created the first revision of the data product. + # @return [String] + # + # @!attribute [rw] forms_output + # The metadata forms of the data product. + # @return [Array] + # + # @!attribute [rw] glossary_terms + # The glossary terms of the data product. + # @return [Array] + # + # @!attribute [rw] id + # The ID of the data product. + # @return [String] + # + # @!attribute [rw] items + # The data assets of the data product. + # @return [Array] + # + # @!attribute [rw] name + # The name of the data product. + # @return [String] + # + # @!attribute [rw] owning_project_id + # The ID of the owning project of the data product. + # @return [String] + # + # @!attribute [rw] revision + # The revision of the data product. + # @return [String] + # + # @!attribute [rw] status + # The status of the data product. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetDataProductOutput AWS API Documentation + # + class GetDataProductOutput < Struct.new( + :created_at, + :created_by, + :description, + :domain_id, + :first_revision_created_at, + :first_revision_created_by, + :forms_output, + :glossary_terms, + :id, + :items, + :name, + :owning_project_id, + :revision, + :status) + SENSITIVE = [:description, :name] + include Aws::Structure + end + # @!attribute [rw] domain_identifier # The ID of the Amazon DataZone domain in which the data source # exists. @@ -7928,6 +8588,68 @@ class ListAssetRevisionsOutput < Struct.new( include Aws::Structure end + # @!attribute [rw] domain_identifier + # The ID of the domain of the data product revisions that you want to + # list. + # @return [String] + # + # @!attribute [rw] identifier + # The ID of the data product revision. + # @return [String] + # + # @!attribute [rw] max_results + # The maximum number of asset filters to return in a single call to + # `ListDataProductRevisions`. When the number of data product + # revisions to be listed is greater than the value of `MaxResults`, + # the response contains a `NextToken` value that you can use in a + # subsequent call to `ListDataProductRevisions` to list the next set + # of data product revisions. + # @return [Integer] + # + # @!attribute [rw] next_token + # When the number of data product revisions is greater than the + # default value for the `MaxResults` parameter, or if you explicitly + # specify a value for `MaxResults` that is less than the number of + # data product revisions, the response includes a pagination token + # named `NextToken`. You can specify this `NextToken` value in a + # subsequent call to `ListDataProductRevisions` to list the next set + # of data product revisions. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListDataProductRevisionsInput AWS API Documentation + # + class ListDataProductRevisionsInput < Struct.new( + :domain_identifier, + :identifier, + :max_results, + :next_token) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] items + # The results of the `ListDataProductRevisions` action. + # @return [Array] + # + # @!attribute [rw] next_token + # When the number of data product revisions is greater than the + # default value for the `MaxResults` parameter, or if you explicitly + # specify a value for `MaxResults` that is less than the number of + # data product revisions, the response includes a pagination token + # named `NextToken`. You can specify this `NextToken` value in a + # subsequent call to `ListDataProductRevisions` to list the next set + # of data product revisions. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListDataProductRevisionsOutput AWS API Documentation + # + class ListDataProductRevisionsOutput < Struct.new( + :items, + :next_token) + SENSITIVE = [] + include Aws::Structure + end + # @!attribute [rw] domain_identifier # The identifier of the Amazon DataZone domain in which to list data # source run activities. @@ -8942,6 +9664,10 @@ class ListProjectsOutput < Struct.new( # grants. # @return [String] # + # @!attribute [rw] owning_project_id + # The ID of the owning project of the subscription grants. + # @return [String] + # # @!attribute [rw] sort_by # Specifies the way of sorting the results of this action. # @return [String] @@ -8969,6 +9695,7 @@ class ListSubscriptionGrantsInput < Struct.new( :environment_id, :max_results, :next_token, + :owning_project_id, :sort_by, :sort_order, :subscribed_listing_id, @@ -9042,6 +9769,11 @@ class ListSubscriptionGrantsOutput < Struct.new( # # @!attribute [rw] status # Specifies the status of the subscription requests. + # + # This is not a required parameter, but if not specified, by default, + # Amazon DataZone returns only `PENDING` subscription requests. + # + # # @return [String] # # @!attribute [rw] subscribed_listing_id @@ -9201,6 +9933,11 @@ class ListSubscriptionTargetsOutput < Struct.new( # # @!attribute [rw] status # The status of the subscriptions that you want to list. + # + # This is not a required parameter, but if not provided, by default, + # Amazon DataZone returns only `APPROVED` subscriptions. + # + # # @return [String] # # @!attribute [rw] subscribed_listing_id @@ -9366,16 +10103,22 @@ class ListTimeSeriesDataPointsOutput < Struct.new( # An asset published in an Amazon DataZone catalog. # @return [Types::AssetListing] # + # @!attribute [rw] data_product_listing + # The data product listing. + # @return [Types::DataProductListing] + # # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListingItem AWS API Documentation # class ListingItem < Struct.new( :asset_listing, + :data_product_listing, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AssetListing < ListingItem; end + class DataProductListing < ListingItem; end class Unknown < ListingItem; end end @@ -9422,6 +10165,54 @@ class ListingRevisionInput < Struct.new( include Aws::Structure end + # The summary of the listing of the data product. + # + # @!attribute [rw] glossary_terms + # The glossary terms of the data product. + # @return [Array] + # + # @!attribute [rw] listing_id + # The ID of the data product listing. + # @return [String] + # + # @!attribute [rw] listing_revision + # The revision of the data product listing. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListingSummary AWS API Documentation + # + class ListingSummary < Struct.new( + :glossary_terms, + :listing_id, + :listing_revision) + SENSITIVE = [] + include Aws::Structure + end + + # The results of the data product summary. + # + # @!attribute [rw] glossary_terms + # The glossary terms of the data product listing. + # @return [Array] + # + # @!attribute [rw] listing_id + # The ID of the data product listing. + # @return [String] + # + # @!attribute [rw] listing_revision + # The revision of the data product listing. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListingSummaryItem AWS API Documentation + # + class ListingSummaryItem < Struct.new( + :glossary_terms, + :listing_id, + :listing_revision) + SENSITIVE = [] + include Aws::Structure + end + # The details about a project member. # # @note Member is a union - when making an API calls you must set exactly one of the members. @@ -10960,6 +11751,10 @@ class SearchInput < Struct.new( # The asset item included in the search results. # @return [Types::AssetItem] # + # @!attribute [rw] data_product_item + # The data product. + # @return [Types::DataProductResultItem] + # # @!attribute [rw] glossary_item # The glossary item included in the search results. # @return [Types::GlossaryItem] @@ -10972,6 +11767,7 @@ class SearchInput < Struct.new( # class SearchInventoryResultItem < Struct.new( :asset_item, + :data_product_item, :glossary_item, :glossary_term_item, :unknown) @@ -10980,6 +11776,7 @@ class SearchInventoryResultItem < Struct.new( include Aws::Structure::Union class AssetItem < SearchInventoryResultItem; end + class DataProductItem < SearchInventoryResultItem; end class GlossaryItem < SearchInventoryResultItem; end class GlossaryTermItem < SearchInventoryResultItem; end class Unknown < SearchInventoryResultItem; end @@ -11104,16 +11901,22 @@ class SearchOutput < Struct.new( # action. # @return [Types::AssetListingItem] # + # @!attribute [rw] data_product_listing + # The data product listing. + # @return [Types::DataProductListingItem] + # # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/SearchResultItem AWS API Documentation # class SearchResultItem < Struct.new( :asset_listing, + :data_product_listing, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AssetListing < SearchResultItem; end + class DataProductListing < SearchResultItem; end class Unknown < SearchResultItem; end end @@ -11785,16 +12588,22 @@ class SubscribedListingInput < Struct.new( # The asset for which the subscription grant is created. # @return [Types::SubscribedAssetListing] # + # @!attribute [rw] product_listing + # The data product listing. + # @return [Types::SubscribedProductListing] + # # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/SubscribedListingItem AWS API Documentation # class SubscribedListingItem < Struct.new( :asset_listing, + :product_listing, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AssetListing < SubscribedListingItem; end + class ProductListing < SubscribedListingItem; end class Unknown < SubscribedListingItem; end end @@ -11840,6 +12649,45 @@ class Project < SubscribedPrincipalInput; end class Unknown < SubscribedPrincipalInput; end end + # The data product listing. + # + # @!attribute [rw] asset_listings + # The data assets of the data product listing. + # @return [Array] + # + # @!attribute [rw] description + # The description of the data product listing. + # @return [String] + # + # @!attribute [rw] entity_id + # The ID of the data product listing. + # @return [String] + # + # @!attribute [rw] entity_revision + # The revision of the data product listing. + # @return [String] + # + # @!attribute [rw] glossary_terms + # The glossary terms of the data product listing. + # @return [Array] + # + # @!attribute [rw] name + # The name of the data product listing. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/SubscribedProductListing AWS API Documentation + # + class SubscribedProductListing < Struct.new( + :asset_listings, + :description, + :entity_id, + :entity_revision, + :glossary_terms, + :name) + SENSITIVE = [] + include Aws::Structure + end + # The project that has the subscription grant. # # @!attribute [rw] id @@ -11906,7 +12754,7 @@ class SubscribedProjectInput < Struct.new( # @return [String] # # @!attribute [rw] subscription_id - # The ID of the subscription grant. + # The ID of the subscription. # @return [String] # # @!attribute [rw] subscription_target_id diff --git a/gems/aws-sdk-datazone/sig/client.rbs b/gems/aws-sdk-datazone/sig/client.rbs index acc0c92968..cff34674fd 100644 --- a/gems/aws-sdk-datazone/sig/client.rbs +++ b/gems/aws-sdk-datazone/sig/client.rbs @@ -377,6 +377,94 @@ module Aws ) -> _CreateAssetTypeResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAssetTypeResponseSuccess + interface _CreateDataProductResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataProductOutput] + def created_at: () -> ::Time + def created_by: () -> ::String + def description: () -> ::String + def domain_id: () -> ::String + def first_revision_created_at: () -> ::Time + def first_revision_created_by: () -> ::String + def forms_output: () -> ::Array[Types::FormOutput] + def glossary_terms: () -> ::Array[::String] + def id: () -> ::String + def items: () -> ::Array[Types::DataProductItem] + def name: () -> ::String + def owning_project_id: () -> ::String + def revision: () -> ::String + def status: () -> ("CREATED" | "CREATING" | "CREATE_FAILED") + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#create_data_product-instance_method + def create_data_product: ( + ?client_token: ::String, + ?description: ::String, + domain_identifier: ::String, + ?forms_input: Array[ + { + content: ::String?, + form_name: ::String, + type_identifier: ::String?, + type_revision: ::String? + }, + ], + ?glossary_terms: Array[::String], + ?items: Array[ + { + glossary_terms: Array[::String]?, + identifier: ::String, + item_type: ("ASSET"), + revision: ::String? + }, + ], + name: ::String, + owning_project_identifier: ::String + ) -> _CreateDataProductResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataProductResponseSuccess + + interface _CreateDataProductRevisionResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataProductRevisionOutput] + def created_at: () -> ::Time + def created_by: () -> ::String + def description: () -> ::String + def domain_id: () -> ::String + def first_revision_created_at: () -> ::Time + def first_revision_created_by: () -> ::String + def forms_output: () -> ::Array[Types::FormOutput] + def glossary_terms: () -> ::Array[::String] + def id: () -> ::String + def items: () -> ::Array[Types::DataProductItem] + def name: () -> ::String + def owning_project_id: () -> ::String + def revision: () -> ::String + def status: () -> ("CREATED" | "CREATING" | "CREATE_FAILED") + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#create_data_product_revision-instance_method + def create_data_product_revision: ( + ?client_token: ::String, + ?description: ::String, + domain_identifier: ::String, + ?forms_input: Array[ + { + content: ::String?, + form_name: ::String, + type_identifier: ::String?, + type_revision: ::String? + }, + ], + ?glossary_terms: Array[::String], + identifier: ::String, + ?items: Array[ + { + glossary_terms: Array[::String]?, + identifier: ::String, + item_type: ("ASSET"), + revision: ::String? + }, + ], + name: ::String + ) -> _CreateDataProductRevisionResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataProductRevisionResponseSuccess + interface _CreateDataSourceResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataSourceOutput] def asset_forms_output: () -> ::Array[Types::FormOutput] @@ -699,7 +787,7 @@ module Aws domain_identifier: ::String, entity_identifier: ::String, ?entity_revision: ::String, - entity_type: ("ASSET") + entity_type: ("ASSET" | "DATA_PRODUCT") ) -> _CreateListingChangeSetResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateListingChangeSetResponseSuccess @@ -893,6 +981,16 @@ module Aws ) -> _DeleteAssetTypeResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAssetTypeResponseSuccess + interface _DeleteDataProductResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDataProductOutput] + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#delete_data_product-instance_method + def delete_data_product: ( + domain_identifier: ::String, + identifier: ::String + ) -> _DeleteDataProductResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDataProductResponseSuccess + interface _DeleteDataSourceResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDataSourceOutput] def asset_forms_output: () -> ::Array[Types::FormOutput] @@ -1169,6 +1267,31 @@ module Aws ) -> _GetAssetTypeResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAssetTypeResponseSuccess + interface _GetDataProductResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::GetDataProductOutput] + def created_at: () -> ::Time + def created_by: () -> ::String + def description: () -> ::String + def domain_id: () -> ::String + def first_revision_created_at: () -> ::Time + def first_revision_created_by: () -> ::String + def forms_output: () -> ::Array[Types::FormOutput] + def glossary_terms: () -> ::Array[::String] + def id: () -> ::String + def items: () -> ::Array[Types::DataProductItem] + def name: () -> ::String + def owning_project_id: () -> ::String + def revision: () -> ::String + def status: () -> ("CREATED" | "CREATING" | "CREATE_FAILED") + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#get_data_product-instance_method + def get_data_product: ( + domain_identifier: ::String, + identifier: ::String, + ?revision: ::String + ) -> _GetDataProductResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataProductResponseSuccess + interface _GetDataSourceResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::GetDataSourceOutput] def asset_forms_output: () -> ::Array[Types::FormOutput] @@ -1697,6 +1820,20 @@ module Aws ) -> _ListAssetRevisionsResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssetRevisionsResponseSuccess + interface _ListDataProductRevisionsResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::ListDataProductRevisionsOutput] + def items: () -> ::Array[Types::DataProductRevision] + def next_token: () -> ::String + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#list_data_product_revisions-instance_method + def list_data_product_revisions: ( + domain_identifier: ::String, + identifier: ::String, + ?max_results: ::Integer, + ?next_token: ::String + ) -> _ListDataProductRevisionsResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDataProductRevisionsResponseSuccess + interface _ListDataSourceRunActivitiesResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListDataSourceRunActivitiesOutput] def items: () -> ::Array[Types::DataSourceRunActivity] @@ -1933,6 +2070,7 @@ module Aws ?environment_id: ::String, ?max_results: ::Integer, ?next_token: ::String, + ?owning_project_id: ::String, ?sort_by: ("CREATED_AT" | "UPDATED_AT"), ?sort_order: ("ASCENDING" | "DESCENDING"), ?subscribed_listing_id: ::String, @@ -2191,7 +2329,7 @@ module Aws attribute: ::String }, ], - search_scope: ("ASSET" | "GLOSSARY" | "GLOSSARY_TERM"), + search_scope: ("ASSET" | "GLOSSARY" | "GLOSSARY_TERM" | "DATA_PRODUCT"), ?search_text: ::String, ?sort: { attribute: ::String, diff --git a/gems/aws-sdk-datazone/sig/types.rbs b/gems/aws-sdk-datazone/sig/types.rbs index 49875835af..94132cbaf4 100644 --- a/gems/aws-sdk-datazone/sig/types.rbs +++ b/gems/aws-sdk-datazone/sig/types.rbs @@ -105,6 +105,13 @@ module Aws::DataZone SENSITIVE: [:description, :name] end + class AssetInDataProductListingItem + attr_accessor entity_id: ::String + attr_accessor entity_revision: ::String + attr_accessor entity_type: ::String + SENSITIVE: [] + end + class AssetItem attr_accessor additional_attributes: Types::AssetItemAdditionalAttributes attr_accessor created_at: ::Time @@ -404,6 +411,66 @@ module Aws::DataZone SENSITIVE: [:description] end + class CreateDataProductInput + attr_accessor client_token: ::String + attr_accessor description: ::String + attr_accessor domain_identifier: ::String + attr_accessor forms_input: ::Array[Types::FormInput] + attr_accessor glossary_terms: ::Array[::String] + attr_accessor items: ::Array[Types::DataProductItem] + attr_accessor name: ::String + attr_accessor owning_project_identifier: ::String + SENSITIVE: [:description, :forms_input, :name] + end + + class CreateDataProductOutput + attr_accessor created_at: ::Time + attr_accessor created_by: ::String + attr_accessor description: ::String + attr_accessor domain_id: ::String + attr_accessor first_revision_created_at: ::Time + attr_accessor first_revision_created_by: ::String + attr_accessor forms_output: ::Array[Types::FormOutput] + attr_accessor glossary_terms: ::Array[::String] + attr_accessor id: ::String + attr_accessor items: ::Array[Types::DataProductItem] + attr_accessor name: ::String + attr_accessor owning_project_id: ::String + attr_accessor revision: ::String + attr_accessor status: ("CREATED" | "CREATING" | "CREATE_FAILED") + SENSITIVE: [:description, :name] + end + + class CreateDataProductRevisionInput + attr_accessor client_token: ::String + attr_accessor description: ::String + attr_accessor domain_identifier: ::String + attr_accessor forms_input: ::Array[Types::FormInput] + attr_accessor glossary_terms: ::Array[::String] + attr_accessor identifier: ::String + attr_accessor items: ::Array[Types::DataProductItem] + attr_accessor name: ::String + SENSITIVE: [:description, :forms_input, :name] + end + + class CreateDataProductRevisionOutput + attr_accessor created_at: ::Time + attr_accessor created_by: ::String + attr_accessor description: ::String + attr_accessor domain_id: ::String + attr_accessor first_revision_created_at: ::Time + attr_accessor first_revision_created_by: ::String + attr_accessor forms_output: ::Array[Types::FormOutput] + attr_accessor glossary_terms: ::Array[::String] + attr_accessor id: ::String + attr_accessor items: ::Array[Types::DataProductItem] + attr_accessor name: ::String + attr_accessor owning_project_id: ::String + attr_accessor revision: ::String + attr_accessor status: ("CREATED" | "CREATING" | "CREATE_FAILED") + SENSITIVE: [:description, :name] + end + class CreateDataSourceInput attr_accessor asset_forms_input: ::Array[Types::FormInput] attr_accessor client_token: ::String @@ -642,7 +709,7 @@ module Aws::DataZone attr_accessor domain_identifier: ::String attr_accessor entity_identifier: ::String attr_accessor entity_revision: ::String - attr_accessor entity_type: ("ASSET") + attr_accessor entity_type: ("ASSET" | "DATA_PRODUCT") SENSITIVE: [] end @@ -796,6 +863,70 @@ module Aws::DataZone SENSITIVE: [:description] end + class DataProductItem + attr_accessor glossary_terms: ::Array[::String] + attr_accessor identifier: ::String + attr_accessor item_type: ("ASSET") + attr_accessor revision: ::String + SENSITIVE: [] + end + + class DataProductListing + attr_accessor created_at: ::Time + attr_accessor data_product_id: ::String + attr_accessor data_product_revision: ::String + attr_accessor forms: ::String + attr_accessor glossary_terms: ::Array[Types::DetailedGlossaryTerm] + attr_accessor items: ::Array[Types::ListingSummary] + attr_accessor owning_project_id: ::String + SENSITIVE: [] + end + + class DataProductListingItem + attr_accessor additional_attributes: Types::DataProductListingItemAdditionalAttributes + attr_accessor created_at: ::Time + attr_accessor description: ::String + attr_accessor entity_id: ::String + attr_accessor entity_revision: ::String + attr_accessor glossary_terms: ::Array[Types::DetailedGlossaryTerm] + attr_accessor items: ::Array[Types::ListingSummaryItem] + attr_accessor listing_created_by: ::String + attr_accessor listing_id: ::String + attr_accessor listing_revision: ::String + attr_accessor listing_updated_by: ::String + attr_accessor name: ::String + attr_accessor owning_project_id: ::String + SENSITIVE: [:description, :name] + end + + class DataProductListingItemAdditionalAttributes + attr_accessor forms: ::String + SENSITIVE: [] + end + + class DataProductResultItem + attr_accessor created_at: ::Time + attr_accessor created_by: ::String + attr_accessor description: ::String + attr_accessor domain_id: ::String + attr_accessor first_revision_created_at: ::Time + attr_accessor first_revision_created_by: ::String + attr_accessor glossary_terms: ::Array[::String] + attr_accessor id: ::String + attr_accessor name: ::String + attr_accessor owning_project_id: ::String + SENSITIVE: [:description, :name] + end + + class DataProductRevision + attr_accessor created_at: ::Time + attr_accessor created_by: ::String + attr_accessor domain_id: ::String + attr_accessor id: ::String + attr_accessor revision: ::String + SENSITIVE: [] + end + class DataSourceConfigurationInput attr_accessor glue_run_configuration: Types::GlueRunConfigurationInput attr_accessor redshift_run_configuration: Types::RedshiftRunConfigurationInput @@ -902,6 +1033,15 @@ module Aws::DataZone class DeleteAssetTypeOutput < Aws::EmptyStructure end + class DeleteDataProductInput + attr_accessor domain_identifier: ::String + attr_accessor identifier: ::String + SENSITIVE: [] + end + + class DeleteDataProductOutput < Aws::EmptyStructure + end + class DeleteDataSourceInput attr_accessor client_token: ::String attr_accessor domain_identifier: ::String @@ -1360,6 +1500,31 @@ module Aws::DataZone SENSITIVE: [:description] end + class GetDataProductInput + attr_accessor domain_identifier: ::String + attr_accessor identifier: ::String + attr_accessor revision: ::String + SENSITIVE: [] + end + + class GetDataProductOutput + attr_accessor created_at: ::Time + attr_accessor created_by: ::String + attr_accessor description: ::String + attr_accessor domain_id: ::String + attr_accessor first_revision_created_at: ::Time + attr_accessor first_revision_created_by: ::String + attr_accessor forms_output: ::Array[Types::FormOutput] + attr_accessor glossary_terms: ::Array[::String] + attr_accessor id: ::String + attr_accessor items: ::Array[Types::DataProductItem] + attr_accessor name: ::String + attr_accessor owning_project_id: ::String + attr_accessor revision: ::String + attr_accessor status: ("CREATED" | "CREATING" | "CREATE_FAILED") + SENSITIVE: [:description, :name] + end + class GetDataSourceInput attr_accessor domain_identifier: ::String attr_accessor identifier: ::String @@ -2077,6 +2242,20 @@ module Aws::DataZone SENSITIVE: [] end + class ListDataProductRevisionsInput + attr_accessor domain_identifier: ::String + attr_accessor identifier: ::String + attr_accessor max_results: ::Integer + attr_accessor next_token: ::String + SENSITIVE: [] + end + + class ListDataProductRevisionsOutput + attr_accessor items: ::Array[Types::DataProductRevision] + attr_accessor next_token: ::String + SENSITIVE: [] + end + class ListDataSourceRunActivitiesInput attr_accessor domain_identifier: ::String attr_accessor identifier: ::String @@ -2307,6 +2486,7 @@ module Aws::DataZone attr_accessor environment_id: ::String attr_accessor max_results: ::Integer attr_accessor next_token: ::String + attr_accessor owning_project_id: ::String attr_accessor sort_by: ("CREATED_AT" | "UPDATED_AT") attr_accessor sort_order: ("ASCENDING" | "DESCENDING") attr_accessor subscribed_listing_id: ::String @@ -2406,11 +2586,14 @@ module Aws::DataZone class ListingItem attr_accessor asset_listing: Types::AssetListing + attr_accessor data_product_listing: Types::DataProductListing attr_accessor unknown: untyped SENSITIVE: [] class AssetListing < ListingItem end + class DataProductListing < ListingItem + end class Unknown < ListingItem end end @@ -2427,6 +2610,20 @@ module Aws::DataZone SENSITIVE: [] end + class ListingSummary + attr_accessor glossary_terms: ::Array[Types::DetailedGlossaryTerm] + attr_accessor listing_id: ::String + attr_accessor listing_revision: ::String + SENSITIVE: [] + end + + class ListingSummaryItem + attr_accessor glossary_terms: ::Array[Types::DetailedGlossaryTerm] + attr_accessor listing_id: ::String + attr_accessor listing_revision: ::String + SENSITIVE: [] + end + class Member attr_accessor group_identifier: ::String attr_accessor user_identifier: ::String @@ -2889,7 +3086,7 @@ module Aws::DataZone attr_accessor next_token: ::String attr_accessor owning_project_identifier: ::String attr_accessor search_in: ::Array[Types::SearchInItem] - attr_accessor search_scope: ("ASSET" | "GLOSSARY" | "GLOSSARY_TERM") + attr_accessor search_scope: ("ASSET" | "GLOSSARY" | "GLOSSARY_TERM" | "DATA_PRODUCT") attr_accessor search_text: ::String attr_accessor sort: Types::SearchSort SENSITIVE: [] @@ -2897,6 +3094,7 @@ module Aws::DataZone class SearchInventoryResultItem attr_accessor asset_item: Types::AssetItem + attr_accessor data_product_item: Types::DataProductResultItem attr_accessor glossary_item: Types::GlossaryItem attr_accessor glossary_term_item: Types::GlossaryTermItem attr_accessor unknown: untyped @@ -2904,6 +3102,8 @@ module Aws::DataZone class AssetItem < SearchInventoryResultItem end + class DataProductItem < SearchInventoryResultItem + end class GlossaryItem < SearchInventoryResultItem end class GlossaryTermItem < SearchInventoryResultItem @@ -2940,11 +3140,14 @@ module Aws::DataZone class SearchResultItem attr_accessor asset_listing: Types::AssetListingItem + attr_accessor data_product_listing: Types::DataProductListingItem attr_accessor unknown: untyped SENSITIVE: [] class AssetListing < SearchResultItem end + class DataProductListing < SearchResultItem + end class Unknown < SearchResultItem end end @@ -3129,11 +3332,14 @@ module Aws::DataZone class SubscribedListingItem attr_accessor asset_listing: Types::SubscribedAssetListing + attr_accessor product_listing: Types::SubscribedProductListing attr_accessor unknown: untyped SENSITIVE: [] class AssetListing < SubscribedListingItem end + class ProductListing < SubscribedListingItem + end class Unknown < SubscribedListingItem end end @@ -3160,6 +3366,16 @@ module Aws::DataZone end end + class SubscribedProductListing + attr_accessor asset_listings: ::Array[Types::AssetInDataProductListingItem] + attr_accessor description: ::String + attr_accessor entity_id: ::String + attr_accessor entity_revision: ::String + attr_accessor glossary_terms: ::Array[Types::DetailedGlossaryTerm] + attr_accessor name: ::String + SENSITIVE: [] + end + class SubscribedProject attr_accessor id: ::String attr_accessor name: ::String diff --git a/gems/aws-sdk-ecr/CHANGELOG.md b/gems/aws-sdk-ecr/CHANGELOG.md index 9a659c69d3..a16c4a3823 100644 --- a/gems/aws-sdk-ecr/CHANGELOG.md +++ b/gems/aws-sdk-ecr/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.80.0 (2024-08-05) +------------------ + +* Feature - Released two new APIs along with documentation updates. The GetAccountSetting API is used to view the current basic scan type version setting for your registry, while the PutAccountSetting API is used to update the basic scan type version for your registry. + 1.79.0 (2024-07-25) ------------------ diff --git a/gems/aws-sdk-ecr/VERSION b/gems/aws-sdk-ecr/VERSION index b3a8c61e6a..aaceec04e0 100644 --- a/gems/aws-sdk-ecr/VERSION +++ b/gems/aws-sdk-ecr/VERSION @@ -1 +1 @@ -1.79.0 +1.80.0 diff --git a/gems/aws-sdk-ecr/lib/aws-sdk-ecr.rb b/gems/aws-sdk-ecr/lib/aws-sdk-ecr.rb index 44d3e852f9..18352c7b26 100644 --- a/gems/aws-sdk-ecr/lib/aws-sdk-ecr.rb +++ b/gems/aws-sdk-ecr/lib/aws-sdk-ecr.rb @@ -53,6 +53,6 @@ # @!group service module Aws::ECR - GEM_VERSION = '1.79.0' + GEM_VERSION = '1.80.0' end diff --git a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/client.rb b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/client.rb index 83f07d6f68..de3f6f1900 100644 --- a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/client.rb +++ b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/client.rb @@ -1036,7 +1036,10 @@ def create_repository(params = {}, options = {}) # # @option params [String] :custom_role_arn # The ARN of the role to be assumed by Amazon ECR. This role must be in - # the same account as the registry that you are configuring. + # the same account as the registry that you are configuring. Amazon ECR + # will assume your supplied role when the customRoleArn is specified. + # When this field isn't specified, Amazon ECR will use the + # service-linked role for the repository creation template. # # @return [Types::CreateRepositoryCreationTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -2074,6 +2077,36 @@ def describe_repository_creation_templates(params = {}, options = {}) req.send_request(options) end + # Retrieves the basic scan type version name. + # + # @option params [required, String] :name + # Basic scan type version name. + # + # @return [Types::GetAccountSettingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::GetAccountSettingResponse#name #name} => String + # * {Types::GetAccountSettingResponse#value #value} => String + # + # @example Request syntax with placeholder values + # + # resp = client.get_account_setting({ + # name: "AccountSettingName", # required + # }) + # + # @example Response structure + # + # resp.name #=> String + # resp.value #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAccountSetting AWS API Documentation + # + # @overload get_account_setting(params = {}) + # @param [Hash] params ({}) + def get_account_setting(params = {}, options = {}) + req = build_request(:get_account_setting, params) + req.send_request(options) + end + # Retrieves an authorization token. An authorization token represents # your IAM authentication credentials and can be used to access any # Amazon ECR registry that your IAM principal has access to. The @@ -2610,6 +2643,42 @@ def list_tags_for_resource(params = {}, options = {}) req.send_request(options) end + # Allows you to change the basic scan type version by setting the `name` + # parameter to either `CLAIR` to `AWS_NATIVE`. + # + # @option params [required, String] :name + # Basic scan type version name. + # + # @option params [required, String] :value + # Setting value that determines what basic scan type is being used: + # `AWS_NATIVE` or `CLAIR`. + # + # @return [Types::PutAccountSettingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::PutAccountSettingResponse#name #name} => String + # * {Types::PutAccountSettingResponse#value #value} => String + # + # @example Request syntax with placeholder values + # + # resp = client.put_account_setting({ + # name: "AccountSettingName", # required + # value: "AccountSettingValue", # required + # }) + # + # @example Response structure + # + # resp.name #=> String + # resp.value #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutAccountSetting AWS API Documentation + # + # @overload put_account_setting(params = {}) + # @param [Hash] params ({}) + def put_account_setting(params = {}, options = {}) + req = build_request(:put_account_setting, params) + req.send_request(options) + end + # Creates or updates the image manifest and tags associated with an # image. # @@ -3339,7 +3408,10 @@ def update_pull_through_cache_rule(params = {}, options = {}) # # @option params [String] :custom_role_arn # The ARN of the role to be assumed by Amazon ECR. This role must be in - # the same account as the registry that you are configuring. + # the same account as the registry that you are configuring. Amazon ECR + # will assume your supplied role when the customRoleArn is specified. + # When this field isn't specified, Amazon ECR will use the + # service-linked role for the repository creation template. # # @return [Types::UpdateRepositoryCreationTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -3571,7 +3643,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-ecr' - context[:gem_version] = '1.79.0' + context[:gem_version] = '1.80.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/client_api.rb b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/client_api.rb index 1bdd717bf5..abb4773831 100644 --- a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/client_api.rb +++ b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/client_api.rb @@ -13,6 +13,8 @@ module ClientApi include Seahorse::Model + AccountSettingName = Shapes::StringShape.new(name: 'AccountSettingName') + AccountSettingValue = Shapes::StringShape.new(name: 'AccountSettingValue') Arch = Shapes::StringShape.new(name: 'Arch') Arn = Shapes::StringShape.new(name: 'Arn') Attribute = Shapes::StructureShape.new(name: 'Attribute') @@ -96,6 +98,8 @@ module ClientApi FindingSeverity = Shapes::StringShape.new(name: 'FindingSeverity') FindingSeverityCounts = Shapes::MapShape.new(name: 'FindingSeverityCounts') ForceFlag = Shapes::BooleanShape.new(name: 'ForceFlag') + GetAccountSettingRequest = Shapes::StructureShape.new(name: 'GetAccountSettingRequest') + GetAccountSettingResponse = Shapes::StructureShape.new(name: 'GetAccountSettingResponse') GetAuthorizationTokenRegistryIdList = Shapes::ListShape.new(name: 'GetAuthorizationTokenRegistryIdList') GetAuthorizationTokenRequest = Shapes::StructureShape.new(name: 'GetAuthorizationTokenRequest') GetAuthorizationTokenResponse = Shapes::StructureShape.new(name: 'GetAuthorizationTokenResponse') @@ -207,6 +211,8 @@ module ClientApi PullThroughCacheRuleRepositoryPrefix = Shapes::StringShape.new(name: 'PullThroughCacheRuleRepositoryPrefix') PullThroughCacheRuleRepositoryPrefixList = Shapes::ListShape.new(name: 'PullThroughCacheRuleRepositoryPrefixList') PushTimestamp = Shapes::TimestampShape.new(name: 'PushTimestamp') + PutAccountSettingRequest = Shapes::StructureShape.new(name: 'PutAccountSettingRequest') + PutAccountSettingResponse = Shapes::StructureShape.new(name: 'PutAccountSettingResponse') PutImageRequest = Shapes::StructureShape.new(name: 'PutImageRequest') PutImageResponse = Shapes::StructureShape.new(name: 'PutImageResponse') PutImageScanningConfigurationRequest = Shapes::StructureShape.new(name: 'PutImageScanningConfigurationRequest') @@ -638,6 +644,13 @@ module ClientApi FindingSeverityCounts.key = Shapes::ShapeRef.new(shape: FindingSeverity) FindingSeverityCounts.value = Shapes::ShapeRef.new(shape: SeverityCount) + GetAccountSettingRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccountSettingName, required: true, location_name: "name")) + GetAccountSettingRequest.struct_class = Types::GetAccountSettingRequest + + GetAccountSettingResponse.add_member(:name, Shapes::ShapeRef.new(shape: AccountSettingName, location_name: "name")) + GetAccountSettingResponse.add_member(:value, Shapes::ShapeRef.new(shape: AccountSettingName, location_name: "value")) + GetAccountSettingResponse.struct_class = Types::GetAccountSettingResponse + GetAuthorizationTokenRegistryIdList.member = Shapes::ShapeRef.new(shape: RegistryId) GetAuthorizationTokenRequest.add_member(:registry_ids, Shapes::ShapeRef.new(shape: GetAuthorizationTokenRegistryIdList, deprecated: true, location_name: "registryIds", metadata: {"deprecatedMessage"=>"This field is deprecated. The returned authorization token can be used to access any Amazon ECR registry that the IAM principal has access to, specifying a registry ID doesn't change the permissions scope of the authorization token."})) @@ -934,6 +947,14 @@ module ClientApi PullThroughCacheRuleRepositoryPrefixList.member = Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix) + PutAccountSettingRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccountSettingName, required: true, location_name: "name")) + PutAccountSettingRequest.add_member(:value, Shapes::ShapeRef.new(shape: AccountSettingValue, required: true, location_name: "value")) + PutAccountSettingRequest.struct_class = Types::PutAccountSettingRequest + + PutAccountSettingResponse.add_member(:name, Shapes::ShapeRef.new(shape: AccountSettingName, location_name: "name")) + PutAccountSettingResponse.add_member(:value, Shapes::ShapeRef.new(shape: AccountSettingValue, location_name: "value")) + PutAccountSettingResponse.struct_class = Types::PutAccountSettingResponse + PutImageRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId")) PutImageRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName")) PutImageRequest.add_member(:image_manifest, Shapes::ShapeRef.new(shape: ImageManifest, required: true, location_name: "imageManifest")) @@ -1605,6 +1626,17 @@ module ClientApi ) end) + api.add_operation(:get_account_setting, Seahorse::Model::Operation.new.tap do |o| + o.name = "GetAccountSetting" + o.http_method = "POST" + o.http_request_uri = "/" + o.input = Shapes::ShapeRef.new(shape: GetAccountSettingRequest) + o.output = Shapes::ShapeRef.new(shape: GetAccountSettingResponse) + o.errors << Shapes::ShapeRef.new(shape: ServerException) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException) + end) + api.add_operation(:get_authorization_token, Seahorse::Model::Operation.new.tap do |o| o.name = "GetAuthorizationToken" o.http_method = "POST" @@ -1736,6 +1768,18 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: ServerException) end) + api.add_operation(:put_account_setting, Seahorse::Model::Operation.new.tap do |o| + o.name = "PutAccountSetting" + o.http_method = "POST" + o.http_request_uri = "/" + o.input = Shapes::ShapeRef.new(shape: PutAccountSettingRequest) + o.output = Shapes::ShapeRef.new(shape: PutAccountSettingResponse) + o.errors << Shapes::ShapeRef.new(shape: ServerException) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException) + o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) + end) + api.add_operation(:put_image, Seahorse::Model::Operation.new.tap do |o| o.name = "PutImage" o.http_method = "POST" diff --git a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/endpoints.rb b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/endpoints.rb index 808bcda5c2..8ba5aa21ef 100644 --- a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/endpoints.rb +++ b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/endpoints.rb @@ -306,6 +306,20 @@ def self.build(context) end end + class GetAccountSetting + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::ECR::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class GetAuthorizationToken def self.build(context) unless context.config.regional_endpoint @@ -446,6 +460,20 @@ def self.build(context) end end + class PutAccountSetting + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::ECR::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class PutImage def self.build(context) unless context.config.regional_endpoint diff --git a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/plugins/endpoints.rb b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/plugins/endpoints.rb index fe95f41bfb..132cbeb20d 100644 --- a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/plugins/endpoints.rb +++ b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/plugins/endpoints.rb @@ -100,6 +100,8 @@ def parameters_for_operation(context) Aws::ECR::Endpoints::DescribeRepositories.build(context) when :describe_repository_creation_templates Aws::ECR::Endpoints::DescribeRepositoryCreationTemplates.build(context) + when :get_account_setting + Aws::ECR::Endpoints::GetAccountSetting.build(context) when :get_authorization_token Aws::ECR::Endpoints::GetAuthorizationToken.build(context) when :get_download_url_for_layer @@ -120,6 +122,8 @@ def parameters_for_operation(context) Aws::ECR::Endpoints::ListImages.build(context) when :list_tags_for_resource Aws::ECR::Endpoints::ListTagsForResource.build(context) + when :put_account_setting + Aws::ECR::Endpoints::PutAccountSetting.build(context) when :put_image Aws::ECR::Endpoints::PutImage.build(context) when :put_image_scanning_configuration diff --git a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb index 1d0b7de42a..0a9071b76e 100644 --- a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb +++ b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb @@ -496,7 +496,10 @@ class CreatePullThroughCacheRuleResponse < Struct.new( # # @!attribute [rw] custom_role_arn # The ARN of the role to be assumed by Amazon ECR. This role must be - # in the same account as the registry that you are configuring. + # in the same account as the registry that you are configuring. Amazon + # ECR will assume your supplied role when the customRoleArn is + # specified. When this field isn't specified, Amazon ECR will use the + # service-linked role for the repository creation template. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepositoryCreationTemplateRequest AWS API Documentation @@ -1592,6 +1595,36 @@ class EnhancedImageScanFinding < Struct.new( include Aws::Structure end + # @!attribute [rw] name + # Basic scan type version name. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAccountSettingRequest AWS API Documentation + # + class GetAccountSettingRequest < Struct.new( + :name) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] name + # Retrieves the basic scan type version name. + # @return [String] + # + # @!attribute [rw] value + # Retrieves the value that specifies what basic scan type is being + # used: `AWS_NATIVE` or `CLAIR`. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAccountSettingResponse AWS API Documentation + # + class GetAccountSettingResponse < Struct.new( + :name, + :value) + SENSITIVE = [] + include Aws::Structure + end + # @!attribute [rw] registry_ids # A list of Amazon Web Services account IDs that are associated with # the registries for which to get AuthorizationData objects. If you do @@ -2927,6 +2960,41 @@ class PullThroughCacheRuleNotFoundException < Struct.new( include Aws::Structure end + # @!attribute [rw] name + # Basic scan type version name. + # @return [String] + # + # @!attribute [rw] value + # Setting value that determines what basic scan type is being used: + # `AWS_NATIVE` or `CLAIR`. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutAccountSettingRequest AWS API Documentation + # + class PutAccountSettingRequest < Struct.new( + :name, + :value) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] name + # Retrieves the the basic scan type version name. + # @return [String] + # + # @!attribute [rw] value + # Retrieves the basic scan type value, either `AWS_NATIVE` or `-`. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutAccountSettingResponse AWS API Documentation + # + class PutAccountSettingResponse < Struct.new( + :name, + :value) + SENSITIVE = [] + include Aws::Structure + end + # @!attribute [rw] registry_id # The Amazon Web Services account ID associated with the registry that # contains the repository in which to put the image. If you do not @@ -3520,7 +3588,10 @@ class RepositoryAlreadyExistsException < Struct.new( # @return [Array] # # @!attribute [rw] custom_role_arn - # The ARN of the role to be assumed by Amazon ECR. + # The ARN of the role to be assumed by Amazon ECR. Amazon ECR will + # assume your supplied role when the customRoleArn is specified. When + # this field isn't specified, Amazon ECR will use the service-linked + # role for the repository creation template. # @return [String] # # @!attribute [rw] created_at @@ -4292,7 +4363,10 @@ class UpdatePullThroughCacheRuleResponse < Struct.new( # # @!attribute [rw] custom_role_arn # The ARN of the role to be assumed by Amazon ECR. This role must be - # in the same account as the registry that you are configuring. + # in the same account as the registry that you are configuring. Amazon + # ECR will assume your supplied role when the customRoleArn is + # specified. When this field isn't specified, Amazon ECR will use the + # service-linked role for the repository creation template. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UpdateRepositoryCreationTemplateRequest AWS API Documentation diff --git a/gems/aws-sdk-ecr/sig/client.rbs b/gems/aws-sdk-ecr/sig/client.rbs index 27b7caec61..8fbed72ccd 100644 --- a/gems/aws-sdk-ecr/sig/client.rbs +++ b/gems/aws-sdk-ecr/sig/client.rbs @@ -411,6 +411,17 @@ module Aws ) -> _DescribeRepositoryCreationTemplatesResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRepositoryCreationTemplatesResponseSuccess + interface _GetAccountSettingResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountSettingResponse] + def name: () -> ::String + def value: () -> ::String + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#get_account_setting-instance_method + def get_account_setting: ( + name: ::String + ) -> _GetAccountSettingResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccountSettingResponseSuccess + interface _GetAuthorizationTokenResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::GetAuthorizationTokenResponse] def authorization_data: () -> ::Array[Types::AuthorizationData] @@ -548,6 +559,18 @@ module Aws ) -> _ListTagsForResourceResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess + interface _PutAccountSettingResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::PutAccountSettingResponse] + def name: () -> ::String + def value: () -> ::String + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#put_account_setting-instance_method + def put_account_setting: ( + name: ::String, + value: ::String + ) -> _PutAccountSettingResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountSettingResponseSuccess + interface _PutImageResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::PutImageResponse] def image: () -> Types::Image diff --git a/gems/aws-sdk-ecr/sig/types.rbs b/gems/aws-sdk-ecr/sig/types.rbs index 685898f9e2..e70ebfd7ee 100644 --- a/gems/aws-sdk-ecr/sig/types.rbs +++ b/gems/aws-sdk-ecr/sig/types.rbs @@ -391,6 +391,17 @@ module Aws::ECR SENSITIVE: [] end + class GetAccountSettingRequest + attr_accessor name: ::String + SENSITIVE: [] + end + + class GetAccountSettingResponse + attr_accessor name: ::String + attr_accessor value: ::String + SENSITIVE: [] + end + class GetAuthorizationTokenRequest attr_accessor registry_ids: ::Array[::String] SENSITIVE: [] @@ -767,6 +778,18 @@ module Aws::ECR SENSITIVE: [] end + class PutAccountSettingRequest + attr_accessor name: ::String + attr_accessor value: ::String + SENSITIVE: [] + end + + class PutAccountSettingResponse + attr_accessor name: ::String + attr_accessor value: ::String + SENSITIVE: [] + end + class PutImageRequest attr_accessor registry_id: ::String attr_accessor repository_name: ::String diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/CHANGELOG.md b/gems/aws-sdk-kinesisvideowebrtcstorage/CHANGELOG.md index 6c4e9db803..97b5e62bc7 100644 --- a/gems/aws-sdk-kinesisvideowebrtcstorage/CHANGELOG.md +++ b/gems/aws-sdk-kinesisvideowebrtcstorage/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.19.0 (2024-08-05) +------------------ + +* Feature - Add JoinStorageSessionAsViewer API + 1.18.0 (2024-07-02) ------------------ diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/VERSION b/gems/aws-sdk-kinesisvideowebrtcstorage/VERSION index 84cc529467..815d5ca06d 100644 --- a/gems/aws-sdk-kinesisvideowebrtcstorage/VERSION +++ b/gems/aws-sdk-kinesisvideowebrtcstorage/VERSION @@ -1 +1 @@ -1.18.0 +1.19.0 diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage.rb b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage.rb index 66f4809b14..dad8664d61 100644 --- a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage.rb +++ b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage.rb @@ -52,6 +52,6 @@ # @!group service module Aws::KinesisVideoWebRTCStorage - GEM_VERSION = '1.18.0' + GEM_VERSION = '1.19.0' end diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/client.rb b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/client.rb index 7607ebfec5..0e8b57d230 100644 --- a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/client.rb +++ b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/client.rb @@ -425,6 +425,12 @@ def initialize(*args) # @!group API Operations + # Before using this API, you must call the `GetSignalingChannelEndpoint` + # API to request the WEBRTC endpoint. You then specify the endpoint and + # region in your `JoinStorageSession` API request. + # + # + # # Join the ongoing one way-video and/or multi-way audio WebRTC session # as a video producing device for an input channel. If there’s no # existing session for the channel, a new streaming session needs to be @@ -432,17 +438,33 @@ def initialize(*args) # must be provided. # # Currently for the `SINGLE_MASTER` type, a video producing device is - # able to ingest both audio and video media into a stream, while viewers - # can only ingest audio. Both a video producing device and viewers can - # join the session first, and wait for other participants. + # able to ingest both audio and video media into a stream. Only video + # producing devices can join the session and record media. # - # While participants are having peer to peer conversations through - # webRTC, the ingested media session will be stored into the Kinesis - # Video Stream. Multiple viewers are able to playback real-time media. + # Both audio and video tracks are currently required for WebRTC + # ingestion. # - # Customers can also use existing Kinesis Video Streams features like - # `HLS` or `DASH` playback, Image generation, and more with ingested - # WebRTC media. + # Current requirements: + # + # * Video track: H.264 + # + # * Audio track: Opus + # + # The resulting ingested video in the Kinesis video stream will have the + # following parameters: H.264 video and AAC audio. + # + # Once a master participant has negotiated a connection through WebRTC, + # the ingested media session will be stored in the Kinesis video stream. + # Multiple viewers are then able to play back real-time media through + # our Playback APIs. + # + # You can also use existing Kinesis Video Streams features like `HLS` or + # `DASH` playback, image generation via [GetImages][1], and more with + # ingested WebRTC media. + # + # S3 image delivery and notifications are not currently supported. + # + # # # Assume that only one video producing device client can be associated # with a session for the channel. If more than one client joins the @@ -451,6 +473,19 @@ def initialize(*args) # # # + # **Additional information** + # + # * **Idempotent** - This API is not idempotent. + # + # * **Retry behavior** - This is counted as a new API call. + # + # * **Concurrent calls** - Concurrent calls are allowed. An offer is + # sent once per each call. + # + # + # + # [1]: https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/gs-getImages.html + # # @option params [required, String] :channel_arn # The Amazon Resource Name (ARN) of the signaling channel. # @@ -471,6 +506,50 @@ def join_storage_session(params = {}, options = {}) req.send_request(options) end + # Join the ongoing one way-video and/or multi-way audio WebRTC session + # as a viewer for an input channel. If there’s no existing session for + # the channel, create a new streaming session and provide the Amazon + # Resource Name (ARN) of the signaling channel (`channelArn`) and client + # id (`clientId`). + # + # Currently for `SINGLE_MASTER` type, a video producing device is able + # to ingest both audio and video media into a stream, while viewers can + # only ingest audio. Both a video producing device and viewers can join + # a session first and wait for other participants. While participants + # are having peer to peer conversations through WebRTC, the ingested + # media session will be stored into the Kinesis Video Stream. Multiple + # viewers are able to playback real-time media. + # + # Customers can also use existing Kinesis Video Streams features like + # `HLS` or `DASH` playback, Image generation, and more with ingested + # WebRTC media. If there’s an existing session with the same `clientId` + # that's found in the join session request, the new request takes + # precedence. + # + # @option params [required, String] :channel_arn + # The Amazon Resource Name (ARN) of the signaling channel. + # + # @option params [required, String] :client_id + # The unique identifier for the sender client. + # + # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # + # @example Request syntax with placeholder values + # + # resp = client.join_storage_session_as_viewer({ + # channel_arn: "ChannelArn", # required + # client_id: "ClientId", # required + # }) + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-webrtc-storage-2018-05-10/JoinStorageSessionAsViewer AWS API Documentation + # + # @overload join_storage_session_as_viewer(params = {}) + # @param [Hash] params ({}) + def join_storage_session_as_viewer(params = {}, options = {}) + req = build_request(:join_storage_session_as_viewer, params) + req.send_request(options) + end + # @!endgroup # @param params ({}) @@ -484,7 +563,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-kinesisvideowebrtcstorage' - context[:gem_version] = '1.18.0' + context[:gem_version] = '1.19.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/client_api.rb b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/client_api.rb index 63af9fa194..e80b3cd266 100644 --- a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/client_api.rb +++ b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/client_api.rb @@ -15,8 +15,10 @@ module ClientApi AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException') ChannelArn = Shapes::StringShape.new(name: 'ChannelArn') + ClientId = Shapes::StringShape.new(name: 'ClientId') ClientLimitExceededException = Shapes::StructureShape.new(name: 'ClientLimitExceededException') InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException') + JoinStorageSessionAsViewerInput = Shapes::StructureShape.new(name: 'JoinStorageSessionAsViewerInput') JoinStorageSessionInput = Shapes::StructureShape.new(name: 'JoinStorageSessionInput') ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException') String = Shapes::StringShape.new(name: 'String') @@ -30,6 +32,10 @@ module ClientApi InvalidArgumentException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message")) InvalidArgumentException.struct_class = Types::InvalidArgumentException + JoinStorageSessionAsViewerInput.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn")) + JoinStorageSessionAsViewerInput.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientId, required: true, location_name: "clientId")) + JoinStorageSessionAsViewerInput.struct_class = Types::JoinStorageSessionAsViewerInput + JoinStorageSessionInput.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn")) JoinStorageSessionInput.struct_class = Types::JoinStorageSessionInput @@ -65,6 +71,18 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) end) + + api.add_operation(:join_storage_session_as_viewer, Seahorse::Model::Operation.new.tap do |o| + o.name = "JoinStorageSessionAsViewer" + o.http_method = "POST" + o.http_request_uri = "/joinStorageSessionAsViewer" + o.input = Shapes::ShapeRef.new(shape: JoinStorageSessionAsViewerInput) + o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) + o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException) + o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + end) end end diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/endpoint_provider.rb b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/endpoint_provider.rb index 5962a925e2..32b36aea20 100644 --- a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/endpoint_provider.rb +++ b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/endpoint_provider.rb @@ -32,7 +32,7 @@ def resolve_endpoint(parameters) raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both" end if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) - if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) + if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true) return Aws::Endpoints::Endpoint.new(url: "https://kinesisvideo-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}) end raise ArgumentError, "FIPS is enabled but this partition does not support FIPS" diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/endpoints.rb b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/endpoints.rb index 85f4ff99f4..6fd49d8efd 100644 --- a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/endpoints.rb +++ b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/endpoints.rb @@ -26,5 +26,19 @@ def self.build(context) end end + class JoinStorageSessionAsViewer + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::KinesisVideoWebRTCStorage::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + end end diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/plugins/endpoints.rb b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/plugins/endpoints.rb index defbe3014c..4a7cefe849 100644 --- a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/plugins/endpoints.rb +++ b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/plugins/endpoints.rb @@ -60,6 +60,8 @@ def parameters_for_operation(context) case context.operation_name when :join_storage_session Aws::KinesisVideoWebRTCStorage::Endpoints::JoinStorageSession.build(context) + when :join_storage_session_as_viewer + Aws::KinesisVideoWebRTCStorage::Endpoints::JoinStorageSessionAsViewer.build(context) end end end diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/types.rb b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/types.rb index 29314a6989..63806f97d7 100644 --- a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/types.rb +++ b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/types.rb @@ -50,6 +50,23 @@ class InvalidArgumentException < Struct.new( include Aws::Structure end + # @!attribute [rw] channel_arn + # The Amazon Resource Name (ARN) of the signaling channel. + # @return [String] + # + # @!attribute [rw] client_id + # The unique identifier for the sender client. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-webrtc-storage-2018-05-10/JoinStorageSessionAsViewerInput AWS API Documentation + # + class JoinStorageSessionAsViewerInput < Struct.new( + :channel_arn, + :client_id) + SENSITIVE = [] + include Aws::Structure + end + # @!attribute [rw] channel_arn # The Amazon Resource Name (ARN) of the signaling channel. # @return [String] diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/sig/client.rbs b/gems/aws-sdk-kinesisvideowebrtcstorage/sig/client.rbs index 9cd7e41316..f45717dc4f 100644 --- a/gems/aws-sdk-kinesisvideowebrtcstorage/sig/client.rbs +++ b/gems/aws-sdk-kinesisvideowebrtcstorage/sig/client.rbs @@ -78,6 +78,13 @@ module Aws channel_arn: ::String ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] + + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisVideoWebRTCStorage/Client.html#join_storage_session_as_viewer-instance_method + def join_storage_session_as_viewer: ( + channel_arn: ::String, + client_id: ::String + ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] end end end diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/sig/types.rbs b/gems/aws-sdk-kinesisvideowebrtcstorage/sig/types.rbs index 58600ee8e5..00ced417b9 100644 --- a/gems/aws-sdk-kinesisvideowebrtcstorage/sig/types.rbs +++ b/gems/aws-sdk-kinesisvideowebrtcstorage/sig/types.rbs @@ -23,6 +23,12 @@ module Aws::KinesisVideoWebRTCStorage SENSITIVE: [] end + class JoinStorageSessionAsViewerInput + attr_accessor channel_arn: ::String + attr_accessor client_id: ::String + SENSITIVE: [] + end + class JoinStorageSessionInput attr_accessor channel_arn: ::String SENSITIVE: [] diff --git a/gems/aws-sdk-pi/CHANGELOG.md b/gems/aws-sdk-pi/CHANGELOG.md index 137bab28df..8f6cda7341 100644 --- a/gems/aws-sdk-pi/CHANGELOG.md +++ b/gems/aws-sdk-pi/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.63.0 (2024-08-05) +------------------ + +* Feature - Added a description for the Dimension db.sql.tokenized_id on the DimensionGroup data type page. + 1.62.0 (2024-07-02) ------------------ diff --git a/gems/aws-sdk-pi/VERSION b/gems/aws-sdk-pi/VERSION index 76d0536205..af92bdd9f5 100644 --- a/gems/aws-sdk-pi/VERSION +++ b/gems/aws-sdk-pi/VERSION @@ -1 +1 @@ -1.62.0 +1.63.0 diff --git a/gems/aws-sdk-pi/lib/aws-sdk-pi.rb b/gems/aws-sdk-pi/lib/aws-sdk-pi.rb index e9a0afbcfa..a3f5422e0d 100644 --- a/gems/aws-sdk-pi/lib/aws-sdk-pi.rb +++ b/gems/aws-sdk-pi/lib/aws-sdk-pi.rb @@ -52,6 +52,6 @@ # @!group service module Aws::PI - GEM_VERSION = '1.62.0' + GEM_VERSION = '1.63.0' end diff --git a/gems/aws-sdk-pi/lib/aws-sdk-pi/client.rb b/gems/aws-sdk-pi/lib/aws-sdk-pi/client.rb index 947c65746f..5d7a8eeb14 100644 --- a/gems/aws-sdk-pi/lib/aws-sdk-pi/client.rb +++ b/gems/aws-sdk-pi/lib/aws-sdk-pi/client.rb @@ -1426,7 +1426,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-pi' - context[:gem_version] = '1.62.0' + context[:gem_version] = '1.63.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-pi/lib/aws-sdk-pi/types.rb b/gems/aws-sdk-pi/lib/aws-sdk-pi/types.rb index 5f66fa8320..d386a2bc9e 100644 --- a/gems/aws-sdk-pi/lib/aws-sdk-pi/types.rb +++ b/gems/aws-sdk-pi/lib/aws-sdk-pi/types.rb @@ -584,7 +584,11 @@ class DimensionDetail < Struct.new( # running, as in `SELECT * FROM employees` (all engines except # Amazon DocumentDB) # - # * `db.sql.tokenized_id` + # * `db.sql.tokenized_id` - The hash of the SQL digest generated by + # Performance Insights (all engines except Amazon DocumentDB). The + # `db.sql.tokenized_id` dimension fetches the value of the + # `db.sql_tokenized.id` dimension. Amazon RDS returns + # `db.sql.tokenized_id` from the `db.sql` dimension group. # # * `db.sql_tokenized.id` - The hash of the SQL digest generated by # Performance Insights (all engines except Amazon DocumentDB). In