diff --git a/CHANGELOG.md b/CHANGELOG.md
index cdf26122d89..e722b320928 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,19 @@
+Release v1.44.269 (2023-05-24)
+===
+
+### Service Client Updates
+* `service/appsync`: Updates service API and documentation
+* `service/connect`: Updates service API
+* `service/cur`: Updates service API
+ * Add support for split cost allocation data on a report.
+* `service/sagemaker`: Updates service API and documentation
+ * SageMaker now provides an instantaneous deployment recommendation through the DescribeModel API
+
+### SDK Bugs
+
+* `service/sms`: Remove deprecated services (SMS) integration tests.
+ * SMS integration tests will fail because SMS deprecated their service.
+
Release v1.44.268 (2023-05-23)
===
diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md
index ef1665875c4..8a1927a39ca 100644
--- a/CHANGELOG_PENDING.md
+++ b/CHANGELOG_PENDING.md
@@ -3,6 +3,3 @@
### SDK Enhancements
### SDK Bugs
-
-* `service/sms`: Remove deprecated services (SMS) integration tests.
- * SMS integration tests will fail because SMS deprecated their service.
diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go
index 739106c16f7..9f318c52111 100644
--- a/aws/endpoints/defaults.go
+++ b/aws/endpoints/defaults.go
@@ -6100,6 +6100,15 @@ var awsPartition = partition{
},
Deprecated: boxedTrue,
},
+ endpointKey{
+ Region: "fips-us-west-1",
+ }: endpoint{
+ Hostname: "cognito-identity-fips.us-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-west-1",
+ },
+ Deprecated: boxedTrue,
+ },
endpointKey{
Region: "fips-us-west-2",
}: endpoint{
@@ -6136,6 +6145,12 @@ var awsPartition = partition{
endpointKey{
Region: "us-west-1",
}: endpoint{},
+ endpointKey{
+ Region: "us-west-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "cognito-identity-fips.us-west-1.amazonaws.com",
+ },
endpointKey{
Region: "us-west-2",
}: endpoint{},
@@ -27981,12 +27996,21 @@ var awsPartition = partition{
},
"transcribestreaming": service{
Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "af-south-1",
+ }: endpoint{},
endpointKey{
Region: "ap-northeast-1",
}: endpoint{},
endpointKey{
Region: "ap-northeast-2",
}: endpoint{},
+ endpointKey{
+ Region: "ap-south-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-1",
+ }: endpoint{},
endpointKey{
Region: "ap-southeast-2",
}: endpoint{},
diff --git a/aws/version.go b/aws/version.go
index ff50e593f62..589de2a7c65 100644
--- a/aws/version.go
+++ b/aws/version.go
@@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"
// SDKVersion is the version of this SDK
-const SDKVersion = "1.44.268"
+const SDKVersion = "1.44.269"
diff --git a/models/apis/appsync/2017-07-25/api-2.json b/models/apis/appsync/2017-07-25/api-2.json
index 3cb51f0a2ba..e3d22a7c158 100644
--- a/models/apis/appsync/2017-07-25/api-2.json
+++ b/models/apis/appsync/2017-07-25/api-2.json
@@ -28,6 +28,40 @@
{"shape":"NotFoundException"}
]
},
+ "AssociateMergedGraphqlApi":{
+ "name":"AssociateMergedGraphqlApi",
+ "http":{
+ "method":"POST",
+ "requestUri":"/v1/sourceApis/{sourceApiIdentifier}/mergedApiAssociations"
+ },
+ "input":{"shape":"AssociateMergedGraphqlApiRequest"},
+ "output":{"shape":"AssociateMergedGraphqlApiResponse"},
+ "errors":[
+ {"shape":"UnauthorizedException"},
+ {"shape":"BadRequestException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"NotFoundException"},
+ {"shape":"LimitExceededException"},
+ {"shape":"ConcurrentModificationException"}
+ ]
+ },
+ "AssociateSourceGraphqlApi":{
+ "name":"AssociateSourceGraphqlApi",
+ "http":{
+ "method":"POST",
+ "requestUri":"/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations"
+ },
+ "input":{"shape":"AssociateSourceGraphqlApiRequest"},
+ "output":{"shape":"AssociateSourceGraphqlApiResponse"},
+ "errors":[
+ {"shape":"UnauthorizedException"},
+ {"shape":"BadRequestException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"NotFoundException"},
+ {"shape":"LimitExceededException"},
+ {"shape":"ConcurrentModificationException"}
+ ]
+ },
"CreateApiCache":{
"name":"CreateApiCache",
"http":{
@@ -300,6 +334,38 @@
{"shape":"NotFoundException"}
]
},
+ "DisassociateMergedGraphqlApi":{
+ "name":"DisassociateMergedGraphqlApi",
+ "http":{
+ "method":"DELETE",
+ "requestUri":"/v1/sourceApis/{sourceApiIdentifier}/mergedApiAssociations/{associationId}"
+ },
+ "input":{"shape":"DisassociateMergedGraphqlApiRequest"},
+ "output":{"shape":"DisassociateMergedGraphqlApiResponse"},
+ "errors":[
+ {"shape":"UnauthorizedException"},
+ {"shape":"BadRequestException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"NotFoundException"},
+ {"shape":"ConcurrentModificationException"}
+ ]
+ },
+ "DisassociateSourceGraphqlApi":{
+ "name":"DisassociateSourceGraphqlApi",
+ "http":{
+ "method":"DELETE",
+ "requestUri":"/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}"
+ },
+ "input":{"shape":"DisassociateSourceGraphqlApiRequest"},
+ "output":{"shape":"DisassociateSourceGraphqlApiResponse"},
+ "errors":[
+ {"shape":"UnauthorizedException"},
+ {"shape":"BadRequestException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"NotFoundException"},
+ {"shape":"ConcurrentModificationException"}
+ ]
+ },
"EvaluateCode":{
"name":"EvaluateCode",
"http":{
@@ -480,6 +546,21 @@
{"shape":"InternalFailureException"}
]
},
+ "GetSourceApiAssociation":{
+ "name":"GetSourceApiAssociation",
+ "http":{
+ "method":"GET",
+ "requestUri":"/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}"
+ },
+ "input":{"shape":"GetSourceApiAssociationRequest"},
+ "output":{"shape":"GetSourceApiAssociationResponse"},
+ "errors":[
+ {"shape":"UnauthorizedException"},
+ {"shape":"BadRequestException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"NotFoundException"}
+ ]
+ },
"GetType":{
"name":"GetType",
"http":{
@@ -599,6 +680,21 @@
{"shape":"InternalFailureException"}
]
},
+ "ListSourceApiAssociations":{
+ "name":"ListSourceApiAssociations",
+ "http":{
+ "method":"GET",
+ "requestUri":"/v1/apis/{apiId}/sourceApiAssociations"
+ },
+ "input":{"shape":"ListSourceApiAssociationsRequest"},
+ "output":{"shape":"ListSourceApiAssociationsResponse"},
+ "errors":[
+ {"shape":"UnauthorizedException"},
+ {"shape":"BadRequestException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"NotFoundException"}
+ ]
+ },
"ListTagsForResource":{
"name":"ListTagsForResource",
"http":{
@@ -632,6 +728,22 @@
{"shape":"InternalFailureException"}
]
},
+ "ListTypesByAssociation":{
+ "name":"ListTypesByAssociation",
+ "http":{
+ "method":"GET",
+ "requestUri":"/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}/types"
+ },
+ "input":{"shape":"ListTypesByAssociationRequest"},
+ "output":{"shape":"ListTypesByAssociationResponse"},
+ "errors":[
+ {"shape":"BadRequestException"},
+ {"shape":"ConcurrentModificationException"},
+ {"shape":"NotFoundException"},
+ {"shape":"UnauthorizedException"},
+ {"shape":"InternalFailureException"}
+ ]
+ },
"StartSchemaCreation":{
"name":"StartSchemaCreation",
"http":{
@@ -648,6 +760,22 @@
{"shape":"InternalFailureException"}
]
},
+ "StartSchemaMerge":{
+ "name":"StartSchemaMerge",
+ "http":{
+ "method":"POST",
+ "requestUri":"/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}/merge"
+ },
+ "input":{"shape":"StartSchemaMergeRequest"},
+ "output":{"shape":"StartSchemaMergeResponse"},
+ "errors":[
+ {"shape":"UnauthorizedException"},
+ {"shape":"BadRequestException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"NotFoundException"},
+ {"shape":"ConcurrentModificationException"}
+ ]
+ },
"TagResource":{
"name":"TagResource",
"http":{
@@ -795,6 +923,22 @@
{"shape":"BadRequestException"}
]
},
+ "UpdateSourceApiAssociation":{
+ "name":"UpdateSourceApiAssociation",
+ "http":{
+ "method":"POST",
+ "requestUri":"/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}"
+ },
+ "input":{"shape":"UpdateSourceApiAssociationRequest"},
+ "output":{"shape":"UpdateSourceApiAssociationResponse"},
+ "errors":[
+ {"shape":"UnauthorizedException"},
+ {"shape":"BadRequestException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"NotFoundException"},
+ {"shape":"ConcurrentModificationException"}
+ ]
+ },
"UpdateType":{
"name":"UpdateType",
"http":{
@@ -960,6 +1104,52 @@
"apiAssociation":{"shape":"ApiAssociation"}
}
},
+ "AssociateMergedGraphqlApiRequest":{
+ "type":"structure",
+ "required":[
+ "sourceApiIdentifier",
+ "mergedApiIdentifier"
+ ],
+ "members":{
+ "sourceApiIdentifier":{
+ "shape":"String",
+ "location":"uri",
+ "locationName":"sourceApiIdentifier"
+ },
+ "mergedApiIdentifier":{"shape":"String"},
+ "description":{"shape":"String"},
+ "sourceApiAssociationConfig":{"shape":"SourceApiAssociationConfig"}
+ }
+ },
+ "AssociateMergedGraphqlApiResponse":{
+ "type":"structure",
+ "members":{
+ "sourceApiAssociation":{"shape":"SourceApiAssociation"}
+ }
+ },
+ "AssociateSourceGraphqlApiRequest":{
+ "type":"structure",
+ "required":[
+ "mergedApiIdentifier",
+ "sourceApiIdentifier"
+ ],
+ "members":{
+ "mergedApiIdentifier":{
+ "shape":"String",
+ "location":"uri",
+ "locationName":"mergedApiIdentifier"
+ },
+ "sourceApiIdentifier":{"shape":"String"},
+ "description":{"shape":"String"},
+ "sourceApiAssociationConfig":{"shape":"SourceApiAssociationConfig"}
+ }
+ },
+ "AssociateSourceGraphqlApiResponse":{
+ "type":"structure",
+ "members":{
+ "sourceApiAssociation":{"shape":"SourceApiAssociation"}
+ }
+ },
"AssociationStatus":{
"type":"string",
"enum":[
@@ -1251,7 +1441,10 @@
"additionalAuthenticationProviders":{"shape":"AdditionalAuthenticationProviders"},
"xrayEnabled":{"shape":"Boolean"},
"lambdaAuthorizerConfig":{"shape":"LambdaAuthorizerConfig"},
- "visibility":{"shape":"GraphQLApiVisibility"}
+ "visibility":{"shape":"GraphQLApiVisibility"},
+ "apiType":{"shape":"GraphQLApiType"},
+ "mergedApiExecutionRoleArn":{"shape":"String"},
+ "ownerContact":{"shape":"String"}
}
},
"CreateGraphqlApiResponse":{
@@ -1354,6 +1547,7 @@
"type":"list",
"member":{"shape":"DataSource"}
},
+ "Date":{"type":"timestamp"},
"DefaultAction":{
"type":"string",
"enum":[
@@ -1565,6 +1759,56 @@
"members":{
}
},
+ "DisassociateMergedGraphqlApiRequest":{
+ "type":"structure",
+ "required":[
+ "sourceApiIdentifier",
+ "associationId"
+ ],
+ "members":{
+ "sourceApiIdentifier":{
+ "shape":"String",
+ "location":"uri",
+ "locationName":"sourceApiIdentifier"
+ },
+ "associationId":{
+ "shape":"String",
+ "location":"uri",
+ "locationName":"associationId"
+ }
+ }
+ },
+ "DisassociateMergedGraphqlApiResponse":{
+ "type":"structure",
+ "members":{
+ "sourceApiAssociationStatus":{"shape":"SourceApiAssociationStatus"}
+ }
+ },
+ "DisassociateSourceGraphqlApiRequest":{
+ "type":"structure",
+ "required":[
+ "mergedApiIdentifier",
+ "associationId"
+ ],
+ "members":{
+ "mergedApiIdentifier":{
+ "shape":"String",
+ "location":"uri",
+ "locationName":"mergedApiIdentifier"
+ },
+ "associationId":{
+ "shape":"String",
+ "location":"uri",
+ "locationName":"associationId"
+ }
+ }
+ },
+ "DisassociateSourceGraphqlApiResponse":{
+ "type":"structure",
+ "members":{
+ "sourceApiAssociationStatus":{"shape":"SourceApiAssociationStatus"}
+ }
+ },
"DomainName":{
"type":"string",
"max":253,
@@ -1925,6 +2169,31 @@
"details":{"shape":"String"}
}
},
+ "GetSourceApiAssociationRequest":{
+ "type":"structure",
+ "required":[
+ "mergedApiIdentifier",
+ "associationId"
+ ],
+ "members":{
+ "mergedApiIdentifier":{
+ "shape":"String",
+ "location":"uri",
+ "locationName":"mergedApiIdentifier"
+ },
+ "associationId":{
+ "shape":"String",
+ "location":"uri",
+ "locationName":"associationId"
+ }
+ }
+ },
+ "GetSourceApiAssociationResponse":{
+ "type":"structure",
+ "members":{
+ "sourceApiAssociation":{"shape":"SourceApiAssociation"}
+ }
+ },
"GetTypeRequest":{
"type":"structure",
"required":[
@@ -1956,6 +2225,13 @@
"type":{"shape":"Type"}
}
},
+ "GraphQLApiType":{
+ "type":"string",
+ "enum":[
+ "GRAPHQL",
+ "MERGED"
+ ]
+ },
"GraphQLApiVisibility":{
"type":"string",
"enum":[
@@ -1988,7 +2264,11 @@
"wafWebAclArn":{"shape":"String"},
"lambdaAuthorizerConfig":{"shape":"LambdaAuthorizerConfig"},
"dns":{"shape":"MapOfStringToString"},
- "visibility":{"shape":"GraphQLApiVisibility"}
+ "visibility":{"shape":"GraphQLApiVisibility"},
+ "apiType":{"shape":"GraphQLApiType"},
+ "mergedApiExecutionRoleArn":{"shape":"String"},
+ "owner":{"shape":"String"},
+ "ownerContact":{"shape":"String"}
}
},
"GraphqlApis":{
@@ -2159,6 +2439,16 @@
"shape":"MaxResults",
"location":"querystring",
"locationName":"maxResults"
+ },
+ "apiType":{
+ "shape":"GraphQLApiType",
+ "location":"querystring",
+ "locationName":"apiType"
+ },
+ "owner":{
+ "shape":"Ownership",
+ "location":"querystring",
+ "locationName":"owner"
}
}
},
@@ -2241,6 +2531,34 @@
"nextToken":{"shape":"PaginationToken"}
}
},
+ "ListSourceApiAssociationsRequest":{
+ "type":"structure",
+ "required":["apiId"],
+ "members":{
+ "apiId":{
+ "shape":"String",
+ "location":"uri",
+ "locationName":"apiId"
+ },
+ "nextToken":{
+ "shape":"PaginationToken",
+ "location":"querystring",
+ "locationName":"nextToken"
+ },
+ "maxResults":{
+ "shape":"MaxResults",
+ "location":"querystring",
+ "locationName":"maxResults"
+ }
+ }
+ },
+ "ListSourceApiAssociationsResponse":{
+ "type":"structure",
+ "members":{
+ "sourceApiAssociationSummaries":{"shape":"SourceApiAssociationSummaryList"},
+ "nextToken":{"shape":"PaginationToken"}
+ }
+ },
"ListTagsForResourceRequest":{
"type":"structure",
"required":["resourceArn"],
@@ -2258,6 +2576,48 @@
"tags":{"shape":"TagMap"}
}
},
+ "ListTypesByAssociationRequest":{
+ "type":"structure",
+ "required":[
+ "mergedApiIdentifier",
+ "associationId",
+ "format"
+ ],
+ "members":{
+ "mergedApiIdentifier":{
+ "shape":"String",
+ "location":"uri",
+ "locationName":"mergedApiIdentifier"
+ },
+ "associationId":{
+ "shape":"String",
+ "location":"uri",
+ "locationName":"associationId"
+ },
+ "format":{
+ "shape":"TypeDefinitionFormat",
+ "location":"querystring",
+ "locationName":"format"
+ },
+ "nextToken":{
+ "shape":"PaginationToken",
+ "location":"querystring",
+ "locationName":"nextToken"
+ },
+ "maxResults":{
+ "shape":"MaxResults",
+ "location":"querystring",
+ "locationName":"maxResults"
+ }
+ }
+ },
+ "ListTypesByAssociationResponse":{
+ "type":"structure",
+ "members":{
+ "types":{"shape":"TypeList"},
+ "nextToken":{"shape":"PaginationToken"}
+ }
+ },
"ListTypesRequest":{
"type":"structure",
"required":[
@@ -2332,6 +2692,13 @@
"max":25,
"min":0
},
+ "MergeType":{
+ "type":"string",
+ "enum":[
+ "MANUAL_MERGE",
+ "AUTO_MERGE"
+ ]
+ },
"NotFoundException":{
"type":"structure",
"members":{
@@ -2368,6 +2735,13 @@
"JSON"
]
},
+ "Ownership":{
+ "type":"string",
+ "enum":[
+ "CURRENT_ACCOUNT",
+ "OTHER_ACCOUNTS"
+ ]
+ },
"PaginationToken":{
"type":"string",
"max":65536,
@@ -2457,6 +2831,57 @@
"NOT_APPLICABLE"
]
},
+ "SourceApiAssociation":{
+ "type":"structure",
+ "members":{
+ "associationId":{"shape":"String"},
+ "associationArn":{"shape":"String"},
+ "sourceApiId":{"shape":"String"},
+ "sourceApiArn":{"shape":"String"},
+ "mergedApiArn":{"shape":"String"},
+ "mergedApiId":{"shape":"String"},
+ "description":{"shape":"String"},
+ "sourceApiAssociationConfig":{"shape":"SourceApiAssociationConfig"},
+ "sourceApiAssociationStatus":{"shape":"SourceApiAssociationStatus"},
+ "sourceApiAssociationStatusDetail":{"shape":"String"},
+ "lastSuccessfulMergeDate":{"shape":"Date"}
+ }
+ },
+ "SourceApiAssociationConfig":{
+ "type":"structure",
+ "members":{
+ "mergeType":{"shape":"MergeType"}
+ }
+ },
+ "SourceApiAssociationStatus":{
+ "type":"string",
+ "enum":[
+ "MERGE_SCHEDULED",
+ "MERGE_FAILED",
+ "MERGE_SUCCESS",
+ "MERGE_IN_PROGRESS",
+ "AUTO_MERGE_SCHEDULE_FAILED",
+ "DELETION_SCHEDULED",
+ "DELETION_IN_PROGRESS",
+ "DELETION_FAILED"
+ ]
+ },
+ "SourceApiAssociationSummary":{
+ "type":"structure",
+ "members":{
+ "associationId":{"shape":"String"},
+ "associationArn":{"shape":"String"},
+ "sourceApiId":{"shape":"String"},
+ "sourceApiArn":{"shape":"String"},
+ "mergedApiId":{"shape":"String"},
+ "mergedApiArn":{"shape":"String"},
+ "description":{"shape":"String"}
+ }
+ },
+ "SourceApiAssociationSummaryList":{
+ "type":"list",
+ "member":{"shape":"SourceApiAssociationSummary"}
+ },
"StartSchemaCreationRequest":{
"type":"structure",
"required":[
@@ -2478,6 +2903,31 @@
"status":{"shape":"SchemaStatus"}
}
},
+ "StartSchemaMergeRequest":{
+ "type":"structure",
+ "required":[
+ "associationId",
+ "mergedApiIdentifier"
+ ],
+ "members":{
+ "associationId":{
+ "shape":"String",
+ "location":"uri",
+ "locationName":"associationId"
+ },
+ "mergedApiIdentifier":{
+ "shape":"String",
+ "location":"uri",
+ "locationName":"mergedApiIdentifier"
+ }
+ }
+ },
+ "StartSchemaMergeResponse":{
+ "type":"structure",
+ "members":{
+ "sourceApiAssociationStatus":{"shape":"SourceApiAssociationStatus"}
+ }
+ },
"String":{"type":"string"},
"SyncConfig":{
"type":"structure",
@@ -2757,7 +3207,9 @@
"openIDConnectConfig":{"shape":"OpenIDConnectConfig"},
"additionalAuthenticationProviders":{"shape":"AdditionalAuthenticationProviders"},
"xrayEnabled":{"shape":"Boolean"},
- "lambdaAuthorizerConfig":{"shape":"LambdaAuthorizerConfig"}
+ "lambdaAuthorizerConfig":{"shape":"LambdaAuthorizerConfig"},
+ "mergedApiExecutionRoleArn":{"shape":"String"},
+ "ownerContact":{"shape":"String"}
}
},
"UpdateGraphqlApiResponse":{
@@ -2807,6 +3259,33 @@
"resolver":{"shape":"Resolver"}
}
},
+ "UpdateSourceApiAssociationRequest":{
+ "type":"structure",
+ "required":[
+ "associationId",
+ "mergedApiIdentifier"
+ ],
+ "members":{
+ "associationId":{
+ "shape":"String",
+ "location":"uri",
+ "locationName":"associationId"
+ },
+ "mergedApiIdentifier":{
+ "shape":"String",
+ "location":"uri",
+ "locationName":"mergedApiIdentifier"
+ },
+ "description":{"shape":"String"},
+ "sourceApiAssociationConfig":{"shape":"SourceApiAssociationConfig"}
+ }
+ },
+ "UpdateSourceApiAssociationResponse":{
+ "type":"structure",
+ "members":{
+ "sourceApiAssociation":{"shape":"SourceApiAssociation"}
+ }
+ },
"UpdateTypeRequest":{
"type":"structure",
"required":[
diff --git a/models/apis/appsync/2017-07-25/docs-2.json b/models/apis/appsync/2017-07-25/docs-2.json
index fda196d0c6c..4305d69026b 100644
--- a/models/apis/appsync/2017-07-25/docs-2.json
+++ b/models/apis/appsync/2017-07-25/docs-2.json
@@ -3,6 +3,8 @@
"service": "
AppSync provides API actions for creating and interacting with data sources using GraphQL from your application.
",
"operations": {
"AssociateApi": "Maps an endpoint to your custom domain.
",
+ "AssociateMergedGraphqlApi": "Creates an association between a Merged API and source API using the source API's identifier.
",
+ "AssociateSourceGraphqlApi": "Creates an association between a Merged API and source API using the Merged API's identifier.
",
"CreateApiCache": "Creates a cache for the GraphQL API.
",
"CreateApiKey": "Creates a unique key that you can distribute to clients who invoke your API.
",
"CreateDataSource": "Creates a DataSource
object.
",
@@ -20,6 +22,8 @@
"DeleteResolver": "Deletes a Resolver
object.
",
"DeleteType": "Deletes a Type
object.
",
"DisassociateApi": "Removes an ApiAssociation
object from a custom domain.
",
+ "DisassociateMergedGraphqlApi": "Deletes an association between a Merged API and source API using the source API's identifier and the association ID.
",
+ "DisassociateSourceGraphqlApi": "Deletes an association between a Merged API and source API using the Merged API's identifier and the association ID.
",
"EvaluateCode": "Evaluates the given code and returns the response. The code definition requirements depend on the specified runtime. For APPSYNC_JS
runtimes, the code defines the request and response functions. The request function takes the incoming request after a GraphQL operation is parsed and converts it into a request configuration for the selected data source operation. The response function interprets responses from the data source and maps it to the shape of the GraphQL field output type.
",
"EvaluateMappingTemplate": "Evaluates a given template and returns the response. The mapping template can be a request or response template.
Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request configuration for the selected data source operation. Response templates interpret responses from the data source and map it to the shape of the GraphQL field output type.
Mapping templates are written in the Apache Velocity Template Language (VTL).
",
"FlushApiCache": "Flushes an ApiCache
object.
",
@@ -32,6 +36,7 @@
"GetIntrospectionSchema": "Retrieves the introspection schema for a GraphQL API.
",
"GetResolver": "Retrieves a Resolver
object.
",
"GetSchemaCreationStatus": "Retrieves the current status of a schema creation operation.
",
+ "GetSourceApiAssociation": "Retrieves a SourceApiAssociation
object.
",
"GetType": "Retrieves a Type
object.
",
"ListApiKeys": "Lists the API keys for a given API.
API keys are deleted automatically 60 days after they expire. However, they may still be included in the response until they have actually been deleted. You can safely call DeleteApiKey
to manually delete a key before it's automatically deleted.
",
"ListDataSources": "Lists the data sources for a given API.
",
@@ -40,9 +45,12 @@
"ListGraphqlApis": "Lists your GraphQL APIs.
",
"ListResolvers": "Lists the resolvers for a given API and type.
",
"ListResolversByFunction": "List the resolvers that are associated with a specific function.
",
+ "ListSourceApiAssociations": "Lists the SourceApiAssociationSummary
data.
",
"ListTagsForResource": "Lists the tags for a resource.
",
"ListTypes": "Lists the types for a given API.
",
+ "ListTypesByAssociation": "Lists Type
objects by the source API association ID.
",
"StartSchemaCreation": "Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
",
+ "StartSchemaMerge": "Initiates a merge operation. Returns a status that shows the result of the merge operation.
",
"TagResource": "Tags a resource with user-supplied tags.
",
"UntagResource": "Untags a resource.
",
"UpdateApiCache": "Updates the cache for the GraphQL API.
",
@@ -52,6 +60,7 @@
"UpdateFunction": "Updates a Function
object.
",
"UpdateGraphqlApi": "Updates a GraphqlApi
object.
",
"UpdateResolver": "Updates a Resolver
object.
",
+ "UpdateSourceApiAssociation": "Updates some of the configuration choices of a particular source API association.
",
"UpdateType": "Updates a Type
object.
"
},
"shapes": {
@@ -162,6 +171,26 @@
"refs": {
}
},
+ "AssociateMergedGraphqlApiRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "AssociateMergedGraphqlApiResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "AssociateSourceGraphqlApiRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "AssociateSourceGraphqlApiResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"AssociationStatus": {
"base": null,
"refs": {
@@ -443,6 +472,12 @@
"ListDataSourcesResponse$dataSources": "The DataSource
objects.
"
}
},
+ "Date": {
+ "base": null,
+ "refs": {
+ "SourceApiAssociation$lastSuccessfulMergeDate": "The datetime value of the last successful merge of the source API association. The result will be in UTC format and your local time zone.
"
+ }
+ },
"DefaultAction": {
"base": null,
"refs": {
@@ -553,6 +588,26 @@
"refs": {
}
},
+ "DisassociateMergedGraphqlApiRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DisassociateMergedGraphqlApiResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DisassociateSourceGraphqlApiRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DisassociateSourceGraphqlApiResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"DomainName": {
"base": null,
"refs": {
@@ -782,6 +837,16 @@
"refs": {
}
},
+ "GetSourceApiAssociationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSourceApiAssociationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"GetTypeRequest": {
"base": null,
"refs": {
@@ -792,6 +857,14 @@
"refs": {
}
},
+ "GraphQLApiType": {
+ "base": null,
+ "refs": {
+ "CreateGraphqlApiRequest$apiType": "The value that indicates whether the GraphQL API is a standard API (GRAPHQL
) or merged API (MERGED
).
",
+ "GraphqlApi$apiType": "The value that indicates whether the GraphQL API is a standard API (GRAPHQL
) or merged API (MERGED
).
",
+ "ListGraphqlApisRequest$apiType": "The value that indicates whether the GraphQL API is a standard API (GRAPHQL
) or merged API (MERGED
).
"
+ }
+ },
"GraphQLApiVisibility": {
"base": null,
"refs": {
@@ -930,6 +1003,16 @@
"refs": {
}
},
+ "ListSourceApiAssociationsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListSourceApiAssociationsResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListTagsForResourceRequest": {
"base": null,
"refs": {
@@ -940,6 +1023,16 @@
"refs": {
}
},
+ "ListTypesByAssociationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListTypesByAssociationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListTypesRequest": {
"base": null,
"refs": {
@@ -1027,9 +1120,17 @@
"ListGraphqlApisRequest$maxResults": "The maximum number of results that you want the request to return.
",
"ListResolversByFunctionRequest$maxResults": "The maximum number of results that you want the request to return.
",
"ListResolversRequest$maxResults": "The maximum number of results that you want the request to return.
",
+ "ListSourceApiAssociationsRequest$maxResults": "The maximum number of results that you want the request to return.
",
+ "ListTypesByAssociationRequest$maxResults": "The maximum number of results that you want the request to return.
",
"ListTypesRequest$maxResults": "The maximum number of results that you want the request to return.
"
}
},
+ "MergeType": {
+ "base": null,
+ "refs": {
+ "SourceApiAssociationConfig$mergeType": "The property that indicates which merging option is enabled in the source API association.
Valid merge types are MANUAL_MERGE
(default) and AUTO_MERGE
. Manual merges are the default behavior and require the user to trigger any changes from the source APIs to the merged API manually. Auto merges subscribe the merged API to the changes performed on the source APIs so that any change in the source APIs are also made to the merged API. Auto merges use MergedApiExecutionRoleArn
to perform merge operations.
"
+ }
+ },
"NotFoundException": {
"base": "The resource specified in the request was not found. Check the resource, and then try again.
",
"refs": {
@@ -1058,6 +1159,12 @@
"GetIntrospectionSchemaRequest$format": "The schema format: SDL or JSON.
"
}
},
+ "Ownership": {
+ "base": null,
+ "refs": {
+ "ListGraphqlApisRequest$owner": "The account owner of the GraphQL API.
"
+ }
+ },
"PaginationToken": {
"base": null,
"refs": {
@@ -1065,8 +1172,8 @@
"ListApiKeysResponse$nextToken": "An identifier to pass in the next request to this operation to return the next set of items in the list.
",
"ListDataSourcesRequest$nextToken": "An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
",
"ListDataSourcesResponse$nextToken": "An identifier to pass in the next request to this operation to return the next set of items in the list.
",
- "ListDomainNamesRequest$nextToken": "The API token.
",
- "ListDomainNamesResponse$nextToken": "The API token.
",
+ "ListDomainNamesRequest$nextToken": "An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
",
+ "ListDomainNamesResponse$nextToken": "An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
",
"ListFunctionsRequest$nextToken": "An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
",
"ListFunctionsResponse$nextToken": "An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
",
"ListGraphqlApisRequest$nextToken": "An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
",
@@ -1075,6 +1182,10 @@
"ListResolversByFunctionResponse$nextToken": "An identifier that you can use to return the next set of items in the list.
",
"ListResolversRequest$nextToken": "An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
",
"ListResolversResponse$nextToken": "An identifier to pass in the next request to this operation to return the next set of items in the list.
",
+ "ListSourceApiAssociationsRequest$nextToken": "An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
",
+ "ListSourceApiAssociationsResponse$nextToken": "An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
",
+ "ListTypesByAssociationRequest$nextToken": "An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
",
+ "ListTypesByAssociationResponse$nextToken": "An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
",
"ListTypesRequest$nextToken": "An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
",
"ListTypesResponse$nextToken": "An identifier to pass in the next request to this operation to return the next set of items in the list.
"
}
@@ -1189,6 +1300,45 @@
"StartSchemaCreationResponse$status": "The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). When the schema is in the ACTIVE state, you can add data.
"
}
},
+ "SourceApiAssociation": {
+ "base": "Describes the configuration of a source API. A source API is a GraphQL API that is linked to a merged API. There can be multiple source APIs attached to each merged API. When linked to a merged API, the source API's schema, data sources, and resolvers will be combined with other linked source API data to form a new, singular API.
Source APIs can originate from your account or from other accounts via Amazon Web Services Resource Access Manager. For more information about sharing resources from other accounts, see What is Amazon Web Services Resource Access Manager? in the Amazon Web Services Resource Access Manager guide.
",
+ "refs": {
+ "AssociateMergedGraphqlApiResponse$sourceApiAssociation": "The SourceApiAssociation
object data.
",
+ "AssociateSourceGraphqlApiResponse$sourceApiAssociation": "The SourceApiAssociation
object data.
",
+ "GetSourceApiAssociationResponse$sourceApiAssociation": "The SourceApiAssociation
object data.
",
+ "UpdateSourceApiAssociationResponse$sourceApiAssociation": "The SourceApiAssociation
object data.
"
+ }
+ },
+ "SourceApiAssociationConfig": {
+ "base": "Describes properties used to specify configurations related to a source API.
",
+ "refs": {
+ "AssociateMergedGraphqlApiRequest$sourceApiAssociationConfig": "The SourceApiAssociationConfig
object data.
",
+ "AssociateSourceGraphqlApiRequest$sourceApiAssociationConfig": "The SourceApiAssociationConfig
object data.
",
+ "SourceApiAssociation$sourceApiAssociationConfig": "The SourceApiAssociationConfig
object data.
",
+ "UpdateSourceApiAssociationRequest$sourceApiAssociationConfig": "The SourceApiAssociationConfig
object data.
"
+ }
+ },
+ "SourceApiAssociationStatus": {
+ "base": null,
+ "refs": {
+ "DisassociateMergedGraphqlApiResponse$sourceApiAssociationStatus": "The state of the source API association.
",
+ "DisassociateSourceGraphqlApiResponse$sourceApiAssociationStatus": "The state of the source API association.
",
+ "SourceApiAssociation$sourceApiAssociationStatus": "The state of the source API association.
",
+ "StartSchemaMergeResponse$sourceApiAssociationStatus": "The state of the source API association.
"
+ }
+ },
+ "SourceApiAssociationSummary": {
+ "base": "Describes the ARNs and IDs of associations, Merged APIs, and source APIs.
",
+ "refs": {
+ "SourceApiAssociationSummaryList$member": null
+ }
+ },
+ "SourceApiAssociationSummaryList": {
+ "base": null,
+ "refs": {
+ "ListSourceApiAssociationsResponse$sourceApiAssociationSummaries": "The SourceApiAssociationSummary
object data.
"
+ }
+ },
"StartSchemaCreationRequest": {
"base": null,
"refs": {
@@ -1199,6 +1349,16 @@
"refs": {
}
},
+ "StartSchemaMergeRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "StartSchemaMergeResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"String": {
"base": null,
"refs": {
@@ -1212,6 +1372,12 @@
"ApiLimitExceededException$message": null,
"AppSyncRuntime$runtimeVersion": "The version
of the runtime to use. Currently, the only allowed version is 1.0.0
.
",
"AssociateApiRequest$apiId": "The API ID. Private APIs can not be associated with custom domains.
",
+ "AssociateMergedGraphqlApiRequest$sourceApiIdentifier": "The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source APIs (especially in your account) only require the API ID value or ARN of the source API. However, source APIs from other accounts (cross-account use cases) strictly require the full resource ARN of the source API.
",
+ "AssociateMergedGraphqlApiRequest$mergedApiIdentifier": "The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
",
+ "AssociateMergedGraphqlApiRequest$description": "The description field.
",
+ "AssociateSourceGraphqlApiRequest$mergedApiIdentifier": "The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
",
+ "AssociateSourceGraphqlApiRequest$sourceApiIdentifier": "The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source APIs (especially in your account) only require the API ID value or ARN of the source API. However, source APIs from other accounts (cross-account use cases) strictly require the full resource ARN of the source API.
",
+ "AssociateSourceGraphqlApiRequest$description": "The description field.
",
"AwsIamConfig$signingRegion": "The signing Amazon Web Services Region for IAM authorization.
",
"AwsIamConfig$signingServiceName": "The signing service name for IAM authorization.
",
"CachingKeys$member": null,
@@ -1230,6 +1396,8 @@
"CreateFunctionRequest$description": "The Function
description.
",
"CreateFunctionRequest$functionVersion": "The version
of the request mapping template. Currently, the supported value is 2018-05-29. Note that when using VTL and mapping templates, the functionVersion
is required.
",
"CreateGraphqlApiRequest$name": "A user-supplied name for the GraphqlApi
.
",
+ "CreateGraphqlApiRequest$mergedApiExecutionRoleArn": "The Identity and Access Management service role ARN for a merged API. The AppSync service assumes this role on behalf of the Merged API to validate access to source APIs at runtime and to prompt the AUTO_MERGE
to update the merged API endpoint with the source API changes automatically.
",
+ "CreateGraphqlApiRequest$ownerContact": "The owner contact information for an API resource.
This field accepts any string input with a length of 0 - 256 characters.
",
"CreateResolverRequest$apiId": "The ID for the GraphQL API for which the resolver is being created.
",
"CreateTypeRequest$apiId": "The API ID.
",
"CreateTypeRequest$definition": "The type definition, in GraphQL Schema Definition Language (SDL) format.
For more information, see the GraphQL SDL documentation.
",
@@ -1245,6 +1413,10 @@
"DeleteResolverRequest$apiId": "The API ID.
",
"DeleteTypeRequest$apiId": "The API ID.
",
"DeltaSyncConfig$deltaSyncTableName": "The Delta Sync table name.
",
+ "DisassociateMergedGraphqlApiRequest$sourceApiIdentifier": "The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source APIs (especially in your account) only require the API ID value or ARN of the source API. However, source APIs from other accounts (cross-account use cases) strictly require the full resource ARN of the source API.
",
+ "DisassociateMergedGraphqlApiRequest$associationId": "The ID generated by the AppSync service for the source API association.
",
+ "DisassociateSourceGraphqlApiRequest$mergedApiIdentifier": "The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
",
+ "DisassociateSourceGraphqlApiRequest$associationId": "The ID generated by the AppSync service for the source API association.
",
"DomainNameConfig$appsyncDomainName": "The domain name that AppSync provides.
",
"DomainNameConfig$hostedZoneId": "The ID of your Amazon RouteĀ 53 hosted zone.
",
"DynamodbDataSourceConfig$tableName": "The table name.
",
@@ -1267,10 +1439,15 @@
"GetResolverRequest$apiId": "The API ID.
",
"GetSchemaCreationStatusRequest$apiId": "The API ID.
",
"GetSchemaCreationStatusResponse$details": "Detailed information about the status of the schema creation operation.
",
+ "GetSourceApiAssociationRequest$mergedApiIdentifier": "The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
",
+ "GetSourceApiAssociationRequest$associationId": "The ID generated by the AppSync service for the source API association.
",
"GetTypeRequest$apiId": "The API ID.
",
"GraphqlApi$apiId": "The API ID.
",
"GraphqlApi$arn": "The Amazon Resource Name (ARN).
",
"GraphqlApi$wafWebAclArn": "The ARN of the WAF access control list (ACL) associated with this GraphqlApi
, if one exists.
",
+ "GraphqlApi$mergedApiExecutionRoleArn": "The Identity and Access Management service role ARN for a merged API. The AppSync service assumes this role on behalf of the Merged API to validate access to source APIs at runtime and to prompt the AUTO_MERGE
to update the merged API endpoint with the source API changes automatically.
",
+ "GraphqlApi$owner": "The account owner of the GraphQL API.
",
+ "GraphqlApi$ownerContact": "The owner contact information for an API resource.
This field accepts any string input with a length of 0 - 256 characters.
",
"HttpDataSourceConfig$endpoint": "The HTTP URL endpoint. You can specify either the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If you don't specify the port, AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.
",
"InternalFailureException$message": null,
"LambdaAuthorizerConfig$authorizerUri": "The Amazon Resource Name (ARN) of the Lambda function to be called for authorization. This can be a standard Lambda ARN, a version ARN (.../v3
), or an alias ARN.
Note: This Lambda function must have the following resource-based policy assigned to it. When configuring Lambda authorizers in the console, this is done for you. To use the Command Line Interface (CLI), run the following:
aws lambda add-permission --function-name \"arn:aws:lambda:us-east-2:111122223333:function:my-function\" --statement-id \"appsync\" --principal appsync.amazonaws.com --action lambda:InvokeFunction
",
@@ -1285,6 +1462,9 @@
"ListResolversByFunctionRequest$functionId": "The function ID.
",
"ListResolversRequest$apiId": "The API ID.
",
"ListResolversRequest$typeName": "The type name.
",
+ "ListSourceApiAssociationsRequest$apiId": "The API ID.
",
+ "ListTypesByAssociationRequest$mergedApiIdentifier": "The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
",
+ "ListTypesByAssociationRequest$associationId": "The ID generated by the AppSync service for the source API association.
",
"ListTypesRequest$apiId": "The API ID.
",
"LogConfig$cloudWatchLogsRoleArn": "The service role that AppSync assumes to publish to CloudWatch logs in your account.
",
"Logs$member": null,
@@ -1301,7 +1481,24 @@
"RdsHttpEndpointConfig$schema": "Logical schema name.
",
"RdsHttpEndpointConfig$awsSecretStoreArn": "Amazon Web Services secret store Amazon Resource Name (ARN) for database credentials.
",
"Resolver$resolverArn": "The resolver Amazon Resource Name (ARN).
",
+ "SourceApiAssociation$associationId": "The ID generated by the AppSync service for the source API association.
",
+ "SourceApiAssociation$associationArn": "The Amazon Resource Name (ARN) of the source API association.
",
+ "SourceApiAssociation$sourceApiId": "The ID of the AppSync source API.
",
+ "SourceApiAssociation$sourceApiArn": "The Amazon Resource Name (ARN) of the AppSync source API.
",
+ "SourceApiAssociation$mergedApiArn": "The Amazon Resource Name (ARN) of the AppSync Merged API.
",
+ "SourceApiAssociation$mergedApiId": "The ID of the AppSync Merged API.
",
+ "SourceApiAssociation$description": "The description field.
",
+ "SourceApiAssociation$sourceApiAssociationStatusDetail": "The detailed message related to the current state of the source API association.
",
+ "SourceApiAssociationSummary$associationId": "The ID generated by the AppSync service for the source API association.
",
+ "SourceApiAssociationSummary$associationArn": "The Amazon Resource Name (ARN) of the source API association.
",
+ "SourceApiAssociationSummary$sourceApiId": "The ID of the AppSync source API.
",
+ "SourceApiAssociationSummary$sourceApiArn": "The Amazon Resource Name (ARN) of the AppSync Source API.
",
+ "SourceApiAssociationSummary$mergedApiId": "The ID of the AppSync Merged API.
",
+ "SourceApiAssociationSummary$mergedApiArn": "The Amazon Resource Name (ARN) of the AppSync Merged API.
",
+ "SourceApiAssociationSummary$description": "The description field.
",
"StartSchemaCreationRequest$apiId": "The API ID.
",
+ "StartSchemaMergeRequest$associationId": "The ID generated by the AppSync service for the source API association.
",
+ "StartSchemaMergeRequest$mergedApiIdentifier": "The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
",
"Type$description": "The type description.
",
"Type$arn": "The type Amazon Resource Name (ARN).
",
"Type$definition": "The type definition.
",
@@ -1318,7 +1515,12 @@
"UpdateFunctionRequest$functionVersion": "The version
of the request mapping template. Currently, the supported value is 2018-05-29. Note that when using VTL and mapping templates, the functionVersion
is required.
",
"UpdateGraphqlApiRequest$apiId": "The API ID.
",
"UpdateGraphqlApiRequest$name": "The new name for the GraphqlApi
object.
",
+ "UpdateGraphqlApiRequest$mergedApiExecutionRoleArn": "The Identity and Access Management service role ARN for a merged API. The AppSync service assumes this role on behalf of the Merged API to validate access to source APIs at runtime and to prompt the AUTO_MERGE
to update the merged API endpoint with the source API changes automatically.
",
+ "UpdateGraphqlApiRequest$ownerContact": "The owner contact information for an API resource.
This field accepts any string input with a length of 0 - 256 characters.
",
"UpdateResolverRequest$apiId": "The API ID.
",
+ "UpdateSourceApiAssociationRequest$associationId": "The ID generated by the AppSync service for the source API association.
",
+ "UpdateSourceApiAssociationRequest$mergedApiIdentifier": "The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
",
+ "UpdateSourceApiAssociationRequest$description": "The description field.
",
"UpdateTypeRequest$apiId": "The API ID.
",
"UpdateTypeRequest$definition": "The new definition.
",
"UserPoolConfig$userPoolId": "The user pool ID.
",
@@ -1401,6 +1603,7 @@
"refs": {
"CreateTypeRequest$format": "The type format: SDL or JSON.
",
"GetTypeRequest$format": "The type format: SDL or JSON.
",
+ "ListTypesByAssociationRequest$format": "The format type.
",
"ListTypesRequest$format": "The type format: SDL or JSON.
",
"Type$format": "The type format: SDL or JSON.
",
"UpdateTypeRequest$format": "The new type format: SDL or JSON.
"
@@ -1409,6 +1612,7 @@
"TypeList": {
"base": null,
"refs": {
+ "ListTypesByAssociationResponse$types": "The Type
objects.
",
"ListTypesResponse$types": "The Type
objects.
"
}
},
@@ -1497,6 +1701,16 @@
"refs": {
}
},
+ "UpdateSourceApiAssociationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateSourceApiAssociationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"UpdateTypeRequest": {
"base": null,
"refs": {
diff --git a/models/apis/connect/2017-08-08/api-2.json b/models/apis/connect/2017-08-08/api-2.json
index 97b959ae53b..a627f9b0b26 100644
--- a/models/apis/connect/2017-08-08/api-2.json
+++ b/models/apis/connect/2017-08-08/api-2.json
@@ -595,7 +595,8 @@
{"shape":"ThrottlingException"},
{"shape":"InternalServiceException"},
{"shape":"ResourceConflictException"}
- ]
+ ],
+ "idempotent":true
},
"DeleteContactFlow":{
"name":"DeleteContactFlow",
@@ -644,7 +645,8 @@
{"shape":"ThrottlingException"},
{"shape":"InternalServiceException"},
{"shape":"ResourceConflictException"}
- ]
+ ],
+ "idempotent":true
},
"DeleteHoursOfOperation":{
"name":"DeleteHoursOfOperation",
@@ -5972,7 +5974,7 @@
"type":"list",
"member":{"shape":"EvaluationFormItem"},
"max":100,
- "min":0
+ "min":1
},
"EvaluationFormNumericQuestionAutomation":{
"type":"structure",
@@ -6090,7 +6092,8 @@
"type":"structure",
"required":[
"Title",
- "RefId"
+ "RefId",
+ "Items"
],
"members":{
"Title":{"shape":"EvaluationFormSectionTitle"},
@@ -6199,7 +6202,7 @@
"EvaluationFormTitle":{
"type":"string",
"max":128,
- "min":0
+ "min":1
},
"EvaluationFormVersionIsLocked":{"type":"boolean"},
"EvaluationFormVersionStatus":{
@@ -9350,7 +9353,7 @@
"ReferenceId":{
"type":"string",
"max":40,
- "min":0
+ "min":1
},
"ReferenceKey":{
"type":"string",
@@ -9478,7 +9481,7 @@
},
"ResourceId":{
"type":"string",
- "max":50,
+ "max":500,
"min":1
},
"ResourceInUseException":{
diff --git a/models/apis/cur/2017-01-06/api-2.json b/models/apis/cur/2017-01-06/api-2.json
index 2614e86fad3..70f4f417ff7 100644
--- a/models/apis/cur/2017-01-06/api-2.json
+++ b/models/apis/cur/2017-01-06/api-2.json
@@ -74,6 +74,7 @@
"af-south-1",
"ap-east-1",
"ap-south-1",
+ "ap-south-2",
"ap-southeast-1",
"ap-southeast-2",
"ap-southeast-3",
@@ -82,6 +83,7 @@
"ap-northeast-3",
"ca-central-1",
"eu-central-1",
+ "eu-central-2",
"eu-west-1",
"eu-west-2",
"eu-west-3",
@@ -279,7 +281,10 @@
},
"SchemaElement":{
"type":"string",
- "enum":["RESOURCES"]
+ "enum":[
+ "RESOURCES",
+ "SPLIT_COST_ALLOCATION_DATA"
+ ]
},
"SchemaElementList":{
"type":"list",
diff --git a/models/apis/cur/2017-01-06/endpoint-rule-set-1.json b/models/apis/cur/2017-01-06/endpoint-rule-set-1.json
new file mode 100644
index 00000000000..a917d0c9310
--- /dev/null
+++ b/models/apis/cur/2017-01-06/endpoint-rule-set-1.json
@@ -0,0 +1,350 @@
+{
+ "version": "1.0",
+ "parameters": {
+ "Region": {
+ "builtIn": "AWS::Region",
+ "required": false,
+ "documentation": "The AWS region used to dispatch the request.",
+ "type": "String"
+ },
+ "UseDualStack": {
+ "builtIn": "AWS::UseDualStack",
+ "required": true,
+ "default": false,
+ "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
+ "type": "Boolean"
+ },
+ "UseFIPS": {
+ "builtIn": "AWS::UseFIPS",
+ "required": true,
+ "default": false,
+ "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
+ "type": "Boolean"
+ },
+ "Endpoint": {
+ "builtIn": "SDK::Endpoint",
+ "required": false,
+ "documentation": "Override the endpoint used to send this request",
+ "type": "String"
+ }
+ },
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "isSet",
+ "argv": [
+ {
+ "ref": "Endpoint"
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ }
+ ],
+ "error": "Invalid Configuration: FIPS and custom endpoint are not supported",
+ "type": "error"
+ },
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
+ "type": "error"
+ },
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": {
+ "ref": "Endpoint"
+ },
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "isSet",
+ "argv": [
+ {
+ "ref": "Region"
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "aws.partition",
+ "argv": [
+ {
+ "ref": "Region"
+ }
+ ],
+ "assign": "PartitionResult"
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ }
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
+ ]
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://cur-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "conditions": [],
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both",
+ "type": "error"
+ }
+ ]
+ },
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://cur-fips.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "conditions": [],
+ "error": "FIPS is enabled but this partition does not support FIPS",
+ "type": "error"
+ }
+ ]
+ },
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
+ ]
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://cur.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "conditions": [],
+ "error": "DualStack is enabled but this partition does not support DualStack",
+ "type": "error"
+ }
+ ]
+ },
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://cur.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "conditions": [],
+ "error": "Invalid Configuration: Missing Region",
+ "type": "error"
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/models/apis/cur/2017-01-06/endpoint-tests-1.json b/models/apis/cur/2017-01-06/endpoint-tests-1.json
new file mode 100644
index 00000000000..b3f84098abd
--- /dev/null
+++ b/models/apis/cur/2017-01-06/endpoint-tests-1.json
@@ -0,0 +1,327 @@
+{
+ "testCases": [
+ {
+ "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://cur.us-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://cur-fips.us-east-1.api.aws"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://cur-fips.us-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://cur.us-east-1.api.aws"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://cur.cn-northwest-1.amazonaws.com.cn"
+ }
+ },
+ "params": {
+ "Region": "cn-northwest-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://cur-fips.cn-north-1.api.amazonwebservices.com.cn"
+ }
+ },
+ "params": {
+ "Region": "cn-north-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://cur-fips.cn-north-1.amazonaws.com.cn"
+ }
+ },
+ "params": {
+ "Region": "cn-north-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://cur.cn-north-1.api.amazonwebservices.com.cn"
+ }
+ },
+ "params": {
+ "Region": "cn-north-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://cur.cn-north-1.amazonaws.com.cn"
+ }
+ },
+ "params": {
+ "Region": "cn-north-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://cur-fips.us-gov-east-1.api.aws"
+ }
+ },
+ "params": {
+ "Region": "us-gov-east-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://cur-fips.us-gov-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "us-gov-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://cur.us-gov-east-1.api.aws"
+ }
+ },
+ "params": {
+ "Region": "us-gov-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://cur.us-gov-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "us-gov-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
+ },
+ "params": {
+ "Region": "us-iso-east-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://cur-fips.us-iso-east-1.c2s.ic.gov"
+ }
+ },
+ "params": {
+ "Region": "us-iso-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "error": "DualStack is enabled but this partition does not support DualStack"
+ },
+ "params": {
+ "Region": "us-iso-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://cur.us-iso-east-1.c2s.ic.gov"
+ }
+ },
+ "params": {
+ "Region": "us-iso-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
+ },
+ "params": {
+ "Region": "us-isob-east-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://cur-fips.us-isob-east-1.sc2s.sgov.gov"
+ }
+ },
+ "params": {
+ "Region": "us-isob-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "error": "DualStack is enabled but this partition does not support DualStack"
+ },
+ "params": {
+ "Region": "us-isob-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://cur.us-isob-east-1.sc2s.sgov.gov"
+ }
+ },
+ "params": {
+ "Region": "us-isob-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://example.com"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false,
+ "Endpoint": "https://example.com"
+ }
+ },
+ {
+ "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://example.com"
+ }
+ },
+ "params": {
+ "UseFIPS": false,
+ "UseDualStack": false,
+ "Endpoint": "https://example.com"
+ }
+ },
+ {
+ "documentation": "For custom endpoint with fips enabled and dualstack disabled",
+ "expect": {
+ "error": "Invalid Configuration: FIPS and custom endpoint are not supported"
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false,
+ "Endpoint": "https://example.com"
+ }
+ },
+ {
+ "documentation": "For custom endpoint with fips disabled and dualstack enabled",
+ "expect": {
+ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true,
+ "Endpoint": "https://example.com"
+ }
+ },
+ {
+ "documentation": "Missing region",
+ "expect": {
+ "error": "Invalid Configuration: Missing Region"
+ }
+ }
+ ],
+ "version": "1.0"
+}
\ No newline at end of file
diff --git a/models/apis/sagemaker/2017-07-24/api-2.json b/models/apis/sagemaker/2017-07-24/api-2.json
index 638ba3c2da5..ebd7f59ba27 100644
--- a/models/apis/sagemaker/2017-07-24/api-2.json
+++ b/models/apis/sagemaker/2017-07-24/api-2.json
@@ -7546,6 +7546,14 @@
"AutoRollbackConfiguration":{"shape":"AutoRollbackConfig"}
}
},
+ "DeploymentRecommendation":{
+ "type":"structure",
+ "required":["RecommendationStatus"],
+ "members":{
+ "RecommendationStatus":{"shape":"RecommendationStatus"},
+ "RealTimeInferenceRecommendations":{"shape":"RealTimeInferenceRecommendations"}
+ }
+ },
"DeploymentStage":{
"type":"structure",
"required":[
@@ -8754,7 +8762,8 @@
"VpcConfig":{"shape":"VpcConfig"},
"CreationTime":{"shape":"Timestamp"},
"ModelArn":{"shape":"ModelArn"},
- "EnableNetworkIsolation":{"shape":"Boolean"}
+ "EnableNetworkIsolation":{"shape":"Boolean"},
+ "DeploymentRecommendation":{"shape":"DeploymentRecommendation"}
}
},
"DescribeModelPackageGroupInput":{
@@ -14349,7 +14358,8 @@
"CreationTime":{"shape":"Timestamp"},
"ModelArn":{"shape":"ModelArn"},
"EnableNetworkIsolation":{"shape":"Boolean"},
- "Tags":{"shape":"TagList"}
+ "Tags":{"shape":"TagList"},
+ "DeploymentRecommendation":{"shape":"DeploymentRecommendation"}
}
},
"ModelApprovalStatus":{
@@ -17406,6 +17416,24 @@
"InstanceCount":{"shape":"TaskCount"}
}
},
+ "RealTimeInferenceRecommendation":{
+ "type":"structure",
+ "required":[
+ "RecommendationId",
+ "InstanceType"
+ ],
+ "members":{
+ "RecommendationId":{"shape":"String"},
+ "InstanceType":{"shape":"ProductionVariantInstanceType"},
+ "Environment":{"shape":"EnvironmentMap"}
+ }
+ },
+ "RealTimeInferenceRecommendations":{
+ "type":"list",
+ "member":{"shape":"RealTimeInferenceRecommendation"},
+ "max":3,
+ "min":0
+ },
"RealtimeInferenceInstanceTypes":{
"type":"list",
"member":{"shape":"ProductionVariantInstanceType"}
@@ -17589,6 +17617,15 @@
"MemoryUtilization":{"shape":"UtilizationMetric"}
}
},
+ "RecommendationStatus":{
+ "type":"string",
+ "enum":[
+ "IN_PROGRESS",
+ "COMPLETED",
+ "FAILED",
+ "NOT_APPLICABLE"
+ ]
+ },
"RecommendationStepType":{
"type":"string",
"enum":["BENCHMARK"]
diff --git a/models/apis/sagemaker/2017-07-24/docs-2.json b/models/apis/sagemaker/2017-07-24/docs-2.json
index bd6ad69805c..80a0cf57700 100644
--- a/models/apis/sagemaker/2017-07-24/docs-2.json
+++ b/models/apis/sagemaker/2017-07-24/docs-2.json
@@ -3303,6 +3303,13 @@
"UpdateEndpointInput$DeploymentConfig": "The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
"
}
},
+ "DeploymentRecommendation": {
+ "base": "A set of recommended deployment configurations for the model.
",
+ "refs": {
+ "DescribeModelOutput$DeploymentRecommendation": "A set of recommended deployment configurations for the model.
",
+ "Model$DeploymentRecommendation": "A set of recommended deployment configurations for the model.
"
+ }
+ },
"DeploymentStage": {
"base": "Contains information about a stage in an edge deployment plan.
",
"refs": {
@@ -4858,7 +4865,8 @@
"refs": {
"AutoMLContainerDefinition$Environment": "The environment variables to set in the container. For more information, see ContainerDefinition.
",
"ContainerDefinition$Environment": "The environment variables to set in the Docker container. Each key and value in the Environment
string to string map can have length of up to 1024. We support up to 16 entries in the map.
",
- "ModelPackageContainerDefinition$Environment": "The environment variables to set in the Docker container. Each key and value in the Environment
string to string map can have length of up to 1024. We support up to 16 entries in the map.
"
+ "ModelPackageContainerDefinition$Environment": "The environment variables to set in the Docker container. Each key and value in the Environment
string to string map can have length of up to 1024. We support up to 16 entries in the map.
",
+ "RealTimeInferenceRecommendation$Environment": "The recommended environment variables to set in the model container for Real-Time Inference.
"
}
},
"EnvironmentParameter": {
@@ -10796,6 +10804,7 @@
"EndpointOutputConfiguration$InstanceType": "The instance type recommended by Amazon SageMaker Inference Recommender.
",
"PendingProductionVariantSummary$InstanceType": "The type of instances associated with the variant.
",
"ProductionVariant$InstanceType": "The ML compute instance type.
",
+ "RealTimeInferenceRecommendation$InstanceType": "The recommended instance type for Real-Time Inference.
",
"RealtimeInferenceInstanceTypes$member": null
}
},
@@ -11185,6 +11194,18 @@
"ModelInfrastructureConfig$RealTimeInferenceConfig": "The infrastructure configuration for deploying the model to real-time inference.
"
}
},
+ "RealTimeInferenceRecommendation": {
+ "base": "The recommended configuration to use for Real-Time Inference.
",
+ "refs": {
+ "RealTimeInferenceRecommendations$member": null
+ }
+ },
+ "RealTimeInferenceRecommendations": {
+ "base": null,
+ "refs": {
+ "DeploymentRecommendation$RealTimeInferenceRecommendations": "A list of RealTimeInferenceRecommendation items.
"
+ }
+ },
"RealtimeInferenceInstanceTypes": {
"base": null,
"refs": {
@@ -11355,6 +11376,12 @@
"RecommendationJobInferenceBenchmark$Metrics": null
}
},
+ "RecommendationStatus": {
+ "base": null,
+ "refs": {
+ "DeploymentRecommendation$RecommendationStatus": "Status of the deployment recommendation. NOT_APPLICABLE
means that SageMaker is unable to provide a default recommendation for the model using the information provided.
"
+ }
+ },
"RecommendationStepType": {
"base": null,
"refs": {
@@ -12557,6 +12584,7 @@
"RStudioServerProDomainSettings$RStudioPackageManagerUrl": "A URL pointing to an RStudio Package Manager server.
",
"RStudioServerProDomainSettingsForUpdate$RStudioConnectUrl": "A URL pointing to an RStudio Connect server.
",
"RStudioServerProDomainSettingsForUpdate$RStudioPackageManagerUrl": "A URL pointing to an RStudio Package Manager server.
",
+ "RealTimeInferenceRecommendation$RecommendationId": "The recommendation ID which uniquely identifies each recommendation.
",
"RecommendationJobContainerConfig$Domain": "The machine learning domain of the model and its components.
Valid Values: COMPUTER_VISION | NATURAL_LANGUAGE_PROCESSING | MACHINE_LEARNING
",
"RecommendationJobContainerConfig$Task": "The machine learning task that the model accomplishes.
Valid Values: IMAGE_CLASSIFICATION | OBJECT_DETECTION | TEXT_GENERATION | IMAGE_SEGMENTATION | FILL_MASK | CLASSIFICATION | REGRESSION | OTHER
",
"RecommendationJobContainerConfig$Framework": "The machine learning framework of the container image.
Valid Values: TENSORFLOW | PYTORCH | XGBOOST | SAGEMAKER-SCIKIT-LEARN
",
diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json
index aadfabf9579..d0d5de51f1a 100644
--- a/models/endpoints/endpoints.json
+++ b/models/endpoints/endpoints.json
@@ -3272,6 +3272,13 @@
"deprecated" : true,
"hostname" : "cognito-identity-fips.us-east-2.amazonaws.com"
},
+ "fips-us-west-1" : {
+ "credentialScope" : {
+ "region" : "us-west-1"
+ },
+ "deprecated" : true,
+ "hostname" : "cognito-identity-fips.us-west-1.amazonaws.com"
+ },
"fips-us-west-2" : {
"credentialScope" : {
"region" : "us-west-2"
@@ -3293,7 +3300,12 @@
"tags" : [ "fips" ]
} ]
},
- "us-west-1" : { },
+ "us-west-1" : {
+ "variants" : [ {
+ "hostname" : "cognito-identity-fips.us-west-1.amazonaws.com",
+ "tags" : [ "fips" ]
+ } ]
+ },
"us-west-2" : {
"variants" : [ {
"hostname" : "cognito-identity-fips.us-west-2.amazonaws.com",
@@ -16057,8 +16069,11 @@
},
"transcribestreaming" : {
"endpoints" : {
+ "af-south-1" : { },
"ap-northeast-1" : { },
"ap-northeast-2" : { },
+ "ap-south-1" : { },
+ "ap-southeast-1" : { },
"ap-southeast-2" : { },
"ca-central-1" : { },
"eu-central-1" : { },
diff --git a/service/appsync/api.go b/service/appsync/api.go
index f8c6f91f644..90271047bab 100644
--- a/service/appsync/api.go
+++ b/service/appsync/api.go
@@ -4,6 +4,7 @@ package appsync
import (
"fmt"
+ "time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awsutil"
@@ -102,6 +103,202 @@ func (c *AppSync) AssociateApiWithContext(ctx aws.Context, input *AssociateApiIn
return out, req.Send()
}
+const opAssociateMergedGraphqlApi = "AssociateMergedGraphqlApi"
+
+// AssociateMergedGraphqlApiRequest generates a "aws/request.Request" representing the
+// client's request for the AssociateMergedGraphqlApi operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See AssociateMergedGraphqlApi for more information on using the AssociateMergedGraphqlApi
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the AssociateMergedGraphqlApiRequest method.
+// req, resp := client.AssociateMergedGraphqlApiRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateMergedGraphqlApi
+func (c *AppSync) AssociateMergedGraphqlApiRequest(input *AssociateMergedGraphqlApiInput) (req *request.Request, output *AssociateMergedGraphqlApiOutput) {
+ op := &request.Operation{
+ Name: opAssociateMergedGraphqlApi,
+ HTTPMethod: "POST",
+ HTTPPath: "/v1/sourceApis/{sourceApiIdentifier}/mergedApiAssociations",
+ }
+
+ if input == nil {
+ input = &AssociateMergedGraphqlApiInput{}
+ }
+
+ output = &AssociateMergedGraphqlApiOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// AssociateMergedGraphqlApi API operation for AWS AppSync.
+//
+// Creates an association between a Merged API and source API using the source
+// API's identifier.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS AppSync's
+// API operation AssociateMergedGraphqlApi for usage and error information.
+//
+// Returned Error Types:
+//
+// - UnauthorizedException
+// You aren't authorized to perform this operation.
+//
+// - BadRequestException
+// The request is not well formed. For example, a value is invalid or a required
+// field is missing. Check the field values, and then try again.
+//
+// - InternalFailureException
+// An internal AppSync error occurred. Try your request again.
+//
+// - NotFoundException
+// The resource specified in the request was not found. Check the resource,
+// and then try again.
+//
+// - LimitExceededException
+// The request exceeded a limit. Try your request again.
+//
+// - ConcurrentModificationException
+// Another modification is in progress at this time and it must complete before
+// you can make your change.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateMergedGraphqlApi
+func (c *AppSync) AssociateMergedGraphqlApi(input *AssociateMergedGraphqlApiInput) (*AssociateMergedGraphqlApiOutput, error) {
+ req, out := c.AssociateMergedGraphqlApiRequest(input)
+ return out, req.Send()
+}
+
+// AssociateMergedGraphqlApiWithContext is the same as AssociateMergedGraphqlApi with the addition of
+// the ability to pass a context and additional request options.
+//
+// See AssociateMergedGraphqlApi for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *AppSync) AssociateMergedGraphqlApiWithContext(ctx aws.Context, input *AssociateMergedGraphqlApiInput, opts ...request.Option) (*AssociateMergedGraphqlApiOutput, error) {
+ req, out := c.AssociateMergedGraphqlApiRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opAssociateSourceGraphqlApi = "AssociateSourceGraphqlApi"
+
+// AssociateSourceGraphqlApiRequest generates a "aws/request.Request" representing the
+// client's request for the AssociateSourceGraphqlApi operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See AssociateSourceGraphqlApi for more information on using the AssociateSourceGraphqlApi
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the AssociateSourceGraphqlApiRequest method.
+// req, resp := client.AssociateSourceGraphqlApiRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateSourceGraphqlApi
+func (c *AppSync) AssociateSourceGraphqlApiRequest(input *AssociateSourceGraphqlApiInput) (req *request.Request, output *AssociateSourceGraphqlApiOutput) {
+ op := &request.Operation{
+ Name: opAssociateSourceGraphqlApi,
+ HTTPMethod: "POST",
+ HTTPPath: "/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations",
+ }
+
+ if input == nil {
+ input = &AssociateSourceGraphqlApiInput{}
+ }
+
+ output = &AssociateSourceGraphqlApiOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// AssociateSourceGraphqlApi API operation for AWS AppSync.
+//
+// Creates an association between a Merged API and source API using the Merged
+// API's identifier.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS AppSync's
+// API operation AssociateSourceGraphqlApi for usage and error information.
+//
+// Returned Error Types:
+//
+// - UnauthorizedException
+// You aren't authorized to perform this operation.
+//
+// - BadRequestException
+// The request is not well formed. For example, a value is invalid or a required
+// field is missing. Check the field values, and then try again.
+//
+// - InternalFailureException
+// An internal AppSync error occurred. Try your request again.
+//
+// - NotFoundException
+// The resource specified in the request was not found. Check the resource,
+// and then try again.
+//
+// - LimitExceededException
+// The request exceeded a limit. Try your request again.
+//
+// - ConcurrentModificationException
+// Another modification is in progress at this time and it must complete before
+// you can make your change.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateSourceGraphqlApi
+func (c *AppSync) AssociateSourceGraphqlApi(input *AssociateSourceGraphqlApiInput) (*AssociateSourceGraphqlApiOutput, error) {
+ req, out := c.AssociateSourceGraphqlApiRequest(input)
+ return out, req.Send()
+}
+
+// AssociateSourceGraphqlApiWithContext is the same as AssociateSourceGraphqlApi with the addition of
+// the ability to pass a context and additional request options.
+//
+// See AssociateSourceGraphqlApi for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *AppSync) AssociateSourceGraphqlApiWithContext(ctx aws.Context, input *AssociateSourceGraphqlApiInput, opts ...request.Option) (*AssociateSourceGraphqlApiOutput, error) {
+ req, out := c.AssociateSourceGraphqlApiRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opCreateApiCache = "CreateApiCache"
// CreateApiCacheRequest generates a "aws/request.Request" representing the
@@ -1709,203 +1906,393 @@ func (c *AppSync) DisassociateApiWithContext(ctx aws.Context, input *Disassociat
return out, req.Send()
}
-const opEvaluateCode = "EvaluateCode"
+const opDisassociateMergedGraphqlApi = "DisassociateMergedGraphqlApi"
-// EvaluateCodeRequest generates a "aws/request.Request" representing the
-// client's request for the EvaluateCode operation. The "output" return
+// DisassociateMergedGraphqlApiRequest generates a "aws/request.Request" representing the
+// client's request for the DisassociateMergedGraphqlApi operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See EvaluateCode for more information on using the EvaluateCode
+// See DisassociateMergedGraphqlApi for more information on using the DisassociateMergedGraphqlApi
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the EvaluateCodeRequest method.
-// req, resp := client.EvaluateCodeRequest(params)
+// // Example sending a request using the DisassociateMergedGraphqlApiRequest method.
+// req, resp := client.DisassociateMergedGraphqlApiRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateCode
-func (c *AppSync) EvaluateCodeRequest(input *EvaluateCodeInput) (req *request.Request, output *EvaluateCodeOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateMergedGraphqlApi
+func (c *AppSync) DisassociateMergedGraphqlApiRequest(input *DisassociateMergedGraphqlApiInput) (req *request.Request, output *DisassociateMergedGraphqlApiOutput) {
op := &request.Operation{
- Name: opEvaluateCode,
- HTTPMethod: "POST",
- HTTPPath: "/v1/dataplane-evaluatecode",
+ Name: opDisassociateMergedGraphqlApi,
+ HTTPMethod: "DELETE",
+ HTTPPath: "/v1/sourceApis/{sourceApiIdentifier}/mergedApiAssociations/{associationId}",
}
if input == nil {
- input = &EvaluateCodeInput{}
+ input = &DisassociateMergedGraphqlApiInput{}
}
- output = &EvaluateCodeOutput{}
+ output = &DisassociateMergedGraphqlApiOutput{}
req = c.newRequest(op, input, output)
return
}
-// EvaluateCode API operation for AWS AppSync.
+// DisassociateMergedGraphqlApi API operation for AWS AppSync.
//
-// Evaluates the given code and returns the response. The code definition requirements
-// depend on the specified runtime. For APPSYNC_JS runtimes, the code defines
-// the request and response functions. The request function takes the incoming
-// request after a GraphQL operation is parsed and converts it into a request
-// configuration for the selected data source operation. The response function
-// interprets responses from the data source and maps it to the shape of the
-// GraphQL field output type.
+// Deletes an association between a Merged API and source API using the source
+// API's identifier and the association ID.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS AppSync's
-// API operation EvaluateCode for usage and error information.
+// API operation DisassociateMergedGraphqlApi for usage and error information.
//
// Returned Error Types:
//
-// - AccessDeniedException
-// You don't have access to perform this operation on this resource.
-//
-// - InternalFailureException
-// An internal AppSync error occurred. Try your request again.
+// - UnauthorizedException
+// You aren't authorized to perform this operation.
//
// - BadRequestException
// The request is not well formed. For example, a value is invalid or a required
// field is missing. Check the field values, and then try again.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateCode
-func (c *AppSync) EvaluateCode(input *EvaluateCodeInput) (*EvaluateCodeOutput, error) {
- req, out := c.EvaluateCodeRequest(input)
+// - InternalFailureException
+// An internal AppSync error occurred. Try your request again.
+//
+// - NotFoundException
+// The resource specified in the request was not found. Check the resource,
+// and then try again.
+//
+// - ConcurrentModificationException
+// Another modification is in progress at this time and it must complete before
+// you can make your change.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateMergedGraphqlApi
+func (c *AppSync) DisassociateMergedGraphqlApi(input *DisassociateMergedGraphqlApiInput) (*DisassociateMergedGraphqlApiOutput, error) {
+ req, out := c.DisassociateMergedGraphqlApiRequest(input)
return out, req.Send()
}
-// EvaluateCodeWithContext is the same as EvaluateCode with the addition of
+// DisassociateMergedGraphqlApiWithContext is the same as DisassociateMergedGraphqlApi with the addition of
// the ability to pass a context and additional request options.
//
-// See EvaluateCode for details on how to use this API operation.
+// See DisassociateMergedGraphqlApi for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *AppSync) EvaluateCodeWithContext(ctx aws.Context, input *EvaluateCodeInput, opts ...request.Option) (*EvaluateCodeOutput, error) {
- req, out := c.EvaluateCodeRequest(input)
+func (c *AppSync) DisassociateMergedGraphqlApiWithContext(ctx aws.Context, input *DisassociateMergedGraphqlApiInput, opts ...request.Option) (*DisassociateMergedGraphqlApiOutput, error) {
+ req, out := c.DisassociateMergedGraphqlApiRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opEvaluateMappingTemplate = "EvaluateMappingTemplate"
+const opDisassociateSourceGraphqlApi = "DisassociateSourceGraphqlApi"
-// EvaluateMappingTemplateRequest generates a "aws/request.Request" representing the
-// client's request for the EvaluateMappingTemplate operation. The "output" return
+// DisassociateSourceGraphqlApiRequest generates a "aws/request.Request" representing the
+// client's request for the DisassociateSourceGraphqlApi operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See EvaluateMappingTemplate for more information on using the EvaluateMappingTemplate
+// See DisassociateSourceGraphqlApi for more information on using the DisassociateSourceGraphqlApi
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the EvaluateMappingTemplateRequest method.
-// req, resp := client.EvaluateMappingTemplateRequest(params)
+// // Example sending a request using the DisassociateSourceGraphqlApiRequest method.
+// req, resp := client.DisassociateSourceGraphqlApiRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateMappingTemplate
-func (c *AppSync) EvaluateMappingTemplateRequest(input *EvaluateMappingTemplateInput) (req *request.Request, output *EvaluateMappingTemplateOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateSourceGraphqlApi
+func (c *AppSync) DisassociateSourceGraphqlApiRequest(input *DisassociateSourceGraphqlApiInput) (req *request.Request, output *DisassociateSourceGraphqlApiOutput) {
op := &request.Operation{
- Name: opEvaluateMappingTemplate,
- HTTPMethod: "POST",
- HTTPPath: "/v1/dataplane-evaluatetemplate",
+ Name: opDisassociateSourceGraphqlApi,
+ HTTPMethod: "DELETE",
+ HTTPPath: "/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}",
}
if input == nil {
- input = &EvaluateMappingTemplateInput{}
+ input = &DisassociateSourceGraphqlApiInput{}
}
- output = &EvaluateMappingTemplateOutput{}
+ output = &DisassociateSourceGraphqlApiOutput{}
req = c.newRequest(op, input, output)
return
}
-// EvaluateMappingTemplate API operation for AWS AppSync.
-//
-// Evaluates a given template and returns the response. The mapping template
-// can be a request or response template.
+// DisassociateSourceGraphqlApi API operation for AWS AppSync.
//
-// Request templates take the incoming request after a GraphQL operation is
-// parsed and convert it into a request configuration for the selected data
-// source operation. Response templates interpret responses from the data source
-// and map it to the shape of the GraphQL field output type.
-//
-// Mapping templates are written in the Apache Velocity Template Language (VTL).
+// Deletes an association between a Merged API and source API using the Merged
+// API's identifier and the association ID.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS AppSync's
-// API operation EvaluateMappingTemplate for usage and error information.
+// API operation DisassociateSourceGraphqlApi for usage and error information.
//
// Returned Error Types:
//
-// - AccessDeniedException
-// You don't have access to perform this operation on this resource.
-//
-// - InternalFailureException
-// An internal AppSync error occurred. Try your request again.
+// - UnauthorizedException
+// You aren't authorized to perform this operation.
//
// - BadRequestException
// The request is not well formed. For example, a value is invalid or a required
// field is missing. Check the field values, and then try again.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateMappingTemplate
-func (c *AppSync) EvaluateMappingTemplate(input *EvaluateMappingTemplateInput) (*EvaluateMappingTemplateOutput, error) {
- req, out := c.EvaluateMappingTemplateRequest(input)
+// - InternalFailureException
+// An internal AppSync error occurred. Try your request again.
+//
+// - NotFoundException
+// The resource specified in the request was not found. Check the resource,
+// and then try again.
+//
+// - ConcurrentModificationException
+// Another modification is in progress at this time and it must complete before
+// you can make your change.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateSourceGraphqlApi
+func (c *AppSync) DisassociateSourceGraphqlApi(input *DisassociateSourceGraphqlApiInput) (*DisassociateSourceGraphqlApiOutput, error) {
+ req, out := c.DisassociateSourceGraphqlApiRequest(input)
return out, req.Send()
}
-// EvaluateMappingTemplateWithContext is the same as EvaluateMappingTemplate with the addition of
+// DisassociateSourceGraphqlApiWithContext is the same as DisassociateSourceGraphqlApi with the addition of
// the ability to pass a context and additional request options.
//
-// See EvaluateMappingTemplate for details on how to use this API operation.
+// See DisassociateSourceGraphqlApi for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *AppSync) EvaluateMappingTemplateWithContext(ctx aws.Context, input *EvaluateMappingTemplateInput, opts ...request.Option) (*EvaluateMappingTemplateOutput, error) {
- req, out := c.EvaluateMappingTemplateRequest(input)
+func (c *AppSync) DisassociateSourceGraphqlApiWithContext(ctx aws.Context, input *DisassociateSourceGraphqlApiInput, opts ...request.Option) (*DisassociateSourceGraphqlApiOutput, error) {
+ req, out := c.DisassociateSourceGraphqlApiRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opFlushApiCache = "FlushApiCache"
+const opEvaluateCode = "EvaluateCode"
-// FlushApiCacheRequest generates a "aws/request.Request" representing the
-// client's request for the FlushApiCache operation. The "output" return
+// EvaluateCodeRequest generates a "aws/request.Request" representing the
+// client's request for the EvaluateCode operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See FlushApiCache for more information on using the FlushApiCache
+// See EvaluateCode for more information on using the EvaluateCode
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the EvaluateCodeRequest method.
+// req, resp := client.EvaluateCodeRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateCode
+func (c *AppSync) EvaluateCodeRequest(input *EvaluateCodeInput) (req *request.Request, output *EvaluateCodeOutput) {
+ op := &request.Operation{
+ Name: opEvaluateCode,
+ HTTPMethod: "POST",
+ HTTPPath: "/v1/dataplane-evaluatecode",
+ }
+
+ if input == nil {
+ input = &EvaluateCodeInput{}
+ }
+
+ output = &EvaluateCodeOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// EvaluateCode API operation for AWS AppSync.
+//
+// Evaluates the given code and returns the response. The code definition requirements
+// depend on the specified runtime. For APPSYNC_JS runtimes, the code defines
+// the request and response functions. The request function takes the incoming
+// request after a GraphQL operation is parsed and converts it into a request
+// configuration for the selected data source operation. The response function
+// interprets responses from the data source and maps it to the shape of the
+// GraphQL field output type.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS AppSync's
+// API operation EvaluateCode for usage and error information.
+//
+// Returned Error Types:
+//
+// - AccessDeniedException
+// You don't have access to perform this operation on this resource.
+//
+// - InternalFailureException
+// An internal AppSync error occurred. Try your request again.
+//
+// - BadRequestException
+// The request is not well formed. For example, a value is invalid or a required
+// field is missing. Check the field values, and then try again.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateCode
+func (c *AppSync) EvaluateCode(input *EvaluateCodeInput) (*EvaluateCodeOutput, error) {
+ req, out := c.EvaluateCodeRequest(input)
+ return out, req.Send()
+}
+
+// EvaluateCodeWithContext is the same as EvaluateCode with the addition of
+// the ability to pass a context and additional request options.
+//
+// See EvaluateCode for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *AppSync) EvaluateCodeWithContext(ctx aws.Context, input *EvaluateCodeInput, opts ...request.Option) (*EvaluateCodeOutput, error) {
+ req, out := c.EvaluateCodeRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opEvaluateMappingTemplate = "EvaluateMappingTemplate"
+
+// EvaluateMappingTemplateRequest generates a "aws/request.Request" representing the
+// client's request for the EvaluateMappingTemplate operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See EvaluateMappingTemplate for more information on using the EvaluateMappingTemplate
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the EvaluateMappingTemplateRequest method.
+// req, resp := client.EvaluateMappingTemplateRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateMappingTemplate
+func (c *AppSync) EvaluateMappingTemplateRequest(input *EvaluateMappingTemplateInput) (req *request.Request, output *EvaluateMappingTemplateOutput) {
+ op := &request.Operation{
+ Name: opEvaluateMappingTemplate,
+ HTTPMethod: "POST",
+ HTTPPath: "/v1/dataplane-evaluatetemplate",
+ }
+
+ if input == nil {
+ input = &EvaluateMappingTemplateInput{}
+ }
+
+ output = &EvaluateMappingTemplateOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// EvaluateMappingTemplate API operation for AWS AppSync.
+//
+// Evaluates a given template and returns the response. The mapping template
+// can be a request or response template.
+//
+// Request templates take the incoming request after a GraphQL operation is
+// parsed and convert it into a request configuration for the selected data
+// source operation. Response templates interpret responses from the data source
+// and map it to the shape of the GraphQL field output type.
+//
+// Mapping templates are written in the Apache Velocity Template Language (VTL).
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS AppSync's
+// API operation EvaluateMappingTemplate for usage and error information.
+//
+// Returned Error Types:
+//
+// - AccessDeniedException
+// You don't have access to perform this operation on this resource.
+//
+// - InternalFailureException
+// An internal AppSync error occurred. Try your request again.
+//
+// - BadRequestException
+// The request is not well formed. For example, a value is invalid or a required
+// field is missing. Check the field values, and then try again.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateMappingTemplate
+func (c *AppSync) EvaluateMappingTemplate(input *EvaluateMappingTemplateInput) (*EvaluateMappingTemplateOutput, error) {
+ req, out := c.EvaluateMappingTemplateRequest(input)
+ return out, req.Send()
+}
+
+// EvaluateMappingTemplateWithContext is the same as EvaluateMappingTemplate with the addition of
+// the ability to pass a context and additional request options.
+//
+// See EvaluateMappingTemplate for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *AppSync) EvaluateMappingTemplateWithContext(ctx aws.Context, input *EvaluateMappingTemplateInput, opts ...request.Option) (*EvaluateMappingTemplateOutput, error) {
+ req, out := c.EvaluateMappingTemplateRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opFlushApiCache = "FlushApiCache"
+
+// FlushApiCacheRequest generates a "aws/request.Request" representing the
+// client's request for the FlushApiCache operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See FlushApiCache for more information on using the FlushApiCache
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
@@ -2804,6 +3191,96 @@ func (c *AppSync) GetSchemaCreationStatusWithContext(ctx aws.Context, input *Get
return out, req.Send()
}
+const opGetSourceApiAssociation = "GetSourceApiAssociation"
+
+// GetSourceApiAssociationRequest generates a "aws/request.Request" representing the
+// client's request for the GetSourceApiAssociation operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See GetSourceApiAssociation for more information on using the GetSourceApiAssociation
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the GetSourceApiAssociationRequest method.
+// req, resp := client.GetSourceApiAssociationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSourceApiAssociation
+func (c *AppSync) GetSourceApiAssociationRequest(input *GetSourceApiAssociationInput) (req *request.Request, output *GetSourceApiAssociationOutput) {
+ op := &request.Operation{
+ Name: opGetSourceApiAssociation,
+ HTTPMethod: "GET",
+ HTTPPath: "/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}",
+ }
+
+ if input == nil {
+ input = &GetSourceApiAssociationInput{}
+ }
+
+ output = &GetSourceApiAssociationOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetSourceApiAssociation API operation for AWS AppSync.
+//
+// Retrieves a SourceApiAssociation object.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS AppSync's
+// API operation GetSourceApiAssociation for usage and error information.
+//
+// Returned Error Types:
+//
+// - UnauthorizedException
+// You aren't authorized to perform this operation.
+//
+// - BadRequestException
+// The request is not well formed. For example, a value is invalid or a required
+// field is missing. Check the field values, and then try again.
+//
+// - InternalFailureException
+// An internal AppSync error occurred. Try your request again.
+//
+// - NotFoundException
+// The resource specified in the request was not found. Check the resource,
+// and then try again.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSourceApiAssociation
+func (c *AppSync) GetSourceApiAssociation(input *GetSourceApiAssociationInput) (*GetSourceApiAssociationOutput, error) {
+ req, out := c.GetSourceApiAssociationRequest(input)
+ return out, req.Send()
+}
+
+// GetSourceApiAssociationWithContext is the same as GetSourceApiAssociation with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetSourceApiAssociation for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *AppSync) GetSourceApiAssociationWithContext(ctx aws.Context, input *GetSourceApiAssociationInput, opts ...request.Option) (*GetSourceApiAssociationOutput, error) {
+ req, out := c.GetSourceApiAssociationRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opGetType = "GetType"
// GetTypeRequest generates a "aws/request.Request" representing the
@@ -3525,9 +4002,99 @@ func (c *AppSync) ListResolversByFunctionWithContext(ctx aws.Context, input *Lis
return out, req.Send()
}
-const opListTagsForResource = "ListTagsForResource"
+const opListSourceApiAssociations = "ListSourceApiAssociations"
-// ListTagsForResourceRequest generates a "aws/request.Request" representing the
+// ListSourceApiAssociationsRequest generates a "aws/request.Request" representing the
+// client's request for the ListSourceApiAssociations operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListSourceApiAssociations for more information on using the ListSourceApiAssociations
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListSourceApiAssociationsRequest method.
+// req, resp := client.ListSourceApiAssociationsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListSourceApiAssociations
+func (c *AppSync) ListSourceApiAssociationsRequest(input *ListSourceApiAssociationsInput) (req *request.Request, output *ListSourceApiAssociationsOutput) {
+ op := &request.Operation{
+ Name: opListSourceApiAssociations,
+ HTTPMethod: "GET",
+ HTTPPath: "/v1/apis/{apiId}/sourceApiAssociations",
+ }
+
+ if input == nil {
+ input = &ListSourceApiAssociationsInput{}
+ }
+
+ output = &ListSourceApiAssociationsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListSourceApiAssociations API operation for AWS AppSync.
+//
+// Lists the SourceApiAssociationSummary data.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS AppSync's
+// API operation ListSourceApiAssociations for usage and error information.
+//
+// Returned Error Types:
+//
+// - UnauthorizedException
+// You aren't authorized to perform this operation.
+//
+// - BadRequestException
+// The request is not well formed. For example, a value is invalid or a required
+// field is missing. Check the field values, and then try again.
+//
+// - InternalFailureException
+// An internal AppSync error occurred. Try your request again.
+//
+// - NotFoundException
+// The resource specified in the request was not found. Check the resource,
+// and then try again.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListSourceApiAssociations
+func (c *AppSync) ListSourceApiAssociations(input *ListSourceApiAssociationsInput) (*ListSourceApiAssociationsOutput, error) {
+ req, out := c.ListSourceApiAssociationsRequest(input)
+ return out, req.Send()
+}
+
+// ListSourceApiAssociationsWithContext is the same as ListSourceApiAssociations with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListSourceApiAssociations for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *AppSync) ListSourceApiAssociationsWithContext(ctx aws.Context, input *ListSourceApiAssociationsInput, opts ...request.Option) (*ListSourceApiAssociationsOutput, error) {
+ req, out := c.ListSourceApiAssociationsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opListTagsForResource = "ListTagsForResource"
+
+// ListTagsForResourceRequest generates a "aws/request.Request" representing the
// client's request for the ListTagsForResource operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
@@ -3715,6 +4282,100 @@ func (c *AppSync) ListTypesWithContext(ctx aws.Context, input *ListTypesInput, o
return out, req.Send()
}
+const opListTypesByAssociation = "ListTypesByAssociation"
+
+// ListTypesByAssociationRequest generates a "aws/request.Request" representing the
+// client's request for the ListTypesByAssociation operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListTypesByAssociation for more information on using the ListTypesByAssociation
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListTypesByAssociationRequest method.
+// req, resp := client.ListTypesByAssociationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypesByAssociation
+func (c *AppSync) ListTypesByAssociationRequest(input *ListTypesByAssociationInput) (req *request.Request, output *ListTypesByAssociationOutput) {
+ op := &request.Operation{
+ Name: opListTypesByAssociation,
+ HTTPMethod: "GET",
+ HTTPPath: "/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}/types",
+ }
+
+ if input == nil {
+ input = &ListTypesByAssociationInput{}
+ }
+
+ output = &ListTypesByAssociationOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListTypesByAssociation API operation for AWS AppSync.
+//
+// Lists Type objects by the source API association ID.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS AppSync's
+// API operation ListTypesByAssociation for usage and error information.
+//
+// Returned Error Types:
+//
+// - BadRequestException
+// The request is not well formed. For example, a value is invalid or a required
+// field is missing. Check the field values, and then try again.
+//
+// - ConcurrentModificationException
+// Another modification is in progress at this time and it must complete before
+// you can make your change.
+//
+// - NotFoundException
+// The resource specified in the request was not found. Check the resource,
+// and then try again.
+//
+// - UnauthorizedException
+// You aren't authorized to perform this operation.
+//
+// - InternalFailureException
+// An internal AppSync error occurred. Try your request again.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypesByAssociation
+func (c *AppSync) ListTypesByAssociation(input *ListTypesByAssociationInput) (*ListTypesByAssociationOutput, error) {
+ req, out := c.ListTypesByAssociationRequest(input)
+ return out, req.Send()
+}
+
+// ListTypesByAssociationWithContext is the same as ListTypesByAssociation with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListTypesByAssociation for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *AppSync) ListTypesByAssociationWithContext(ctx aws.Context, input *ListTypesByAssociationInput, opts ...request.Option) (*ListTypesByAssociationOutput, error) {
+ req, out := c.ListTypesByAssociationRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opStartSchemaCreation = "StartSchemaCreation"
// StartSchemaCreationRequest generates a "aws/request.Request" representing the
@@ -3811,6 +4472,101 @@ func (c *AppSync) StartSchemaCreationWithContext(ctx aws.Context, input *StartSc
return out, req.Send()
}
+const opStartSchemaMerge = "StartSchemaMerge"
+
+// StartSchemaMergeRequest generates a "aws/request.Request" representing the
+// client's request for the StartSchemaMerge operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See StartSchemaMerge for more information on using the StartSchemaMerge
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the StartSchemaMergeRequest method.
+// req, resp := client.StartSchemaMergeRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaMerge
+func (c *AppSync) StartSchemaMergeRequest(input *StartSchemaMergeInput) (req *request.Request, output *StartSchemaMergeOutput) {
+ op := &request.Operation{
+ Name: opStartSchemaMerge,
+ HTTPMethod: "POST",
+ HTTPPath: "/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}/merge",
+ }
+
+ if input == nil {
+ input = &StartSchemaMergeInput{}
+ }
+
+ output = &StartSchemaMergeOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// StartSchemaMerge API operation for AWS AppSync.
+//
+// Initiates a merge operation. Returns a status that shows the result of the
+// merge operation.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS AppSync's
+// API operation StartSchemaMerge for usage and error information.
+//
+// Returned Error Types:
+//
+// - UnauthorizedException
+// You aren't authorized to perform this operation.
+//
+// - BadRequestException
+// The request is not well formed. For example, a value is invalid or a required
+// field is missing. Check the field values, and then try again.
+//
+// - InternalFailureException
+// An internal AppSync error occurred. Try your request again.
+//
+// - NotFoundException
+// The resource specified in the request was not found. Check the resource,
+// and then try again.
+//
+// - ConcurrentModificationException
+// Another modification is in progress at this time and it must complete before
+// you can make your change.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaMerge
+func (c *AppSync) StartSchemaMerge(input *StartSchemaMergeInput) (*StartSchemaMergeOutput, error) {
+ req, out := c.StartSchemaMergeRequest(input)
+ return out, req.Send()
+}
+
+// StartSchemaMergeWithContext is the same as StartSchemaMerge with the addition of
+// the ability to pass a context and additional request options.
+//
+// See StartSchemaMerge for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *AppSync) StartSchemaMergeWithContext(ctx aws.Context, input *StartSchemaMergeInput, opts ...request.Option) (*StartSchemaMergeOutput, error) {
+ req, out := c.StartSchemaMergeRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opTagResource = "TagResource"
// TagResourceRequest generates a "aws/request.Request" representing the
@@ -4665,104 +5421,198 @@ func (c *AppSync) UpdateResolverWithContext(ctx aws.Context, input *UpdateResolv
return out, req.Send()
}
-const opUpdateType = "UpdateType"
+const opUpdateSourceApiAssociation = "UpdateSourceApiAssociation"
-// UpdateTypeRequest generates a "aws/request.Request" representing the
-// client's request for the UpdateType operation. The "output" return
+// UpdateSourceApiAssociationRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateSourceApiAssociation operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See UpdateType for more information on using the UpdateType
+// See UpdateSourceApiAssociation for more information on using the UpdateSourceApiAssociation
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the UpdateTypeRequest method.
-// req, resp := client.UpdateTypeRequest(params)
+// // Example sending a request using the UpdateSourceApiAssociationRequest method.
+// req, resp := client.UpdateSourceApiAssociationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateType
-func (c *AppSync) UpdateTypeRequest(input *UpdateTypeInput) (req *request.Request, output *UpdateTypeOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateSourceApiAssociation
+func (c *AppSync) UpdateSourceApiAssociationRequest(input *UpdateSourceApiAssociationInput) (req *request.Request, output *UpdateSourceApiAssociationOutput) {
op := &request.Operation{
- Name: opUpdateType,
+ Name: opUpdateSourceApiAssociation,
HTTPMethod: "POST",
- HTTPPath: "/v1/apis/{apiId}/types/{typeName}",
+ HTTPPath: "/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}",
}
if input == nil {
- input = &UpdateTypeInput{}
+ input = &UpdateSourceApiAssociationInput{}
}
- output = &UpdateTypeOutput{}
+ output = &UpdateSourceApiAssociationOutput{}
req = c.newRequest(op, input, output)
return
}
-// UpdateType API operation for AWS AppSync.
+// UpdateSourceApiAssociation API operation for AWS AppSync.
//
-// Updates a Type object.
+// Updates some of the configuration choices of a particular source API association.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS AppSync's
-// API operation UpdateType for usage and error information.
+// API operation UpdateSourceApiAssociation for usage and error information.
//
// Returned Error Types:
//
+// - UnauthorizedException
+// You aren't authorized to perform this operation.
+//
// - BadRequestException
// The request is not well formed. For example, a value is invalid or a required
// field is missing. Check the field values, and then try again.
//
-// - ConcurrentModificationException
-// Another modification is in progress at this time and it must complete before
-// you can make your change.
+// - InternalFailureException
+// An internal AppSync error occurred. Try your request again.
//
// - NotFoundException
// The resource specified in the request was not found. Check the resource,
// and then try again.
//
-// - UnauthorizedException
-// You aren't authorized to perform this operation.
-//
-// - InternalFailureException
-// An internal AppSync error occurred. Try your request again.
+// - ConcurrentModificationException
+// Another modification is in progress at this time and it must complete before
+// you can make your change.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateType
-func (c *AppSync) UpdateType(input *UpdateTypeInput) (*UpdateTypeOutput, error) {
- req, out := c.UpdateTypeRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateSourceApiAssociation
+func (c *AppSync) UpdateSourceApiAssociation(input *UpdateSourceApiAssociationInput) (*UpdateSourceApiAssociationOutput, error) {
+ req, out := c.UpdateSourceApiAssociationRequest(input)
return out, req.Send()
}
-// UpdateTypeWithContext is the same as UpdateType with the addition of
+// UpdateSourceApiAssociationWithContext is the same as UpdateSourceApiAssociation with the addition of
// the ability to pass a context and additional request options.
//
-// See UpdateType for details on how to use this API operation.
+// See UpdateSourceApiAssociation for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *AppSync) UpdateTypeWithContext(ctx aws.Context, input *UpdateTypeInput, opts ...request.Option) (*UpdateTypeOutput, error) {
- req, out := c.UpdateTypeRequest(input)
+func (c *AppSync) UpdateSourceApiAssociationWithContext(ctx aws.Context, input *UpdateSourceApiAssociationInput, opts ...request.Option) (*UpdateSourceApiAssociationOutput, error) {
+ req, out := c.UpdateSourceApiAssociationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// You don't have access to perform this operation on this resource.
-type AccessDeniedException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+const opUpdateType = "UpdateType"
+
+// UpdateTypeRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateType operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateType for more information on using the UpdateType
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateTypeRequest method.
+// req, resp := client.UpdateTypeRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateType
+func (c *AppSync) UpdateTypeRequest(input *UpdateTypeInput) (req *request.Request, output *UpdateTypeOutput) {
+ op := &request.Operation{
+ Name: opUpdateType,
+ HTTPMethod: "POST",
+ HTTPPath: "/v1/apis/{apiId}/types/{typeName}",
+ }
+
+ if input == nil {
+ input = &UpdateTypeInput{}
+ }
+
+ output = &UpdateTypeOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// UpdateType API operation for AWS AppSync.
+//
+// Updates a Type object.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS AppSync's
+// API operation UpdateType for usage and error information.
+//
+// Returned Error Types:
+//
+// - BadRequestException
+// The request is not well formed. For example, a value is invalid or a required
+// field is missing. Check the field values, and then try again.
+//
+// - ConcurrentModificationException
+// Another modification is in progress at this time and it must complete before
+// you can make your change.
+//
+// - NotFoundException
+// The resource specified in the request was not found. Check the resource,
+// and then try again.
+//
+// - UnauthorizedException
+// You aren't authorized to perform this operation.
+//
+// - InternalFailureException
+// An internal AppSync error occurred. Try your request again.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateType
+func (c *AppSync) UpdateType(input *UpdateTypeInput) (*UpdateTypeOutput, error) {
+ req, out := c.UpdateTypeRequest(input)
+ return out, req.Send()
+}
+
+// UpdateTypeWithContext is the same as UpdateType with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateType for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *AppSync) UpdateTypeWithContext(ctx aws.Context, input *UpdateTypeInput, opts ...request.Option) (*UpdateTypeOutput, error) {
+ req, out := c.UpdateTypeRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// You don't have access to perform this operation on this resource.
+type AccessDeniedException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
Message_ *string `locationName:"message" type:"string"`
}
@@ -5562,6 +6412,246 @@ func (s *AssociateApiOutput) SetApiAssociation(v *ApiAssociation) *AssociateApiO
return s
}
+type AssociateMergedGraphqlApiInput struct {
+ _ struct{} `type:"structure"`
+
+ // The description field.
+ Description *string `locationName:"description" type:"string"`
+
+ // The identifier of the AppSync Merged API. This is generated by the AppSync
+ // service. In most cases, Merged APIs (especially in your account) only require
+ // the API ID value or ARN of the merged API. However, Merged APIs in other
+ // accounts (cross-account use cases) strictly require the full resource ARN
+ // of the merged API.
+ //
+ // MergedApiIdentifier is a required field
+ MergedApiIdentifier *string `locationName:"mergedApiIdentifier" type:"string" required:"true"`
+
+ // The SourceApiAssociationConfig object data.
+ SourceApiAssociationConfig *SourceApiAssociationConfig `locationName:"sourceApiAssociationConfig" type:"structure"`
+
+ // The identifier of the AppSync Source API. This is generated by the AppSync
+ // service. In most cases, source APIs (especially in your account) only require
+ // the API ID value or ARN of the source API. However, source APIs from other
+ // accounts (cross-account use cases) strictly require the full resource ARN
+ // of the source API.
+ //
+ // SourceApiIdentifier is a required field
+ SourceApiIdentifier *string `location:"uri" locationName:"sourceApiIdentifier" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssociateMergedGraphqlApiInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssociateMergedGraphqlApiInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssociateMergedGraphqlApiInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssociateMergedGraphqlApiInput"}
+ if s.MergedApiIdentifier == nil {
+ invalidParams.Add(request.NewErrParamRequired("MergedApiIdentifier"))
+ }
+ if s.SourceApiIdentifier == nil {
+ invalidParams.Add(request.NewErrParamRequired("SourceApiIdentifier"))
+ }
+ if s.SourceApiIdentifier != nil && len(*s.SourceApiIdentifier) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("SourceApiIdentifier", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDescription sets the Description field's value.
+func (s *AssociateMergedGraphqlApiInput) SetDescription(v string) *AssociateMergedGraphqlApiInput {
+ s.Description = &v
+ return s
+}
+
+// SetMergedApiIdentifier sets the MergedApiIdentifier field's value.
+func (s *AssociateMergedGraphqlApiInput) SetMergedApiIdentifier(v string) *AssociateMergedGraphqlApiInput {
+ s.MergedApiIdentifier = &v
+ return s
+}
+
+// SetSourceApiAssociationConfig sets the SourceApiAssociationConfig field's value.
+func (s *AssociateMergedGraphqlApiInput) SetSourceApiAssociationConfig(v *SourceApiAssociationConfig) *AssociateMergedGraphqlApiInput {
+ s.SourceApiAssociationConfig = v
+ return s
+}
+
+// SetSourceApiIdentifier sets the SourceApiIdentifier field's value.
+func (s *AssociateMergedGraphqlApiInput) SetSourceApiIdentifier(v string) *AssociateMergedGraphqlApiInput {
+ s.SourceApiIdentifier = &v
+ return s
+}
+
+type AssociateMergedGraphqlApiOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The SourceApiAssociation object data.
+ SourceApiAssociation *SourceApiAssociation `locationName:"sourceApiAssociation" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssociateMergedGraphqlApiOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssociateMergedGraphqlApiOutput) GoString() string {
+ return s.String()
+}
+
+// SetSourceApiAssociation sets the SourceApiAssociation field's value.
+func (s *AssociateMergedGraphqlApiOutput) SetSourceApiAssociation(v *SourceApiAssociation) *AssociateMergedGraphqlApiOutput {
+ s.SourceApiAssociation = v
+ return s
+}
+
+type AssociateSourceGraphqlApiInput struct {
+ _ struct{} `type:"structure"`
+
+ // The description field.
+ Description *string `locationName:"description" type:"string"`
+
+ // The identifier of the AppSync Merged API. This is generated by the AppSync
+ // service. In most cases, Merged APIs (especially in your account) only require
+ // the API ID value or ARN of the merged API. However, Merged APIs in other
+ // accounts (cross-account use cases) strictly require the full resource ARN
+ // of the merged API.
+ //
+ // MergedApiIdentifier is a required field
+ MergedApiIdentifier *string `location:"uri" locationName:"mergedApiIdentifier" type:"string" required:"true"`
+
+ // The SourceApiAssociationConfig object data.
+ SourceApiAssociationConfig *SourceApiAssociationConfig `locationName:"sourceApiAssociationConfig" type:"structure"`
+
+ // The identifier of the AppSync Source API. This is generated by the AppSync
+ // service. In most cases, source APIs (especially in your account) only require
+ // the API ID value or ARN of the source API. However, source APIs from other
+ // accounts (cross-account use cases) strictly require the full resource ARN
+ // of the source API.
+ //
+ // SourceApiIdentifier is a required field
+ SourceApiIdentifier *string `locationName:"sourceApiIdentifier" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssociateSourceGraphqlApiInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssociateSourceGraphqlApiInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssociateSourceGraphqlApiInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssociateSourceGraphqlApiInput"}
+ if s.MergedApiIdentifier == nil {
+ invalidParams.Add(request.NewErrParamRequired("MergedApiIdentifier"))
+ }
+ if s.MergedApiIdentifier != nil && len(*s.MergedApiIdentifier) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("MergedApiIdentifier", 1))
+ }
+ if s.SourceApiIdentifier == nil {
+ invalidParams.Add(request.NewErrParamRequired("SourceApiIdentifier"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDescription sets the Description field's value.
+func (s *AssociateSourceGraphqlApiInput) SetDescription(v string) *AssociateSourceGraphqlApiInput {
+ s.Description = &v
+ return s
+}
+
+// SetMergedApiIdentifier sets the MergedApiIdentifier field's value.
+func (s *AssociateSourceGraphqlApiInput) SetMergedApiIdentifier(v string) *AssociateSourceGraphqlApiInput {
+ s.MergedApiIdentifier = &v
+ return s
+}
+
+// SetSourceApiAssociationConfig sets the SourceApiAssociationConfig field's value.
+func (s *AssociateSourceGraphqlApiInput) SetSourceApiAssociationConfig(v *SourceApiAssociationConfig) *AssociateSourceGraphqlApiInput {
+ s.SourceApiAssociationConfig = v
+ return s
+}
+
+// SetSourceApiIdentifier sets the SourceApiIdentifier field's value.
+func (s *AssociateSourceGraphqlApiInput) SetSourceApiIdentifier(v string) *AssociateSourceGraphqlApiInput {
+ s.SourceApiIdentifier = &v
+ return s
+}
+
+type AssociateSourceGraphqlApiOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The SourceApiAssociation object data.
+ SourceApiAssociation *SourceApiAssociation `locationName:"sourceApiAssociation" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssociateSourceGraphqlApiOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssociateSourceGraphqlApiOutput) GoString() string {
+ return s.String()
+}
+
+// SetSourceApiAssociation sets the SourceApiAssociation field's value.
+func (s *AssociateSourceGraphqlApiOutput) SetSourceApiAssociation(v *SourceApiAssociation) *AssociateSourceGraphqlApiOutput {
+ s.SourceApiAssociation = v
+ return s
+}
+
// The authorization configuration in case the HTTP endpoint requires authorization.
type AuthorizationConfig struct {
_ struct{} `type:"structure"`
@@ -6907,6 +7997,10 @@ type CreateGraphqlApiInput struct {
// A list of additional authentication providers for the GraphqlApi API.
AdditionalAuthenticationProviders []*AdditionalAuthenticationProvider `locationName:"additionalAuthenticationProviders" type:"list"`
+ // The value that indicates whether the GraphQL API is a standard API (GRAPHQL)
+ // or merged API (MERGED).
+ ApiType *string `locationName:"apiType" type:"string" enum:"GraphQLApiType"`
+
// The authentication type: API key, Identity and Access Management (IAM), OpenID
// Connect (OIDC), Amazon Cognito user pools, or Lambda.
//
@@ -6919,6 +8013,12 @@ type CreateGraphqlApiInput struct {
// The Amazon CloudWatch Logs configuration.
LogConfig *LogConfig `locationName:"logConfig" type:"structure"`
+ // The Identity and Access Management service role ARN for a merged API. The
+ // AppSync service assumes this role on behalf of the Merged API to validate
+ // access to source APIs at runtime and to prompt the AUTO_MERGE to update the
+ // merged API endpoint with the source API changes automatically.
+ MergedApiExecutionRoleArn *string `locationName:"mergedApiExecutionRoleArn" type:"string"`
+
// A user-supplied name for the GraphqlApi.
//
// Name is a required field
@@ -6927,6 +8027,11 @@ type CreateGraphqlApiInput struct {
// The OIDC configuration.
OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"`
+ // The owner contact information for an API resource.
+ //
+ // This field accepts any string input with a length of 0 - 256 characters.
+ OwnerContact *string `locationName:"ownerContact" type:"string"`
+
// A TagMap object.
Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
@@ -7015,6 +8120,12 @@ func (s *CreateGraphqlApiInput) SetAdditionalAuthenticationProviders(v []*Additi
return s
}
+// SetApiType sets the ApiType field's value.
+func (s *CreateGraphqlApiInput) SetApiType(v string) *CreateGraphqlApiInput {
+ s.ApiType = &v
+ return s
+}
+
// SetAuthenticationType sets the AuthenticationType field's value.
func (s *CreateGraphqlApiInput) SetAuthenticationType(v string) *CreateGraphqlApiInput {
s.AuthenticationType = &v
@@ -7033,6 +8144,12 @@ func (s *CreateGraphqlApiInput) SetLogConfig(v *LogConfig) *CreateGraphqlApiInpu
return s
}
+// SetMergedApiExecutionRoleArn sets the MergedApiExecutionRoleArn field's value.
+func (s *CreateGraphqlApiInput) SetMergedApiExecutionRoleArn(v string) *CreateGraphqlApiInput {
+ s.MergedApiExecutionRoleArn = &v
+ return s
+}
+
// SetName sets the Name field's value.
func (s *CreateGraphqlApiInput) SetName(v string) *CreateGraphqlApiInput {
s.Name = &v
@@ -7045,6 +8162,12 @@ func (s *CreateGraphqlApiInput) SetOpenIDConnectConfig(v *OpenIDConnectConfig) *
return s
}
+// SetOwnerContact sets the OwnerContact field's value.
+func (s *CreateGraphqlApiInput) SetOwnerContact(v string) *CreateGraphqlApiInput {
+ s.OwnerContact = &v
+ return s
+}
+
// SetTags sets the Tags field's value.
func (s *CreateGraphqlApiInput) SetTags(v map[string]*string) *CreateGraphqlApiInput {
s.Tags = v
@@ -8404,6 +9527,208 @@ func (s DisassociateApiOutput) GoString() string {
return s.String()
}
+type DisassociateMergedGraphqlApiInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The ID generated by the AppSync service for the source API association.
+ //
+ // AssociationId is a required field
+ AssociationId *string `location:"uri" locationName:"associationId" type:"string" required:"true"`
+
+ // The identifier of the AppSync Source API. This is generated by the AppSync
+ // service. In most cases, source APIs (especially in your account) only require
+ // the API ID value or ARN of the source API. However, source APIs from other
+ // accounts (cross-account use cases) strictly require the full resource ARN
+ // of the source API.
+ //
+ // SourceApiIdentifier is a required field
+ SourceApiIdentifier *string `location:"uri" locationName:"sourceApiIdentifier" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DisassociateMergedGraphqlApiInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DisassociateMergedGraphqlApiInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DisassociateMergedGraphqlApiInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DisassociateMergedGraphqlApiInput"}
+ if s.AssociationId == nil {
+ invalidParams.Add(request.NewErrParamRequired("AssociationId"))
+ }
+ if s.AssociationId != nil && len(*s.AssociationId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AssociationId", 1))
+ }
+ if s.SourceApiIdentifier == nil {
+ invalidParams.Add(request.NewErrParamRequired("SourceApiIdentifier"))
+ }
+ if s.SourceApiIdentifier != nil && len(*s.SourceApiIdentifier) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("SourceApiIdentifier", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAssociationId sets the AssociationId field's value.
+func (s *DisassociateMergedGraphqlApiInput) SetAssociationId(v string) *DisassociateMergedGraphqlApiInput {
+ s.AssociationId = &v
+ return s
+}
+
+// SetSourceApiIdentifier sets the SourceApiIdentifier field's value.
+func (s *DisassociateMergedGraphqlApiInput) SetSourceApiIdentifier(v string) *DisassociateMergedGraphqlApiInput {
+ s.SourceApiIdentifier = &v
+ return s
+}
+
+type DisassociateMergedGraphqlApiOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The state of the source API association.
+ SourceApiAssociationStatus *string `locationName:"sourceApiAssociationStatus" type:"string" enum:"SourceApiAssociationStatus"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DisassociateMergedGraphqlApiOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DisassociateMergedGraphqlApiOutput) GoString() string {
+ return s.String()
+}
+
+// SetSourceApiAssociationStatus sets the SourceApiAssociationStatus field's value.
+func (s *DisassociateMergedGraphqlApiOutput) SetSourceApiAssociationStatus(v string) *DisassociateMergedGraphqlApiOutput {
+ s.SourceApiAssociationStatus = &v
+ return s
+}
+
+type DisassociateSourceGraphqlApiInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The ID generated by the AppSync service for the source API association.
+ //
+ // AssociationId is a required field
+ AssociationId *string `location:"uri" locationName:"associationId" type:"string" required:"true"`
+
+ // The identifier of the AppSync Merged API. This is generated by the AppSync
+ // service. In most cases, Merged APIs (especially in your account) only require
+ // the API ID value or ARN of the merged API. However, Merged APIs in other
+ // accounts (cross-account use cases) strictly require the full resource ARN
+ // of the merged API.
+ //
+ // MergedApiIdentifier is a required field
+ MergedApiIdentifier *string `location:"uri" locationName:"mergedApiIdentifier" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DisassociateSourceGraphqlApiInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DisassociateSourceGraphqlApiInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DisassociateSourceGraphqlApiInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DisassociateSourceGraphqlApiInput"}
+ if s.AssociationId == nil {
+ invalidParams.Add(request.NewErrParamRequired("AssociationId"))
+ }
+ if s.AssociationId != nil && len(*s.AssociationId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AssociationId", 1))
+ }
+ if s.MergedApiIdentifier == nil {
+ invalidParams.Add(request.NewErrParamRequired("MergedApiIdentifier"))
+ }
+ if s.MergedApiIdentifier != nil && len(*s.MergedApiIdentifier) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("MergedApiIdentifier", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAssociationId sets the AssociationId field's value.
+func (s *DisassociateSourceGraphqlApiInput) SetAssociationId(v string) *DisassociateSourceGraphqlApiInput {
+ s.AssociationId = &v
+ return s
+}
+
+// SetMergedApiIdentifier sets the MergedApiIdentifier field's value.
+func (s *DisassociateSourceGraphqlApiInput) SetMergedApiIdentifier(v string) *DisassociateSourceGraphqlApiInput {
+ s.MergedApiIdentifier = &v
+ return s
+}
+
+type DisassociateSourceGraphqlApiOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The state of the source API association.
+ SourceApiAssociationStatus *string `locationName:"sourceApiAssociationStatus" type:"string" enum:"SourceApiAssociationStatus"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DisassociateSourceGraphqlApiOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DisassociateSourceGraphqlApiOutput) GoString() string {
+ return s.String()
+}
+
+// SetSourceApiAssociationStatus sets the SourceApiAssociationStatus field's value.
+func (s *DisassociateSourceGraphqlApiOutput) SetSourceApiAssociationStatus(v string) *DisassociateSourceGraphqlApiOutput {
+ s.SourceApiAssociationStatus = &v
+ return s
+}
+
// Describes a configuration for a custom domain.
type DomainNameConfig struct {
_ struct{} `type:"structure"`
@@ -10054,6 +11379,107 @@ func (s *GetSchemaCreationStatusOutput) SetStatus(v string) *GetSchemaCreationSt
return s
}
+type GetSourceApiAssociationInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The ID generated by the AppSync service for the source API association.
+ //
+ // AssociationId is a required field
+ AssociationId *string `location:"uri" locationName:"associationId" type:"string" required:"true"`
+
+ // The identifier of the AppSync Merged API. This is generated by the AppSync
+ // service. In most cases, Merged APIs (especially in your account) only require
+ // the API ID value or ARN of the merged API. However, Merged APIs in other
+ // accounts (cross-account use cases) strictly require the full resource ARN
+ // of the merged API.
+ //
+ // MergedApiIdentifier is a required field
+ MergedApiIdentifier *string `location:"uri" locationName:"mergedApiIdentifier" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSourceApiAssociationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSourceApiAssociationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetSourceApiAssociationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetSourceApiAssociationInput"}
+ if s.AssociationId == nil {
+ invalidParams.Add(request.NewErrParamRequired("AssociationId"))
+ }
+ if s.AssociationId != nil && len(*s.AssociationId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AssociationId", 1))
+ }
+ if s.MergedApiIdentifier == nil {
+ invalidParams.Add(request.NewErrParamRequired("MergedApiIdentifier"))
+ }
+ if s.MergedApiIdentifier != nil && len(*s.MergedApiIdentifier) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("MergedApiIdentifier", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAssociationId sets the AssociationId field's value.
+func (s *GetSourceApiAssociationInput) SetAssociationId(v string) *GetSourceApiAssociationInput {
+ s.AssociationId = &v
+ return s
+}
+
+// SetMergedApiIdentifier sets the MergedApiIdentifier field's value.
+func (s *GetSourceApiAssociationInput) SetMergedApiIdentifier(v string) *GetSourceApiAssociationInput {
+ s.MergedApiIdentifier = &v
+ return s
+}
+
+type GetSourceApiAssociationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The SourceApiAssociation object data.
+ SourceApiAssociation *SourceApiAssociation `locationName:"sourceApiAssociation" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSourceApiAssociationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSourceApiAssociationOutput) GoString() string {
+ return s.String()
+}
+
+// SetSourceApiAssociation sets the SourceApiAssociation field's value.
+func (s *GetSourceApiAssociationOutput) SetSourceApiAssociation(v *SourceApiAssociation) *GetSourceApiAssociationOutput {
+ s.SourceApiAssociation = v
+ return s
+}
+
type GetTypeInput struct {
_ struct{} `type:"structure" nopayload:"true"`
@@ -10239,6 +11665,10 @@ type GraphqlApi struct {
// The API ID.
ApiId *string `locationName:"apiId" type:"string"`
+ // The value that indicates whether the GraphQL API is a standard API (GRAPHQL)
+ // or merged API (MERGED).
+ ApiType *string `locationName:"apiType" type:"string" enum:"GraphQLApiType"`
+
// The Amazon Resource Name (ARN).
Arn *string `locationName:"arn" type:"string"`
@@ -10254,12 +11684,26 @@ type GraphqlApi struct {
// The Amazon CloudWatch Logs configuration.
LogConfig *LogConfig `locationName:"logConfig" type:"structure"`
+ // The Identity and Access Management service role ARN for a merged API. The
+ // AppSync service assumes this role on behalf of the Merged API to validate
+ // access to source APIs at runtime and to prompt the AUTO_MERGE to update the
+ // merged API endpoint with the source API changes automatically.
+ MergedApiExecutionRoleArn *string `locationName:"mergedApiExecutionRoleArn" type:"string"`
+
// The API name.
Name *string `locationName:"name" min:"1" type:"string"`
// The OpenID Connect configuration.
OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"`
+ // The account owner of the GraphQL API.
+ Owner *string `locationName:"owner" type:"string"`
+
+ // The owner contact information for an API resource.
+ //
+ // This field accepts any string input with a length of 0 - 256 characters.
+ OwnerContact *string `locationName:"ownerContact" type:"string"`
+
// The tags.
Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
@@ -10312,6 +11756,12 @@ func (s *GraphqlApi) SetApiId(v string) *GraphqlApi {
return s
}
+// SetApiType sets the ApiType field's value.
+func (s *GraphqlApi) SetApiType(v string) *GraphqlApi {
+ s.ApiType = &v
+ return s
+}
+
// SetArn sets the Arn field's value.
func (s *GraphqlApi) SetArn(v string) *GraphqlApi {
s.Arn = &v
@@ -10342,6 +11792,12 @@ func (s *GraphqlApi) SetLogConfig(v *LogConfig) *GraphqlApi {
return s
}
+// SetMergedApiExecutionRoleArn sets the MergedApiExecutionRoleArn field's value.
+func (s *GraphqlApi) SetMergedApiExecutionRoleArn(v string) *GraphqlApi {
+ s.MergedApiExecutionRoleArn = &v
+ return s
+}
+
// SetName sets the Name field's value.
func (s *GraphqlApi) SetName(v string) *GraphqlApi {
s.Name = &v
@@ -10354,6 +11810,18 @@ func (s *GraphqlApi) SetOpenIDConnectConfig(v *OpenIDConnectConfig) *GraphqlApi
return s
}
+// SetOwner sets the Owner field's value.
+func (s *GraphqlApi) SetOwner(v string) *GraphqlApi {
+ s.Owner = &v
+ return s
+}
+
+// SetOwnerContact sets the OwnerContact field's value.
+func (s *GraphqlApi) SetOwnerContact(v string) *GraphqlApi {
+ s.OwnerContact = &v
+ return s
+}
+
// SetTags sets the Tags field's value.
func (s *GraphqlApi) SetTags(v map[string]*string) *GraphqlApi {
s.Tags = v
@@ -10968,7 +12436,8 @@ type ListDomainNamesInput struct {
// The maximum number of results that you want the request to return.
MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`
- // The API token.
+ // An identifier that was returned from the previous call to this operation,
+ // which you can use to return the next set of items in the list.
NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
}
@@ -11021,7 +12490,8 @@ type ListDomainNamesOutput struct {
// Lists configurations for multiple domain names.
DomainNameConfigs []*DomainNameConfig `locationName:"domainNameConfigs" type:"list"`
- // The API token.
+ // An identifier that was returned from the previous call to this operation,
+ // which you can use to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
@@ -11170,12 +12640,19 @@ func (s *ListFunctionsOutput) SetNextToken(v string) *ListFunctionsOutput {
type ListGraphqlApisInput struct {
_ struct{} `type:"structure" nopayload:"true"`
+ // The value that indicates whether the GraphQL API is a standard API (GRAPHQL)
+ // or merged API (MERGED).
+ ApiType *string `location:"querystring" locationName:"apiType" type:"string" enum:"GraphQLApiType"`
+
// The maximum number of results that you want the request to return.
MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`
// An identifier that was returned from the previous call to this operation,
// which you can use to return the next set of items in the list.
NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
+
+ // The account owner of the GraphQL API.
+ Owner *string `location:"querystring" locationName:"owner" type:"string" enum:"Ownership"`
}
// String returns the string representation.
@@ -11209,6 +12686,12 @@ func (s *ListGraphqlApisInput) Validate() error {
return nil
}
+// SetApiType sets the ApiType field's value.
+func (s *ListGraphqlApisInput) SetApiType(v string) *ListGraphqlApisInput {
+ s.ApiType = &v
+ return s
+}
+
// SetMaxResults sets the MaxResults field's value.
func (s *ListGraphqlApisInput) SetMaxResults(v int64) *ListGraphqlApisInput {
s.MaxResults = &v
@@ -11221,6 +12704,12 @@ func (s *ListGraphqlApisInput) SetNextToken(v string) *ListGraphqlApisInput {
return s
}
+// SetOwner sets the Owner field's value.
+func (s *ListGraphqlApisInput) SetOwner(v string) *ListGraphqlApisInput {
+ s.Owner = &v
+ return s
+}
+
type ListGraphqlApisOutput struct {
_ struct{} `type:"structure"`
@@ -11519,13 +13008,20 @@ func (s *ListResolversOutput) SetResolvers(v []*Resolver) *ListResolversOutput {
return s
}
-type ListTagsForResourceInput struct {
+type ListSourceApiAssociationsInput struct {
_ struct{} `type:"structure" nopayload:"true"`
- // The GraphqlApi Amazon Resource Name (ARN).
+ // The API ID.
//
- // ResourceArn is a required field
- ResourceArn *string `location:"uri" locationName:"resourceArn" min:"70" type:"string" required:"true"`
+ // ApiId is a required field
+ ApiId *string `location:"uri" locationName:"apiId" type:"string" required:"true"`
+
+ // The maximum number of results that you want the request to return.
+ MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`
+
+ // An identifier that was returned from the previous call to this operation,
+ // which you can use to return the next set of items in the list.
+ NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
}
// String returns the string representation.
@@ -11533,7 +13029,7 @@ type ListTagsForResourceInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListTagsForResourceInput) String() string {
+func (s ListSourceApiAssociationsInput) String() string {
return awsutil.Prettify(s)
}
@@ -11542,18 +13038,21 @@ func (s ListTagsForResourceInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListTagsForResourceInput) GoString() string {
+func (s ListSourceApiAssociationsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListTagsForResourceInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
- if s.ResourceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
+func (s *ListSourceApiAssociationsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListSourceApiAssociationsInput"}
+ if s.ApiId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApiId"))
}
- if s.ResourceArn != nil && len(*s.ResourceArn) < 70 {
- invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 70))
+ if s.ApiId != nil && len(*s.ApiId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ApiId", 1))
+ }
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
if invalidParams.Len() > 0 {
@@ -11562,13 +13061,115 @@ func (s *ListTagsForResourceInput) Validate() error {
return nil
}
-// SetResourceArn sets the ResourceArn field's value.
-func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
- s.ResourceArn = &v
+// SetApiId sets the ApiId field's value.
+func (s *ListSourceApiAssociationsInput) SetApiId(v string) *ListSourceApiAssociationsInput {
+ s.ApiId = &v
return s
}
-type ListTagsForResourceOutput struct {
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListSourceApiAssociationsInput) SetMaxResults(v int64) *ListSourceApiAssociationsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListSourceApiAssociationsInput) SetNextToken(v string) *ListSourceApiAssociationsInput {
+ s.NextToken = &v
+ return s
+}
+
+type ListSourceApiAssociationsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // An identifier that was returned from the previous call to this operation,
+ // which you can use to return the next set of items in the list.
+ NextToken *string `locationName:"nextToken" min:"1" type:"string"`
+
+ // The SourceApiAssociationSummary object data.
+ SourceApiAssociationSummaries []*SourceApiAssociationSummary `locationName:"sourceApiAssociationSummaries" type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSourceApiAssociationsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSourceApiAssociationsOutput) GoString() string {
+ return s.String()
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListSourceApiAssociationsOutput) SetNextToken(v string) *ListSourceApiAssociationsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSourceApiAssociationSummaries sets the SourceApiAssociationSummaries field's value.
+func (s *ListSourceApiAssociationsOutput) SetSourceApiAssociationSummaries(v []*SourceApiAssociationSummary) *ListSourceApiAssociationsOutput {
+ s.SourceApiAssociationSummaries = v
+ return s
+}
+
+type ListTagsForResourceInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The GraphqlApi Amazon Resource Name (ARN).
+ //
+ // ResourceArn is a required field
+ ResourceArn *string `location:"uri" locationName:"resourceArn" min:"70" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTagsForResourceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTagsForResourceInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListTagsForResourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
+ if s.ResourceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
+ }
+ if s.ResourceArn != nil && len(*s.ResourceArn) < 70 {
+ invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 70))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetResourceArn sets the ResourceArn field's value.
+func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
+ s.ResourceArn = &v
+ return s
+}
+
+type ListTagsForResourceOutput struct {
_ struct{} `type:"structure"`
// A TagMap object.
@@ -11599,6 +13200,153 @@ func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForRe
return s
}
+type ListTypesByAssociationInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The ID generated by the AppSync service for the source API association.
+ //
+ // AssociationId is a required field
+ AssociationId *string `location:"uri" locationName:"associationId" type:"string" required:"true"`
+
+ // The format type.
+ //
+ // Format is a required field
+ Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"TypeDefinitionFormat"`
+
+ // The maximum number of results that you want the request to return.
+ MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`
+
+ // The identifier of the AppSync Merged API. This is generated by the AppSync
+ // service. In most cases, Merged APIs (especially in your account) only require
+ // the API ID value or ARN of the merged API. However, Merged APIs in other
+ // accounts (cross-account use cases) strictly require the full resource ARN
+ // of the merged API.
+ //
+ // MergedApiIdentifier is a required field
+ MergedApiIdentifier *string `location:"uri" locationName:"mergedApiIdentifier" type:"string" required:"true"`
+
+ // An identifier that was returned from the previous call to this operation,
+ // which you can use to return the next set of items in the list.
+ NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTypesByAssociationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTypesByAssociationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListTypesByAssociationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListTypesByAssociationInput"}
+ if s.AssociationId == nil {
+ invalidParams.Add(request.NewErrParamRequired("AssociationId"))
+ }
+ if s.AssociationId != nil && len(*s.AssociationId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AssociationId", 1))
+ }
+ if s.Format == nil {
+ invalidParams.Add(request.NewErrParamRequired("Format"))
+ }
+ if s.MergedApiIdentifier == nil {
+ invalidParams.Add(request.NewErrParamRequired("MergedApiIdentifier"))
+ }
+ if s.MergedApiIdentifier != nil && len(*s.MergedApiIdentifier) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("MergedApiIdentifier", 1))
+ }
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAssociationId sets the AssociationId field's value.
+func (s *ListTypesByAssociationInput) SetAssociationId(v string) *ListTypesByAssociationInput {
+ s.AssociationId = &v
+ return s
+}
+
+// SetFormat sets the Format field's value.
+func (s *ListTypesByAssociationInput) SetFormat(v string) *ListTypesByAssociationInput {
+ s.Format = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListTypesByAssociationInput) SetMaxResults(v int64) *ListTypesByAssociationInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetMergedApiIdentifier sets the MergedApiIdentifier field's value.
+func (s *ListTypesByAssociationInput) SetMergedApiIdentifier(v string) *ListTypesByAssociationInput {
+ s.MergedApiIdentifier = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListTypesByAssociationInput) SetNextToken(v string) *ListTypesByAssociationInput {
+ s.NextToken = &v
+ return s
+}
+
+type ListTypesByAssociationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // An identifier that was returned from the previous call to this operation,
+ // which you can use to return the next set of items in the list.
+ NextToken *string `locationName:"nextToken" min:"1" type:"string"`
+
+ // The Type objects.
+ Types []*Type `locationName:"types" type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTypesByAssociationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTypesByAssociationOutput) GoString() string {
+ return s.String()
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListTypesByAssociationOutput) SetNextToken(v string) *ListTypesByAssociationOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTypes sets the Types field's value.
+func (s *ListTypesByAssociationOutput) SetTypes(v []*Type) *ListTypesByAssociationOutput {
+ s.Types = v
+ return s
+}
+
type ListTypesInput struct {
_ struct{} `type:"structure" nopayload:"true"`
@@ -12217,7 +13965,252 @@ type Resolver struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Resolver) String() string {
+func (s Resolver) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Resolver) GoString() string {
+ return s.String()
+}
+
+// SetCachingConfig sets the CachingConfig field's value.
+func (s *Resolver) SetCachingConfig(v *CachingConfig) *Resolver {
+ s.CachingConfig = v
+ return s
+}
+
+// SetCode sets the Code field's value.
+func (s *Resolver) SetCode(v string) *Resolver {
+ s.Code = &v
+ return s
+}
+
+// SetDataSourceName sets the DataSourceName field's value.
+func (s *Resolver) SetDataSourceName(v string) *Resolver {
+ s.DataSourceName = &v
+ return s
+}
+
+// SetFieldName sets the FieldName field's value.
+func (s *Resolver) SetFieldName(v string) *Resolver {
+ s.FieldName = &v
+ return s
+}
+
+// SetKind sets the Kind field's value.
+func (s *Resolver) SetKind(v string) *Resolver {
+ s.Kind = &v
+ return s
+}
+
+// SetMaxBatchSize sets the MaxBatchSize field's value.
+func (s *Resolver) SetMaxBatchSize(v int64) *Resolver {
+ s.MaxBatchSize = &v
+ return s
+}
+
+// SetPipelineConfig sets the PipelineConfig field's value.
+func (s *Resolver) SetPipelineConfig(v *PipelineConfig) *Resolver {
+ s.PipelineConfig = v
+ return s
+}
+
+// SetRequestMappingTemplate sets the RequestMappingTemplate field's value.
+func (s *Resolver) SetRequestMappingTemplate(v string) *Resolver {
+ s.RequestMappingTemplate = &v
+ return s
+}
+
+// SetResolverArn sets the ResolverArn field's value.
+func (s *Resolver) SetResolverArn(v string) *Resolver {
+ s.ResolverArn = &v
+ return s
+}
+
+// SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.
+func (s *Resolver) SetResponseMappingTemplate(v string) *Resolver {
+ s.ResponseMappingTemplate = &v
+ return s
+}
+
+// SetRuntime sets the Runtime field's value.
+func (s *Resolver) SetRuntime(v *AppSyncRuntime) *Resolver {
+ s.Runtime = v
+ return s
+}
+
+// SetSyncConfig sets the SyncConfig field's value.
+func (s *Resolver) SetSyncConfig(v *SyncConfig) *Resolver {
+ s.SyncConfig = v
+ return s
+}
+
+// SetTypeName sets the TypeName field's value.
+func (s *Resolver) SetTypeName(v string) *Resolver {
+ s.TypeName = &v
+ return s
+}
+
+// Describes the configuration of a source API. A source API is a GraphQL API
+// that is linked to a merged API. There can be multiple source APIs attached
+// to each merged API. When linked to a merged API, the source API's schema,
+// data sources, and resolvers will be combined with other linked source API
+// data to form a new, singular API.
+//
+// Source APIs can originate from your account or from other accounts via Amazon
+// Web Services Resource Access Manager. For more information about sharing
+// resources from other accounts, see What is Amazon Web Services Resource Access
+// Manager? (https://docs.aws.amazon.com/ram/latest/userguide/what-is.html)
+// in the Amazon Web Services Resource Access Manager guide.
+type SourceApiAssociation struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the source API association.
+ AssociationArn *string `locationName:"associationArn" type:"string"`
+
+ // The ID generated by the AppSync service for the source API association.
+ AssociationId *string `locationName:"associationId" type:"string"`
+
+ // The description field.
+ Description *string `locationName:"description" type:"string"`
+
+ // The datetime value of the last successful merge of the source API association.
+ // The result will be in UTC format and your local time zone.
+ LastSuccessfulMergeDate *time.Time `locationName:"lastSuccessfulMergeDate" type:"timestamp"`
+
+ // The Amazon Resource Name (ARN) of the AppSync Merged API.
+ MergedApiArn *string `locationName:"mergedApiArn" type:"string"`
+
+ // The ID of the AppSync Merged API.
+ MergedApiId *string `locationName:"mergedApiId" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the AppSync source API.
+ SourceApiArn *string `locationName:"sourceApiArn" type:"string"`
+
+ // The SourceApiAssociationConfig object data.
+ SourceApiAssociationConfig *SourceApiAssociationConfig `locationName:"sourceApiAssociationConfig" type:"structure"`
+
+ // The state of the source API association.
+ SourceApiAssociationStatus *string `locationName:"sourceApiAssociationStatus" type:"string" enum:"SourceApiAssociationStatus"`
+
+ // The detailed message related to the current state of the source API association.
+ SourceApiAssociationStatusDetail *string `locationName:"sourceApiAssociationStatusDetail" type:"string"`
+
+ // The ID of the AppSync source API.
+ SourceApiId *string `locationName:"sourceApiId" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SourceApiAssociation) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SourceApiAssociation) GoString() string {
+ return s.String()
+}
+
+// SetAssociationArn sets the AssociationArn field's value.
+func (s *SourceApiAssociation) SetAssociationArn(v string) *SourceApiAssociation {
+ s.AssociationArn = &v
+ return s
+}
+
+// SetAssociationId sets the AssociationId field's value.
+func (s *SourceApiAssociation) SetAssociationId(v string) *SourceApiAssociation {
+ s.AssociationId = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *SourceApiAssociation) SetDescription(v string) *SourceApiAssociation {
+ s.Description = &v
+ return s
+}
+
+// SetLastSuccessfulMergeDate sets the LastSuccessfulMergeDate field's value.
+func (s *SourceApiAssociation) SetLastSuccessfulMergeDate(v time.Time) *SourceApiAssociation {
+ s.LastSuccessfulMergeDate = &v
+ return s
+}
+
+// SetMergedApiArn sets the MergedApiArn field's value.
+func (s *SourceApiAssociation) SetMergedApiArn(v string) *SourceApiAssociation {
+ s.MergedApiArn = &v
+ return s
+}
+
+// SetMergedApiId sets the MergedApiId field's value.
+func (s *SourceApiAssociation) SetMergedApiId(v string) *SourceApiAssociation {
+ s.MergedApiId = &v
+ return s
+}
+
+// SetSourceApiArn sets the SourceApiArn field's value.
+func (s *SourceApiAssociation) SetSourceApiArn(v string) *SourceApiAssociation {
+ s.SourceApiArn = &v
+ return s
+}
+
+// SetSourceApiAssociationConfig sets the SourceApiAssociationConfig field's value.
+func (s *SourceApiAssociation) SetSourceApiAssociationConfig(v *SourceApiAssociationConfig) *SourceApiAssociation {
+ s.SourceApiAssociationConfig = v
+ return s
+}
+
+// SetSourceApiAssociationStatus sets the SourceApiAssociationStatus field's value.
+func (s *SourceApiAssociation) SetSourceApiAssociationStatus(v string) *SourceApiAssociation {
+ s.SourceApiAssociationStatus = &v
+ return s
+}
+
+// SetSourceApiAssociationStatusDetail sets the SourceApiAssociationStatusDetail field's value.
+func (s *SourceApiAssociation) SetSourceApiAssociationStatusDetail(v string) *SourceApiAssociation {
+ s.SourceApiAssociationStatusDetail = &v
+ return s
+}
+
+// SetSourceApiId sets the SourceApiId field's value.
+func (s *SourceApiAssociation) SetSourceApiId(v string) *SourceApiAssociation {
+ s.SourceApiId = &v
+ return s
+}
+
+// Describes properties used to specify configurations related to a source API.
+type SourceApiAssociationConfig struct {
+ _ struct{} `type:"structure"`
+
+ // The property that indicates which merging option is enabled in the source
+ // API association.
+ //
+ // Valid merge types are MANUAL_MERGE (default) and AUTO_MERGE. Manual merges
+ // are the default behavior and require the user to trigger any changes from
+ // the source APIs to the merged API manually. Auto merges subscribe the merged
+ // API to the changes performed on the source APIs so that any change in the
+ // source APIs are also made to the merged API. Auto merges use MergedApiExecutionRoleArn
+ // to perform merge operations.
+ MergeType *string `locationName:"mergeType" type:"string" enum:"MergeType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SourceApiAssociationConfig) String() string {
return awsutil.Prettify(s)
}
@@ -12226,85 +14219,99 @@ func (s Resolver) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Resolver) GoString() string {
+func (s SourceApiAssociationConfig) GoString() string {
return s.String()
}
-// SetCachingConfig sets the CachingConfig field's value.
-func (s *Resolver) SetCachingConfig(v *CachingConfig) *Resolver {
- s.CachingConfig = v
+// SetMergeType sets the MergeType field's value.
+func (s *SourceApiAssociationConfig) SetMergeType(v string) *SourceApiAssociationConfig {
+ s.MergeType = &v
return s
}
-// SetCode sets the Code field's value.
-func (s *Resolver) SetCode(v string) *Resolver {
- s.Code = &v
- return s
-}
+// Describes the ARNs and IDs of associations, Merged APIs, and source APIs.
+type SourceApiAssociationSummary struct {
+ _ struct{} `type:"structure"`
-// SetDataSourceName sets the DataSourceName field's value.
-func (s *Resolver) SetDataSourceName(v string) *Resolver {
- s.DataSourceName = &v
- return s
-}
+ // The Amazon Resource Name (ARN) of the source API association.
+ AssociationArn *string `locationName:"associationArn" type:"string"`
-// SetFieldName sets the FieldName field's value.
-func (s *Resolver) SetFieldName(v string) *Resolver {
- s.FieldName = &v
- return s
+ // The ID generated by the AppSync service for the source API association.
+ AssociationId *string `locationName:"associationId" type:"string"`
+
+ // The description field.
+ Description *string `locationName:"description" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the AppSync Merged API.
+ MergedApiArn *string `locationName:"mergedApiArn" type:"string"`
+
+ // The ID of the AppSync Merged API.
+ MergedApiId *string `locationName:"mergedApiId" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the AppSync Source API.
+ SourceApiArn *string `locationName:"sourceApiArn" type:"string"`
+
+ // The ID of the AppSync source API.
+ SourceApiId *string `locationName:"sourceApiId" type:"string"`
}
-// SetKind sets the Kind field's value.
-func (s *Resolver) SetKind(v string) *Resolver {
- s.Kind = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SourceApiAssociationSummary) String() string {
+ return awsutil.Prettify(s)
}
-// SetMaxBatchSize sets the MaxBatchSize field's value.
-func (s *Resolver) SetMaxBatchSize(v int64) *Resolver {
- s.MaxBatchSize = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SourceApiAssociationSummary) GoString() string {
+ return s.String()
}
-// SetPipelineConfig sets the PipelineConfig field's value.
-func (s *Resolver) SetPipelineConfig(v *PipelineConfig) *Resolver {
- s.PipelineConfig = v
+// SetAssociationArn sets the AssociationArn field's value.
+func (s *SourceApiAssociationSummary) SetAssociationArn(v string) *SourceApiAssociationSummary {
+ s.AssociationArn = &v
return s
}
-// SetRequestMappingTemplate sets the RequestMappingTemplate field's value.
-func (s *Resolver) SetRequestMappingTemplate(v string) *Resolver {
- s.RequestMappingTemplate = &v
+// SetAssociationId sets the AssociationId field's value.
+func (s *SourceApiAssociationSummary) SetAssociationId(v string) *SourceApiAssociationSummary {
+ s.AssociationId = &v
return s
}
-// SetResolverArn sets the ResolverArn field's value.
-func (s *Resolver) SetResolverArn(v string) *Resolver {
- s.ResolverArn = &v
+// SetDescription sets the Description field's value.
+func (s *SourceApiAssociationSummary) SetDescription(v string) *SourceApiAssociationSummary {
+ s.Description = &v
return s
}
-// SetResponseMappingTemplate sets the ResponseMappingTemplate field's value.
-func (s *Resolver) SetResponseMappingTemplate(v string) *Resolver {
- s.ResponseMappingTemplate = &v
+// SetMergedApiArn sets the MergedApiArn field's value.
+func (s *SourceApiAssociationSummary) SetMergedApiArn(v string) *SourceApiAssociationSummary {
+ s.MergedApiArn = &v
return s
}
-// SetRuntime sets the Runtime field's value.
-func (s *Resolver) SetRuntime(v *AppSyncRuntime) *Resolver {
- s.Runtime = v
+// SetMergedApiId sets the MergedApiId field's value.
+func (s *SourceApiAssociationSummary) SetMergedApiId(v string) *SourceApiAssociationSummary {
+ s.MergedApiId = &v
return s
}
-// SetSyncConfig sets the SyncConfig field's value.
-func (s *Resolver) SetSyncConfig(v *SyncConfig) *Resolver {
- s.SyncConfig = v
+// SetSourceApiArn sets the SourceApiArn field's value.
+func (s *SourceApiAssociationSummary) SetSourceApiArn(v string) *SourceApiAssociationSummary {
+ s.SourceApiArn = &v
return s
}
-// SetTypeName sets the TypeName field's value.
-func (s *Resolver) SetTypeName(v string) *Resolver {
- s.TypeName = &v
+// SetSourceApiId sets the SourceApiId field's value.
+func (s *SourceApiAssociationSummary) SetSourceApiId(v string) *SourceApiAssociationSummary {
+ s.SourceApiId = &v
return s
}
@@ -12404,6 +14411,107 @@ func (s *StartSchemaCreationOutput) SetStatus(v string) *StartSchemaCreationOutp
return s
}
+type StartSchemaMergeInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The ID generated by the AppSync service for the source API association.
+ //
+ // AssociationId is a required field
+ AssociationId *string `location:"uri" locationName:"associationId" type:"string" required:"true"`
+
+ // The identifier of the AppSync Merged API. This is generated by the AppSync
+ // service. In most cases, Merged APIs (especially in your account) only require
+ // the API ID value or ARN of the merged API. However, Merged APIs in other
+ // accounts (cross-account use cases) strictly require the full resource ARN
+ // of the merged API.
+ //
+ // MergedApiIdentifier is a required field
+ MergedApiIdentifier *string `location:"uri" locationName:"mergedApiIdentifier" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartSchemaMergeInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartSchemaMergeInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *StartSchemaMergeInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "StartSchemaMergeInput"}
+ if s.AssociationId == nil {
+ invalidParams.Add(request.NewErrParamRequired("AssociationId"))
+ }
+ if s.AssociationId != nil && len(*s.AssociationId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AssociationId", 1))
+ }
+ if s.MergedApiIdentifier == nil {
+ invalidParams.Add(request.NewErrParamRequired("MergedApiIdentifier"))
+ }
+ if s.MergedApiIdentifier != nil && len(*s.MergedApiIdentifier) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("MergedApiIdentifier", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAssociationId sets the AssociationId field's value.
+func (s *StartSchemaMergeInput) SetAssociationId(v string) *StartSchemaMergeInput {
+ s.AssociationId = &v
+ return s
+}
+
+// SetMergedApiIdentifier sets the MergedApiIdentifier field's value.
+func (s *StartSchemaMergeInput) SetMergedApiIdentifier(v string) *StartSchemaMergeInput {
+ s.MergedApiIdentifier = &v
+ return s
+}
+
+type StartSchemaMergeOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The state of the source API association.
+ SourceApiAssociationStatus *string `locationName:"sourceApiAssociationStatus" type:"string" enum:"SourceApiAssociationStatus"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartSchemaMergeOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartSchemaMergeOutput) GoString() string {
+ return s.String()
+}
+
+// SetSourceApiAssociationStatus sets the SourceApiAssociationStatus field's value.
+func (s *StartSchemaMergeOutput) SetSourceApiAssociationStatus(v string) *StartSchemaMergeOutput {
+ s.SourceApiAssociationStatus = &v
+ return s
+}
+
// Describes a Sync configuration for a resolver.
//
// Specifies which Conflict Detection strategy and Resolution strategy to use
@@ -13621,6 +15729,12 @@ type UpdateGraphqlApiInput struct {
// The Amazon CloudWatch Logs configuration for the GraphqlApi object.
LogConfig *LogConfig `locationName:"logConfig" type:"structure"`
+ // The Identity and Access Management service role ARN for a merged API. The
+ // AppSync service assumes this role on behalf of the Merged API to validate
+ // access to source APIs at runtime and to prompt the AUTO_MERGE to update the
+ // merged API endpoint with the source API changes automatically.
+ MergedApiExecutionRoleArn *string `locationName:"mergedApiExecutionRoleArn" type:"string"`
+
// The new name for the GraphqlApi object.
//
// Name is a required field
@@ -13629,6 +15743,11 @@ type UpdateGraphqlApiInput struct {
// The OpenID Connect configuration for the GraphqlApi object.
OpenIDConnectConfig *OpenIDConnectConfig `locationName:"openIDConnectConfig" type:"structure"`
+ // The owner contact information for an API resource.
+ //
+ // This field accepts any string input with a length of 0 - 256 characters.
+ OwnerContact *string `locationName:"ownerContact" type:"string"`
+
// The new Amazon Cognito user pool configuration for the ~GraphqlApi object.
UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"`
@@ -13733,6 +15852,12 @@ func (s *UpdateGraphqlApiInput) SetLogConfig(v *LogConfig) *UpdateGraphqlApiInpu
return s
}
+// SetMergedApiExecutionRoleArn sets the MergedApiExecutionRoleArn field's value.
+func (s *UpdateGraphqlApiInput) SetMergedApiExecutionRoleArn(v string) *UpdateGraphqlApiInput {
+ s.MergedApiExecutionRoleArn = &v
+ return s
+}
+
// SetName sets the Name field's value.
func (s *UpdateGraphqlApiInput) SetName(v string) *UpdateGraphqlApiInput {
s.Name = &v
@@ -13745,6 +15870,12 @@ func (s *UpdateGraphqlApiInput) SetOpenIDConnectConfig(v *OpenIDConnectConfig) *
return s
}
+// SetOwnerContact sets the OwnerContact field's value.
+func (s *UpdateGraphqlApiInput) SetOwnerContact(v string) *UpdateGraphqlApiInput {
+ s.OwnerContact = &v
+ return s
+}
+
// SetUserPoolConfig sets the UserPoolConfig field's value.
func (s *UpdateGraphqlApiInput) SetUserPoolConfig(v *UserPoolConfig) *UpdateGraphqlApiInput {
s.UserPoolConfig = v
@@ -14034,6 +16165,125 @@ func (s *UpdateResolverOutput) SetResolver(v *Resolver) *UpdateResolverOutput {
return s
}
+type UpdateSourceApiAssociationInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ID generated by the AppSync service for the source API association.
+ //
+ // AssociationId is a required field
+ AssociationId *string `location:"uri" locationName:"associationId" type:"string" required:"true"`
+
+ // The description field.
+ Description *string `locationName:"description" type:"string"`
+
+ // The identifier of the AppSync Merged API. This is generated by the AppSync
+ // service. In most cases, Merged APIs (especially in your account) only require
+ // the API ID value or ARN of the merged API. However, Merged APIs in other
+ // accounts (cross-account use cases) strictly require the full resource ARN
+ // of the merged API.
+ //
+ // MergedApiIdentifier is a required field
+ MergedApiIdentifier *string `location:"uri" locationName:"mergedApiIdentifier" type:"string" required:"true"`
+
+ // The SourceApiAssociationConfig object data.
+ SourceApiAssociationConfig *SourceApiAssociationConfig `locationName:"sourceApiAssociationConfig" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSourceApiAssociationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSourceApiAssociationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateSourceApiAssociationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateSourceApiAssociationInput"}
+ if s.AssociationId == nil {
+ invalidParams.Add(request.NewErrParamRequired("AssociationId"))
+ }
+ if s.AssociationId != nil && len(*s.AssociationId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AssociationId", 1))
+ }
+ if s.MergedApiIdentifier == nil {
+ invalidParams.Add(request.NewErrParamRequired("MergedApiIdentifier"))
+ }
+ if s.MergedApiIdentifier != nil && len(*s.MergedApiIdentifier) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("MergedApiIdentifier", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAssociationId sets the AssociationId field's value.
+func (s *UpdateSourceApiAssociationInput) SetAssociationId(v string) *UpdateSourceApiAssociationInput {
+ s.AssociationId = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *UpdateSourceApiAssociationInput) SetDescription(v string) *UpdateSourceApiAssociationInput {
+ s.Description = &v
+ return s
+}
+
+// SetMergedApiIdentifier sets the MergedApiIdentifier field's value.
+func (s *UpdateSourceApiAssociationInput) SetMergedApiIdentifier(v string) *UpdateSourceApiAssociationInput {
+ s.MergedApiIdentifier = &v
+ return s
+}
+
+// SetSourceApiAssociationConfig sets the SourceApiAssociationConfig field's value.
+func (s *UpdateSourceApiAssociationInput) SetSourceApiAssociationConfig(v *SourceApiAssociationConfig) *UpdateSourceApiAssociationInput {
+ s.SourceApiAssociationConfig = v
+ return s
+}
+
+type UpdateSourceApiAssociationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The SourceApiAssociation object data.
+ SourceApiAssociation *SourceApiAssociation `locationName:"sourceApiAssociation" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSourceApiAssociationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSourceApiAssociationOutput) GoString() string {
+ return s.String()
+}
+
+// SetSourceApiAssociation sets the SourceApiAssociation field's value.
+func (s *UpdateSourceApiAssociationOutput) SetSourceApiAssociation(v *SourceApiAssociation) *UpdateSourceApiAssociationOutput {
+ s.SourceApiAssociation = v
+ return s
+}
+
type UpdateTypeInput struct {
_ struct{} `type:"structure"`
@@ -14543,6 +16793,22 @@ func FieldLogLevel_Values() []string {
}
}
+const (
+ // GraphQLApiTypeGraphql is a GraphQLApiType enum value
+ GraphQLApiTypeGraphql = "GRAPHQL"
+
+ // GraphQLApiTypeMerged is a GraphQLApiType enum value
+ GraphQLApiTypeMerged = "MERGED"
+)
+
+// GraphQLApiType_Values returns all elements of the GraphQLApiType enum
+func GraphQLApiType_Values() []string {
+ return []string{
+ GraphQLApiTypeGraphql,
+ GraphQLApiTypeMerged,
+ }
+}
+
const (
// GraphQLApiVisibilityGlobal is a GraphQLApiVisibility enum value
GraphQLApiVisibilityGlobal = "GLOBAL"
@@ -14559,6 +16825,22 @@ func GraphQLApiVisibility_Values() []string {
}
}
+const (
+ // MergeTypeManualMerge is a MergeType enum value
+ MergeTypeManualMerge = "MANUAL_MERGE"
+
+ // MergeTypeAutoMerge is a MergeType enum value
+ MergeTypeAutoMerge = "AUTO_MERGE"
+)
+
+// MergeType_Values returns all elements of the MergeType enum
+func MergeType_Values() []string {
+ return []string{
+ MergeTypeManualMerge,
+ MergeTypeAutoMerge,
+ }
+}
+
const (
// OutputTypeSdl is a OutputType enum value
OutputTypeSdl = "SDL"
@@ -14575,6 +16857,22 @@ func OutputType_Values() []string {
}
}
+const (
+ // OwnershipCurrentAccount is a Ownership enum value
+ OwnershipCurrentAccount = "CURRENT_ACCOUNT"
+
+ // OwnershipOtherAccounts is a Ownership enum value
+ OwnershipOtherAccounts = "OTHER_ACCOUNTS"
+)
+
+// Ownership_Values returns all elements of the Ownership enum
+func Ownership_Values() []string {
+ return []string{
+ OwnershipCurrentAccount,
+ OwnershipOtherAccounts,
+ }
+}
+
const (
// RelationalDatabaseSourceTypeRdsHttpEndpoint is a RelationalDatabaseSourceType enum value
RelationalDatabaseSourceTypeRdsHttpEndpoint = "RDS_HTTP_ENDPOINT"
@@ -14647,6 +16945,46 @@ func SchemaStatus_Values() []string {
}
}
+const (
+ // SourceApiAssociationStatusMergeScheduled is a SourceApiAssociationStatus enum value
+ SourceApiAssociationStatusMergeScheduled = "MERGE_SCHEDULED"
+
+ // SourceApiAssociationStatusMergeFailed is a SourceApiAssociationStatus enum value
+ SourceApiAssociationStatusMergeFailed = "MERGE_FAILED"
+
+ // SourceApiAssociationStatusMergeSuccess is a SourceApiAssociationStatus enum value
+ SourceApiAssociationStatusMergeSuccess = "MERGE_SUCCESS"
+
+ // SourceApiAssociationStatusMergeInProgress is a SourceApiAssociationStatus enum value
+ SourceApiAssociationStatusMergeInProgress = "MERGE_IN_PROGRESS"
+
+ // SourceApiAssociationStatusAutoMergeScheduleFailed is a SourceApiAssociationStatus enum value
+ SourceApiAssociationStatusAutoMergeScheduleFailed = "AUTO_MERGE_SCHEDULE_FAILED"
+
+ // SourceApiAssociationStatusDeletionScheduled is a SourceApiAssociationStatus enum value
+ SourceApiAssociationStatusDeletionScheduled = "DELETION_SCHEDULED"
+
+ // SourceApiAssociationStatusDeletionInProgress is a SourceApiAssociationStatus enum value
+ SourceApiAssociationStatusDeletionInProgress = "DELETION_IN_PROGRESS"
+
+ // SourceApiAssociationStatusDeletionFailed is a SourceApiAssociationStatus enum value
+ SourceApiAssociationStatusDeletionFailed = "DELETION_FAILED"
+)
+
+// SourceApiAssociationStatus_Values returns all elements of the SourceApiAssociationStatus enum
+func SourceApiAssociationStatus_Values() []string {
+ return []string{
+ SourceApiAssociationStatusMergeScheduled,
+ SourceApiAssociationStatusMergeFailed,
+ SourceApiAssociationStatusMergeSuccess,
+ SourceApiAssociationStatusMergeInProgress,
+ SourceApiAssociationStatusAutoMergeScheduleFailed,
+ SourceApiAssociationStatusDeletionScheduled,
+ SourceApiAssociationStatusDeletionInProgress,
+ SourceApiAssociationStatusDeletionFailed,
+ }
+}
+
const (
// TypeDefinitionFormatSdl is a TypeDefinitionFormat enum value
TypeDefinitionFormatSdl = "SDL"
diff --git a/service/appsync/appsynciface/interface.go b/service/appsync/appsynciface/interface.go
index 44462afcd49..cecbcacb90e 100644
--- a/service/appsync/appsynciface/interface.go
+++ b/service/appsync/appsynciface/interface.go
@@ -64,6 +64,14 @@ type AppSyncAPI interface {
AssociateApiWithContext(aws.Context, *appsync.AssociateApiInput, ...request.Option) (*appsync.AssociateApiOutput, error)
AssociateApiRequest(*appsync.AssociateApiInput) (*request.Request, *appsync.AssociateApiOutput)
+ AssociateMergedGraphqlApi(*appsync.AssociateMergedGraphqlApiInput) (*appsync.AssociateMergedGraphqlApiOutput, error)
+ AssociateMergedGraphqlApiWithContext(aws.Context, *appsync.AssociateMergedGraphqlApiInput, ...request.Option) (*appsync.AssociateMergedGraphqlApiOutput, error)
+ AssociateMergedGraphqlApiRequest(*appsync.AssociateMergedGraphqlApiInput) (*request.Request, *appsync.AssociateMergedGraphqlApiOutput)
+
+ AssociateSourceGraphqlApi(*appsync.AssociateSourceGraphqlApiInput) (*appsync.AssociateSourceGraphqlApiOutput, error)
+ AssociateSourceGraphqlApiWithContext(aws.Context, *appsync.AssociateSourceGraphqlApiInput, ...request.Option) (*appsync.AssociateSourceGraphqlApiOutput, error)
+ AssociateSourceGraphqlApiRequest(*appsync.AssociateSourceGraphqlApiInput) (*request.Request, *appsync.AssociateSourceGraphqlApiOutput)
+
CreateApiCache(*appsync.CreateApiCacheInput) (*appsync.CreateApiCacheOutput, error)
CreateApiCacheWithContext(aws.Context, *appsync.CreateApiCacheInput, ...request.Option) (*appsync.CreateApiCacheOutput, error)
CreateApiCacheRequest(*appsync.CreateApiCacheInput) (*request.Request, *appsync.CreateApiCacheOutput)
@@ -132,6 +140,14 @@ type AppSyncAPI interface {
DisassociateApiWithContext(aws.Context, *appsync.DisassociateApiInput, ...request.Option) (*appsync.DisassociateApiOutput, error)
DisassociateApiRequest(*appsync.DisassociateApiInput) (*request.Request, *appsync.DisassociateApiOutput)
+ DisassociateMergedGraphqlApi(*appsync.DisassociateMergedGraphqlApiInput) (*appsync.DisassociateMergedGraphqlApiOutput, error)
+ DisassociateMergedGraphqlApiWithContext(aws.Context, *appsync.DisassociateMergedGraphqlApiInput, ...request.Option) (*appsync.DisassociateMergedGraphqlApiOutput, error)
+ DisassociateMergedGraphqlApiRequest(*appsync.DisassociateMergedGraphqlApiInput) (*request.Request, *appsync.DisassociateMergedGraphqlApiOutput)
+
+ DisassociateSourceGraphqlApi(*appsync.DisassociateSourceGraphqlApiInput) (*appsync.DisassociateSourceGraphqlApiOutput, error)
+ DisassociateSourceGraphqlApiWithContext(aws.Context, *appsync.DisassociateSourceGraphqlApiInput, ...request.Option) (*appsync.DisassociateSourceGraphqlApiOutput, error)
+ DisassociateSourceGraphqlApiRequest(*appsync.DisassociateSourceGraphqlApiInput) (*request.Request, *appsync.DisassociateSourceGraphqlApiOutput)
+
EvaluateCode(*appsync.EvaluateCodeInput) (*appsync.EvaluateCodeOutput, error)
EvaluateCodeWithContext(aws.Context, *appsync.EvaluateCodeInput, ...request.Option) (*appsync.EvaluateCodeOutput, error)
EvaluateCodeRequest(*appsync.EvaluateCodeInput) (*request.Request, *appsync.EvaluateCodeOutput)
@@ -180,6 +196,10 @@ type AppSyncAPI interface {
GetSchemaCreationStatusWithContext(aws.Context, *appsync.GetSchemaCreationStatusInput, ...request.Option) (*appsync.GetSchemaCreationStatusOutput, error)
GetSchemaCreationStatusRequest(*appsync.GetSchemaCreationStatusInput) (*request.Request, *appsync.GetSchemaCreationStatusOutput)
+ GetSourceApiAssociation(*appsync.GetSourceApiAssociationInput) (*appsync.GetSourceApiAssociationOutput, error)
+ GetSourceApiAssociationWithContext(aws.Context, *appsync.GetSourceApiAssociationInput, ...request.Option) (*appsync.GetSourceApiAssociationOutput, error)
+ GetSourceApiAssociationRequest(*appsync.GetSourceApiAssociationInput) (*request.Request, *appsync.GetSourceApiAssociationOutput)
+
GetType(*appsync.GetTypeInput) (*appsync.GetTypeOutput, error)
GetTypeWithContext(aws.Context, *appsync.GetTypeInput, ...request.Option) (*appsync.GetTypeOutput, error)
GetTypeRequest(*appsync.GetTypeInput) (*request.Request, *appsync.GetTypeOutput)
@@ -212,6 +232,10 @@ type AppSyncAPI interface {
ListResolversByFunctionWithContext(aws.Context, *appsync.ListResolversByFunctionInput, ...request.Option) (*appsync.ListResolversByFunctionOutput, error)
ListResolversByFunctionRequest(*appsync.ListResolversByFunctionInput) (*request.Request, *appsync.ListResolversByFunctionOutput)
+ ListSourceApiAssociations(*appsync.ListSourceApiAssociationsInput) (*appsync.ListSourceApiAssociationsOutput, error)
+ ListSourceApiAssociationsWithContext(aws.Context, *appsync.ListSourceApiAssociationsInput, ...request.Option) (*appsync.ListSourceApiAssociationsOutput, error)
+ ListSourceApiAssociationsRequest(*appsync.ListSourceApiAssociationsInput) (*request.Request, *appsync.ListSourceApiAssociationsOutput)
+
ListTagsForResource(*appsync.ListTagsForResourceInput) (*appsync.ListTagsForResourceOutput, error)
ListTagsForResourceWithContext(aws.Context, *appsync.ListTagsForResourceInput, ...request.Option) (*appsync.ListTagsForResourceOutput, error)
ListTagsForResourceRequest(*appsync.ListTagsForResourceInput) (*request.Request, *appsync.ListTagsForResourceOutput)
@@ -220,10 +244,18 @@ type AppSyncAPI interface {
ListTypesWithContext(aws.Context, *appsync.ListTypesInput, ...request.Option) (*appsync.ListTypesOutput, error)
ListTypesRequest(*appsync.ListTypesInput) (*request.Request, *appsync.ListTypesOutput)
+ ListTypesByAssociation(*appsync.ListTypesByAssociationInput) (*appsync.ListTypesByAssociationOutput, error)
+ ListTypesByAssociationWithContext(aws.Context, *appsync.ListTypesByAssociationInput, ...request.Option) (*appsync.ListTypesByAssociationOutput, error)
+ ListTypesByAssociationRequest(*appsync.ListTypesByAssociationInput) (*request.Request, *appsync.ListTypesByAssociationOutput)
+
StartSchemaCreation(*appsync.StartSchemaCreationInput) (*appsync.StartSchemaCreationOutput, error)
StartSchemaCreationWithContext(aws.Context, *appsync.StartSchemaCreationInput, ...request.Option) (*appsync.StartSchemaCreationOutput, error)
StartSchemaCreationRequest(*appsync.StartSchemaCreationInput) (*request.Request, *appsync.StartSchemaCreationOutput)
+ StartSchemaMerge(*appsync.StartSchemaMergeInput) (*appsync.StartSchemaMergeOutput, error)
+ StartSchemaMergeWithContext(aws.Context, *appsync.StartSchemaMergeInput, ...request.Option) (*appsync.StartSchemaMergeOutput, error)
+ StartSchemaMergeRequest(*appsync.StartSchemaMergeInput) (*request.Request, *appsync.StartSchemaMergeOutput)
+
TagResource(*appsync.TagResourceInput) (*appsync.TagResourceOutput, error)
TagResourceWithContext(aws.Context, *appsync.TagResourceInput, ...request.Option) (*appsync.TagResourceOutput, error)
TagResourceRequest(*appsync.TagResourceInput) (*request.Request, *appsync.TagResourceOutput)
@@ -260,6 +292,10 @@ type AppSyncAPI interface {
UpdateResolverWithContext(aws.Context, *appsync.UpdateResolverInput, ...request.Option) (*appsync.UpdateResolverOutput, error)
UpdateResolverRequest(*appsync.UpdateResolverInput) (*request.Request, *appsync.UpdateResolverOutput)
+ UpdateSourceApiAssociation(*appsync.UpdateSourceApiAssociationInput) (*appsync.UpdateSourceApiAssociationOutput, error)
+ UpdateSourceApiAssociationWithContext(aws.Context, *appsync.UpdateSourceApiAssociationInput, ...request.Option) (*appsync.UpdateSourceApiAssociationOutput, error)
+ UpdateSourceApiAssociationRequest(*appsync.UpdateSourceApiAssociationInput) (*request.Request, *appsync.UpdateSourceApiAssociationOutput)
+
UpdateType(*appsync.UpdateTypeInput) (*appsync.UpdateTypeOutput, error)
UpdateTypeWithContext(aws.Context, *appsync.UpdateTypeInput, ...request.Option) (*appsync.UpdateTypeOutput, error)
UpdateTypeRequest(*appsync.UpdateTypeInput) (*request.Request, *appsync.UpdateTypeOutput)
diff --git a/service/connect/api.go b/service/connect/api.go
index 763c3288da9..60c50a95fcc 100644
--- a/service/connect/api.go
+++ b/service/connect/api.go
@@ -24163,7 +24163,7 @@ type CreateEvaluationFormInput struct {
// section.
//
// Items is a required field
- Items []*EvaluationFormItem `type:"list" required:"true"`
+ Items []*EvaluationFormItem `min:"1" type:"list" required:"true"`
// A scoring strategy of the evaluation form.
ScoringStrategy *EvaluationFormScoringStrategy `type:"structure"`
@@ -24171,7 +24171,7 @@ type CreateEvaluationFormInput struct {
// A title of the evaluation form.
//
// Title is a required field
- Title *string `type:"string" required:"true"`
+ Title *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -24204,9 +24204,15 @@ func (s *CreateEvaluationFormInput) Validate() error {
if s.Items == nil {
invalidParams.Add(request.NewErrParamRequired("Items"))
}
+ if s.Items != nil && len(s.Items) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Items", 1))
+ }
if s.Title == nil {
invalidParams.Add(request.NewErrParamRequired("Title"))
}
+ if s.Title != nil && len(*s.Title) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Title", 1))
+ }
if s.Items != nil {
for i, v := range s.Items {
if v == nil {
@@ -32918,7 +32924,7 @@ type EvaluationForm struct {
// section.
//
// Items is a required field
- Items []*EvaluationFormItem `type:"list" required:"true"`
+ Items []*EvaluationFormItem `min:"1" type:"list" required:"true"`
// The Amazon Resource Name (ARN) of the user who last updated the evaluation
// form.
@@ -32951,7 +32957,7 @@ type EvaluationForm struct {
// A title of the evaluation form.
//
// Title is a required field
- Title *string `type:"string" required:"true"`
+ Title *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -33083,7 +33089,7 @@ type EvaluationFormContent struct {
// section.
//
// Items is a required field
- Items []*EvaluationFormItem `type:"list" required:"true"`
+ Items []*EvaluationFormItem `min:"1" type:"list" required:"true"`
// A scoring strategy of the evaluation form.
ScoringStrategy *EvaluationFormScoringStrategy `type:"structure"`
@@ -33091,7 +33097,7 @@ type EvaluationFormContent struct {
// A title of the evaluation form.
//
// Title is a required field
- Title *string `type:"string" required:"true"`
+ Title *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -33463,7 +33469,7 @@ type EvaluationFormQuestion struct {
// form.
//
// RefId is a required field
- RefId *string `type:"string" required:"true"`
+ RefId *string `min:"1" type:"string" required:"true"`
// The title of the question.
//
@@ -33501,6 +33507,9 @@ func (s *EvaluationFormQuestion) Validate() error {
if s.RefId == nil {
invalidParams.Add(request.NewErrParamRequired("RefId"))
}
+ if s.RefId != nil && len(*s.RefId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RefId", 1))
+ }
if s.Title == nil {
invalidParams.Add(request.NewErrParamRequired("Title"))
}
@@ -33692,13 +33701,15 @@ type EvaluationFormSection struct {
Instructions *string `type:"string"`
// The items of the section.
- Items []*EvaluationFormItem `type:"list"`
+ //
+ // Items is a required field
+ Items []*EvaluationFormItem `min:"1" type:"list" required:"true"`
// The identifier of the section. An identifier must be unique within the evaluation
// form.
//
// RefId is a required field
- RefId *string `type:"string" required:"true"`
+ RefId *string `min:"1" type:"string" required:"true"`
// The title of the section.
//
@@ -33730,9 +33741,18 @@ func (s EvaluationFormSection) GoString() string {
// Validate inspects the fields of the type to determine if they are valid.
func (s *EvaluationFormSection) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "EvaluationFormSection"}
+ if s.Items == nil {
+ invalidParams.Add(request.NewErrParamRequired("Items"))
+ }
+ if s.Items != nil && len(s.Items) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Items", 1))
+ }
if s.RefId == nil {
invalidParams.Add(request.NewErrParamRequired("RefId"))
}
+ if s.RefId != nil && len(*s.RefId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RefId", 1))
+ }
if s.Title == nil {
invalidParams.Add(request.NewErrParamRequired("Title"))
}
@@ -33792,7 +33812,7 @@ type EvaluationFormSingleSelectQuestionAutomation struct {
// The identifier of the default answer option, when none of the automation
// options match the criteria.
- DefaultOptionRefId *string `type:"string"`
+ DefaultOptionRefId *string `min:"1" type:"string"`
// The automation options of the single select question.
//
@@ -33821,6 +33841,9 @@ func (s EvaluationFormSingleSelectQuestionAutomation) GoString() string {
// Validate inspects the fields of the type to determine if they are valid.
func (s *EvaluationFormSingleSelectQuestionAutomation) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "EvaluationFormSingleSelectQuestionAutomation"}
+ if s.DefaultOptionRefId != nil && len(*s.DefaultOptionRefId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DefaultOptionRefId", 1))
+ }
if s.Options == nil {
invalidParams.Add(request.NewErrParamRequired("Options"))
}
@@ -33915,7 +33938,7 @@ type EvaluationFormSingleSelectQuestionOption struct {
// the question.
//
// RefId is a required field
- RefId *string `type:"string" required:"true"`
+ RefId *string `min:"1" type:"string" required:"true"`
// The score assigned to the answer option.
Score *int64 `type:"integer"`
@@ -33950,6 +33973,9 @@ func (s *EvaluationFormSingleSelectQuestionOption) Validate() error {
if s.RefId == nil {
invalidParams.Add(request.NewErrParamRequired("RefId"))
}
+ if s.RefId != nil && len(*s.RefId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RefId", 1))
+ }
if s.Text == nil {
invalidParams.Add(request.NewErrParamRequired("Text"))
}
@@ -34120,7 +34146,7 @@ type EvaluationFormSummary struct {
// A title of the evaluation form.
//
// Title is a required field
- Title *string `type:"string" required:"true"`
+ Title *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -34498,7 +34524,7 @@ type EvaluationSummary struct {
// A title of the evaluation form.
//
// EvaluationFormTitle is a required field
- EvaluationFormTitle *string `type:"string" required:"true"`
+ EvaluationFormTitle *string `min:"1" type:"string" required:"true"`
// A unique identifier for the contact evaluation.
//
@@ -48999,7 +49025,7 @@ type SingleSelectQuestionRuleCategoryAutomation struct {
// The identifier of the answer option.
//
// OptionRefId is a required field
- OptionRefId *string `type:"string" required:"true"`
+ OptionRefId *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -49035,6 +49061,9 @@ func (s *SingleSelectQuestionRuleCategoryAutomation) Validate() error {
if s.OptionRefId == nil {
invalidParams.Add(request.NewErrParamRequired("OptionRefId"))
}
+ if s.OptionRefId != nil && len(*s.OptionRefId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OptionRefId", 1))
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -53287,7 +53316,7 @@ type UpdateEvaluationFormInput struct {
// section.
//
// Items is a required field
- Items []*EvaluationFormItem `type:"list" required:"true"`
+ Items []*EvaluationFormItem `min:"1" type:"list" required:"true"`
// A scoring strategy of the evaluation form.
ScoringStrategy *EvaluationFormScoringStrategy `type:"structure"`
@@ -53295,7 +53324,7 @@ type UpdateEvaluationFormInput struct {
// A title of the evaluation form.
//
// Title is a required field
- Title *string `type:"string" required:"true"`
+ Title *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -53340,9 +53369,15 @@ func (s *UpdateEvaluationFormInput) Validate() error {
if s.Items == nil {
invalidParams.Add(request.NewErrParamRequired("Items"))
}
+ if s.Items != nil && len(s.Items) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Items", 1))
+ }
if s.Title == nil {
invalidParams.Add(request.NewErrParamRequired("Title"))
}
+ if s.Title != nil && len(*s.Title) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Title", 1))
+ }
if s.Items != nil {
for i, v := range s.Items {
if v == nil {
diff --git a/service/costandusagereportservice/api.go b/service/costandusagereportservice/api.go
index 7fe5e909bfd..4d860c6a2d6 100644
--- a/service/costandusagereportservice/api.go
+++ b/service/costandusagereportservice/api.go
@@ -1199,6 +1199,9 @@ const (
// AWSRegionApSouth1 is a AWSRegion enum value
AWSRegionApSouth1 = "ap-south-1"
+ // AWSRegionApSouth2 is a AWSRegion enum value
+ AWSRegionApSouth2 = "ap-south-2"
+
// AWSRegionApSoutheast1 is a AWSRegion enum value
AWSRegionApSoutheast1 = "ap-southeast-1"
@@ -1223,6 +1226,9 @@ const (
// AWSRegionEuCentral1 is a AWSRegion enum value
AWSRegionEuCentral1 = "eu-central-1"
+ // AWSRegionEuCentral2 is a AWSRegion enum value
+ AWSRegionEuCentral2 = "eu-central-2"
+
// AWSRegionEuWest1 is a AWSRegion enum value
AWSRegionEuWest1 = "eu-west-1"
@@ -1275,6 +1281,7 @@ func AWSRegion_Values() []string {
AWSRegionAfSouth1,
AWSRegionApEast1,
AWSRegionApSouth1,
+ AWSRegionApSouth2,
AWSRegionApSoutheast1,
AWSRegionApSoutheast2,
AWSRegionApSoutheast3,
@@ -1283,6 +1290,7 @@ func AWSRegion_Values() []string {
AWSRegionApNortheast3,
AWSRegionCaCentral1,
AWSRegionEuCentral1,
+ AWSRegionEuCentral2,
AWSRegionEuWest1,
AWSRegionEuWest2,
AWSRegionEuWest3,
@@ -1380,12 +1388,16 @@ func ReportVersioning_Values() []string {
const (
// SchemaElementResources is a SchemaElement enum value
SchemaElementResources = "RESOURCES"
+
+ // SchemaElementSplitCostAllocationData is a SchemaElement enum value
+ SchemaElementSplitCostAllocationData = "SPLIT_COST_ALLOCATION_DATA"
)
// SchemaElement_Values returns all elements of the SchemaElement enum
func SchemaElement_Values() []string {
return []string{
SchemaElementResources,
+ SchemaElementSplitCostAllocationData,
}
}
diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go
index 4ca2e2843c9..b1c7e13de87 100644
--- a/service/sagemaker/api.go
+++ b/service/sagemaker/api.go
@@ -51482,6 +51482,52 @@ func (s *DeploymentConfig) SetBlueGreenUpdatePolicy(v *BlueGreenUpdatePolicy) *D
return s
}
+// A set of recommended deployment configurations for the model.
+type DeploymentRecommendation struct {
+ _ struct{} `type:"structure"`
+
+ // A list of RealTimeInferenceRecommendation (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_RealTimeInferenceRecommendation.html)
+ // items.
+ RealTimeInferenceRecommendations []*RealTimeInferenceRecommendation `type:"list"`
+
+ // Status of the deployment recommendation. NOT_APPLICABLE means that SageMaker
+ // is unable to provide a default recommendation for the model using the information
+ // provided.
+ //
+ // RecommendationStatus is a required field
+ RecommendationStatus *string `type:"string" required:"true" enum:"RecommendationStatus"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeploymentRecommendation) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeploymentRecommendation) GoString() string {
+ return s.String()
+}
+
+// SetRealTimeInferenceRecommendations sets the RealTimeInferenceRecommendations field's value.
+func (s *DeploymentRecommendation) SetRealTimeInferenceRecommendations(v []*RealTimeInferenceRecommendation) *DeploymentRecommendation {
+ s.RealTimeInferenceRecommendations = v
+ return s
+}
+
+// SetRecommendationStatus sets the RecommendationStatus field's value.
+func (s *DeploymentRecommendation) SetRecommendationStatus(v string) *DeploymentRecommendation {
+ s.RecommendationStatus = &v
+ return s
+}
+
// Contains information about a stage in an edge deployment plan.
type DeploymentStage struct {
_ struct{} `type:"structure"`
@@ -59148,6 +59194,9 @@ type DescribeModelOutput struct {
// CreationTime is a required field
CreationTime *time.Time `type:"timestamp" required:"true"`
+ // A set of recommended deployment configurations for the model.
+ DeploymentRecommendation *DeploymentRecommendation `type:"structure"`
+
// If True, no inbound or outbound network calls can be made to or from the
// model container.
EnableNetworkIsolation *bool `type:"boolean"`
@@ -59211,6 +59260,12 @@ func (s *DescribeModelOutput) SetCreationTime(v time.Time) *DescribeModelOutput
return s
}
+// SetDeploymentRecommendation sets the DeploymentRecommendation field's value.
+func (s *DescribeModelOutput) SetDeploymentRecommendation(v *DeploymentRecommendation) *DescribeModelOutput {
+ s.DeploymentRecommendation = v
+ return s
+}
+
// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
func (s *DescribeModelOutput) SetEnableNetworkIsolation(v bool) *DescribeModelOutput {
s.EnableNetworkIsolation = &v
@@ -87119,6 +87174,9 @@ type Model struct {
// A timestamp that indicates when the model was created.
CreationTime *time.Time `type:"timestamp"`
+ // A set of recommended deployment configurations for the model.
+ DeploymentRecommendation *DeploymentRecommendation `type:"structure"`
+
// Isolates the model container. No inbound or outbound network calls can be
// made to or from the model container.
EnableNetworkIsolation *bool `type:"boolean"`
@@ -87183,6 +87241,12 @@ func (s *Model) SetCreationTime(v time.Time) *Model {
return s
}
+// SetDeploymentRecommendation sets the DeploymentRecommendation field's value.
+func (s *Model) SetDeploymentRecommendation(v *DeploymentRecommendation) *Model {
+ s.DeploymentRecommendation = v
+ return s
+}
+
// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
func (s *Model) SetEnableNetworkIsolation(v bool) *Model {
s.EnableNetworkIsolation = &v
@@ -99264,6 +99328,61 @@ func (s *RealTimeInferenceConfig) SetInstanceType(v string) *RealTimeInferenceCo
return s
}
+// The recommended configuration to use for Real-Time Inference.
+type RealTimeInferenceRecommendation struct {
+ _ struct{} `type:"structure"`
+
+ // The recommended environment variables to set in the model container for Real-Time
+ // Inference.
+ Environment map[string]*string `type:"map"`
+
+ // The recommended instance type for Real-Time Inference.
+ //
+ // InstanceType is a required field
+ InstanceType *string `type:"string" required:"true" enum:"ProductionVariantInstanceType"`
+
+ // The recommendation ID which uniquely identifies each recommendation.
+ //
+ // RecommendationId is a required field
+ RecommendationId *string `type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s RealTimeInferenceRecommendation) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s RealTimeInferenceRecommendation) GoString() string {
+ return s.String()
+}
+
+// SetEnvironment sets the Environment field's value.
+func (s *RealTimeInferenceRecommendation) SetEnvironment(v map[string]*string) *RealTimeInferenceRecommendation {
+ s.Environment = v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *RealTimeInferenceRecommendation) SetInstanceType(v string) *RealTimeInferenceRecommendation {
+ s.InstanceType = &v
+ return s
+}
+
+// SetRecommendationId sets the RecommendationId field's value.
+func (s *RealTimeInferenceRecommendation) SetRecommendationId(v string) *RealTimeInferenceRecommendation {
+ s.RecommendationId = &v
+ return s
+}
+
// Provides information about the output configuration for the compiled model.
type RecommendationJobCompiledOutputConfig struct {
_ struct{} `type:"structure"`
@@ -119791,6 +119910,30 @@ func RecommendationJobType_Values() []string {
}
}
+const (
+ // RecommendationStatusInProgress is a RecommendationStatus enum value
+ RecommendationStatusInProgress = "IN_PROGRESS"
+
+ // RecommendationStatusCompleted is a RecommendationStatus enum value
+ RecommendationStatusCompleted = "COMPLETED"
+
+ // RecommendationStatusFailed is a RecommendationStatus enum value
+ RecommendationStatusFailed = "FAILED"
+
+ // RecommendationStatusNotApplicable is a RecommendationStatus enum value
+ RecommendationStatusNotApplicable = "NOT_APPLICABLE"
+)
+
+// RecommendationStatus_Values returns all elements of the RecommendationStatus enum
+func RecommendationStatus_Values() []string {
+ return []string{
+ RecommendationStatusInProgress,
+ RecommendationStatusCompleted,
+ RecommendationStatusFailed,
+ RecommendationStatusNotApplicable,
+ }
+}
+
const (
// RecommendationStepTypeBenchmark is a RecommendationStepType enum value
RecommendationStepTypeBenchmark = "BENCHMARK"