diff --git a/CHANGELOG.md b/CHANGELOG.md index 751ad697898..21a7194594b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +Release v1.44.274 (2023-06-01) +=== + +### Service Client Updates +* `service/alexaforbusiness`: Updates service API and documentation +* `service/appflow`: Updates service API and documentation +* `service/customer-profiles`: Updates service API and documentation +* `service/ivs`: Updates service API and documentation +* `service/sagemaker`: Updates service documentation + * Amazon Sagemaker Autopilot adds support for Parquet file input to NLP text classification jobs. +* `service/wafv2`: Updates service documentation + Release v1.44.273 (2023-05-31) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 284a6394925..8440dc007a0 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -4092,6 +4092,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -24403,6 +24406,12 @@ var awsPartition = partition{ endpointKey{ Region: "ap-northeast-1", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-2", + }: endpoint{}, + endpointKey{ + Region: "ap-south-1", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -24427,6 +24436,9 @@ var awsPartition = partition{ endpointKey{ Region: "us-east-2", }: endpoint{}, + endpointKey{ + Region: "us-west-1", + }: endpoint{}, endpointKey{ Region: "us-west-2", }: endpoint{}, @@ -36047,6 +36059,46 @@ var awsusgovPartition = partition{ }: endpoint{}, }, }, + "mgn": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "fips-us-gov-east-1", + }: endpoint{ + Hostname: "mgn-fips.us-gov-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-east-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-gov-west-1", + }: endpoint{ + Hostname: "mgn-fips.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "us-gov-east-1", + }: endpoint{}, + endpointKey{ + Region: "us-gov-east-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "mgn-fips.us-gov-east-1.amazonaws.com", + }, + endpointKey{ + Region: "us-gov-west-1", + }: endpoint{}, + endpointKey{ + Region: "us-gov-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "mgn-fips.us-gov-west-1.amazonaws.com", + }, + }, + }, "models.lex": service{ Defaults: endpointDefaults{ defaultKey{}: endpoint{ @@ -39238,6 +39290,9 @@ var awsisoPartition = partition{ endpointKey{ Region: "us-iso-east-1", }: endpoint{}, + endpointKey{ + Region: "us-iso-west-1", + }: endpoint{}, }, }, "transcribe": service{ diff --git a/aws/version.go b/aws/version.go index f89e7e8e6db..4e5c47289f0 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.273" +const SDKVersion = "1.44.274" diff --git a/models/apis/alexaforbusiness/2017-11-09/api-2.json b/models/apis/alexaforbusiness/2017-11-09/api-2.json index 841be0720f3..37dd6b161e7 100644 --- a/models/apis/alexaforbusiness/2017-11-09/api-2.json +++ b/models/apis/alexaforbusiness/2017-11-09/api-2.json @@ -24,7 +24,9 @@ {"shape":"LimitExceededException"}, {"shape":"NotFoundException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "AssociateContactWithAddressBook":{ "name":"AssociateContactWithAddressBook", @@ -36,7 +38,9 @@ "output":{"shape":"AssociateContactWithAddressBookResponse"}, "errors":[ {"shape":"LimitExceededException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "AssociateDeviceWithNetworkProfile":{ "name":"AssociateDeviceWithNetworkProfile", @@ -50,7 +54,9 @@ {"shape":"NotFoundException"}, {"shape":"ConcurrentModificationException"}, {"shape":"DeviceNotRegisteredException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "AssociateDeviceWithRoom":{ "name":"AssociateDeviceWithRoom", @@ -64,7 +70,9 @@ {"shape":"LimitExceededException"}, {"shape":"ConcurrentModificationException"}, {"shape":"DeviceNotRegisteredException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "AssociateSkillGroupWithRoom":{ "name":"AssociateSkillGroupWithRoom", @@ -76,7 +84,9 @@ "output":{"shape":"AssociateSkillGroupWithRoomResponse"}, "errors":[ {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "AssociateSkillWithSkillGroup":{ "name":"AssociateSkillWithSkillGroup", @@ -90,7 +100,9 @@ {"shape":"ConcurrentModificationException"}, {"shape":"NotFoundException"}, {"shape":"SkillNotLinkedException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "AssociateSkillWithUsers":{ "name":"AssociateSkillWithUsers", @@ -103,7 +115,9 @@ "errors":[ {"shape":"ConcurrentModificationException"}, {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "CreateAddressBook":{ "name":"CreateAddressBook", @@ -116,7 +130,9 @@ "errors":[ {"shape":"AlreadyExistsException"}, {"shape":"LimitExceededException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "CreateBusinessReportSchedule":{ "name":"CreateBusinessReportSchedule", @@ -128,7 +144,9 @@ "output":{"shape":"CreateBusinessReportScheduleResponse"}, "errors":[ {"shape":"AlreadyExistsException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "CreateConferenceProvider":{ "name":"CreateConferenceProvider", @@ -140,7 +158,9 @@ "output":{"shape":"CreateConferenceProviderResponse"}, "errors":[ {"shape":"AlreadyExistsException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "CreateContact":{ "name":"CreateContact", @@ -153,7 +173,9 @@ "errors":[ {"shape":"AlreadyExistsException"}, {"shape":"LimitExceededException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "CreateGatewayGroup":{ "name":"CreateGatewayGroup", @@ -166,7 +188,9 @@ "errors":[ {"shape":"AlreadyExistsException"}, {"shape":"LimitExceededException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "CreateNetworkProfile":{ "name":"CreateNetworkProfile", @@ -182,7 +206,9 @@ {"shape":"ConcurrentModificationException"}, {"shape":"InvalidCertificateAuthorityException"}, {"shape":"InvalidServiceLinkedRoleStateException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "CreateProfile":{ "name":"CreateProfile", @@ -196,7 +222,9 @@ {"shape":"LimitExceededException"}, {"shape":"AlreadyExistsException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "CreateRoom":{ "name":"CreateRoom", @@ -209,7 +237,9 @@ "errors":[ {"shape":"AlreadyExistsException"}, {"shape":"LimitExceededException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "CreateSkillGroup":{ "name":"CreateSkillGroup", @@ -223,7 +253,9 @@ {"shape":"AlreadyExistsException"}, {"shape":"LimitExceededException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "CreateUser":{ "name":"CreateUser", @@ -237,7 +269,9 @@ {"shape":"ResourceInUseException"}, {"shape":"LimitExceededException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DeleteAddressBook":{ "name":"DeleteAddressBook", @@ -250,7 +284,9 @@ "errors":[ {"shape":"NotFoundException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DeleteBusinessReportSchedule":{ "name":"DeleteBusinessReportSchedule", @@ -263,7 +299,9 @@ "errors":[ {"shape":"NotFoundException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DeleteConferenceProvider":{ "name":"DeleteConferenceProvider", @@ -275,7 +313,9 @@ "output":{"shape":"DeleteConferenceProviderResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DeleteContact":{ "name":"DeleteContact", @@ -288,7 +328,9 @@ "errors":[ {"shape":"NotFoundException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DeleteDevice":{ "name":"DeleteDevice", @@ -302,7 +344,9 @@ {"shape":"NotFoundException"}, {"shape":"ConcurrentModificationException"}, {"shape":"InvalidCertificateAuthorityException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DeleteDeviceUsageData":{ "name":"DeleteDeviceUsageData", @@ -316,7 +360,9 @@ {"shape":"NotFoundException"}, {"shape":"DeviceNotRegisteredException"}, {"shape":"LimitExceededException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DeleteGatewayGroup":{ "name":"DeleteGatewayGroup", @@ -328,7 +374,9 @@ "output":{"shape":"DeleteGatewayGroupResponse"}, "errors":[ {"shape":"ResourceAssociatedException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DeleteNetworkProfile":{ "name":"DeleteNetworkProfile", @@ -342,7 +390,9 @@ {"shape":"ResourceInUseException"}, {"shape":"ConcurrentModificationException"}, {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DeleteProfile":{ "name":"DeleteProfile", @@ -355,7 +405,9 @@ "errors":[ {"shape":"NotFoundException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DeleteRoom":{ "name":"DeleteRoom", @@ -368,7 +420,9 @@ "errors":[ {"shape":"NotFoundException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DeleteRoomSkillParameter":{ "name":"DeleteRoomSkillParameter", @@ -380,7 +434,9 @@ "output":{"shape":"DeleteRoomSkillParameterResponse"}, "errors":[ {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DeleteSkillAuthorization":{ "name":"DeleteSkillAuthorization", @@ -393,7 +449,9 @@ "errors":[ {"shape":"NotFoundException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DeleteSkillGroup":{ "name":"DeleteSkillGroup", @@ -406,7 +464,9 @@ "errors":[ {"shape":"NotFoundException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DeleteUser":{ "name":"DeleteUser", @@ -419,7 +479,9 @@ "errors":[ {"shape":"NotFoundException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DisassociateContactFromAddressBook":{ "name":"DisassociateContactFromAddressBook", @@ -428,7 +490,9 @@ "requestUri":"/" }, "input":{"shape":"DisassociateContactFromAddressBookRequest"}, - "output":{"shape":"DisassociateContactFromAddressBookResponse"} + "output":{"shape":"DisassociateContactFromAddressBookResponse"}, + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DisassociateDeviceFromRoom":{ "name":"DisassociateDeviceFromRoom", @@ -441,7 +505,9 @@ "errors":[ {"shape":"ConcurrentModificationException"}, {"shape":"DeviceNotRegisteredException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DisassociateSkillFromSkillGroup":{ "name":"DisassociateSkillFromSkillGroup", @@ -454,7 +520,9 @@ "errors":[ {"shape":"ConcurrentModificationException"}, {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DisassociateSkillFromUsers":{ "name":"DisassociateSkillFromUsers", @@ -467,7 +535,9 @@ "errors":[ {"shape":"ConcurrentModificationException"}, {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "DisassociateSkillGroupFromRoom":{ "name":"DisassociateSkillGroupFromRoom", @@ -479,7 +549,9 @@ "output":{"shape":"DisassociateSkillGroupFromRoomResponse"}, "errors":[ {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "ForgetSmartHomeAppliances":{ "name":"ForgetSmartHomeAppliances", @@ -491,7 +563,9 @@ "output":{"shape":"ForgetSmartHomeAppliancesResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "GetAddressBook":{ "name":"GetAddressBook", @@ -503,7 +577,9 @@ "output":{"shape":"GetAddressBookResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "GetConferencePreference":{ "name":"GetConferencePreference", @@ -515,7 +591,9 @@ "output":{"shape":"GetConferencePreferenceResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "GetConferenceProvider":{ "name":"GetConferenceProvider", @@ -527,7 +605,9 @@ "output":{"shape":"GetConferenceProviderResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "GetContact":{ "name":"GetContact", @@ -539,7 +619,9 @@ "output":{"shape":"GetContactResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "GetDevice":{ "name":"GetDevice", @@ -551,7 +633,9 @@ "output":{"shape":"GetDeviceResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "GetGateway":{ "name":"GetGateway", @@ -563,7 +647,9 @@ "output":{"shape":"GetGatewayResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "GetGatewayGroup":{ "name":"GetGatewayGroup", @@ -575,7 +661,9 @@ "output":{"shape":"GetGatewayGroupResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "GetInvitationConfiguration":{ "name":"GetInvitationConfiguration", @@ -587,7 +675,9 @@ "output":{"shape":"GetInvitationConfigurationResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "GetNetworkProfile":{ "name":"GetNetworkProfile", @@ -600,7 +690,9 @@ "errors":[ {"shape":"NotFoundException"}, {"shape":"InvalidSecretsManagerResourceException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "GetProfile":{ "name":"GetProfile", @@ -612,7 +704,9 @@ "output":{"shape":"GetProfileResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "GetRoom":{ "name":"GetRoom", @@ -624,7 +718,9 @@ "output":{"shape":"GetRoomResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "GetRoomSkillParameter":{ "name":"GetRoomSkillParameter", @@ -636,7 +732,9 @@ "output":{"shape":"GetRoomSkillParameterResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "GetSkillGroup":{ "name":"GetSkillGroup", @@ -648,7 +746,9 @@ "output":{"shape":"GetSkillGroupResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "ListBusinessReportSchedules":{ "name":"ListBusinessReportSchedules", @@ -657,7 +757,9 @@ "requestUri":"/" }, "input":{"shape":"ListBusinessReportSchedulesRequest"}, - "output":{"shape":"ListBusinessReportSchedulesResponse"} + "output":{"shape":"ListBusinessReportSchedulesResponse"}, + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "ListConferenceProviders":{ "name":"ListConferenceProviders", @@ -666,7 +768,9 @@ "requestUri":"/" }, "input":{"shape":"ListConferenceProvidersRequest"}, - "output":{"shape":"ListConferenceProvidersResponse"} + "output":{"shape":"ListConferenceProvidersResponse"}, + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "ListDeviceEvents":{ "name":"ListDeviceEvents", @@ -678,7 +782,9 @@ "output":{"shape":"ListDeviceEventsResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "ListGatewayGroups":{ "name":"ListGatewayGroups", @@ -687,7 +793,9 @@ "requestUri":"/" }, "input":{"shape":"ListGatewayGroupsRequest"}, - "output":{"shape":"ListGatewayGroupsResponse"} + "output":{"shape":"ListGatewayGroupsResponse"}, + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "ListGateways":{ "name":"ListGateways", @@ -696,7 +804,9 @@ "requestUri":"/" }, "input":{"shape":"ListGatewaysRequest"}, - "output":{"shape":"ListGatewaysResponse"} + "output":{"shape":"ListGatewaysResponse"}, + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "ListSkills":{ "name":"ListSkills", @@ -705,7 +815,9 @@ "requestUri":"/" }, "input":{"shape":"ListSkillsRequest"}, - "output":{"shape":"ListSkillsResponse"} + "output":{"shape":"ListSkillsResponse"}, + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "ListSkillsStoreCategories":{ "name":"ListSkillsStoreCategories", @@ -714,7 +826,9 @@ "requestUri":"/" }, "input":{"shape":"ListSkillsStoreCategoriesRequest"}, - "output":{"shape":"ListSkillsStoreCategoriesResponse"} + "output":{"shape":"ListSkillsStoreCategoriesResponse"}, + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "ListSkillsStoreSkillsByCategory":{ "name":"ListSkillsStoreSkillsByCategory", @@ -723,7 +837,9 @@ "requestUri":"/" }, "input":{"shape":"ListSkillsStoreSkillsByCategoryRequest"}, - "output":{"shape":"ListSkillsStoreSkillsByCategoryResponse"} + "output":{"shape":"ListSkillsStoreSkillsByCategoryResponse"}, + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "ListSmartHomeAppliances":{ "name":"ListSmartHomeAppliances", @@ -735,7 +851,9 @@ "output":{"shape":"ListSmartHomeAppliancesResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "ListTags":{ "name":"ListTags", @@ -747,7 +865,9 @@ "output":{"shape":"ListTagsResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "PutConferencePreference":{ "name":"PutConferencePreference", @@ -759,7 +879,9 @@ "output":{"shape":"PutConferencePreferenceResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "PutInvitationConfiguration":{ "name":"PutInvitationConfiguration", @@ -772,7 +894,9 @@ "errors":[ {"shape":"NotFoundException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "PutRoomSkillParameter":{ "name":"PutRoomSkillParameter", @@ -784,7 +908,9 @@ "output":{"shape":"PutRoomSkillParameterResponse"}, "errors":[ {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "PutSkillAuthorization":{ "name":"PutSkillAuthorization", @@ -797,7 +923,9 @@ "errors":[ {"shape":"UnauthorizedException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "RegisterAVSDevice":{ "name":"RegisterAVSDevice", @@ -812,7 +940,9 @@ {"shape":"ConcurrentModificationException"}, {"shape":"NotFoundException"}, {"shape":"InvalidDeviceException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "RejectSkill":{ "name":"RejectSkill", @@ -825,7 +955,9 @@ "errors":[ {"shape":"ConcurrentModificationException"}, {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "ResolveRoom":{ "name":"ResolveRoom", @@ -837,7 +969,9 @@ "output":{"shape":"ResolveRoomResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "RevokeInvitation":{ "name":"RevokeInvitation", @@ -850,7 +984,9 @@ "errors":[ {"shape":"NotFoundException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "SearchAddressBooks":{ "name":"SearchAddressBooks", @@ -859,7 +995,9 @@ "requestUri":"/" }, "input":{"shape":"SearchAddressBooksRequest"}, - "output":{"shape":"SearchAddressBooksResponse"} + "output":{"shape":"SearchAddressBooksResponse"}, + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "SearchContacts":{ "name":"SearchContacts", @@ -868,7 +1006,9 @@ "requestUri":"/" }, "input":{"shape":"SearchContactsRequest"}, - "output":{"shape":"SearchContactsResponse"} + "output":{"shape":"SearchContactsResponse"}, + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "SearchDevices":{ "name":"SearchDevices", @@ -877,7 +1017,9 @@ "requestUri":"/" }, "input":{"shape":"SearchDevicesRequest"}, - "output":{"shape":"SearchDevicesResponse"} + "output":{"shape":"SearchDevicesResponse"}, + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "SearchNetworkProfiles":{ "name":"SearchNetworkProfiles", @@ -886,7 +1028,9 @@ "requestUri":"/" }, "input":{"shape":"SearchNetworkProfilesRequest"}, - "output":{"shape":"SearchNetworkProfilesResponse"} + "output":{"shape":"SearchNetworkProfilesResponse"}, + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "SearchProfiles":{ "name":"SearchProfiles", @@ -895,7 +1039,9 @@ "requestUri":"/" }, "input":{"shape":"SearchProfilesRequest"}, - "output":{"shape":"SearchProfilesResponse"} + "output":{"shape":"SearchProfilesResponse"}, + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "SearchRooms":{ "name":"SearchRooms", @@ -904,7 +1050,9 @@ "requestUri":"/" }, "input":{"shape":"SearchRoomsRequest"}, - "output":{"shape":"SearchRoomsResponse"} + "output":{"shape":"SearchRoomsResponse"}, + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "SearchSkillGroups":{ "name":"SearchSkillGroups", @@ -913,7 +1061,9 @@ "requestUri":"/" }, "input":{"shape":"SearchSkillGroupsRequest"}, - "output":{"shape":"SearchSkillGroupsResponse"} + "output":{"shape":"SearchSkillGroupsResponse"}, + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "SearchUsers":{ "name":"SearchUsers", @@ -922,7 +1072,9 @@ "requestUri":"/" }, "input":{"shape":"SearchUsersRequest"}, - "output":{"shape":"SearchUsersResponse"} + "output":{"shape":"SearchUsersResponse"}, + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "SendAnnouncement":{ "name":"SendAnnouncement", @@ -949,7 +1101,9 @@ {"shape":"NotFoundException"}, {"shape":"InvalidUserStatusException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "StartDeviceSync":{ "name":"StartDeviceSync", @@ -961,7 +1115,9 @@ "output":{"shape":"StartDeviceSyncResponse"}, "errors":[ {"shape":"DeviceNotRegisteredException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "StartSmartHomeApplianceDiscovery":{ "name":"StartSmartHomeApplianceDiscovery", @@ -973,7 +1129,9 @@ "output":{"shape":"StartSmartHomeApplianceDiscoveryResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "TagResource":{ "name":"TagResource", @@ -985,7 +1143,9 @@ "output":{"shape":"TagResourceResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "UntagResource":{ "name":"UntagResource", @@ -997,7 +1157,9 @@ "output":{"shape":"UntagResourceResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "UpdateAddressBook":{ "name":"UpdateAddressBook", @@ -1011,7 +1173,9 @@ {"shape":"NotFoundException"}, {"shape":"NameInUseException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "UpdateBusinessReportSchedule":{ "name":"UpdateBusinessReportSchedule", @@ -1024,7 +1188,9 @@ "errors":[ {"shape":"NotFoundException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "UpdateConferenceProvider":{ "name":"UpdateConferenceProvider", @@ -1036,7 +1202,9 @@ "output":{"shape":"UpdateConferenceProviderResponse"}, "errors":[ {"shape":"NotFoundException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "UpdateContact":{ "name":"UpdateContact", @@ -1049,7 +1217,9 @@ "errors":[ {"shape":"NotFoundException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "UpdateDevice":{ "name":"UpdateDevice", @@ -1063,7 +1233,9 @@ {"shape":"NotFoundException"}, {"shape":"ConcurrentModificationException"}, {"shape":"DeviceNotRegisteredException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "UpdateGateway":{ "name":"UpdateGateway", @@ -1076,7 +1248,9 @@ "errors":[ {"shape":"NotFoundException"}, {"shape":"NameInUseException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "UpdateGatewayGroup":{ "name":"UpdateGatewayGroup", @@ -1089,7 +1263,9 @@ "errors":[ {"shape":"NotFoundException"}, {"shape":"NameInUseException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "UpdateNetworkProfile":{ "name":"UpdateNetworkProfile", @@ -1105,7 +1281,9 @@ {"shape":"ConcurrentModificationException"}, {"shape":"InvalidCertificateAuthorityException"}, {"shape":"InvalidSecretsManagerResourceException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "UpdateProfile":{ "name":"UpdateProfile", @@ -1119,7 +1297,9 @@ {"shape":"NotFoundException"}, {"shape":"NameInUseException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "UpdateRoom":{ "name":"UpdateRoom", @@ -1132,7 +1312,9 @@ "errors":[ {"shape":"NotFoundException"}, {"shape":"NameInUseException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" }, "UpdateSkillGroup":{ "name":"UpdateSkillGroup", @@ -1146,7 +1328,9 @@ {"shape":"NotFoundException"}, {"shape":"NameInUseException"}, {"shape":"ConcurrentModificationException"} - ] + ], + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" } }, "shapes":{ @@ -1703,7 +1887,8 @@ "RoomUtilizationMetricsEnabled":{"shape":"Boolean"}, "EndOfMeetingReminder":{"shape":"CreateEndOfMeetingReminder"}, "InstantBooking":{"shape":"CreateInstantBooking"}, - "RequireCheckIn":{"shape":"CreateRequireCheckIn"} + "RequireCheckIn":{"shape":"CreateRequireCheckIn"}, + "ProactiveJoin":{"shape":"CreateProactiveJoin"} } }, "CreateNetworkProfileRequest":{ @@ -1737,6 +1922,13 @@ "NetworkProfileArn":{"shape":"Arn"} } }, + "CreateProactiveJoin":{ + "type":"structure", + "required":["EnabledByMotion"], + "members":{ + "EnabledByMotion":{"shape":"Boolean"} + } + }, "CreateProfileRequest":{ "type":"structure", "required":[ @@ -2279,7 +2471,7 @@ "type":"string", "max":128, "min":1, - "pattern":"([0-9a-zA-Z]([+-.\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z]([-\\w]*[0-9a-zA-Z]+)*\\.)+[a-zA-Z]{2,9})" + "pattern":"\\w[+-.\\w]*@\\w[\\w\\.\\-]+\\.[0-9a-zA-Z]{2,24}" }, "EnablementType":{ "type":"string", @@ -2881,7 +3073,8 @@ "RoomUtilizationMetricsEnabled":{"shape":"Boolean"}, "EndOfMeetingReminder":{"shape":"EndOfMeetingReminder"}, "InstantBooking":{"shape":"InstantBooking"}, - "RequireCheckIn":{"shape":"RequireCheckIn"} + "RequireCheckIn":{"shape":"RequireCheckIn"}, + "ProactiveJoin":{"shape":"ProactiveJoin"} } }, "MeetingSetting":{ @@ -3047,6 +3240,12 @@ "sensitive":true }, "PrivacyPolicy":{"type":"string"}, + "ProactiveJoin":{ + "type":"structure", + "members":{ + "EnabledByMotion":{"shape":"Boolean"} + } + }, "ProductDescription":{"type":"string"}, "ProductId":{ "type":"string", @@ -4013,7 +4212,8 @@ "RoomUtilizationMetricsEnabled":{"shape":"Boolean"}, "EndOfMeetingReminder":{"shape":"UpdateEndOfMeetingReminder"}, "InstantBooking":{"shape":"UpdateInstantBooking"}, - "RequireCheckIn":{"shape":"UpdateRequireCheckIn"} + "RequireCheckIn":{"shape":"UpdateRequireCheckIn"}, + "ProactiveJoin":{"shape":"UpdateProactiveJoin"} } }, "UpdateNetworkProfileRequest":{ @@ -4034,6 +4234,13 @@ "members":{ } }, + "UpdateProactiveJoin":{ + "type":"structure", + "required":["EnabledByMotion"], + "members":{ + "EnabledByMotion":{"shape":"Boolean"} + } + }, "UpdateProfileRequest":{ "type":"structure", "members":{ @@ -4151,5 +4358,7 @@ "min":1, "pattern":"[a-zA-Z0-9@_+.-]*" } - } + }, + "deprecated":true, + "deprecatedMessage":"Alexa For Business is no longer supported" } diff --git a/models/apis/alexaforbusiness/2017-11-09/docs-2.json b/models/apis/alexaforbusiness/2017-11-09/docs-2.json index b00b8004915..6677a2f52d7 100644 --- a/models/apis/alexaforbusiness/2017-11-09/docs-2.json +++ b/models/apis/alexaforbusiness/2017-11-09/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "

Alexa for Business helps you use Alexa in your organization. Alexa for Business provides you with the tools to manage Alexa devices, enroll your users, and assign skills, at scale. You can build your own context-aware voice skills using the Alexa Skills Kit and the Alexa for Business API operations. You can also make these available as private skills for your organization. Alexa for Business makes it efficient to voice-enable your products and services, thus providing context-aware voice experiences for your customers. Device makers building with the Alexa Voice Service (AVS) can create fully integrated solutions, register their products with Alexa for Business, and manage them as shared devices in their organization.

", + "service": "

Alexa for Business has been retired and is no longer supported.

", "operations": { "ApproveSkill": "

Associates a skill with the organization under the customer's AWS account. If a skill is private, the user implicitly accepts access to this skill during enablement.

", "AssociateContactWithAddressBook": "

Associates a contact with a given address book.

", @@ -394,6 +394,7 @@ "CreateEndOfMeetingReminder$Enabled": "

Whether an end of meeting reminder is enabled or not.

", "CreateInstantBooking$Enabled": "

Whether instant booking is enabled or not.

", "CreateMeetingRoomConfiguration$RoomUtilizationMetricsEnabled": "

Whether room utilization metrics are enabled or not.

", + "CreateProactiveJoin$EnabledByMotion": null, "CreateProfileRequest$SetupModeDisabled": "

Whether room profile setup is enabled.

", "CreateProfileRequest$PSTNEnabled": "

Whether PSTN calling is enabled.

", "CreateProfileRequest$DataRetentionOptIn": "

Whether data retention of the profile is enabled.

", @@ -401,6 +402,7 @@ "EndOfMeetingReminder$Enabled": "

Whether an end of meeting reminder is enabled or not.

", "InstantBooking$Enabled": "

Whether instant booking is enabled or not.

", "MeetingRoomConfiguration$RoomUtilizationMetricsEnabled": "

Whether room utilization metrics are enabled or not.

", + "ProactiveJoin$EnabledByMotion": null, "Profile$IsDefault": "

Retrieves if the profile is default or not.

", "Profile$SetupModeDisabled": "

The setup mode of a room profile.

", "Profile$PSTNEnabled": "

The PSTN setting of a room profile.

", @@ -410,6 +412,7 @@ "UpdateEndOfMeetingReminder$Enabled": "

Whether an end of meeting reminder is enabled or not.

", "UpdateInstantBooking$Enabled": "

Whether instant booking is enabled or not.

", "UpdateMeetingRoomConfiguration$RoomUtilizationMetricsEnabled": "

Whether room utilization metrics are enabled or not.

", + "UpdateProactiveJoin$EnabledByMotion": null, "UpdateProfileRequest$IsDefault": "

Sets the profile as default if selected. If this is missing, no update is done to the default status.

", "UpdateProfileRequest$SetupModeDisabled": "

Whether the setup mode of the profile is enabled.

", "UpdateProfileRequest$PSTNEnabled": "

Whether the PSTN setting of the room profile is enabled.

", @@ -758,6 +761,12 @@ "refs": { } }, + "CreateProactiveJoin": { + "base": null, + "refs": { + "CreateMeetingRoomConfiguration$ProactiveJoin": null + } + }, "CreateProfileRequest": { "base": null, "refs": { @@ -1974,6 +1983,12 @@ "DeveloperInfo$PrivacyPolicy": "

The URL of the privacy policy.

" } }, + "ProactiveJoin": { + "base": null, + "refs": { + "MeetingRoomConfiguration$ProactiveJoin": null + } + }, "ProductDescription": { "base": null, "refs": { @@ -2830,6 +2845,12 @@ "refs": { } }, + "UpdateProactiveJoin": { + "base": null, + "refs": { + "UpdateMeetingRoomConfiguration$ProactiveJoin": null + } + }, "UpdateProfileRequest": { "base": null, "refs": { diff --git a/models/apis/alexaforbusiness/2017-11-09/endpoint-rule-set-1.json b/models/apis/alexaforbusiness/2017-11-09/endpoint-rule-set-1.json new file mode 100644 index 00000000000..da4c0c1adab --- /dev/null +++ b/models/apis/alexaforbusiness/2017-11-09/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://a4b-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://a4b-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://a4b.{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://a4b.{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/alexaforbusiness/2017-11-09/endpoint-tests-1.json b/models/apis/alexaforbusiness/2017-11-09/endpoint-tests-1.json new file mode 100644 index 00000000000..de7a21af1d8 --- /dev/null +++ b/models/apis/alexaforbusiness/2017-11-09/endpoint-tests-1.json @@ -0,0 +1,314 @@ +{ + "testCases": [ + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://a4b.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://a4b-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://a4b-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://a4b.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://a4b-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://a4b-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://a4b.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://a4b.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://a4b-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://a4b-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://a4b.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://a4b.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://a4b-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://a4b.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://a4b-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://a4b.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/appflow/2020-08-23/api-2.json b/models/apis/appflow/2020-08-23/api-2.json index 21c3429475c..5b6436ba65f 100644 --- a/models/apis/appflow/2020-08-23/api-2.json +++ b/models/apis/appflow/2020-08-23/api-2.json @@ -684,7 +684,9 @@ "connectorProvisioningConfig":{"shape":"ConnectorProvisioningConfig"}, "logoURL":{"shape":"LogoURL"}, "registeredAt":{"shape":"Date"}, - "registeredBy":{"shape":"RegisteredBy"} + "registeredBy":{"shape":"RegisteredBy"}, + "supportedDataTransferTypes":{"shape":"SupportedDataTransferTypeList"}, + "supportedDataTransferApis":{"shape":"SupportedDataTransferApis"} } }, "ConnectorConfigurationsMap":{ @@ -710,7 +712,8 @@ "registeredAt":{"shape":"Date"}, "registeredBy":{"shape":"RegisteredBy"}, "connectorProvisioningType":{"shape":"ConnectorProvisioningType"}, - "connectorModes":{"shape":"ConnectorModeList"} + "connectorModes":{"shape":"ConnectorModeList"}, + "supportedDataTransferTypes":{"shape":"SupportedDataTransferTypeList"} } }, "ConnectorEntity":{ @@ -1166,7 +1169,8 @@ "required":["entityName"], "members":{ "entityName":{"shape":"EntityName"}, - "customProperties":{"shape":"CustomProperties"} + "customProperties":{"shape":"CustomProperties"}, + "dataTransferApi":{"shape":"DataTransferApi"} } }, "CustomProperties":{ @@ -1212,6 +1216,26 @@ "Complete" ] }, + "DataTransferApi":{ + "type":"structure", + "members":{ + "Name":{"shape":"DataTransferApiTypeName"}, + "Type":{"shape":"DataTransferApiType"} + } + }, + "DataTransferApiType":{ + "type":"string", + "enum":[ + "SYNC", + "ASYNC", + "AUTOMATIC" + ] + }, + "DataTransferApiTypeName":{ + "type":"string", + "max":64, + "pattern":"[\\w/-]+" + }, "DatabaseName":{ "type":"string", "max":512, @@ -3174,6 +3198,21 @@ "type":"list", "member":{"shape":"SupportedApiVersion"} }, + "SupportedDataTransferApis":{ + "type":"list", + "member":{"shape":"DataTransferApi"} + }, + "SupportedDataTransferType":{ + "type":"string", + "enum":[ + "RECORD", + "FILE" + ] + }, + "SupportedDataTransferTypeList":{ + "type":"list", + "member":{"shape":"SupportedDataTransferType"} + }, "SupportedFieldTypeDetails":{ "type":"structure", "required":["v1"], diff --git a/models/apis/appflow/2020-08-23/docs-2.json b/models/apis/appflow/2020-08-23/docs-2.json index a556e996991..d57fb365088 100644 --- a/models/apis/appflow/2020-08-23/docs-2.json +++ b/models/apis/appflow/2020-08-23/docs-2.json @@ -818,6 +818,25 @@ "ScheduledTriggerProperties$dataPullMode": "

Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow run.

" } }, + "DataTransferApi": { + "base": "

The API of the connector application that Amazon AppFlow uses to transfer your data.

", + "refs": { + "CustomConnectorSourceProperties$dataTransferApi": "

The API of the connector application that Amazon AppFlow uses to transfer your data.

", + "SupportedDataTransferApis$member": null + } + }, + "DataTransferApiType": { + "base": null, + "refs": { + "DataTransferApi$Type": "

You can specify one of the following types:

AUTOMATIC

The default. Optimizes a flow for datasets that fluctuate in size from small to large. For each flow run, Amazon AppFlow chooses to use the SYNC or ASYNC API type based on the amount of data that the run transfers.

SYNC

A synchronous API. This type of API optimizes a flow for small to medium-sized datasets.

ASYNC

An asynchronous API. This type of API optimizes a flow for large datasets.

" + } + }, + "DataTransferApiTypeName": { + "base": null, + "refs": { + "DataTransferApi$Name": "

The name of the connector application API.

" + } + }, "DatabaseName": { "base": null, "refs": { @@ -2370,6 +2389,25 @@ "ConnectorConfiguration$supportedApiVersions": "

A list of API versions that are supported by the connector.

" } }, + "SupportedDataTransferApis": { + "base": null, + "refs": { + "ConnectorConfiguration$supportedDataTransferApis": "

The APIs of the connector application that Amazon AppFlow can use to transfer your data.

" + } + }, + "SupportedDataTransferType": { + "base": null, + "refs": { + "SupportedDataTransferTypeList$member": null + } + }, + "SupportedDataTransferTypeList": { + "base": null, + "refs": { + "ConnectorConfiguration$supportedDataTransferTypes": "

The data transfer types that the connector supports.

RECORD

Structured records.

FILE

Files or binary data.

", + "ConnectorDetail$supportedDataTransferTypes": "

The data transfer types that the connector supports.

RECORD

Structured records.

FILE

Files or binary data.

" + } + }, "SupportedFieldTypeDetails": { "base": "

Contains details regarding all the supported FieldTypes and their corresponding filterOperators and supportedValues.

", "refs": { diff --git a/models/apis/customer-profiles/2020-08-15/api-2.json b/models/apis/customer-profiles/2020-08-15/api-2.json index a27b9b581fe..8a3aff39977 100644 --- a/models/apis/customer-profiles/2020-08-15/api-2.json +++ b/models/apis/customer-profiles/2020-08-15/api-2.json @@ -29,6 +29,22 @@ {"shape":"InternalServerException"} ] }, + "CreateCalculatedAttributeDefinition":{ + "name":"CreateCalculatedAttributeDefinition", + "http":{ + "method":"POST", + "requestUri":"/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}" + }, + "input":{"shape":"CreateCalculatedAttributeDefinitionRequest"}, + "output":{"shape":"CreateCalculatedAttributeDefinitionResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, "CreateDomain":{ "name":"CreateDomain", "http":{ @@ -77,6 +93,22 @@ {"shape":"InternalServerException"} ] }, + "DeleteCalculatedAttributeDefinition":{ + "name":"DeleteCalculatedAttributeDefinition", + "http":{ + "method":"DELETE", + "requestUri":"/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}" + }, + "input":{"shape":"DeleteCalculatedAttributeDefinitionRequest"}, + "output":{"shape":"DeleteCalculatedAttributeDefinitionResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, "DeleteDomain":{ "name":"DeleteDomain", "http":{ @@ -205,6 +237,38 @@ {"shape":"InternalServerException"} ] }, + "GetCalculatedAttributeDefinition":{ + "name":"GetCalculatedAttributeDefinition", + "http":{ + "method":"GET", + "requestUri":"/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}" + }, + "input":{"shape":"GetCalculatedAttributeDefinitionRequest"}, + "output":{"shape":"GetCalculatedAttributeDefinitionResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, + "GetCalculatedAttributeForProfile":{ + "name":"GetCalculatedAttributeForProfile", + "http":{ + "method":"GET", + "requestUri":"/domains/{DomainName}/profile/{ProfileId}/calculated-attributes/{CalculatedAttributeName}" + }, + "input":{"shape":"GetCalculatedAttributeForProfileRequest"}, + "output":{"shape":"GetCalculatedAttributeForProfileResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, "GetDomain":{ "name":"GetDomain", "http":{ @@ -349,6 +413,38 @@ {"shape":"InternalServerException"} ] }, + "ListCalculatedAttributeDefinitions":{ + "name":"ListCalculatedAttributeDefinitions", + "http":{ + "method":"GET", + "requestUri":"/domains/{DomainName}/calculated-attributes" + }, + "input":{"shape":"ListCalculatedAttributeDefinitionsRequest"}, + "output":{"shape":"ListCalculatedAttributeDefinitionsResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, + "ListCalculatedAttributesForProfile":{ + "name":"ListCalculatedAttributesForProfile", + "http":{ + "method":"GET", + "requestUri":"/domains/{DomainName}/profile/{ProfileId}/calculated-attributes" + }, + "input":{"shape":"ListCalculatedAttributesForProfileRequest"}, + "output":{"shape":"ListCalculatedAttributesForProfileResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, "ListDomains":{ "name":"ListDomains", "http":{ @@ -582,6 +678,22 @@ {"shape":"ResourceNotFoundException"} ] }, + "UpdateCalculatedAttributeDefinition":{ + "name":"UpdateCalculatedAttributeDefinition", + "http":{ + "method":"PUT", + "requestUri":"/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}" + }, + "input":{"shape":"UpdateCalculatedAttributeDefinitionRequest"}, + "output":{"shape":"UpdateCalculatedAttributeDefinitionResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, "UpdateDomain":{ "name":"UpdateDomain", "http":{ @@ -738,6 +850,30 @@ "LastUpdatedAt":{"shape":"timestamp"} } }, + "AttributeDetails":{ + "type":"structure", + "required":[ + "Attributes", + "Expression" + ], + "members":{ + "Attributes":{"shape":"AttributeList"}, + "Expression":{"shape":"string1To255"} + } + }, + "AttributeItem":{ + "type":"structure", + "required":["Name"], + "members":{ + "Name":{"shape":"attributeName"} + } + }, + "AttributeList":{ + "type":"list", + "member":{"shape":"AttributeItem"}, + "max":2, + "min":1 + }, "AttributeSourceIdMap":{ "type":"map", "key":{"shape":"string1To255"}, @@ -792,6 +928,22 @@ "max":512, "pattern":".*" }, + "CalculatedAttributeDefinitionsList":{ + "type":"list", + "member":{"shape":"ListCalculatedAttributeDefinitionItem"} + }, + "CalculatedAttributesForProfileList":{ + "type":"list", + "member":{"shape":"ListCalculatedAttributeForProfileItem"} + }, + "Conditions":{ + "type":"structure", + "members":{ + "Range":{"shape":"Range"}, + "ObjectCount":{"shape":"ObjectCount"}, + "Threshold":{"shape":"Threshold"} + } + }, "ConflictResolution":{ "type":"structure", "required":["ConflictResolvingModel"], @@ -829,6 +981,47 @@ "MatchingAttributesList":{"shape":"MatchingAttributesList"} } }, + "CreateCalculatedAttributeDefinitionRequest":{ + "type":"structure", + "required":[ + "DomainName", + "CalculatedAttributeName", + "AttributeDetails", + "Statistic" + ], + "members":{ + "DomainName":{ + "shape":"name", + "location":"uri", + "locationName":"DomainName" + }, + "CalculatedAttributeName":{ + "shape":"typeName", + "location":"uri", + "locationName":"CalculatedAttributeName" + }, + "DisplayName":{"shape":"displayName"}, + "Description":{"shape":"text"}, + "AttributeDetails":{"shape":"AttributeDetails"}, + "Conditions":{"shape":"Conditions"}, + "Statistic":{"shape":"Statistic"}, + "Tags":{"shape":"TagMap"} + } + }, + "CreateCalculatedAttributeDefinitionResponse":{ + "type":"structure", + "members":{ + "CalculatedAttributeName":{"shape":"typeName"}, + "DisplayName":{"shape":"displayName"}, + "Description":{"shape":"text"}, + "AttributeDetails":{"shape":"AttributeDetails"}, + "Conditions":{"shape":"Conditions"}, + "Statistic":{"shape":"Statistic"}, + "CreatedAt":{"shape":"timestamp"}, + "LastUpdatedAt":{"shape":"timestamp"}, + "Tags":{"shape":"TagMap"} + } + }, "CreateDomainRequest":{ "type":"structure", "required":[ @@ -954,6 +1147,30 @@ "max":256, "pattern":".*" }, + "DeleteCalculatedAttributeDefinitionRequest":{ + "type":"structure", + "required":[ + "DomainName", + "CalculatedAttributeName" + ], + "members":{ + "DomainName":{ + "shape":"name", + "location":"uri", + "locationName":"DomainName" + }, + "CalculatedAttributeName":{ + "shape":"typeName", + "location":"uri", + "locationName":"CalculatedAttributeName" + } + } + }, + "DeleteCalculatedAttributeDefinitionResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteDomainRequest":{ "type":"structure", "required":["DomainName"], @@ -1268,6 +1485,73 @@ "NumberOfProfilesWillBeMerged":{"shape":"long"} } }, + "GetCalculatedAttributeDefinitionRequest":{ + "type":"structure", + "required":[ + "DomainName", + "CalculatedAttributeName" + ], + "members":{ + "DomainName":{ + "shape":"name", + "location":"uri", + "locationName":"DomainName" + }, + "CalculatedAttributeName":{ + "shape":"typeName", + "location":"uri", + "locationName":"CalculatedAttributeName" + } + } + }, + "GetCalculatedAttributeDefinitionResponse":{ + "type":"structure", + "members":{ + "CalculatedAttributeName":{"shape":"typeName"}, + "DisplayName":{"shape":"displayName"}, + "Description":{"shape":"text"}, + "CreatedAt":{"shape":"timestamp"}, + "LastUpdatedAt":{"shape":"timestamp"}, + "Statistic":{"shape":"Statistic"}, + "Conditions":{"shape":"Conditions"}, + "AttributeDetails":{"shape":"AttributeDetails"}, + "Tags":{"shape":"TagMap"} + } + }, + "GetCalculatedAttributeForProfileRequest":{ + "type":"structure", + "required":[ + "DomainName", + "ProfileId", + "CalculatedAttributeName" + ], + "members":{ + "DomainName":{ + "shape":"name", + "location":"uri", + "locationName":"DomainName" + }, + "ProfileId":{ + "shape":"uuid", + "location":"uri", + "locationName":"ProfileId" + }, + "CalculatedAttributeName":{ + "shape":"typeName", + "location":"uri", + "locationName":"CalculatedAttributeName" + } + } + }, + "GetCalculatedAttributeForProfileResponse":{ + "type":"structure", + "members":{ + "CalculatedAttributeName":{"shape":"typeName"}, + "DisplayName":{"shape":"displayName"}, + "IsDataPartial":{"shape":"string1To255"}, + "Value":{"shape":"string1To255"} + } + }, "GetDomainRequest":{ "type":"structure", "required":["DomainName"], @@ -1662,6 +1946,90 @@ "NextToken":{"shape":"token"} } }, + "ListCalculatedAttributeDefinitionItem":{ + "type":"structure", + "members":{ + "CalculatedAttributeName":{"shape":"typeName"}, + "DisplayName":{"shape":"displayName"}, + "Description":{"shape":"text"}, + "CreatedAt":{"shape":"timestamp"}, + "LastUpdatedAt":{"shape":"timestamp"}, + "Tags":{"shape":"TagMap"} + } + }, + "ListCalculatedAttributeDefinitionsRequest":{ + "type":"structure", + "required":["DomainName"], + "members":{ + "DomainName":{ + "shape":"name", + "location":"uri", + "locationName":"DomainName" + }, + "NextToken":{ + "shape":"token", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"maxSize100", + "location":"querystring", + "locationName":"max-results" + } + } + }, + "ListCalculatedAttributeDefinitionsResponse":{ + "type":"structure", + "members":{ + "Items":{"shape":"CalculatedAttributeDefinitionsList"}, + "NextToken":{"shape":"token"} + } + }, + "ListCalculatedAttributeForProfileItem":{ + "type":"structure", + "members":{ + "CalculatedAttributeName":{"shape":"typeName"}, + "DisplayName":{"shape":"displayName"}, + "IsDataPartial":{"shape":"string1To255"}, + "Value":{"shape":"string1To255"} + } + }, + "ListCalculatedAttributesForProfileRequest":{ + "type":"structure", + "required":[ + "DomainName", + "ProfileId" + ], + "members":{ + "NextToken":{ + "shape":"token", + "location":"querystring", + "locationName":"next-token" + }, + "MaxResults":{ + "shape":"maxSize100", + "location":"querystring", + "locationName":"max-results" + }, + "DomainName":{ + "shape":"name", + "location":"uri", + "locationName":"DomainName" + }, + "ProfileId":{ + "shape":"uuid", + "location":"uri", + "locationName":"ProfileId" + } + } + }, + "ListCalculatedAttributesForProfileResponse":{ + "type":"structure", + "members":{ + "Items":{"shape":"CalculatedAttributesForProfileList"}, + "NextToken":{"shape":"token"} + } + }, "ListDomainItem":{ "type":"structure", "required":[ @@ -2062,6 +2430,11 @@ "max":512, "pattern":"\\S+" }, + "ObjectCount":{ + "type":"integer", + "max":100, + "min":1 + }, "ObjectFilter":{ "type":"structure", "required":[ @@ -2097,6 +2470,15 @@ "key":{"shape":"string1To255"}, "value":{"shape":"typeName"} }, + "Operator":{ + "type":"string", + "enum":[ + "EQUAL_TO", + "GREATER_THAN", + "LESS_THAN", + "NOT_EQUAL_TO" + ] + }, "OperatorPropertiesKeys":{ "type":"string", "enum":[ @@ -2295,6 +2677,17 @@ "Tags":{"shape":"TagMap"} } }, + "Range":{ + "type":"structure", + "required":[ + "Value", + "Unit" + ], + "members":{ + "Value":{"shape":"Value"}, + "Unit":{"shape":"Unit"} + } + }, "ResourceNotFoundException":{ "type":"structure", "members":{ @@ -2540,6 +2933,19 @@ "type":"list", "member":{"shape":"StandardIdentifier"} }, + "Statistic":{ + "type":"string", + "enum":[ + "FIRST_OCCURRENCE", + "LAST_OCCURRENCE", + "COUNT", + "SUM", + "MINIMUM", + "MAXIMUM", + "AVERAGE", + "MAX_OCCURRENCE" + ] + }, "Status":{ "type":"string", "enum":[ @@ -2635,6 +3041,17 @@ "type":"list", "member":{"shape":"Task"} }, + "Threshold":{ + "type":"structure", + "required":[ + "Value", + "Operator" + ], + "members":{ + "Value":{"shape":"string1To255"}, + "Operator":{"shape":"Operator"} + } + }, "ThrottlingException":{ "type":"structure", "members":{ @@ -2670,6 +3087,10 @@ "OnDemand" ] }, + "Unit":{ + "type":"string", + "enum":["DAYS"] + }, "UntagResourceRequest":{ "type":"structure", "required":[ @@ -2714,6 +3135,42 @@ "key":{"shape":"string1To255"}, "value":{"shape":"string0To255"} }, + "UpdateCalculatedAttributeDefinitionRequest":{ + "type":"structure", + "required":[ + "DomainName", + "CalculatedAttributeName" + ], + "members":{ + "DomainName":{ + "shape":"name", + "location":"uri", + "locationName":"DomainName" + }, + "CalculatedAttributeName":{ + "shape":"typeName", + "location":"uri", + "locationName":"CalculatedAttributeName" + }, + "DisplayName":{"shape":"displayName"}, + "Description":{"shape":"text"}, + "Conditions":{"shape":"Conditions"} + } + }, + "UpdateCalculatedAttributeDefinitionResponse":{ + "type":"structure", + "members":{ + "CalculatedAttributeName":{"shape":"typeName"}, + "DisplayName":{"shape":"displayName"}, + "Description":{"shape":"text"}, + "CreatedAt":{"shape":"timestamp"}, + "LastUpdatedAt":{"shape":"timestamp"}, + "Statistic":{"shape":"Statistic"}, + "Conditions":{"shape":"Conditions"}, + "AttributeDetails":{"shape":"AttributeDetails"}, + "Tags":{"shape":"TagMap"} + } + }, "UpdateDomainRequest":{ "type":"structure", "required":["DomainName"], @@ -2793,6 +3250,11 @@ "ProfileId":{"shape":"uuid"} } }, + "Value":{ + "type":"integer", + "max":366, + "min":1 + }, "WorkflowAttributes":{ "type":"structure", "members":{ @@ -2855,7 +3317,19 @@ "max":4, "min":1 }, + "attributeName":{ + "type":"string", + "max":64, + "min":1, + "pattern":"^[a-zA-Z0-9_.-]+$" + }, "boolean":{"type":"boolean"}, + "displayName":{ + "type":"string", + "max":255, + "min":1, + "pattern":"^[a-zA-Z_][a-zA-Z_0-9-\\s]*$" + }, "encryptionKey":{ "type":"string", "max":255, diff --git a/models/apis/customer-profiles/2020-08-15/docs-2.json b/models/apis/customer-profiles/2020-08-15/docs-2.json index eb7287f96a7..3519c5b0b8f 100644 --- a/models/apis/customer-profiles/2020-08-15/docs-2.json +++ b/models/apis/customer-profiles/2020-08-15/docs-2.json @@ -3,9 +3,11 @@ "service": "Amazon Connect Customer Profiles

Amazon Connect Customer Profiles is a unified customer profile for your contact center that has pre-built connectors powered by AppFlow that make it easy to combine customer information from third party applications, such as Salesforce (CRM), ServiceNow (ITSM), and your enterprise resource planning (ERP), with contact history from your Amazon Connect contact center. If you're new to Amazon Connect, you might find it helpful to review the Amazon Connect Administrator Guide.

", "operations": { "AddProfileKey": "

Associates a new key value with a specific profile, such as a Contact Record ContactId.

A profile object can have a single unique key and any number of additional keys that can be used to identify the profile that it belongs to.

", + "CreateCalculatedAttributeDefinition": "

Creates a new calculated attribute definition. After creation, new object data ingested into Customer Profiles will be included in the calculated attribute, which can be retrieved for a profile using the GetCalculatedAttributeForProfile API. Defining a calculated attribute makes it available for all profiles within a domain. Each calculated attribute can only reference one ObjectType and at most, two fields from that ObjectType.

", "CreateDomain": "

Creates a domain, which is a container for all customer data, such as customer profile attributes, object types, profile keys, and encryption keys. You can create multiple domains, and each domain can have multiple third-party integrations.

Each Amazon Connect instance can be associated with only one domain. Multiple Amazon Connect instances can be associated with one domain.

Use this API or UpdateDomain to enable identity resolution: set Matching to true.

To prevent cross-service impersonation when you call this API, see Cross-service confused deputy prevention for sample policies that you should apply.

", "CreateIntegrationWorkflow": "

Creates an integration workflow. An integration workflow is an async process which ingests historic data and sets up an integration for ongoing updates. The supported Amazon AppFlow sources are Salesforce, ServiceNow, and Marketo.

", "CreateProfile": "

Creates a standard profile.

A standard profile represents the following attributes for a customer profile in a domain.

", + "DeleteCalculatedAttributeDefinition": "

Deletes an existing calculated attribute definition. Note that deleting a default calculated attribute is possible, however once deleted, you will be unable to undo that action and will need to recreate it on your own using the CreateCalculatedAttributeDefinition API if you want it back.

", "DeleteDomain": "

Deletes a specific domain and all of its customer data, such as customer profile attributes and their related objects.

", "DeleteIntegration": "

Removes an integration from a specific domain.

", "DeleteProfile": "

Deletes the standard customer profile and all data pertaining to the profile.

", @@ -14,6 +16,8 @@ "DeleteProfileObjectType": "

Removes a ProfileObjectType from a specific domain as well as removes all the ProfileObjects of that type. It also disables integrations from this specific ProfileObjectType. In addition, it scrubs all of the fields of the standard profile that were populated from this ProfileObjectType.

", "DeleteWorkflow": "

Deletes the specified workflow and all its corresponding resources. This is an async process.

", "GetAutoMergingPreview": "

Tests the auto-merging settings of your Identity Resolution Job without merging your data. It randomly selects a sample of matching groups from the existing matching results, and applies the automerging settings that you provided. You can then view the number of profiles in the sample, the number of matches, and the number of profiles identified to be merged. This enables you to evaluate the accuracy of the attributes in your matching list.

You can't view which profiles are matched and would be merged.

We strongly recommend you use this API to do a dry run of the automerging process before running the Identity Resolution Job. Include at least two matching attributes. If your matching list includes too few attributes (such as only FirstName or only LastName), there may be a large number of matches. This increases the chances of erroneous merges.

", + "GetCalculatedAttributeDefinition": "

Provides more information on a calculated attribute definition for Customer Profiles.

", + "GetCalculatedAttributeForProfile": "

Retrieve a calculated attribute for a customer profile.

", "GetDomain": "

Returns information about a specific domain.

", "GetIdentityResolutionJob": "

Returns information about an Identity Resolution Job in a specific domain.

Identity Resolution Jobs are set up using the Amazon Connect admin console. For more information, see Use Identity Resolution to consolidate similar profiles.

", "GetIntegration": "

Returns an integration for a domain.

", @@ -23,6 +27,8 @@ "GetWorkflow": "

Get details of specified workflow.

", "GetWorkflowSteps": "

Get granular list of steps in workflow.

", "ListAccountIntegrations": "

Lists all of the integrations associated to a specific URI in the AWS account.

", + "ListCalculatedAttributeDefinitions": "

Lists calculated attribute definitions for Customer Profiles

", + "ListCalculatedAttributesForProfile": "

Retrieve a list of calculated attributes for a customer profile.

", "ListDomains": "

Returns a list of all the domains for an AWS account that have been created.

", "ListIdentityResolutionJobs": "

Lists all of the Identity Resolution Jobs in your domain. The response sorts the list by JobStartTime.

", "ListIntegrations": "

Lists all of the integrations in your domain.

", @@ -38,6 +44,7 @@ "SearchProfiles": "

Searches for profiles within a specific domain using one or more predefined search keys (e.g., _fullName, _phone, _email, _account, etc.) and/or custom-defined search keys. A search key is a data type pair that consists of a KeyName and Values list.

This operation supports searching for profiles with a minimum of 1 key-value(s) pair and up to 5 key-value(s) pairs using either AND or OR logic.

", "TagResource": "

Assigns one or more tags (key-value pairs) to the specified Amazon Connect Customer Profiles resource. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. In Connect Customer Profiles, domains, profile object types, and integrations can be tagged.

Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.

You can use the TagResource action with a resource that already has tags. If you specify a new tag key, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.

You can associate as many as 50 tags with a resource.

", "UntagResource": "

Removes one or more tags from the specified Amazon Connect Customer Profiles resource. In Connect Customer Profiles, domains, profile object types, and integrations can be tagged.

", + "UpdateCalculatedAttributeDefinition": "

Updates an existing calculated attribute definition. When updating the Conditions, note that increasing the date range of a calculated attribute will not trigger inclusion of historical data greater than the current date range.

", "UpdateDomain": "

Updates the properties of a domain, including creating or selecting a dead letter queue or an encryption key.

After a domain is created, the name can’t be changed.

Use this API or CreateDomain to enable identity resolution: set Matching to true.

To prevent cross-service impersonation when you call this API, see Cross-service confused deputy prevention for sample policies that you should apply.

To add or remove tags on an existing Domain, see TagResource/UntagResource.

", "UpdateProfile": "

Updates the properties of a profile. The ProfileId is required for updating a customer profile.

When calling the UpdateProfile API, specifying an empty string value means that any existing value will be removed. Not specifying a string value means that any value already there will be kept.

" }, @@ -49,10 +56,12 @@ "AddProfileKeyRequest$DomainName": "

The unique name of the domain.

", "AddProfileKeyResponse$KeyName": "

A searchable identifier of a customer profile.

", "AdditionalSearchKey$KeyName": "

A searchable identifier of a customer profile.

", + "CreateCalculatedAttributeDefinitionRequest$DomainName": "

The unique name of the domain.

", "CreateDomainRequest$DomainName": "

The unique name of the domain.

", "CreateDomainResponse$DomainName": "

The unique name of the domain.

", "CreateIntegrationWorkflowRequest$DomainName": "

The unique name of the domain.

", "CreateProfileRequest$DomainName": "

The unique name of the domain.

", + "DeleteCalculatedAttributeDefinitionRequest$DomainName": "

The unique name of the domain.

", "DeleteDomainRequest$DomainName": "

The unique name of the domain.

", "DeleteIntegrationRequest$DomainName": "

The unique name of the domain.

", "DeleteProfileKeyRequest$KeyName": "

A searchable identifier of a customer profile.

", @@ -66,6 +75,8 @@ "FoundByKeyValue$KeyName": "

A searchable identifier of a customer profile.

", "GetAutoMergingPreviewRequest$DomainName": "

The unique name of the domain.

", "GetAutoMergingPreviewResponse$DomainName": "

The unique name of the domain.

", + "GetCalculatedAttributeDefinitionRequest$DomainName": "

The unique name of the domain.

", + "GetCalculatedAttributeForProfileRequest$DomainName": "

The unique name of the domain.

", "GetDomainRequest$DomainName": "

The unique name of the domain.

", "GetDomainResponse$DomainName": "

The unique name of the domain.

", "GetIdentityResolutionJobRequest$DomainName": "

The unique name of the domain.

", @@ -83,6 +94,8 @@ "GetWorkflowStepsRequest$DomainName": "

The unique name of the domain.

", "IdentityResolutionJob$DomainName": "

The unique name of the domain.

", "KeyMap$key": null, + "ListCalculatedAttributeDefinitionsRequest$DomainName": "

The unique name of the domain.

", + "ListCalculatedAttributesForProfileRequest$DomainName": "

The unique name of the domain.

", "ListDomainItem$DomainName": "

The unique name of the domain.

", "ListIdentityResolutionJobsRequest$DomainName": "

The unique name of the domain.

", "ListIntegrationItem$DomainName": "

The unique name of the domain.

", @@ -94,7 +107,7 @@ "ListProfileObjectsRequest$DomainName": "

The unique name of the domain.

", "ListWorkflowsRequest$DomainName": "

The unique name of the domain.

", "MergeProfilesRequest$DomainName": "

The unique name of the domain.

", - "ObjectFilter$KeyName": "

A searchable identifier of a standard profile object. The predefined keys you can use to search for _asset include: _assetId, _assetName, _serialNumber. The predefined keys you can use to search for _case include: _caseId. The predefined keys you can use to search for _order include: _orderId.

", + "ObjectFilter$KeyName": "

A searchable identifier of a profile object. The predefined keys you can use to search for _asset include: _assetId, _assetName, and _serialNumber. The predefined keys you can use to search for _case include: _caseId. The predefined keys you can use to search for _order include: _orderId.

", "PutIntegrationRequest$DomainName": "

The unique name of the domain.

", "PutIntegrationResponse$DomainName": "

The unique name of the domain.

", "PutProfileObjectRequest$DomainName": "

The unique name of the domain.

", @@ -103,6 +116,7 @@ "PutProfileObjectTypeResponse$TemplateId": "

A unique identifier for the object template.

", "SearchProfilesRequest$DomainName": "

The unique name of the domain.

", "SearchProfilesRequest$KeyName": "

A searchable identifier of a customer profile. The predefined keys you can use to search include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId.

", + "UpdateCalculatedAttributeDefinitionRequest$DomainName": "

The unique name of the domain.

", "UpdateDomainRequest$DomainName": "

The unique name of the domain.

", "UpdateDomainResponse$DomainName": "

The unique name of the domain.

", "UpdateProfileRequest$DomainName": "

The unique name of the domain.

" @@ -166,6 +180,27 @@ "WorkflowStepItem$AppflowIntegration": "

Workflow step information specific to APPFLOW_INTEGRATION workflow.

" } }, + "AttributeDetails": { + "base": "

Mathematical expression and a list of attribute items specified in that expression.

", + "refs": { + "CreateCalculatedAttributeDefinitionRequest$AttributeDetails": "

Mathematical expression and a list of attribute items specified in that expression.

", + "CreateCalculatedAttributeDefinitionResponse$AttributeDetails": "

Mathematical expression and a list of attribute items specified in that expression.

", + "GetCalculatedAttributeDefinitionResponse$AttributeDetails": "

Mathematical expression and a list of attribute items specified in that expression.

", + "UpdateCalculatedAttributeDefinitionResponse$AttributeDetails": "

The mathematical expression and a list of attribute items specified in that expression.

" + } + }, + "AttributeItem": { + "base": "

The details of a single attribute item specified in the mathematical expression.

", + "refs": { + "AttributeList$member": null + } + }, + "AttributeList": { + "base": null, + "refs": { + "AttributeDetails$Attributes": "

A list of attribute items specified in the mathematical expression.

" + } + }, "AttributeSourceIdMap": { "base": null, "refs": { @@ -216,6 +251,28 @@ "S3SourceProperties$BucketPrefix": "

The object key for the Amazon S3 bucket in which the source files are stored.

" } }, + "CalculatedAttributeDefinitionsList": { + "base": null, + "refs": { + "ListCalculatedAttributeDefinitionsResponse$Items": "

The list of calculated attribute definitions.

" + } + }, + "CalculatedAttributesForProfileList": { + "base": null, + "refs": { + "ListCalculatedAttributesForProfileResponse$Items": "

The list of calculated attributes.

" + } + }, + "Conditions": { + "base": "

The conditions including range, object count, and threshold for the calculated attribute.

", + "refs": { + "CreateCalculatedAttributeDefinitionRequest$Conditions": "

The conditions including range, object count, and threshold for the calculated attribute.

", + "CreateCalculatedAttributeDefinitionResponse$Conditions": "

The conditions including range, object count, and threshold for the calculated attribute.

", + "GetCalculatedAttributeDefinitionResponse$Conditions": "

The conditions including range, object count, and threshold for the calculated attribute.

", + "UpdateCalculatedAttributeDefinitionRequest$Conditions": "

The conditions including range, object count, and threshold for the calculated attribute.

", + "UpdateCalculatedAttributeDefinitionResponse$Conditions": "

The conditions including range, object count, and threshold for the calculated attribute.

" + } + }, "ConflictResolution": { "base": "

How the auto-merging process should resolve conflicts between different profiles.

", "refs": { @@ -249,6 +306,16 @@ "GetAutoMergingPreviewRequest$Consolidation": "

A list of matching attributes that represent matching criteria.

" } }, + "CreateCalculatedAttributeDefinitionRequest": { + "base": null, + "refs": { + } + }, + "CreateCalculatedAttributeDefinitionResponse": { + "base": null, + "refs": { + } + }, "CreateDomainRequest": { "base": null, "refs": { @@ -299,6 +366,16 @@ "IncrementalPullConfig$DatetimeTypeFieldName": "

A field that specifies the date time or timestamp field as the criteria to use when importing incremental records from the source.

" } }, + "DeleteCalculatedAttributeDefinitionRequest": { + "base": null, + "refs": { + } + }, + "DeleteCalculatedAttributeDefinitionResponse": { + "base": null, + "refs": { + } + }, "DeleteDomainRequest": { "base": null, "refs": { @@ -485,6 +562,26 @@ "refs": { } }, + "GetCalculatedAttributeDefinitionRequest": { + "base": null, + "refs": { + } + }, + "GetCalculatedAttributeDefinitionResponse": { + "base": null, + "refs": { + } + }, + "GetCalculatedAttributeForProfileRequest": { + "base": null, + "refs": { + } + }, + "GetCalculatedAttributeForProfileResponse": { + "base": null, + "refs": { + } + }, "GetDomainRequest": { "base": null, "refs": { @@ -659,6 +756,38 @@ "refs": { } }, + "ListCalculatedAttributeDefinitionItem": { + "base": "

The details of a single calculated attribute definition.

", + "refs": { + "CalculatedAttributeDefinitionsList$member": null + } + }, + "ListCalculatedAttributeDefinitionsRequest": { + "base": null, + "refs": { + } + }, + "ListCalculatedAttributeDefinitionsResponse": { + "base": null, + "refs": { + } + }, + "ListCalculatedAttributeForProfileItem": { + "base": "

The details of a single calculated attribute for a profile.

", + "refs": { + "CalculatedAttributesForProfileList$member": null + } + }, + "ListCalculatedAttributesForProfileRequest": { + "base": null, + "refs": { + } + }, + "ListCalculatedAttributesForProfileResponse": { + "base": null, + "refs": { + } + }, "ListDomainItem": { "base": "

An object in a list that represents a domain.

", "refs": { @@ -845,10 +974,16 @@ "ZendeskSourceProperties$Object": "

The object specified in the Zendesk flow source.

" } }, + "ObjectCount": { + "base": null, + "refs": { + "Conditions$ObjectCount": "

The number of profile objects used for the calculated attribute.

" + } + }, "ObjectFilter": { - "base": "

The filter applied to ListProfileObjects response to include profile objects with the specified index values. This filter is only supported for ObjectTypeName _asset, _case and _order.

", + "base": "

The filter applied to ListProfileObjects response to include profile objects with the specified index values.

", "refs": { - "ListProfileObjectsRequest$ObjectFilter": "

Applies a filter to the response to include profile objects with the specified index values. This filter is only supported for ObjectTypeName _asset, _case and _order.

" + "ListProfileObjectsRequest$ObjectFilter": "

Applies a filter to the response to include profile objects with the specified index values.

" } }, "ObjectTypeField": { @@ -878,6 +1013,12 @@ "PutIntegrationResponse$ObjectTypeNames": "

A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an ObjectTypeName (template) used to ingest the event. It supports the following event types: SegmentIdentify, ShopifyCreateCustomers, ShopifyUpdateCustomers, ShopifyCreateDraftOrders, ShopifyUpdateDraftOrders, ShopifyCreateOrders, and ShopifyUpdatedOrders.

" } }, + "Operator": { + "base": null, + "refs": { + "Threshold$Operator": "

The operator of the threshold.

" + } + }, "OperatorPropertiesKeys": { "base": null, "refs": { @@ -970,6 +1111,12 @@ "refs": { } }, + "Range": { + "base": "

The relative time period over which data is included in the aggregation.

", + "refs": { + "Conditions$Range": "

The relative time period over which data is included in the aggregation.

" + } + }, "ResourceNotFoundException": { "base": "

The requested resource does not exist, or access was denied.

", "refs": { @@ -1094,6 +1241,15 @@ "ObjectTypeKey$StandardIdentifiers": "

The types of keys that a ProfileObject can have. Each ProfileObject can have only 1 UNIQUE key but multiple PROFILE keys. PROFILE, ASSET, CASE, or ORDER means that this key can be used to tie an object to a PROFILE, ASSET, CASE, or ORDER respectively. UNIQUE means that it can be used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is only used to match a profile but is not persisted to be used for searching of the profile. A NEW_ONLY key is only used if the profile does not already exist before the object is ingested, otherwise it is only used for matching objects to profiles.

" } }, + "Statistic": { + "base": null, + "refs": { + "CreateCalculatedAttributeDefinitionRequest$Statistic": "

The aggregation operation to perform for the calculated attribute.

", + "CreateCalculatedAttributeDefinitionResponse$Statistic": "

The aggregation operation to perform for the calculated attribute.

", + "GetCalculatedAttributeDefinitionResponse$Statistic": "

The aggregation operation to perform for the calculated attribute.

", + "UpdateCalculatedAttributeDefinitionResponse$Statistic": "

The aggregation operation to perform for the calculated attribute.

" + } + }, "Status": { "base": null, "refs": { @@ -1127,12 +1283,16 @@ "TagMap": { "base": null, "refs": { + "CreateCalculatedAttributeDefinitionRequest$Tags": "

The tags used to organize, track, or control access for this resource.

", + "CreateCalculatedAttributeDefinitionResponse$Tags": "

The tags used to organize, track, or control access for this resource.

", "CreateDomainRequest$Tags": "

The tags used to organize, track, or control access for this resource.

", "CreateDomainResponse$Tags": "

The tags used to organize, track, or control access for this resource.

", "CreateIntegrationWorkflowRequest$Tags": "

The tags used to organize, track, or control access for this resource.

", + "GetCalculatedAttributeDefinitionResponse$Tags": "

The tags used to organize, track, or control access for this resource.

", "GetDomainResponse$Tags": "

The tags used to organize, track, or control access for this resource.

", "GetIntegrationResponse$Tags": "

The tags used to organize, track, or control access for this resource.

", "GetProfileObjectTypeResponse$Tags": "

The tags used to organize, track, or control access for this resource.

", + "ListCalculatedAttributeDefinitionItem$Tags": "

The tags used to organize, track, or control access for this resource.

", "ListDomainItem$Tags": "

The tags used to organize, track, or control access for this resource.

", "ListIntegrationItem$Tags": "

The tags used to organize, track, or control access for this resource.

", "ListProfileObjectTypeItem$Tags": "

The tags used to organize, track, or control access for this resource.

", @@ -1142,6 +1302,7 @@ "PutProfileObjectTypeRequest$Tags": "

The tags used to organize, track, or control access for this resource.

", "PutProfileObjectTypeResponse$Tags": "

The tags used to organize, track, or control access for this resource.

", "TagResourceRequest$tags": "

The tags used to organize, track, or control access for this resource.

", + "UpdateCalculatedAttributeDefinitionResponse$Tags": "

The tags used to organize, track, or control access for this resource.

", "UpdateDomainRequest$Tags": "

The tags used to organize, track, or control access for this resource.

", "UpdateDomainResponse$Tags": "

The tags used to organize, track, or control access for this resource.

" } @@ -1186,6 +1347,12 @@ "FlowDefinition$Tasks": "

A list of tasks that Customer Profiles performs while transferring the data in the flow run.

" } }, + "Threshold": { + "base": "

The threshold for the calculated attribute.

", + "refs": { + "Conditions$Threshold": "

The threshold for the calculated attribute.

" + } + }, "ThrottlingException": { "base": "

You exceeded the maximum number of requests.

", "refs": { @@ -1215,6 +1382,12 @@ "TriggerConfig$TriggerType": "

Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.

" } }, + "Unit": { + "base": null, + "refs": { + "Range$Unit": "

The unit of time.

" + } + }, "UntagResourceRequest": { "base": null, "refs": { @@ -1240,6 +1413,16 @@ "UpdateProfileRequest$Attributes": "

A key value pair of attributes of a customer profile.

" } }, + "UpdateCalculatedAttributeDefinitionRequest": { + "base": null, + "refs": { + } + }, + "UpdateCalculatedAttributeDefinitionResponse": { + "base": null, + "refs": { + } + }, "UpdateDomainRequest": { "base": null, "refs": { @@ -1260,6 +1443,12 @@ "refs": { } }, + "Value": { + "base": null, + "refs": { + "Range$Value": "

The amount of time of the specified unit.

" + } + }, "WorkflowAttributes": { "base": "

Structure to hold workflow attributes.

", "refs": { @@ -1318,6 +1507,12 @@ "SearchProfilesRequest$AdditionalSearchKeys": "

A list of AdditionalSearchKey objects that are each searchable identifiers of a profile. Each AdditionalSearchKey object contains a KeyName and a list of Values associated with that specific key (i.e., a key-value(s) pair). These additional search keys will be used in conjunction with the LogicalOperator and the required KeyName and Values parameters to search for profiles that satisfy the search criteria.

" } }, + "attributeName": { + "base": null, + "refs": { + "AttributeItem$Name": "

The name of an attribute defined in a profile object type.

" + } + }, "boolean": { "base": null, "refs": { @@ -1329,6 +1524,19 @@ "SalesforceSourceProperties$IncludeDeletedRecords": "

Indicates whether Amazon AppFlow includes deleted files in the flow run.

" } }, + "displayName": { + "base": null, + "refs": { + "CreateCalculatedAttributeDefinitionRequest$DisplayName": "

The display name of the calculated attribute.

", + "CreateCalculatedAttributeDefinitionResponse$DisplayName": "

The display name of the calculated attribute.

", + "GetCalculatedAttributeDefinitionResponse$DisplayName": "

The display name of the calculated attribute.

", + "GetCalculatedAttributeForProfileResponse$DisplayName": "

The display name of the calculated attribute.

", + "ListCalculatedAttributeDefinitionItem$DisplayName": "

The display name of the calculated attribute.

", + "ListCalculatedAttributeForProfileItem$DisplayName": "

The display name of the calculated attribute.

", + "UpdateCalculatedAttributeDefinitionRequest$DisplayName": "

The display name of the calculated attribute.

", + "UpdateCalculatedAttributeDefinitionResponse$DisplayName": "

The display name of the calculated attribute.

" + } + }, "encryptionKey": { "base": null, "refs": { @@ -1398,6 +1606,8 @@ "GetMatchesRequest$MaxResults": "

The maximum number of results to return per page.

", "GetWorkflowStepsRequest$MaxResults": "

The maximum number of results to return per page.

", "ListAccountIntegrationsRequest$MaxResults": "

The maximum number of objects returned per page.

", + "ListCalculatedAttributeDefinitionsRequest$MaxResults": "

The maximum number of calculated attribute definitions returned per page.

", + "ListCalculatedAttributesForProfileRequest$MaxResults": "

The maximum number of calculated attributes returned per page.

", "ListDomainsRequest$MaxResults": "

The maximum number of objects returned per page.

", "ListIdentityResolutionJobsRequest$MaxResults": "

The maximum number of results to return per page.

", "ListIntegrationsRequest$MaxResults": "

The maximum number of objects returned per page.

", @@ -1540,6 +1750,7 @@ "AppflowIntegrationWorkflowStep$ExecutionMessage": "

Message indicating execution of workflow step for APPFLOW_INTEGRATION workflow.

", "AppflowIntegrationWorkflowStep$BatchRecordsStartTime": "

Start datetime of records pulled in batch during execution of workflow step for APPFLOW_INTEGRATION workflow.

", "AppflowIntegrationWorkflowStep$BatchRecordsEndTime": "

End datetime of records pulled in batch during execution of workflow step for APPFLOW_INTEGRATION workflow.

", + "AttributeDetails$Expression": "

Mathematical expression that is performed on attribute items provided in the attribute list. Each element in the expression should follow the structure of \\\"{ObjectTypeName.AttributeName}\\\".

", "AttributeSourceIdMap$key": null, "Attributes$key": null, "Attributes$value": null, @@ -1563,6 +1774,8 @@ "DeleteIntegrationRequest$Uri": "

The URI of the S3 bucket or any other type of data source.

", "DeleteProfileObjectRequest$ProfileObjectUniqueKey": "

The unique identifier of the profile object generated by the service.

", "DeleteWorkflowRequest$WorkflowId": "

Unique identifier for the workflow.

", + "GetCalculatedAttributeForProfileResponse$IsDataPartial": "

Indicates whether the calculated attribute’s value is based on partial data. If data is partial, it is set to true.

", + "GetCalculatedAttributeForProfileResponse$Value": "

The value of the calculated attribute.

", "GetIntegrationRequest$Uri": "

The URI of the S3 bucket or any other type of data source.

", "GetIntegrationResponse$Uri": "

The URI of the S3 bucket or any other type of data source.

", "GetIntegrationResponse$WorkflowId": "

Unique identifier for the workflow.

", @@ -1570,6 +1783,8 @@ "GetProfileObjectTypeTemplateResponse$SourceLastUpdatedTimestampFormat": "

The format of your sourceLastUpdatedTimestamp that was previously set up.

", "GetWorkflowResponse$ErrorDescription": "

Workflow error messages during execution (if any).

", "ListAccountIntegrationsRequest$Uri": "

The URI of the S3 bucket or any other type of data source.

", + "ListCalculatedAttributeForProfileItem$IsDataPartial": "

Indicates whether the calculated attribute’s value is based on partial data. If data is partial, it is set to true.

", + "ListCalculatedAttributeForProfileItem$Value": "

The value of the calculated attribute.

", "ListIntegrationItem$Uri": "

The URI of the S3 bucket or any other type of data source.

", "ListIntegrationItem$WorkflowId": "

Unique identifier for the workflow.

", "ListProfileObjectsItem$ProfileObjectUniqueKey": "

The unique identifier of the ProfileObject generated by the service.

", @@ -1599,6 +1814,7 @@ "PutProfileObjectResponse$ProfileObjectUniqueKey": "

The unique identifier of the profile object generated by the service.

", "PutProfileObjectTypeRequest$SourceLastUpdatedTimestampFormat": "

The format of your sourceLastUpdatedTimestamp that was previously set up.

", "PutProfileObjectTypeResponse$SourceLastUpdatedTimestampFormat": "

The format of your sourceLastUpdatedTimestamp that was previously set up in fields that were parsed using SimpleDateFormat. If you have sourceLastUpdatedTimestamp in your field, you must set up sourceLastUpdatedTimestampFormat.

", + "Threshold$Value": "

The value of the threshold.

", "UpdateAttributes$key": null, "requestValueList$member": null } @@ -1621,12 +1837,18 @@ "text": { "base": null, "refs": { + "CreateCalculatedAttributeDefinitionRequest$Description": "

The description of the calculated attribute.

", + "CreateCalculatedAttributeDefinitionResponse$Description": "

The description of the calculated attribute.

", + "GetCalculatedAttributeDefinitionResponse$Description": "

The description of the calculated attribute.

", "GetProfileObjectTypeResponse$Description": "

The description of the profile object type.

", + "ListCalculatedAttributeDefinitionItem$Description": "

The threshold for the calculated attribute.

", "ListProfileObjectTypeItem$Description": "

Description of the profile object type.

", "ObjectTypeField$Source": "

A field of a ProfileObject. For example: _source.FirstName, where “_source” is a ProfileObjectType of a Zendesk user and “FirstName” is a field in that ObjectType.

", "ObjectTypeField$Target": "

The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.

", "PutProfileObjectTypeRequest$Description": "

Description of the profile object type.

", - "PutProfileObjectTypeResponse$Description": "

Description of the profile object type.

" + "PutProfileObjectTypeResponse$Description": "

Description of the profile object type.

", + "UpdateCalculatedAttributeDefinitionRequest$Description": "

The description of the calculated attribute.

", + "UpdateCalculatedAttributeDefinitionResponse$Description": "

The description of the calculated attribute.

" } }, "timestamp": { @@ -1636,8 +1858,12 @@ "AppflowIntegrationWorkflowStep$LastUpdatedAt": "

Last updated timestamp for workflow step for APPFLOW_INTEGRATION workflow.

", "Batch$StartTime": "

Start time of batch to split ingestion.

", "Batch$EndTime": "

End time of batch to split ingestion.

", + "CreateCalculatedAttributeDefinitionResponse$CreatedAt": "

The timestamp of when the calculated attribute definition was created.

", + "CreateCalculatedAttributeDefinitionResponse$LastUpdatedAt": "

The timestamp of when the calculated attribute definition was most recently edited.

", "CreateDomainResponse$CreatedAt": "

The timestamp of when the domain was created.

", "CreateDomainResponse$LastUpdatedAt": "

The timestamp of when the domain was most recently edited.

", + "GetCalculatedAttributeDefinitionResponse$CreatedAt": "

The timestamp of when the calculated attribute definition was created.

", + "GetCalculatedAttributeDefinitionResponse$LastUpdatedAt": "

The timestamp of when the calculated attribute definition was most recently edited.

", "GetDomainResponse$CreatedAt": "

The timestamp of when the domain was created.

", "GetDomainResponse$LastUpdatedAt": "

The timestamp of when the domain was most recently edited.

", "GetIdentityResolutionJobResponse$JobStartTime": "

The timestamp of when the Identity Resolution Job was started or will be started.

", @@ -1653,6 +1879,8 @@ "GetWorkflowResponse$LastUpdatedAt": "

The timestamp that represents when workflow execution last updated.

", "IdentityResolutionJob$JobStartTime": "

The timestamp of when the job was started or will be started.

", "IdentityResolutionJob$JobEndTime": "

The timestamp of when the job was completed.

", + "ListCalculatedAttributeDefinitionItem$CreatedAt": "

The threshold for the calculated attribute.

", + "ListCalculatedAttributeDefinitionItem$LastUpdatedAt": "

The timestamp of when the calculated attribute definition was most recently edited.

", "ListDomainItem$CreatedAt": "

The timestamp of when the domain was created.

", "ListDomainItem$LastUpdatedAt": "

The timestamp of when the domain was most recently edited.

", "ListIntegrationItem$CreatedAt": "

The timestamp of when the domain was created.

", @@ -1667,6 +1895,8 @@ "PutIntegrationResponse$LastUpdatedAt": "

The timestamp of when the domain was most recently edited.

", "PutProfileObjectTypeResponse$CreatedAt": "

The timestamp of when the domain was created.

", "PutProfileObjectTypeResponse$LastUpdatedAt": "

The timestamp of when the domain was most recently edited.

", + "UpdateCalculatedAttributeDefinitionResponse$CreatedAt": "

The timestamp of when the calculated attribute definition was created.

", + "UpdateCalculatedAttributeDefinitionResponse$LastUpdatedAt": "

The timestamp of when the calculated attribute definition was most recently edited.

", "UpdateDomainResponse$CreatedAt": "

The timestamp of when the domain was created.

", "UpdateDomainResponse$LastUpdatedAt": "

The timestamp of when the domain was most recently edited.

" } @@ -1680,6 +1910,10 @@ "GetWorkflowStepsResponse$NextToken": "

If there are additional results, this is the token for the next set of results.

", "ListAccountIntegrationsRequest$NextToken": "

The pagination token from the previous ListAccountIntegrations API call.

", "ListAccountIntegrationsResponse$NextToken": "

The pagination token from the previous ListAccountIntegrations API call.

", + "ListCalculatedAttributeDefinitionsRequest$NextToken": "

The pagination token from the previous call to ListCalculatedAttributeDefinitions.

", + "ListCalculatedAttributeDefinitionsResponse$NextToken": "

The pagination token from the previous call to ListCalculatedAttributeDefinitions.

", + "ListCalculatedAttributesForProfileRequest$NextToken": "

The pagination token from the previous call to ListCalculatedAttributesForProfile.

", + "ListCalculatedAttributesForProfileResponse$NextToken": "

The pagination token from the previous call to ListCalculatedAttributesForProfile.

", "ListDomainsRequest$NextToken": "

The pagination token from the previous ListDomain API call.

", "ListDomainsResponse$NextToken": "

The pagination token from the previous ListDomains API call.

", "ListIdentityResolutionJobsRequest$NextToken": "

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

", @@ -1701,12 +1935,21 @@ "typeName": { "base": null, "refs": { + "CreateCalculatedAttributeDefinitionRequest$CalculatedAttributeName": "

The unique name of the calculated attribute.

", + "CreateCalculatedAttributeDefinitionResponse$CalculatedAttributeName": "

The unique name of the calculated attribute.

", "CreateIntegrationWorkflowRequest$ObjectTypeName": "

The name of the profile object type.

", + "DeleteCalculatedAttributeDefinitionRequest$CalculatedAttributeName": "

The unique name of the calculated attribute.

", "DeleteProfileObjectRequest$ObjectTypeName": "

The name of the profile object type.

", "DeleteProfileObjectTypeRequest$ObjectTypeName": "

The name of the profile object type.

", + "GetCalculatedAttributeDefinitionRequest$CalculatedAttributeName": "

The unique name of the calculated attribute.

", + "GetCalculatedAttributeDefinitionResponse$CalculatedAttributeName": "

The unique name of the calculated attribute.

", + "GetCalculatedAttributeForProfileRequest$CalculatedAttributeName": "

The unique name of the calculated attribute.

", + "GetCalculatedAttributeForProfileResponse$CalculatedAttributeName": "

The unique name of the calculated attribute.

", "GetIntegrationResponse$ObjectTypeName": "

The name of the profile object type.

", "GetProfileObjectTypeRequest$ObjectTypeName": "

The name of the profile object type.

", "GetProfileObjectTypeResponse$ObjectTypeName": "

The name of the profile object type.

", + "ListCalculatedAttributeDefinitionItem$CalculatedAttributeName": "

The unique name of the calculated attribute.

", + "ListCalculatedAttributeForProfileItem$CalculatedAttributeName": "

The unique name of the calculated attribute.

", "ListIntegrationItem$ObjectTypeName": "

The name of the profile object type.

", "ListProfileObjectTypeItem$ObjectTypeName": "

The name of the profile object type.

", "ListProfileObjectsItem$ObjectTypeName": "

Specifies the kind of object being added to a profile, such as \"Salesforce-Account.\"

", @@ -1716,7 +1959,9 @@ "PutIntegrationResponse$ObjectTypeName": "

The name of the profile object type.

", "PutProfileObjectRequest$ObjectTypeName": "

The name of the profile object type.

", "PutProfileObjectTypeRequest$ObjectTypeName": "

The name of the profile object type.

", - "PutProfileObjectTypeResponse$ObjectTypeName": "

The name of the profile object type.

" + "PutProfileObjectTypeResponse$ObjectTypeName": "

The name of the profile object type.

", + "UpdateCalculatedAttributeDefinitionRequest$CalculatedAttributeName": "

The unique name of the calculated attribute.

", + "UpdateCalculatedAttributeDefinitionResponse$CalculatedAttributeName": "

The unique name of the calculated attribute.

" } }, "uuid": { @@ -1749,6 +1994,7 @@ "FieldSourceProfileIds$ShippingAddress": "

A unique identifier for the shipping address field to be merged.

", "FieldSourceProfileIds$MailingAddress": "

A unique identifier for the mailing address field to be merged.

", "FieldSourceProfileIds$BillingAddress": "

A unique identifier for the billing type field to be merged.

", + "GetCalculatedAttributeForProfileRequest$ProfileId": "

The unique identifier of a customer profile.

", "GetIdentityResolutionJobRequest$JobId": "

The unique identifier of the Identity Resolution Job.

", "GetIdentityResolutionJobResponse$JobId": "

The unique identifier of the Identity Resolution Job.

", "GetWorkflowRequest$WorkflowId": "

Unique identifier for the workflow.

", @@ -1756,6 +2002,7 @@ "GetWorkflowStepsRequest$WorkflowId": "

Unique identifier for the workflow.

", "GetWorkflowStepsResponse$WorkflowId": "

Unique identifier for the workflow.

", "IdentityResolutionJob$JobId": "

The unique identifier of the Identity Resolution Job.

", + "ListCalculatedAttributesForProfileRequest$ProfileId": "

The unique identifier of a customer profile.

", "ListProfileObjectsRequest$ProfileId": "

The unique identifier of a customer profile.

", "MergeProfilesRequest$MainProfileId": "

The identifier of the profile to be taken.

", "Profile$ProfileId": "

The unique identifier of a customer profile.

", diff --git a/models/apis/customer-profiles/2020-08-15/endpoint-rule-set-1.json b/models/apis/customer-profiles/2020-08-15/endpoint-rule-set-1.json index 14c2b402904..a70609892ae 100644 --- a/models/apis/customer-profiles/2020-08-15/endpoint-rule-set-1.json +++ b/models/apis/customer-profiles/2020-08-15/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": true, + "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -32,13 +32,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -46,14 +45,20 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } + "ref": "UseFIPS" + }, + true ] } ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], "type": "tree", "rules": [ { @@ -62,67 +67,42 @@ "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "ref": "UseDualStack" }, true ] } ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "error": "Invalid Configuration: Dualstack 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" + "endpoint": { + "url": { + "ref": "Endpoint" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", + "fn": "isSet", "argv": [ { - "ref": "UseDualStack" - }, - true + "ref": "Region" + } ] } ], @@ -131,154 +111,215 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "aws.partition", "argv": [ - true, { - "fn": "getAttr", + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + true ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, + }, { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsDualStack" + true ] } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], + ], "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://profile-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, { "conditions": [], - "endpoint": { - "url": "https://profile-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" } ] - } - ] - }, - { - "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, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + true ] } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], + ], "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://profile-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, { "conditions": [], - "endpoint": { - "url": "https://profile-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } ] - } - ] - }, - { - "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, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsDualStack" + 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://profile.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] - } - ], - "type": "tree", - "rules": [ + }, { "conditions": [], "type": "tree", @@ -286,7 +327,7 @@ { "conditions": [], "endpoint": { - "url": "https://profile.{Region}.{PartitionResult#dualStackDnsSuffix}", + "url": "https://profile.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, @@ -295,28 +336,13 @@ ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } ] }, { "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://profile.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } diff --git a/models/apis/customer-profiles/2020-08-15/endpoint-tests-1.json b/models/apis/customer-profiles/2020-08-15/endpoint-tests-1.json index ac21c772687..1997557a244 100644 --- a/models/apis/customer-profiles/2020-08-15/endpoint-tests-1.json +++ b/models/apis/customer-profiles/2020-08-15/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "af-south-1", "UseFIPS": false, - "Region": "af-south-1" + "UseDualStack": false } }, { @@ -21,9 +21,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "ap-northeast-1", "UseFIPS": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { @@ -34,9 +34,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "ap-northeast-2", "UseFIPS": false, - "Region": "ap-northeast-2" + "UseDualStack": false } }, { @@ -47,9 +47,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "ap-southeast-1", "UseFIPS": false, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { @@ -60,9 +60,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "ap-southeast-2", "UseFIPS": false, - "Region": "ap-southeast-2" + "UseDualStack": false } }, { @@ -73,9 +73,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "ca-central-1", "UseFIPS": false, - "Region": "ca-central-1" + "UseDualStack": false } }, { @@ -86,9 +86,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "eu-central-1", "UseFIPS": false, - "Region": "eu-central-1" + "UseDualStack": false } }, { @@ -99,9 +99,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "eu-west-2", "UseFIPS": false, - "Region": "eu-west-2" + "UseDualStack": false } }, { @@ -112,9 +112,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -125,9 +125,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-west-2", "UseFIPS": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -138,9 +138,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -151,9 +151,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -164,9 +164,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -177,9 +177,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -190,9 +190,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -203,9 +203,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -216,9 +216,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -229,9 +229,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -242,9 +242,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -255,9 +255,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -268,9 +268,20 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "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 } }, { @@ -281,9 +292,20 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "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 } }, { @@ -294,9 +316,20 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "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 } }, { @@ -307,9 +340,20 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "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 } }, { @@ -320,22 +364,35 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "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, - "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -345,9 +402,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -357,11 +414,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/models/apis/ivs/2020-07-14/api-2.json b/models/apis/ivs/2020-07-14/api-2.json index 878e68a6444..a164b833d40 100644 --- a/models/apis/ivs/2020-07-14/api-2.json +++ b/models/apis/ivs/2020-07-14/api-2.json @@ -514,6 +514,7 @@ "latencyMode":{"shape":"ChannelLatencyMode"}, "name":{"shape":"ChannelName"}, "playbackUrl":{"shape":"PlaybackURL"}, + "preset":{"shape":"TranscodePreset"}, "recordingConfigurationArn":{"shape":"ChannelRecordingConfigurationArn"}, "tags":{"shape":"Tags"}, "type":{"shape":"ChannelType"} @@ -573,15 +574,19 @@ "insecureIngest":{"shape":"InsecureIngest"}, "latencyMode":{"shape":"ChannelLatencyMode"}, "name":{"shape":"ChannelName"}, + "preset":{"shape":"TranscodePreset"}, "recordingConfigurationArn":{"shape":"ChannelRecordingConfigurationArn"}, - "tags":{"shape":"Tags"} + "tags":{"shape":"Tags"}, + "type":{"shape":"ChannelType"} } }, "ChannelType":{ "type":"string", "enum":[ "BASIC", - "STANDARD" + "STANDARD", + "ADVANCED_SD", + "ADVANCED_HD" ] }, "Channels":{ @@ -606,6 +611,7 @@ "insecureIngest":{"shape":"Boolean"}, "latencyMode":{"shape":"ChannelLatencyMode"}, "name":{"shape":"ChannelName"}, + "preset":{"shape":"TranscodePreset"}, "recordingConfigurationArn":{"shape":"ChannelRecordingConfigurationArn"}, "tags":{"shape":"Tags"}, "type":{"shape":"ChannelType"} @@ -1351,6 +1357,13 @@ "type":"timestamp", "timestampFormat":"iso8601" }, + "TranscodePreset":{ + "type":"string", + "enum":[ + "HIGHER_BANDWIDTH_DELIVERY", + "CONSTRAINED_BANDWIDTH_DELIVERY" + ] + }, "UntagResourceRequest":{ "type":"structure", "required":[ @@ -1384,6 +1397,7 @@ "insecureIngest":{"shape":"Boolean"}, "latencyMode":{"shape":"ChannelLatencyMode"}, "name":{"shape":"ChannelName"}, + "preset":{"shape":"TranscodePreset"}, "recordingConfigurationArn":{"shape":"ChannelRecordingConfigurationArn"}, "type":{"shape":"ChannelType"} } diff --git a/models/apis/ivs/2020-07-14/docs-2.json b/models/apis/ivs/2020-07-14/docs-2.json index 12d72caddde..8fdf58c8c14 100644 --- a/models/apis/ivs/2020-07-14/docs-2.json +++ b/models/apis/ivs/2020-07-14/docs-2.json @@ -29,7 +29,7 @@ "StopStream": "

Disconnects the incoming RTMPS stream for the specified channel. Can be used in conjunction with DeleteStreamKey to prevent further streaming to a channel.

Many streaming client-software libraries automatically reconnect a dropped RTMPS session, so to stop the stream permanently, you may want to first revoke the streamKey attached to the channel.

", "TagResource": "

Adds or updates tags for the Amazon Web Services resource with the specified ARN.

", "UntagResource": "

Removes tags from the resource with the specified ARN.

", - "UpdateChannel": "

Updates a channel's configuration. This does not affect an ongoing stream of this channel. You must stop and restart the stream for the changes to take effect.

" + "UpdateChannel": "

Updates a channel's configuration. Live channels cannot be updated. You must stop the ongoing stream, update the channel, and restart the stream for the changes to take effect.

" }, "shapes": { "AccessDeniedException": { @@ -173,9 +173,10 @@ "ChannelType": { "base": null, "refs": { - "Channel$type": "

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately. Default: STANDARD. Valid values:

", - "CreateChannelRequest$type": "

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately. Default: STANDARD. Valid values:

", - "UpdateChannelRequest$type": "

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately. Valid values:

" + "Channel$type": "

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Some types generate multiple qualities (renditions) from the original input; this automatically gives viewers the best experience for their devices and network conditions. Some types provide transcoded video; transcoding allows higher playback quality across a range of download speeds. Default: STANDARD. Valid values:

Optional transcode presets (available for the ADVANCED types) allow you to trade off available download bandwidth and video quality, to optimize the viewing experience. There are two presets:

", + "ChannelSummary$type": "

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Some types generate multiple qualities (renditions) from the original input; this automatically gives viewers the best experience for their devices and network conditions. Some types provide transcoded video; transcoding allows higher playback quality across a range of download speeds. Default: STANDARD. Valid values:

Optional transcode presets (available for the ADVANCED types) allow you to trade off available download bandwidth and video quality, to optimize the viewing experience. There are two presets:

", + "CreateChannelRequest$type": "

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Some types generate multiple qualities (renditions) from the original input; this automatically gives viewers the best experience for their devices and network conditions. Some types provide transcoded video; transcoding allows higher playback quality across a range of download speeds. Default: STANDARD. Valid values:

Optional transcode presets (available for the ADVANCED types) allow you to trade off available download bandwidth and video quality, to optimize the viewing experience. There are two presets:

", + "UpdateChannelRequest$type": "

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Some types generate multiple qualities (renditions) from the original input; this automatically gives viewers the best experience for their devices and network conditions. Some types provide transcoded video; transcoding allows higher playback quality across a range of download speeds. Default: STANDARD. Valid values:

Optional transcode presets (available for the ADVANCED types) allow you to trade off available download bandwidth and video quality, to optimize the viewing experience. There are two presets:

" } }, "Channels": { @@ -887,6 +888,15 @@ "StreamSessionSummary$startTime": "

Time when the channel went live. This is an ISO 8601 timestamp; note that this is returned as a string.

" } }, + "TranscodePreset": { + "base": null, + "refs": { + "Channel$preset": "

Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string (\"\").

", + "ChannelSummary$preset": "

Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string (\"\").

", + "CreateChannelRequest$preset": "

Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string (\"\").

", + "UpdateChannelRequest$preset": "

Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string (\"\").

" + } + }, "UntagResourceRequest": { "base": null, "refs": { diff --git a/models/apis/ivs/2020-07-14/endpoint-tests-1.json b/models/apis/ivs/2020-07-14/endpoint-tests-1.json index 893c2009eed..de653a93c40 100644 --- a/models/apis/ivs/2020-07-14/endpoint-tests-1.json +++ b/models/apis/ivs/2020-07-14/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { + "Region": "ap-northeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { @@ -21,9 +21,9 @@ } }, "params": { + "Region": "ap-northeast-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-2" + "UseDualStack": false } }, { @@ -34,9 +34,9 @@ } }, "params": { + "Region": "ap-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-south-1" + "UseDualStack": false } }, { @@ -47,9 +47,9 @@ } }, "params": { + "Region": "eu-central-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-central-1" + "UseDualStack": false } }, { @@ -60,9 +60,9 @@ } }, "params": { + "Region": "eu-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-1" + "UseDualStack": false } }, { @@ -73,9 +73,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -86,9 +86,9 @@ } }, "params": { + "Region": "us-west-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -99,9 +99,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -112,9 +112,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -125,9 +125,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -138,9 +138,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -151,9 +151,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -164,9 +164,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -177,9 +177,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -190,9 +190,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -203,9 +203,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -216,9 +216,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -229,9 +229,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -240,9 +240,9 @@ "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, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { @@ -253,9 +253,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { @@ -264,9 +264,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { @@ -277,9 +277,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { @@ -288,9 +288,9 @@ "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, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -301,9 +301,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -312,9 +312,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -325,9 +325,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -338,9 +338,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -363,9 +363,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -375,9 +375,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, diff --git a/models/apis/sagemaker/2017-07-24/docs-2.json b/models/apis/sagemaker/2017-07-24/docs-2.json index b670c1a934b..48b7c9aeee0 100644 --- a/models/apis/sagemaker/2017-07-24/docs-2.json +++ b/models/apis/sagemaker/2017-07-24/docs-2.json @@ -2147,7 +2147,7 @@ "base": null, "refs": { "AutoMLChannel$ContentType": "

The content type of the data from the input source. You can use text/csv;header=present or x-application/vnd.amazon+parquet. The default value is text/csv;header=present.

", - "AutoMLJobChannel$ContentType": "

The content type of the data from the input source. The following are the allowed content types for different problems:

", + "AutoMLJobChannel$ContentType": "

The content type of the data from the input source. The following are the allowed content types for different problems:

", "Channel$ContentType": "

The MIME type of the data.

", "ContentTypes$member": null, "FileSource$ContentType": "

The type of content stored in the file source.

", @@ -3329,7 +3329,7 @@ } }, "DeploymentRecommendation": { - "base": "

A set of recommended deployment configurations for the model.

", + "base": "

A set of recommended deployment configurations for the model. To get more advanced recommendations, see CreateInferenceRecommendationsJob to create an inference recommendation job.

", "refs": { "DescribeModelOutput$DeploymentRecommendation": "

A set of recommended deployment configurations for the model.

", "Model$DeploymentRecommendation": "

A set of recommended deployment configurations for the model.

" @@ -11186,7 +11186,7 @@ } }, "RStudioServerProAppSettings": { - "base": "

A collection of settings that configure user interaction with the RStudioServerPro app. RStudioServerProAppSettings cannot be updated. The RStudioServerPro app must be deleted and a new one created to make any changes.

", + "base": "

A collection of settings that configure user interaction with the RStudioServerPro app.

", "refs": { "UserSettings$RStudioServerProAppSettings": "

A collection of settings that configure user interaction with the RStudioServerPro app.

" } @@ -11406,7 +11406,7 @@ "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.

" + "DeploymentRecommendation$RecommendationStatus": "

Status of the deployment recommendation. The status NOT_APPLICABLE means that SageMaker is unable to provide a default recommendation for the model using the information provided. If the deployment status is IN_PROGRESS, retry your API call after a few seconds to get a COMPLETED deployment recommendation.

" } }, "RecommendationStepType": { diff --git a/models/apis/wafv2/2019-07-29/docs-2.json b/models/apis/wafv2/2019-07-29/docs-2.json index 838f5ed730e..d18cd20c874 100755 --- a/models/apis/wafv2/2019-07-29/docs-2.json +++ b/models/apis/wafv2/2019-07-29/docs-2.json @@ -1002,9 +1002,9 @@ } }, "HeaderOrder": { - "base": "

Inspect a string containing the list of the request's header names, ordered as they appear in the web request that WAF receives for inspection. WAF generates the string and then uses that as the field to match component in its inspection. WAF separates the header names in the string using commas and no added spaces.

Matches against the header order string are case insensitive.

", + "base": "

Inspect a string containing the list of the request's header names, ordered as they appear in the web request that WAF receives for inspection. WAF generates the string and then uses that as the field to match component in its inspection. WAF separates the header names in the string using colons and no added spaces, for example Host:User-Agent:Accept:Authorization:Referer.

Matches against the header order string are case insensitive.

", "refs": { - "FieldToMatch$HeaderOrder": "

Inspect a string containing the list of the request's header names, ordered as they appear in the web request that WAF receives for inspection. WAF generates the string and then uses that as the field to match component in its inspection. WAF separates the header names in the string using commas and no added spaces.

Matches against the header order string are case insensitive.

" + "FieldToMatch$HeaderOrder": "

Inspect a string containing the list of the request's header names, ordered as they appear in the web request that WAF receives for inspection. WAF generates the string and then uses that as the field to match component in its inspection. WAF separates the header names in the string using colons and no added spaces, for example Host:User-Agent:Accept:Authorization:Referer.

Matches against the header order string are case insensitive.

" } }, "HeaderValue": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index a302f64d975..b7e9f016fdf 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -2213,6 +2213,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -13997,6 +13998,8 @@ "securitylake" : { "endpoints" : { "ap-northeast-1" : { }, + "ap-northeast-2" : { }, + "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "eu-central-1" : { }, @@ -14005,6 +14008,7 @@ "sa-east-1" : { }, "us-east-1" : { }, "us-east-2" : { }, + "us-west-1" : { }, "us-west-2" : { } } }, @@ -21529,6 +21533,36 @@ "us-gov-west-1" : { } } }, + "mgn" : { + "endpoints" : { + "fips-us-gov-east-1" : { + "credentialScope" : { + "region" : "us-gov-east-1" + }, + "deprecated" : true, + "hostname" : "mgn-fips.us-gov-east-1.amazonaws.com" + }, + "fips-us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "deprecated" : true, + "hostname" : "mgn-fips.us-gov-west-1.amazonaws.com" + }, + "us-gov-east-1" : { + "variants" : [ { + "hostname" : "mgn-fips.us-gov-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-gov-west-1" : { + "variants" : [ { + "hostname" : "mgn-fips.us-gov-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + } + } + }, "models.lex" : { "defaults" : { "credentialScope" : { @@ -23770,7 +23804,8 @@ }, "tagging" : { "endpoints" : { - "us-iso-east-1" : { } + "us-iso-east-1" : { }, + "us-iso-west-1" : { } } }, "transcribe" : { diff --git a/service/alexaforbusiness/api.go b/service/alexaforbusiness/api.go index 170b04fc8b2..53f779054e3 100644 --- a/service/alexaforbusiness/api.go +++ b/service/alexaforbusiness/api.go @@ -38,7 +38,12 @@ const opApproveSkill = "ApproveSkill" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ApproveSkill +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ApproveSkillRequest(input *ApproveSkillInput) (req *request.Request, output *ApproveSkillOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, ApproveSkill, has been deprecated") + } op := &request.Operation{ Name: opApproveSkill, HTTPMethod: "POST", @@ -80,6 +85,8 @@ func (c *AlexaForBusiness) ApproveSkillRequest(input *ApproveSkillInput) (req *r // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ApproveSkill +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ApproveSkill(input *ApproveSkillInput) (*ApproveSkillOutput, error) { req, out := c.ApproveSkillRequest(input) return out, req.Send() @@ -94,6 +101,8 @@ func (c *AlexaForBusiness) ApproveSkill(input *ApproveSkillInput) (*ApproveSkill // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ApproveSkillWithContext(ctx aws.Context, input *ApproveSkillInput, opts ...request.Option) (*ApproveSkillOutput, error) { req, out := c.ApproveSkillRequest(input) req.SetContext(ctx) @@ -126,7 +135,12 @@ const opAssociateContactWithAddressBook = "AssociateContactWithAddressBook" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateContactWithAddressBook +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) AssociateContactWithAddressBookRequest(input *AssociateContactWithAddressBookInput) (req *request.Request, output *AssociateContactWithAddressBookOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, AssociateContactWithAddressBook, has been deprecated") + } op := &request.Operation{ Name: opAssociateContactWithAddressBook, HTTPMethod: "POST", @@ -159,6 +173,8 @@ func (c *AlexaForBusiness) AssociateContactWithAddressBookRequest(input *Associa // You are performing an action that would put you beyond your account's limits. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateContactWithAddressBook +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) AssociateContactWithAddressBook(input *AssociateContactWithAddressBookInput) (*AssociateContactWithAddressBookOutput, error) { req, out := c.AssociateContactWithAddressBookRequest(input) return out, req.Send() @@ -173,6 +189,8 @@ func (c *AlexaForBusiness) AssociateContactWithAddressBook(input *AssociateConta // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) AssociateContactWithAddressBookWithContext(ctx aws.Context, input *AssociateContactWithAddressBookInput, opts ...request.Option) (*AssociateContactWithAddressBookOutput, error) { req, out := c.AssociateContactWithAddressBookRequest(input) req.SetContext(ctx) @@ -205,7 +223,12 @@ const opAssociateDeviceWithNetworkProfile = "AssociateDeviceWithNetworkProfile" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateDeviceWithNetworkProfile +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) AssociateDeviceWithNetworkProfileRequest(input *AssociateDeviceWithNetworkProfileInput) (req *request.Request, output *AssociateDeviceWithNetworkProfileOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, AssociateDeviceWithNetworkProfile, has been deprecated") + } op := &request.Operation{ Name: opAssociateDeviceWithNetworkProfile, HTTPMethod: "POST", @@ -246,6 +269,8 @@ func (c *AlexaForBusiness) AssociateDeviceWithNetworkProfileRequest(input *Assoc // no longer managed by this account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateDeviceWithNetworkProfile +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) AssociateDeviceWithNetworkProfile(input *AssociateDeviceWithNetworkProfileInput) (*AssociateDeviceWithNetworkProfileOutput, error) { req, out := c.AssociateDeviceWithNetworkProfileRequest(input) return out, req.Send() @@ -260,6 +285,8 @@ func (c *AlexaForBusiness) AssociateDeviceWithNetworkProfile(input *AssociateDev // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) AssociateDeviceWithNetworkProfileWithContext(ctx aws.Context, input *AssociateDeviceWithNetworkProfileInput, opts ...request.Option) (*AssociateDeviceWithNetworkProfileOutput, error) { req, out := c.AssociateDeviceWithNetworkProfileRequest(input) req.SetContext(ctx) @@ -292,7 +319,12 @@ const opAssociateDeviceWithRoom = "AssociateDeviceWithRoom" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateDeviceWithRoom +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) AssociateDeviceWithRoomRequest(input *AssociateDeviceWithRoomInput) (req *request.Request, output *AssociateDeviceWithRoomOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, AssociateDeviceWithRoom, has been deprecated") + } op := &request.Operation{ Name: opAssociateDeviceWithRoom, HTTPMethod: "POST", @@ -336,6 +368,8 @@ func (c *AlexaForBusiness) AssociateDeviceWithRoomRequest(input *AssociateDevice // no longer managed by this account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateDeviceWithRoom +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) AssociateDeviceWithRoom(input *AssociateDeviceWithRoomInput) (*AssociateDeviceWithRoomOutput, error) { req, out := c.AssociateDeviceWithRoomRequest(input) return out, req.Send() @@ -350,6 +384,8 @@ func (c *AlexaForBusiness) AssociateDeviceWithRoom(input *AssociateDeviceWithRoo // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) AssociateDeviceWithRoomWithContext(ctx aws.Context, input *AssociateDeviceWithRoomInput, opts ...request.Option) (*AssociateDeviceWithRoomOutput, error) { req, out := c.AssociateDeviceWithRoomRequest(input) req.SetContext(ctx) @@ -382,7 +418,12 @@ const opAssociateSkillGroupWithRoom = "AssociateSkillGroupWithRoom" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateSkillGroupWithRoom +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) AssociateSkillGroupWithRoomRequest(input *AssociateSkillGroupWithRoomInput) (req *request.Request, output *AssociateSkillGroupWithRoomOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, AssociateSkillGroupWithRoom, has been deprecated") + } op := &request.Operation{ Name: opAssociateSkillGroupWithRoom, HTTPMethod: "POST", @@ -416,6 +457,8 @@ func (c *AlexaForBusiness) AssociateSkillGroupWithRoomRequest(input *AssociateSk // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateSkillGroupWithRoom +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) AssociateSkillGroupWithRoom(input *AssociateSkillGroupWithRoomInput) (*AssociateSkillGroupWithRoomOutput, error) { req, out := c.AssociateSkillGroupWithRoomRequest(input) return out, req.Send() @@ -430,6 +473,8 @@ func (c *AlexaForBusiness) AssociateSkillGroupWithRoom(input *AssociateSkillGrou // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) AssociateSkillGroupWithRoomWithContext(ctx aws.Context, input *AssociateSkillGroupWithRoomInput, opts ...request.Option) (*AssociateSkillGroupWithRoomOutput, error) { req, out := c.AssociateSkillGroupWithRoomRequest(input) req.SetContext(ctx) @@ -462,7 +507,12 @@ const opAssociateSkillWithSkillGroup = "AssociateSkillWithSkillGroup" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateSkillWithSkillGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) AssociateSkillWithSkillGroupRequest(input *AssociateSkillWithSkillGroupInput) (req *request.Request, output *AssociateSkillWithSkillGroupOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, AssociateSkillWithSkillGroup, has been deprecated") + } op := &request.Operation{ Name: opAssociateSkillWithSkillGroup, HTTPMethod: "POST", @@ -502,6 +552,8 @@ func (c *AlexaForBusiness) AssociateSkillWithSkillGroupRequest(input *AssociateS // The skill must be linked to a third-party account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateSkillWithSkillGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) AssociateSkillWithSkillGroup(input *AssociateSkillWithSkillGroupInput) (*AssociateSkillWithSkillGroupOutput, error) { req, out := c.AssociateSkillWithSkillGroupRequest(input) return out, req.Send() @@ -516,6 +568,8 @@ func (c *AlexaForBusiness) AssociateSkillWithSkillGroup(input *AssociateSkillWit // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) AssociateSkillWithSkillGroupWithContext(ctx aws.Context, input *AssociateSkillWithSkillGroupInput, opts ...request.Option) (*AssociateSkillWithSkillGroupOutput, error) { req, out := c.AssociateSkillWithSkillGroupRequest(input) req.SetContext(ctx) @@ -548,7 +602,12 @@ const opAssociateSkillWithUsers = "AssociateSkillWithUsers" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateSkillWithUsers +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) AssociateSkillWithUsersRequest(input *AssociateSkillWithUsersInput) (req *request.Request, output *AssociateSkillWithUsersOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, AssociateSkillWithUsers, has been deprecated") + } op := &request.Operation{ Name: opAssociateSkillWithUsers, HTTPMethod: "POST", @@ -585,6 +644,8 @@ func (c *AlexaForBusiness) AssociateSkillWithUsersRequest(input *AssociateSkillW // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateSkillWithUsers +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) AssociateSkillWithUsers(input *AssociateSkillWithUsersInput) (*AssociateSkillWithUsersOutput, error) { req, out := c.AssociateSkillWithUsersRequest(input) return out, req.Send() @@ -599,6 +660,8 @@ func (c *AlexaForBusiness) AssociateSkillWithUsers(input *AssociateSkillWithUser // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) AssociateSkillWithUsersWithContext(ctx aws.Context, input *AssociateSkillWithUsersInput, opts ...request.Option) (*AssociateSkillWithUsersOutput, error) { req, out := c.AssociateSkillWithUsersRequest(input) req.SetContext(ctx) @@ -631,7 +694,12 @@ const opCreateAddressBook = "CreateAddressBook" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateAddressBook +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateAddressBookRequest(input *CreateAddressBookInput) (req *request.Request, output *CreateAddressBookOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, CreateAddressBook, has been deprecated") + } op := &request.Operation{ Name: opCreateAddressBook, HTTPMethod: "POST", @@ -667,6 +735,8 @@ func (c *AlexaForBusiness) CreateAddressBookRequest(input *CreateAddressBookInpu // You are performing an action that would put you beyond your account's limits. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateAddressBook +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateAddressBook(input *CreateAddressBookInput) (*CreateAddressBookOutput, error) { req, out := c.CreateAddressBookRequest(input) return out, req.Send() @@ -681,6 +751,8 @@ func (c *AlexaForBusiness) CreateAddressBook(input *CreateAddressBookInput) (*Cr // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateAddressBookWithContext(ctx aws.Context, input *CreateAddressBookInput, opts ...request.Option) (*CreateAddressBookOutput, error) { req, out := c.CreateAddressBookRequest(input) req.SetContext(ctx) @@ -713,7 +785,12 @@ const opCreateBusinessReportSchedule = "CreateBusinessReportSchedule" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateBusinessReportSchedule +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateBusinessReportScheduleRequest(input *CreateBusinessReportScheduleInput) (req *request.Request, output *CreateBusinessReportScheduleOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, CreateBusinessReportSchedule, has been deprecated") + } op := &request.Operation{ Name: opCreateBusinessReportSchedule, HTTPMethod: "POST", @@ -746,6 +823,8 @@ func (c *AlexaForBusiness) CreateBusinessReportScheduleRequest(input *CreateBusi // The resource being created already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateBusinessReportSchedule +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateBusinessReportSchedule(input *CreateBusinessReportScheduleInput) (*CreateBusinessReportScheduleOutput, error) { req, out := c.CreateBusinessReportScheduleRequest(input) return out, req.Send() @@ -760,6 +839,8 @@ func (c *AlexaForBusiness) CreateBusinessReportSchedule(input *CreateBusinessRep // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateBusinessReportScheduleWithContext(ctx aws.Context, input *CreateBusinessReportScheduleInput, opts ...request.Option) (*CreateBusinessReportScheduleOutput, error) { req, out := c.CreateBusinessReportScheduleRequest(input) req.SetContext(ctx) @@ -792,7 +873,12 @@ const opCreateConferenceProvider = "CreateConferenceProvider" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateConferenceProvider +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateConferenceProviderRequest(input *CreateConferenceProviderInput) (req *request.Request, output *CreateConferenceProviderOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, CreateConferenceProvider, has been deprecated") + } op := &request.Operation{ Name: opCreateConferenceProvider, HTTPMethod: "POST", @@ -824,6 +910,8 @@ func (c *AlexaForBusiness) CreateConferenceProviderRequest(input *CreateConferen // The resource being created already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateConferenceProvider +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateConferenceProvider(input *CreateConferenceProviderInput) (*CreateConferenceProviderOutput, error) { req, out := c.CreateConferenceProviderRequest(input) return out, req.Send() @@ -838,6 +926,8 @@ func (c *AlexaForBusiness) CreateConferenceProvider(input *CreateConferenceProvi // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateConferenceProviderWithContext(ctx aws.Context, input *CreateConferenceProviderInput, opts ...request.Option) (*CreateConferenceProviderOutput, error) { req, out := c.CreateConferenceProviderRequest(input) req.SetContext(ctx) @@ -870,7 +960,12 @@ const opCreateContact = "CreateContact" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateContact +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateContactRequest(input *CreateContactInput) (req *request.Request, output *CreateContactOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, CreateContact, has been deprecated") + } op := &request.Operation{ Name: opCreateContact, HTTPMethod: "POST", @@ -906,6 +1001,8 @@ func (c *AlexaForBusiness) CreateContactRequest(input *CreateContactInput) (req // You are performing an action that would put you beyond your account's limits. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateContact +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateContact(input *CreateContactInput) (*CreateContactOutput, error) { req, out := c.CreateContactRequest(input) return out, req.Send() @@ -920,6 +1017,8 @@ func (c *AlexaForBusiness) CreateContact(input *CreateContactInput) (*CreateCont // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateContactWithContext(ctx aws.Context, input *CreateContactInput, opts ...request.Option) (*CreateContactOutput, error) { req, out := c.CreateContactRequest(input) req.SetContext(ctx) @@ -952,7 +1051,12 @@ const opCreateGatewayGroup = "CreateGatewayGroup" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateGatewayGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateGatewayGroupRequest(input *CreateGatewayGroupInput) (req *request.Request, output *CreateGatewayGroupOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, CreateGatewayGroup, has been deprecated") + } op := &request.Operation{ Name: opCreateGatewayGroup, HTTPMethod: "POST", @@ -988,6 +1092,8 @@ func (c *AlexaForBusiness) CreateGatewayGroupRequest(input *CreateGatewayGroupIn // You are performing an action that would put you beyond your account's limits. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateGatewayGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateGatewayGroup(input *CreateGatewayGroupInput) (*CreateGatewayGroupOutput, error) { req, out := c.CreateGatewayGroupRequest(input) return out, req.Send() @@ -1002,6 +1108,8 @@ func (c *AlexaForBusiness) CreateGatewayGroup(input *CreateGatewayGroupInput) (* // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateGatewayGroupWithContext(ctx aws.Context, input *CreateGatewayGroupInput, opts ...request.Option) (*CreateGatewayGroupOutput, error) { req, out := c.CreateGatewayGroupRequest(input) req.SetContext(ctx) @@ -1034,7 +1142,12 @@ const opCreateNetworkProfile = "CreateNetworkProfile" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateNetworkProfile +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateNetworkProfileRequest(input *CreateNetworkProfileInput) (req *request.Request, output *CreateNetworkProfileOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, CreateNetworkProfile, has been deprecated") + } op := &request.Operation{ Name: opCreateNetworkProfile, HTTPMethod: "POST", @@ -1079,6 +1192,8 @@ func (c *AlexaForBusiness) CreateNetworkProfileRequest(input *CreateNetworkProfi // The service linked role is locked for deletion. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateNetworkProfile +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateNetworkProfile(input *CreateNetworkProfileInput) (*CreateNetworkProfileOutput, error) { req, out := c.CreateNetworkProfileRequest(input) return out, req.Send() @@ -1093,6 +1208,8 @@ func (c *AlexaForBusiness) CreateNetworkProfile(input *CreateNetworkProfileInput // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateNetworkProfileWithContext(ctx aws.Context, input *CreateNetworkProfileInput, opts ...request.Option) (*CreateNetworkProfileOutput, error) { req, out := c.CreateNetworkProfileRequest(input) req.SetContext(ctx) @@ -1125,7 +1242,12 @@ const opCreateProfile = "CreateProfile" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateProfile +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateProfileRequest(input *CreateProfileInput) (req *request.Request, output *CreateProfileOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, CreateProfile, has been deprecated") + } op := &request.Operation{ Name: opCreateProfile, HTTPMethod: "POST", @@ -1164,6 +1286,8 @@ func (c *AlexaForBusiness) CreateProfileRequest(input *CreateProfileInput) (req // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateProfile +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateProfile(input *CreateProfileInput) (*CreateProfileOutput, error) { req, out := c.CreateProfileRequest(input) return out, req.Send() @@ -1178,6 +1302,8 @@ func (c *AlexaForBusiness) CreateProfile(input *CreateProfileInput) (*CreateProf // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateProfileWithContext(ctx aws.Context, input *CreateProfileInput, opts ...request.Option) (*CreateProfileOutput, error) { req, out := c.CreateProfileRequest(input) req.SetContext(ctx) @@ -1210,7 +1336,12 @@ const opCreateRoom = "CreateRoom" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateRoom +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateRoomRequest(input *CreateRoomInput) (req *request.Request, output *CreateRoomOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, CreateRoom, has been deprecated") + } op := &request.Operation{ Name: opCreateRoom, HTTPMethod: "POST", @@ -1246,6 +1377,8 @@ func (c *AlexaForBusiness) CreateRoomRequest(input *CreateRoomInput) (req *reque // You are performing an action that would put you beyond your account's limits. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateRoom +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateRoom(input *CreateRoomInput) (*CreateRoomOutput, error) { req, out := c.CreateRoomRequest(input) return out, req.Send() @@ -1260,6 +1393,8 @@ func (c *AlexaForBusiness) CreateRoom(input *CreateRoomInput) (*CreateRoomOutput // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateRoomWithContext(ctx aws.Context, input *CreateRoomInput, opts ...request.Option) (*CreateRoomOutput, error) { req, out := c.CreateRoomRequest(input) req.SetContext(ctx) @@ -1292,7 +1427,12 @@ const opCreateSkillGroup = "CreateSkillGroup" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateSkillGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateSkillGroupRequest(input *CreateSkillGroupInput) (req *request.Request, output *CreateSkillGroupOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, CreateSkillGroup, has been deprecated") + } op := &request.Operation{ Name: opCreateSkillGroup, HTTPMethod: "POST", @@ -1331,6 +1471,8 @@ func (c *AlexaForBusiness) CreateSkillGroupRequest(input *CreateSkillGroupInput) // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateSkillGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateSkillGroup(input *CreateSkillGroupInput) (*CreateSkillGroupOutput, error) { req, out := c.CreateSkillGroupRequest(input) return out, req.Send() @@ -1345,6 +1487,8 @@ func (c *AlexaForBusiness) CreateSkillGroup(input *CreateSkillGroupInput) (*Crea // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateSkillGroupWithContext(ctx aws.Context, input *CreateSkillGroupInput, opts ...request.Option) (*CreateSkillGroupOutput, error) { req, out := c.CreateSkillGroupRequest(input) req.SetContext(ctx) @@ -1377,7 +1521,12 @@ const opCreateUser = "CreateUser" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateUser +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateUserRequest(input *CreateUserInput) (req *request.Request, output *CreateUserOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, CreateUser, has been deprecated") + } op := &request.Operation{ Name: opCreateUser, HTTPMethod: "POST", @@ -1416,6 +1565,8 @@ func (c *AlexaForBusiness) CreateUserRequest(input *CreateUserInput) (req *reque // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateUser +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateUser(input *CreateUserInput) (*CreateUserOutput, error) { req, out := c.CreateUserRequest(input) return out, req.Send() @@ -1430,6 +1581,8 @@ func (c *AlexaForBusiness) CreateUser(input *CreateUserInput) (*CreateUserOutput // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) CreateUserWithContext(ctx aws.Context, input *CreateUserInput, opts ...request.Option) (*CreateUserOutput, error) { req, out := c.CreateUserRequest(input) req.SetContext(ctx) @@ -1462,7 +1615,12 @@ const opDeleteAddressBook = "DeleteAddressBook" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteAddressBook +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteAddressBookRequest(input *DeleteAddressBookInput) (req *request.Request, output *DeleteAddressBookOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DeleteAddressBook, has been deprecated") + } op := &request.Operation{ Name: opDeleteAddressBook, HTTPMethod: "POST", @@ -1499,6 +1657,8 @@ func (c *AlexaForBusiness) DeleteAddressBookRequest(input *DeleteAddressBookInpu // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteAddressBook +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteAddressBook(input *DeleteAddressBookInput) (*DeleteAddressBookOutput, error) { req, out := c.DeleteAddressBookRequest(input) return out, req.Send() @@ -1513,6 +1673,8 @@ func (c *AlexaForBusiness) DeleteAddressBook(input *DeleteAddressBookInput) (*De // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteAddressBookWithContext(ctx aws.Context, input *DeleteAddressBookInput, opts ...request.Option) (*DeleteAddressBookOutput, error) { req, out := c.DeleteAddressBookRequest(input) req.SetContext(ctx) @@ -1545,7 +1707,12 @@ const opDeleteBusinessReportSchedule = "DeleteBusinessReportSchedule" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteBusinessReportSchedule +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteBusinessReportScheduleRequest(input *DeleteBusinessReportScheduleInput) (req *request.Request, output *DeleteBusinessReportScheduleOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DeleteBusinessReportSchedule, has been deprecated") + } op := &request.Operation{ Name: opDeleteBusinessReportSchedule, HTTPMethod: "POST", @@ -1583,6 +1750,8 @@ func (c *AlexaForBusiness) DeleteBusinessReportScheduleRequest(input *DeleteBusi // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteBusinessReportSchedule +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteBusinessReportSchedule(input *DeleteBusinessReportScheduleInput) (*DeleteBusinessReportScheduleOutput, error) { req, out := c.DeleteBusinessReportScheduleRequest(input) return out, req.Send() @@ -1597,6 +1766,8 @@ func (c *AlexaForBusiness) DeleteBusinessReportSchedule(input *DeleteBusinessRep // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteBusinessReportScheduleWithContext(ctx aws.Context, input *DeleteBusinessReportScheduleInput, opts ...request.Option) (*DeleteBusinessReportScheduleOutput, error) { req, out := c.DeleteBusinessReportScheduleRequest(input) req.SetContext(ctx) @@ -1629,7 +1800,12 @@ const opDeleteConferenceProvider = "DeleteConferenceProvider" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteConferenceProvider +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteConferenceProviderRequest(input *DeleteConferenceProviderInput) (req *request.Request, output *DeleteConferenceProviderOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DeleteConferenceProvider, has been deprecated") + } op := &request.Operation{ Name: opDeleteConferenceProvider, HTTPMethod: "POST", @@ -1662,6 +1838,8 @@ func (c *AlexaForBusiness) DeleteConferenceProviderRequest(input *DeleteConferen // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteConferenceProvider +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteConferenceProvider(input *DeleteConferenceProviderInput) (*DeleteConferenceProviderOutput, error) { req, out := c.DeleteConferenceProviderRequest(input) return out, req.Send() @@ -1676,6 +1854,8 @@ func (c *AlexaForBusiness) DeleteConferenceProvider(input *DeleteConferenceProvi // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteConferenceProviderWithContext(ctx aws.Context, input *DeleteConferenceProviderInput, opts ...request.Option) (*DeleteConferenceProviderOutput, error) { req, out := c.DeleteConferenceProviderRequest(input) req.SetContext(ctx) @@ -1708,7 +1888,12 @@ const opDeleteContact = "DeleteContact" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteContact +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteContactRequest(input *DeleteContactInput) (req *request.Request, output *DeleteContactOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DeleteContact, has been deprecated") + } op := &request.Operation{ Name: opDeleteContact, HTTPMethod: "POST", @@ -1745,6 +1930,8 @@ func (c *AlexaForBusiness) DeleteContactRequest(input *DeleteContactInput) (req // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteContact +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteContact(input *DeleteContactInput) (*DeleteContactOutput, error) { req, out := c.DeleteContactRequest(input) return out, req.Send() @@ -1759,6 +1946,8 @@ func (c *AlexaForBusiness) DeleteContact(input *DeleteContactInput) (*DeleteCont // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteContactWithContext(ctx aws.Context, input *DeleteContactInput, opts ...request.Option) (*DeleteContactOutput, error) { req, out := c.DeleteContactRequest(input) req.SetContext(ctx) @@ -1791,7 +1980,12 @@ const opDeleteDevice = "DeleteDevice" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteDevice +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteDeviceRequest(input *DeleteDeviceInput) (req *request.Request, output *DeleteDeviceOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DeleteDevice, has been deprecated") + } op := &request.Operation{ Name: opDeleteDevice, HTTPMethod: "POST", @@ -1831,6 +2025,8 @@ func (c *AlexaForBusiness) DeleteDeviceRequest(input *DeleteDeviceInput) (req *r // The Certificate Authority can't issue or revoke a certificate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteDevice +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteDevice(input *DeleteDeviceInput) (*DeleteDeviceOutput, error) { req, out := c.DeleteDeviceRequest(input) return out, req.Send() @@ -1845,6 +2041,8 @@ func (c *AlexaForBusiness) DeleteDevice(input *DeleteDeviceInput) (*DeleteDevice // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteDeviceWithContext(ctx aws.Context, input *DeleteDeviceInput, opts ...request.Option) (*DeleteDeviceOutput, error) { req, out := c.DeleteDeviceRequest(input) req.SetContext(ctx) @@ -1877,7 +2075,12 @@ const opDeleteDeviceUsageData = "DeleteDeviceUsageData" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteDeviceUsageData +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteDeviceUsageDataRequest(input *DeleteDeviceUsageDataInput) (req *request.Request, output *DeleteDeviceUsageDataOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DeleteDeviceUsageData, has been deprecated") + } op := &request.Operation{ Name: opDeleteDeviceUsageData, HTTPMethod: "POST", @@ -1921,6 +2124,8 @@ func (c *AlexaForBusiness) DeleteDeviceUsageDataRequest(input *DeleteDeviceUsage // You are performing an action that would put you beyond your account's limits. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteDeviceUsageData +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteDeviceUsageData(input *DeleteDeviceUsageDataInput) (*DeleteDeviceUsageDataOutput, error) { req, out := c.DeleteDeviceUsageDataRequest(input) return out, req.Send() @@ -1935,6 +2140,8 @@ func (c *AlexaForBusiness) DeleteDeviceUsageData(input *DeleteDeviceUsageDataInp // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteDeviceUsageDataWithContext(ctx aws.Context, input *DeleteDeviceUsageDataInput, opts ...request.Option) (*DeleteDeviceUsageDataOutput, error) { req, out := c.DeleteDeviceUsageDataRequest(input) req.SetContext(ctx) @@ -1967,7 +2174,12 @@ const opDeleteGatewayGroup = "DeleteGatewayGroup" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteGatewayGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteGatewayGroupRequest(input *DeleteGatewayGroupInput) (req *request.Request, output *DeleteGatewayGroupOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DeleteGatewayGroup, has been deprecated") + } op := &request.Operation{ Name: opDeleteGatewayGroup, HTTPMethod: "POST", @@ -2000,6 +2212,8 @@ func (c *AlexaForBusiness) DeleteGatewayGroupRequest(input *DeleteGatewayGroupIn // Another resource is associated with the resource in the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteGatewayGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteGatewayGroup(input *DeleteGatewayGroupInput) (*DeleteGatewayGroupOutput, error) { req, out := c.DeleteGatewayGroupRequest(input) return out, req.Send() @@ -2014,6 +2228,8 @@ func (c *AlexaForBusiness) DeleteGatewayGroup(input *DeleteGatewayGroupInput) (* // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteGatewayGroupWithContext(ctx aws.Context, input *DeleteGatewayGroupInput, opts ...request.Option) (*DeleteGatewayGroupOutput, error) { req, out := c.DeleteGatewayGroupRequest(input) req.SetContext(ctx) @@ -2046,7 +2262,12 @@ const opDeleteNetworkProfile = "DeleteNetworkProfile" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteNetworkProfile +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteNetworkProfileRequest(input *DeleteNetworkProfileInput) (req *request.Request, output *DeleteNetworkProfileOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DeleteNetworkProfile, has been deprecated") + } op := &request.Operation{ Name: opDeleteNetworkProfile, HTTPMethod: "POST", @@ -2086,6 +2307,8 @@ func (c *AlexaForBusiness) DeleteNetworkProfileRequest(input *DeleteNetworkProfi // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteNetworkProfile +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteNetworkProfile(input *DeleteNetworkProfileInput) (*DeleteNetworkProfileOutput, error) { req, out := c.DeleteNetworkProfileRequest(input) return out, req.Send() @@ -2100,6 +2323,8 @@ func (c *AlexaForBusiness) DeleteNetworkProfile(input *DeleteNetworkProfileInput // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteNetworkProfileWithContext(ctx aws.Context, input *DeleteNetworkProfileInput, opts ...request.Option) (*DeleteNetworkProfileOutput, error) { req, out := c.DeleteNetworkProfileRequest(input) req.SetContext(ctx) @@ -2132,7 +2357,12 @@ const opDeleteProfile = "DeleteProfile" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteProfile +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteProfileRequest(input *DeleteProfileInput) (req *request.Request, output *DeleteProfileOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DeleteProfile, has been deprecated") + } op := &request.Operation{ Name: opDeleteProfile, HTTPMethod: "POST", @@ -2169,6 +2399,8 @@ func (c *AlexaForBusiness) DeleteProfileRequest(input *DeleteProfileInput) (req // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteProfile +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteProfile(input *DeleteProfileInput) (*DeleteProfileOutput, error) { req, out := c.DeleteProfileRequest(input) return out, req.Send() @@ -2183,6 +2415,8 @@ func (c *AlexaForBusiness) DeleteProfile(input *DeleteProfileInput) (*DeleteProf // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteProfileWithContext(ctx aws.Context, input *DeleteProfileInput, opts ...request.Option) (*DeleteProfileOutput, error) { req, out := c.DeleteProfileRequest(input) req.SetContext(ctx) @@ -2215,7 +2449,12 @@ const opDeleteRoom = "DeleteRoom" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteRoom +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteRoomRequest(input *DeleteRoomInput) (req *request.Request, output *DeleteRoomOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DeleteRoom, has been deprecated") + } op := &request.Operation{ Name: opDeleteRoom, HTTPMethod: "POST", @@ -2252,6 +2491,8 @@ func (c *AlexaForBusiness) DeleteRoomRequest(input *DeleteRoomInput) (req *reque // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteRoom +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteRoom(input *DeleteRoomInput) (*DeleteRoomOutput, error) { req, out := c.DeleteRoomRequest(input) return out, req.Send() @@ -2266,6 +2507,8 @@ func (c *AlexaForBusiness) DeleteRoom(input *DeleteRoomInput) (*DeleteRoomOutput // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteRoomWithContext(ctx aws.Context, input *DeleteRoomInput, opts ...request.Option) (*DeleteRoomOutput, error) { req, out := c.DeleteRoomRequest(input) req.SetContext(ctx) @@ -2298,7 +2541,12 @@ const opDeleteRoomSkillParameter = "DeleteRoomSkillParameter" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteRoomSkillParameter +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteRoomSkillParameterRequest(input *DeleteRoomSkillParameterInput) (req *request.Request, output *DeleteRoomSkillParameterOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DeleteRoomSkillParameter, has been deprecated") + } op := &request.Operation{ Name: opDeleteRoomSkillParameter, HTTPMethod: "POST", @@ -2331,6 +2579,8 @@ func (c *AlexaForBusiness) DeleteRoomSkillParameterRequest(input *DeleteRoomSkil // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteRoomSkillParameter +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteRoomSkillParameter(input *DeleteRoomSkillParameterInput) (*DeleteRoomSkillParameterOutput, error) { req, out := c.DeleteRoomSkillParameterRequest(input) return out, req.Send() @@ -2345,6 +2595,8 @@ func (c *AlexaForBusiness) DeleteRoomSkillParameter(input *DeleteRoomSkillParame // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteRoomSkillParameterWithContext(ctx aws.Context, input *DeleteRoomSkillParameterInput, opts ...request.Option) (*DeleteRoomSkillParameterOutput, error) { req, out := c.DeleteRoomSkillParameterRequest(input) req.SetContext(ctx) @@ -2377,7 +2629,12 @@ const opDeleteSkillAuthorization = "DeleteSkillAuthorization" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteSkillAuthorization +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteSkillAuthorizationRequest(input *DeleteSkillAuthorizationInput) (req *request.Request, output *DeleteSkillAuthorizationOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DeleteSkillAuthorization, has been deprecated") + } op := &request.Operation{ Name: opDeleteSkillAuthorization, HTTPMethod: "POST", @@ -2414,6 +2671,8 @@ func (c *AlexaForBusiness) DeleteSkillAuthorizationRequest(input *DeleteSkillAut // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteSkillAuthorization +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteSkillAuthorization(input *DeleteSkillAuthorizationInput) (*DeleteSkillAuthorizationOutput, error) { req, out := c.DeleteSkillAuthorizationRequest(input) return out, req.Send() @@ -2428,6 +2687,8 @@ func (c *AlexaForBusiness) DeleteSkillAuthorization(input *DeleteSkillAuthorizat // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteSkillAuthorizationWithContext(ctx aws.Context, input *DeleteSkillAuthorizationInput, opts ...request.Option) (*DeleteSkillAuthorizationOutput, error) { req, out := c.DeleteSkillAuthorizationRequest(input) req.SetContext(ctx) @@ -2460,7 +2721,12 @@ const opDeleteSkillGroup = "DeleteSkillGroup" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteSkillGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteSkillGroupRequest(input *DeleteSkillGroupInput) (req *request.Request, output *DeleteSkillGroupOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DeleteSkillGroup, has been deprecated") + } op := &request.Operation{ Name: opDeleteSkillGroup, HTTPMethod: "POST", @@ -2497,6 +2763,8 @@ func (c *AlexaForBusiness) DeleteSkillGroupRequest(input *DeleteSkillGroupInput) // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteSkillGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteSkillGroup(input *DeleteSkillGroupInput) (*DeleteSkillGroupOutput, error) { req, out := c.DeleteSkillGroupRequest(input) return out, req.Send() @@ -2511,6 +2779,8 @@ func (c *AlexaForBusiness) DeleteSkillGroup(input *DeleteSkillGroupInput) (*Dele // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteSkillGroupWithContext(ctx aws.Context, input *DeleteSkillGroupInput, opts ...request.Option) (*DeleteSkillGroupOutput, error) { req, out := c.DeleteSkillGroupRequest(input) req.SetContext(ctx) @@ -2543,7 +2813,12 @@ const opDeleteUser = "DeleteUser" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteUser +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DeleteUser, has been deprecated") + } op := &request.Operation{ Name: opDeleteUser, HTTPMethod: "POST", @@ -2580,6 +2855,8 @@ func (c *AlexaForBusiness) DeleteUserRequest(input *DeleteUserInput) (req *reque // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteUser +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) { req, out := c.DeleteUserRequest(input) return out, req.Send() @@ -2594,6 +2871,8 @@ func (c *AlexaForBusiness) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DeleteUserWithContext(ctx aws.Context, input *DeleteUserInput, opts ...request.Option) (*DeleteUserOutput, error) { req, out := c.DeleteUserRequest(input) req.SetContext(ctx) @@ -2626,7 +2905,12 @@ const opDisassociateContactFromAddressBook = "DisassociateContactFromAddressBook // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateContactFromAddressBook +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DisassociateContactFromAddressBookRequest(input *DisassociateContactFromAddressBookInput) (req *request.Request, output *DisassociateContactFromAddressBookOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DisassociateContactFromAddressBook, has been deprecated") + } op := &request.Operation{ Name: opDisassociateContactFromAddressBook, HTTPMethod: "POST", @@ -2654,6 +2938,8 @@ func (c *AlexaForBusiness) DisassociateContactFromAddressBookRequest(input *Disa // See the AWS API reference guide for Alexa For Business's // API operation DisassociateContactFromAddressBook for usage and error information. // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateContactFromAddressBook +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DisassociateContactFromAddressBook(input *DisassociateContactFromAddressBookInput) (*DisassociateContactFromAddressBookOutput, error) { req, out := c.DisassociateContactFromAddressBookRequest(input) return out, req.Send() @@ -2668,6 +2954,8 @@ func (c *AlexaForBusiness) DisassociateContactFromAddressBook(input *Disassociat // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DisassociateContactFromAddressBookWithContext(ctx aws.Context, input *DisassociateContactFromAddressBookInput, opts ...request.Option) (*DisassociateContactFromAddressBookOutput, error) { req, out := c.DisassociateContactFromAddressBookRequest(input) req.SetContext(ctx) @@ -2700,7 +2988,12 @@ const opDisassociateDeviceFromRoom = "DisassociateDeviceFromRoom" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateDeviceFromRoom +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DisassociateDeviceFromRoomRequest(input *DisassociateDeviceFromRoomInput) (req *request.Request, output *DisassociateDeviceFromRoomOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DisassociateDeviceFromRoom, has been deprecated") + } op := &request.Operation{ Name: opDisassociateDeviceFromRoom, HTTPMethod: "POST", @@ -2740,6 +3033,8 @@ func (c *AlexaForBusiness) DisassociateDeviceFromRoomRequest(input *Disassociate // no longer managed by this account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateDeviceFromRoom +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DisassociateDeviceFromRoom(input *DisassociateDeviceFromRoomInput) (*DisassociateDeviceFromRoomOutput, error) { req, out := c.DisassociateDeviceFromRoomRequest(input) return out, req.Send() @@ -2754,6 +3049,8 @@ func (c *AlexaForBusiness) DisassociateDeviceFromRoom(input *DisassociateDeviceF // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DisassociateDeviceFromRoomWithContext(ctx aws.Context, input *DisassociateDeviceFromRoomInput, opts ...request.Option) (*DisassociateDeviceFromRoomOutput, error) { req, out := c.DisassociateDeviceFromRoomRequest(input) req.SetContext(ctx) @@ -2786,7 +3083,12 @@ const opDisassociateSkillFromSkillGroup = "DisassociateSkillFromSkillGroup" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateSkillFromSkillGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DisassociateSkillFromSkillGroupRequest(input *DisassociateSkillFromSkillGroupInput) (req *request.Request, output *DisassociateSkillFromSkillGroupOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DisassociateSkillFromSkillGroup, has been deprecated") + } op := &request.Operation{ Name: opDisassociateSkillFromSkillGroup, HTTPMethod: "POST", @@ -2823,6 +3125,8 @@ func (c *AlexaForBusiness) DisassociateSkillFromSkillGroupRequest(input *Disasso // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateSkillFromSkillGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DisassociateSkillFromSkillGroup(input *DisassociateSkillFromSkillGroupInput) (*DisassociateSkillFromSkillGroupOutput, error) { req, out := c.DisassociateSkillFromSkillGroupRequest(input) return out, req.Send() @@ -2837,6 +3141,8 @@ func (c *AlexaForBusiness) DisassociateSkillFromSkillGroup(input *DisassociateSk // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DisassociateSkillFromSkillGroupWithContext(ctx aws.Context, input *DisassociateSkillFromSkillGroupInput, opts ...request.Option) (*DisassociateSkillFromSkillGroupOutput, error) { req, out := c.DisassociateSkillFromSkillGroupRequest(input) req.SetContext(ctx) @@ -2869,7 +3175,12 @@ const opDisassociateSkillFromUsers = "DisassociateSkillFromUsers" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateSkillFromUsers +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DisassociateSkillFromUsersRequest(input *DisassociateSkillFromUsersInput) (req *request.Request, output *DisassociateSkillFromUsersOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DisassociateSkillFromUsers, has been deprecated") + } op := &request.Operation{ Name: opDisassociateSkillFromUsers, HTTPMethod: "POST", @@ -2907,6 +3218,8 @@ func (c *AlexaForBusiness) DisassociateSkillFromUsersRequest(input *Disassociate // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateSkillFromUsers +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DisassociateSkillFromUsers(input *DisassociateSkillFromUsersInput) (*DisassociateSkillFromUsersOutput, error) { req, out := c.DisassociateSkillFromUsersRequest(input) return out, req.Send() @@ -2921,6 +3234,8 @@ func (c *AlexaForBusiness) DisassociateSkillFromUsers(input *DisassociateSkillFr // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DisassociateSkillFromUsersWithContext(ctx aws.Context, input *DisassociateSkillFromUsersInput, opts ...request.Option) (*DisassociateSkillFromUsersOutput, error) { req, out := c.DisassociateSkillFromUsersRequest(input) req.SetContext(ctx) @@ -2953,7 +3268,12 @@ const opDisassociateSkillGroupFromRoom = "DisassociateSkillGroupFromRoom" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateSkillGroupFromRoom +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DisassociateSkillGroupFromRoomRequest(input *DisassociateSkillGroupFromRoomInput) (req *request.Request, output *DisassociateSkillGroupFromRoomOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, DisassociateSkillGroupFromRoom, has been deprecated") + } op := &request.Operation{ Name: opDisassociateSkillGroupFromRoom, HTTPMethod: "POST", @@ -2987,6 +3307,8 @@ func (c *AlexaForBusiness) DisassociateSkillGroupFromRoomRequest(input *Disassoc // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateSkillGroupFromRoom +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DisassociateSkillGroupFromRoom(input *DisassociateSkillGroupFromRoomInput) (*DisassociateSkillGroupFromRoomOutput, error) { req, out := c.DisassociateSkillGroupFromRoomRequest(input) return out, req.Send() @@ -3001,6 +3323,8 @@ func (c *AlexaForBusiness) DisassociateSkillGroupFromRoom(input *DisassociateSki // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) DisassociateSkillGroupFromRoomWithContext(ctx aws.Context, input *DisassociateSkillGroupFromRoomInput, opts ...request.Option) (*DisassociateSkillGroupFromRoomOutput, error) { req, out := c.DisassociateSkillGroupFromRoomRequest(input) req.SetContext(ctx) @@ -3033,7 +3357,12 @@ const opForgetSmartHomeAppliances = "ForgetSmartHomeAppliances" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ForgetSmartHomeAppliances +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ForgetSmartHomeAppliancesRequest(input *ForgetSmartHomeAppliancesInput) (req *request.Request, output *ForgetSmartHomeAppliancesOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, ForgetSmartHomeAppliances, has been deprecated") + } op := &request.Operation{ Name: opForgetSmartHomeAppliances, HTTPMethod: "POST", @@ -3066,6 +3395,8 @@ func (c *AlexaForBusiness) ForgetSmartHomeAppliancesRequest(input *ForgetSmartHo // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ForgetSmartHomeAppliances +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ForgetSmartHomeAppliances(input *ForgetSmartHomeAppliancesInput) (*ForgetSmartHomeAppliancesOutput, error) { req, out := c.ForgetSmartHomeAppliancesRequest(input) return out, req.Send() @@ -3080,6 +3411,8 @@ func (c *AlexaForBusiness) ForgetSmartHomeAppliances(input *ForgetSmartHomeAppli // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ForgetSmartHomeAppliancesWithContext(ctx aws.Context, input *ForgetSmartHomeAppliancesInput, opts ...request.Option) (*ForgetSmartHomeAppliancesOutput, error) { req, out := c.ForgetSmartHomeAppliancesRequest(input) req.SetContext(ctx) @@ -3112,7 +3445,12 @@ const opGetAddressBook = "GetAddressBook" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetAddressBook +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetAddressBookRequest(input *GetAddressBookInput) (req *request.Request, output *GetAddressBookOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, GetAddressBook, has been deprecated") + } op := &request.Operation{ Name: opGetAddressBook, HTTPMethod: "POST", @@ -3144,6 +3482,8 @@ func (c *AlexaForBusiness) GetAddressBookRequest(input *GetAddressBookInput) (re // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetAddressBook +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetAddressBook(input *GetAddressBookInput) (*GetAddressBookOutput, error) { req, out := c.GetAddressBookRequest(input) return out, req.Send() @@ -3158,6 +3498,8 @@ func (c *AlexaForBusiness) GetAddressBook(input *GetAddressBookInput) (*GetAddre // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetAddressBookWithContext(ctx aws.Context, input *GetAddressBookInput, opts ...request.Option) (*GetAddressBookOutput, error) { req, out := c.GetAddressBookRequest(input) req.SetContext(ctx) @@ -3190,7 +3532,12 @@ const opGetConferencePreference = "GetConferencePreference" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetConferencePreference +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetConferencePreferenceRequest(input *GetConferencePreferenceInput) (req *request.Request, output *GetConferencePreferenceOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, GetConferencePreference, has been deprecated") + } op := &request.Operation{ Name: opGetConferencePreference, HTTPMethod: "POST", @@ -3222,6 +3569,8 @@ func (c *AlexaForBusiness) GetConferencePreferenceRequest(input *GetConferencePr // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetConferencePreference +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetConferencePreference(input *GetConferencePreferenceInput) (*GetConferencePreferenceOutput, error) { req, out := c.GetConferencePreferenceRequest(input) return out, req.Send() @@ -3236,6 +3585,8 @@ func (c *AlexaForBusiness) GetConferencePreference(input *GetConferencePreferenc // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetConferencePreferenceWithContext(ctx aws.Context, input *GetConferencePreferenceInput, opts ...request.Option) (*GetConferencePreferenceOutput, error) { req, out := c.GetConferencePreferenceRequest(input) req.SetContext(ctx) @@ -3268,7 +3619,12 @@ const opGetConferenceProvider = "GetConferenceProvider" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetConferenceProvider +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetConferenceProviderRequest(input *GetConferenceProviderInput) (req *request.Request, output *GetConferenceProviderOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, GetConferenceProvider, has been deprecated") + } op := &request.Operation{ Name: opGetConferenceProvider, HTTPMethod: "POST", @@ -3300,6 +3656,8 @@ func (c *AlexaForBusiness) GetConferenceProviderRequest(input *GetConferenceProv // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetConferenceProvider +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetConferenceProvider(input *GetConferenceProviderInput) (*GetConferenceProviderOutput, error) { req, out := c.GetConferenceProviderRequest(input) return out, req.Send() @@ -3314,6 +3672,8 @@ func (c *AlexaForBusiness) GetConferenceProvider(input *GetConferenceProviderInp // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetConferenceProviderWithContext(ctx aws.Context, input *GetConferenceProviderInput, opts ...request.Option) (*GetConferenceProviderOutput, error) { req, out := c.GetConferenceProviderRequest(input) req.SetContext(ctx) @@ -3346,7 +3706,12 @@ const opGetContact = "GetContact" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetContact +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetContactRequest(input *GetContactInput) (req *request.Request, output *GetContactOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, GetContact, has been deprecated") + } op := &request.Operation{ Name: opGetContact, HTTPMethod: "POST", @@ -3378,6 +3743,8 @@ func (c *AlexaForBusiness) GetContactRequest(input *GetContactInput) (req *reque // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetContact +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetContact(input *GetContactInput) (*GetContactOutput, error) { req, out := c.GetContactRequest(input) return out, req.Send() @@ -3392,6 +3759,8 @@ func (c *AlexaForBusiness) GetContact(input *GetContactInput) (*GetContactOutput // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetContactWithContext(ctx aws.Context, input *GetContactInput, opts ...request.Option) (*GetContactOutput, error) { req, out := c.GetContactRequest(input) req.SetContext(ctx) @@ -3424,7 +3793,12 @@ const opGetDevice = "GetDevice" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetDevice +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetDeviceRequest(input *GetDeviceInput) (req *request.Request, output *GetDeviceOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, GetDevice, has been deprecated") + } op := &request.Operation{ Name: opGetDevice, HTTPMethod: "POST", @@ -3456,6 +3830,8 @@ func (c *AlexaForBusiness) GetDeviceRequest(input *GetDeviceInput) (req *request // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetDevice +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetDevice(input *GetDeviceInput) (*GetDeviceOutput, error) { req, out := c.GetDeviceRequest(input) return out, req.Send() @@ -3470,6 +3846,8 @@ func (c *AlexaForBusiness) GetDevice(input *GetDeviceInput) (*GetDeviceOutput, e // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetDeviceWithContext(ctx aws.Context, input *GetDeviceInput, opts ...request.Option) (*GetDeviceOutput, error) { req, out := c.GetDeviceRequest(input) req.SetContext(ctx) @@ -3502,7 +3880,12 @@ const opGetGateway = "GetGateway" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetGateway +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetGatewayRequest(input *GetGatewayInput) (req *request.Request, output *GetGatewayOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, GetGateway, has been deprecated") + } op := &request.Operation{ Name: opGetGateway, HTTPMethod: "POST", @@ -3534,6 +3917,8 @@ func (c *AlexaForBusiness) GetGatewayRequest(input *GetGatewayInput) (req *reque // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetGateway +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetGateway(input *GetGatewayInput) (*GetGatewayOutput, error) { req, out := c.GetGatewayRequest(input) return out, req.Send() @@ -3548,6 +3933,8 @@ func (c *AlexaForBusiness) GetGateway(input *GetGatewayInput) (*GetGatewayOutput // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetGatewayWithContext(ctx aws.Context, input *GetGatewayInput, opts ...request.Option) (*GetGatewayOutput, error) { req, out := c.GetGatewayRequest(input) req.SetContext(ctx) @@ -3580,7 +3967,12 @@ const opGetGatewayGroup = "GetGatewayGroup" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetGatewayGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetGatewayGroupRequest(input *GetGatewayGroupInput) (req *request.Request, output *GetGatewayGroupOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, GetGatewayGroup, has been deprecated") + } op := &request.Operation{ Name: opGetGatewayGroup, HTTPMethod: "POST", @@ -3612,6 +4004,8 @@ func (c *AlexaForBusiness) GetGatewayGroupRequest(input *GetGatewayGroupInput) ( // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetGatewayGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetGatewayGroup(input *GetGatewayGroupInput) (*GetGatewayGroupOutput, error) { req, out := c.GetGatewayGroupRequest(input) return out, req.Send() @@ -3626,6 +4020,8 @@ func (c *AlexaForBusiness) GetGatewayGroup(input *GetGatewayGroupInput) (*GetGat // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetGatewayGroupWithContext(ctx aws.Context, input *GetGatewayGroupInput, opts ...request.Option) (*GetGatewayGroupOutput, error) { req, out := c.GetGatewayGroupRequest(input) req.SetContext(ctx) @@ -3658,7 +4054,12 @@ const opGetInvitationConfiguration = "GetInvitationConfiguration" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetInvitationConfiguration +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetInvitationConfigurationRequest(input *GetInvitationConfigurationInput) (req *request.Request, output *GetInvitationConfigurationOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, GetInvitationConfiguration, has been deprecated") + } op := &request.Operation{ Name: opGetInvitationConfiguration, HTTPMethod: "POST", @@ -3691,6 +4092,8 @@ func (c *AlexaForBusiness) GetInvitationConfigurationRequest(input *GetInvitatio // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetInvitationConfiguration +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetInvitationConfiguration(input *GetInvitationConfigurationInput) (*GetInvitationConfigurationOutput, error) { req, out := c.GetInvitationConfigurationRequest(input) return out, req.Send() @@ -3705,6 +4108,8 @@ func (c *AlexaForBusiness) GetInvitationConfiguration(input *GetInvitationConfig // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetInvitationConfigurationWithContext(ctx aws.Context, input *GetInvitationConfigurationInput, opts ...request.Option) (*GetInvitationConfigurationOutput, error) { req, out := c.GetInvitationConfigurationRequest(input) req.SetContext(ctx) @@ -3737,7 +4142,12 @@ const opGetNetworkProfile = "GetNetworkProfile" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetNetworkProfile +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetNetworkProfileRequest(input *GetNetworkProfileInput) (req *request.Request, output *GetNetworkProfileOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, GetNetworkProfile, has been deprecated") + } op := &request.Operation{ Name: opGetNetworkProfile, HTTPMethod: "POST", @@ -3773,6 +4183,8 @@ func (c *AlexaForBusiness) GetNetworkProfileRequest(input *GetNetworkProfileInpu // A password in SecretsManager is in an invalid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetNetworkProfile +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetNetworkProfile(input *GetNetworkProfileInput) (*GetNetworkProfileOutput, error) { req, out := c.GetNetworkProfileRequest(input) return out, req.Send() @@ -3787,6 +4199,8 @@ func (c *AlexaForBusiness) GetNetworkProfile(input *GetNetworkProfileInput) (*Ge // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetNetworkProfileWithContext(ctx aws.Context, input *GetNetworkProfileInput, opts ...request.Option) (*GetNetworkProfileOutput, error) { req, out := c.GetNetworkProfileRequest(input) req.SetContext(ctx) @@ -3819,7 +4233,12 @@ const opGetProfile = "GetProfile" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetProfile +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetProfileRequest(input *GetProfileInput) (req *request.Request, output *GetProfileOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, GetProfile, has been deprecated") + } op := &request.Operation{ Name: opGetProfile, HTTPMethod: "POST", @@ -3851,6 +4270,8 @@ func (c *AlexaForBusiness) GetProfileRequest(input *GetProfileInput) (req *reque // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetProfile +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetProfile(input *GetProfileInput) (*GetProfileOutput, error) { req, out := c.GetProfileRequest(input) return out, req.Send() @@ -3865,6 +4286,8 @@ func (c *AlexaForBusiness) GetProfile(input *GetProfileInput) (*GetProfileOutput // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetProfileWithContext(ctx aws.Context, input *GetProfileInput, opts ...request.Option) (*GetProfileOutput, error) { req, out := c.GetProfileRequest(input) req.SetContext(ctx) @@ -3897,7 +4320,12 @@ const opGetRoom = "GetRoom" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetRoom +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetRoomRequest(input *GetRoomInput) (req *request.Request, output *GetRoomOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, GetRoom, has been deprecated") + } op := &request.Operation{ Name: opGetRoom, HTTPMethod: "POST", @@ -3929,6 +4357,8 @@ func (c *AlexaForBusiness) GetRoomRequest(input *GetRoomInput) (req *request.Req // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetRoom +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetRoom(input *GetRoomInput) (*GetRoomOutput, error) { req, out := c.GetRoomRequest(input) return out, req.Send() @@ -3943,6 +4373,8 @@ func (c *AlexaForBusiness) GetRoom(input *GetRoomInput) (*GetRoomOutput, error) // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetRoomWithContext(ctx aws.Context, input *GetRoomInput, opts ...request.Option) (*GetRoomOutput, error) { req, out := c.GetRoomRequest(input) req.SetContext(ctx) @@ -3975,7 +4407,12 @@ const opGetRoomSkillParameter = "GetRoomSkillParameter" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetRoomSkillParameter +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetRoomSkillParameterRequest(input *GetRoomSkillParameterInput) (req *request.Request, output *GetRoomSkillParameterOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, GetRoomSkillParameter, has been deprecated") + } op := &request.Operation{ Name: opGetRoomSkillParameter, HTTPMethod: "POST", @@ -4007,6 +4444,8 @@ func (c *AlexaForBusiness) GetRoomSkillParameterRequest(input *GetRoomSkillParam // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetRoomSkillParameter +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetRoomSkillParameter(input *GetRoomSkillParameterInput) (*GetRoomSkillParameterOutput, error) { req, out := c.GetRoomSkillParameterRequest(input) return out, req.Send() @@ -4021,6 +4460,8 @@ func (c *AlexaForBusiness) GetRoomSkillParameter(input *GetRoomSkillParameterInp // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetRoomSkillParameterWithContext(ctx aws.Context, input *GetRoomSkillParameterInput, opts ...request.Option) (*GetRoomSkillParameterOutput, error) { req, out := c.GetRoomSkillParameterRequest(input) req.SetContext(ctx) @@ -4053,7 +4494,12 @@ const opGetSkillGroup = "GetSkillGroup" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetSkillGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetSkillGroupRequest(input *GetSkillGroupInput) (req *request.Request, output *GetSkillGroupOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, GetSkillGroup, has been deprecated") + } op := &request.Operation{ Name: opGetSkillGroup, HTTPMethod: "POST", @@ -4085,6 +4531,8 @@ func (c *AlexaForBusiness) GetSkillGroupRequest(input *GetSkillGroupInput) (req // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetSkillGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetSkillGroup(input *GetSkillGroupInput) (*GetSkillGroupOutput, error) { req, out := c.GetSkillGroupRequest(input) return out, req.Send() @@ -4099,6 +4547,8 @@ func (c *AlexaForBusiness) GetSkillGroup(input *GetSkillGroupInput) (*GetSkillGr // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) GetSkillGroupWithContext(ctx aws.Context, input *GetSkillGroupInput, opts ...request.Option) (*GetSkillGroupOutput, error) { req, out := c.GetSkillGroupRequest(input) req.SetContext(ctx) @@ -4131,7 +4581,12 @@ const opListBusinessReportSchedules = "ListBusinessReportSchedules" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListBusinessReportSchedules +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListBusinessReportSchedulesRequest(input *ListBusinessReportSchedulesInput) (req *request.Request, output *ListBusinessReportSchedulesOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, ListBusinessReportSchedules, has been deprecated") + } op := &request.Operation{ Name: opListBusinessReportSchedules, HTTPMethod: "POST", @@ -4167,6 +4622,8 @@ func (c *AlexaForBusiness) ListBusinessReportSchedulesRequest(input *ListBusines // See the AWS API reference guide for Alexa For Business's // API operation ListBusinessReportSchedules for usage and error information. // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListBusinessReportSchedules +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListBusinessReportSchedules(input *ListBusinessReportSchedulesInput) (*ListBusinessReportSchedulesOutput, error) { req, out := c.ListBusinessReportSchedulesRequest(input) return out, req.Send() @@ -4181,6 +4638,8 @@ func (c *AlexaForBusiness) ListBusinessReportSchedules(input *ListBusinessReport // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListBusinessReportSchedulesWithContext(ctx aws.Context, input *ListBusinessReportSchedulesInput, opts ...request.Option) (*ListBusinessReportSchedulesOutput, error) { req, out := c.ListBusinessReportSchedulesRequest(input) req.SetContext(ctx) @@ -4204,6 +4663,8 @@ func (c *AlexaForBusiness) ListBusinessReportSchedulesWithContext(ctx aws.Contex // fmt.Println(page) // return pageNum <= 3 // }) +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListBusinessReportSchedulesPages(input *ListBusinessReportSchedulesInput, fn func(*ListBusinessReportSchedulesOutput, bool) bool) error { return c.ListBusinessReportSchedulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4215,6 +4676,8 @@ func (c *AlexaForBusiness) ListBusinessReportSchedulesPages(input *ListBusinessR // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListBusinessReportSchedulesPagesWithContext(ctx aws.Context, input *ListBusinessReportSchedulesInput, fn func(*ListBusinessReportSchedulesOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { @@ -4264,7 +4727,12 @@ const opListConferenceProviders = "ListConferenceProviders" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListConferenceProviders +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListConferenceProvidersRequest(input *ListConferenceProvidersInput) (req *request.Request, output *ListConferenceProvidersOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, ListConferenceProviders, has been deprecated") + } op := &request.Operation{ Name: opListConferenceProviders, HTTPMethod: "POST", @@ -4297,6 +4765,8 @@ func (c *AlexaForBusiness) ListConferenceProvidersRequest(input *ListConferenceP // See the AWS API reference guide for Alexa For Business's // API operation ListConferenceProviders for usage and error information. // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListConferenceProviders +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListConferenceProviders(input *ListConferenceProvidersInput) (*ListConferenceProvidersOutput, error) { req, out := c.ListConferenceProvidersRequest(input) return out, req.Send() @@ -4311,6 +4781,8 @@ func (c *AlexaForBusiness) ListConferenceProviders(input *ListConferenceProvider // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListConferenceProvidersWithContext(ctx aws.Context, input *ListConferenceProvidersInput, opts ...request.Option) (*ListConferenceProvidersOutput, error) { req, out := c.ListConferenceProvidersRequest(input) req.SetContext(ctx) @@ -4334,6 +4806,8 @@ func (c *AlexaForBusiness) ListConferenceProvidersWithContext(ctx aws.Context, i // fmt.Println(page) // return pageNum <= 3 // }) +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListConferenceProvidersPages(input *ListConferenceProvidersInput, fn func(*ListConferenceProvidersOutput, bool) bool) error { return c.ListConferenceProvidersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4345,6 +4819,8 @@ func (c *AlexaForBusiness) ListConferenceProvidersPages(input *ListConferencePro // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListConferenceProvidersPagesWithContext(ctx aws.Context, input *ListConferenceProvidersInput, fn func(*ListConferenceProvidersOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { @@ -4394,7 +4870,12 @@ const opListDeviceEvents = "ListDeviceEvents" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListDeviceEvents +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListDeviceEventsRequest(input *ListDeviceEventsInput) (req *request.Request, output *ListDeviceEventsOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, ListDeviceEvents, has been deprecated") + } op := &request.Operation{ Name: opListDeviceEvents, HTTPMethod: "POST", @@ -4433,6 +4914,8 @@ func (c *AlexaForBusiness) ListDeviceEventsRequest(input *ListDeviceEventsInput) // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListDeviceEvents +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListDeviceEvents(input *ListDeviceEventsInput) (*ListDeviceEventsOutput, error) { req, out := c.ListDeviceEventsRequest(input) return out, req.Send() @@ -4447,6 +4930,8 @@ func (c *AlexaForBusiness) ListDeviceEvents(input *ListDeviceEventsInput) (*List // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListDeviceEventsWithContext(ctx aws.Context, input *ListDeviceEventsInput, opts ...request.Option) (*ListDeviceEventsOutput, error) { req, out := c.ListDeviceEventsRequest(input) req.SetContext(ctx) @@ -4470,6 +4955,8 @@ func (c *AlexaForBusiness) ListDeviceEventsWithContext(ctx aws.Context, input *L // fmt.Println(page) // return pageNum <= 3 // }) +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListDeviceEventsPages(input *ListDeviceEventsInput, fn func(*ListDeviceEventsOutput, bool) bool) error { return c.ListDeviceEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4481,6 +4968,8 @@ func (c *AlexaForBusiness) ListDeviceEventsPages(input *ListDeviceEventsInput, f // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListDeviceEventsPagesWithContext(ctx aws.Context, input *ListDeviceEventsInput, fn func(*ListDeviceEventsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { @@ -4530,7 +5019,12 @@ const opListGatewayGroups = "ListGatewayGroups" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListGatewayGroups +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListGatewayGroupsRequest(input *ListGatewayGroupsInput) (req *request.Request, output *ListGatewayGroupsOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, ListGatewayGroups, has been deprecated") + } op := &request.Operation{ Name: opListGatewayGroups, HTTPMethod: "POST", @@ -4564,6 +5058,8 @@ func (c *AlexaForBusiness) ListGatewayGroupsRequest(input *ListGatewayGroupsInpu // See the AWS API reference guide for Alexa For Business's // API operation ListGatewayGroups for usage and error information. // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListGatewayGroups +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListGatewayGroups(input *ListGatewayGroupsInput) (*ListGatewayGroupsOutput, error) { req, out := c.ListGatewayGroupsRequest(input) return out, req.Send() @@ -4578,6 +5074,8 @@ func (c *AlexaForBusiness) ListGatewayGroups(input *ListGatewayGroupsInput) (*Li // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListGatewayGroupsWithContext(ctx aws.Context, input *ListGatewayGroupsInput, opts ...request.Option) (*ListGatewayGroupsOutput, error) { req, out := c.ListGatewayGroupsRequest(input) req.SetContext(ctx) @@ -4601,6 +5099,8 @@ func (c *AlexaForBusiness) ListGatewayGroupsWithContext(ctx aws.Context, input * // fmt.Println(page) // return pageNum <= 3 // }) +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListGatewayGroupsPages(input *ListGatewayGroupsInput, fn func(*ListGatewayGroupsOutput, bool) bool) error { return c.ListGatewayGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4612,6 +5112,8 @@ func (c *AlexaForBusiness) ListGatewayGroupsPages(input *ListGatewayGroupsInput, // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListGatewayGroupsPagesWithContext(ctx aws.Context, input *ListGatewayGroupsInput, fn func(*ListGatewayGroupsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { @@ -4661,7 +5163,12 @@ const opListGateways = "ListGateways" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListGateways +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListGatewaysRequest(input *ListGatewaysInput) (req *request.Request, output *ListGatewaysOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, ListGateways, has been deprecated") + } op := &request.Operation{ Name: opListGateways, HTTPMethod: "POST", @@ -4697,6 +5204,8 @@ func (c *AlexaForBusiness) ListGatewaysRequest(input *ListGatewaysInput) (req *r // See the AWS API reference guide for Alexa For Business's // API operation ListGateways for usage and error information. // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListGateways +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListGateways(input *ListGatewaysInput) (*ListGatewaysOutput, error) { req, out := c.ListGatewaysRequest(input) return out, req.Send() @@ -4711,6 +5220,8 @@ func (c *AlexaForBusiness) ListGateways(input *ListGatewaysInput) (*ListGateways // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListGatewaysWithContext(ctx aws.Context, input *ListGatewaysInput, opts ...request.Option) (*ListGatewaysOutput, error) { req, out := c.ListGatewaysRequest(input) req.SetContext(ctx) @@ -4734,6 +5245,8 @@ func (c *AlexaForBusiness) ListGatewaysWithContext(ctx aws.Context, input *ListG // fmt.Println(page) // return pageNum <= 3 // }) +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListGatewaysPages(input *ListGatewaysInput, fn func(*ListGatewaysOutput, bool) bool) error { return c.ListGatewaysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4745,6 +5258,8 @@ func (c *AlexaForBusiness) ListGatewaysPages(input *ListGatewaysInput, fn func(* // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListGatewaysPagesWithContext(ctx aws.Context, input *ListGatewaysInput, fn func(*ListGatewaysOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { @@ -4794,7 +5309,12 @@ const opListSkills = "ListSkills" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListSkills +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSkillsRequest(input *ListSkillsInput) (req *request.Request, output *ListSkillsOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, ListSkills, has been deprecated") + } op := &request.Operation{ Name: opListSkills, HTTPMethod: "POST", @@ -4827,6 +5347,8 @@ func (c *AlexaForBusiness) ListSkillsRequest(input *ListSkillsInput) (req *reque // See the AWS API reference guide for Alexa For Business's // API operation ListSkills for usage and error information. // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListSkills +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSkills(input *ListSkillsInput) (*ListSkillsOutput, error) { req, out := c.ListSkillsRequest(input) return out, req.Send() @@ -4841,6 +5363,8 @@ func (c *AlexaForBusiness) ListSkills(input *ListSkillsInput) (*ListSkillsOutput // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSkillsWithContext(ctx aws.Context, input *ListSkillsInput, opts ...request.Option) (*ListSkillsOutput, error) { req, out := c.ListSkillsRequest(input) req.SetContext(ctx) @@ -4864,6 +5388,8 @@ func (c *AlexaForBusiness) ListSkillsWithContext(ctx aws.Context, input *ListSki // fmt.Println(page) // return pageNum <= 3 // }) +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSkillsPages(input *ListSkillsInput, fn func(*ListSkillsOutput, bool) bool) error { return c.ListSkillsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4875,6 +5401,8 @@ func (c *AlexaForBusiness) ListSkillsPages(input *ListSkillsInput, fn func(*List // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSkillsPagesWithContext(ctx aws.Context, input *ListSkillsInput, fn func(*ListSkillsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { @@ -4924,7 +5452,12 @@ const opListSkillsStoreCategories = "ListSkillsStoreCategories" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListSkillsStoreCategories +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSkillsStoreCategoriesRequest(input *ListSkillsStoreCategoriesInput) (req *request.Request, output *ListSkillsStoreCategoriesOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, ListSkillsStoreCategories, has been deprecated") + } op := &request.Operation{ Name: opListSkillsStoreCategories, HTTPMethod: "POST", @@ -4957,6 +5490,8 @@ func (c *AlexaForBusiness) ListSkillsStoreCategoriesRequest(input *ListSkillsSto // See the AWS API reference guide for Alexa For Business's // API operation ListSkillsStoreCategories for usage and error information. // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListSkillsStoreCategories +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSkillsStoreCategories(input *ListSkillsStoreCategoriesInput) (*ListSkillsStoreCategoriesOutput, error) { req, out := c.ListSkillsStoreCategoriesRequest(input) return out, req.Send() @@ -4971,6 +5506,8 @@ func (c *AlexaForBusiness) ListSkillsStoreCategories(input *ListSkillsStoreCateg // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSkillsStoreCategoriesWithContext(ctx aws.Context, input *ListSkillsStoreCategoriesInput, opts ...request.Option) (*ListSkillsStoreCategoriesOutput, error) { req, out := c.ListSkillsStoreCategoriesRequest(input) req.SetContext(ctx) @@ -4994,6 +5531,8 @@ func (c *AlexaForBusiness) ListSkillsStoreCategoriesWithContext(ctx aws.Context, // fmt.Println(page) // return pageNum <= 3 // }) +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSkillsStoreCategoriesPages(input *ListSkillsStoreCategoriesInput, fn func(*ListSkillsStoreCategoriesOutput, bool) bool) error { return c.ListSkillsStoreCategoriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5005,6 +5544,8 @@ func (c *AlexaForBusiness) ListSkillsStoreCategoriesPages(input *ListSkillsStore // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSkillsStoreCategoriesPagesWithContext(ctx aws.Context, input *ListSkillsStoreCategoriesInput, fn func(*ListSkillsStoreCategoriesOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { @@ -5054,7 +5595,12 @@ const opListSkillsStoreSkillsByCategory = "ListSkillsStoreSkillsByCategory" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListSkillsStoreSkillsByCategory +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSkillsStoreSkillsByCategoryRequest(input *ListSkillsStoreSkillsByCategoryInput) (req *request.Request, output *ListSkillsStoreSkillsByCategoryOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, ListSkillsStoreSkillsByCategory, has been deprecated") + } op := &request.Operation{ Name: opListSkillsStoreSkillsByCategory, HTTPMethod: "POST", @@ -5087,6 +5633,8 @@ func (c *AlexaForBusiness) ListSkillsStoreSkillsByCategoryRequest(input *ListSki // See the AWS API reference guide for Alexa For Business's // API operation ListSkillsStoreSkillsByCategory for usage and error information. // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListSkillsStoreSkillsByCategory +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSkillsStoreSkillsByCategory(input *ListSkillsStoreSkillsByCategoryInput) (*ListSkillsStoreSkillsByCategoryOutput, error) { req, out := c.ListSkillsStoreSkillsByCategoryRequest(input) return out, req.Send() @@ -5101,6 +5649,8 @@ func (c *AlexaForBusiness) ListSkillsStoreSkillsByCategory(input *ListSkillsStor // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSkillsStoreSkillsByCategoryWithContext(ctx aws.Context, input *ListSkillsStoreSkillsByCategoryInput, opts ...request.Option) (*ListSkillsStoreSkillsByCategoryOutput, error) { req, out := c.ListSkillsStoreSkillsByCategoryRequest(input) req.SetContext(ctx) @@ -5124,6 +5674,8 @@ func (c *AlexaForBusiness) ListSkillsStoreSkillsByCategoryWithContext(ctx aws.Co // fmt.Println(page) // return pageNum <= 3 // }) +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSkillsStoreSkillsByCategoryPages(input *ListSkillsStoreSkillsByCategoryInput, fn func(*ListSkillsStoreSkillsByCategoryOutput, bool) bool) error { return c.ListSkillsStoreSkillsByCategoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5135,6 +5687,8 @@ func (c *AlexaForBusiness) ListSkillsStoreSkillsByCategoryPages(input *ListSkill // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSkillsStoreSkillsByCategoryPagesWithContext(ctx aws.Context, input *ListSkillsStoreSkillsByCategoryInput, fn func(*ListSkillsStoreSkillsByCategoryOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { @@ -5184,7 +5738,12 @@ const opListSmartHomeAppliances = "ListSmartHomeAppliances" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListSmartHomeAppliances +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSmartHomeAppliancesRequest(input *ListSmartHomeAppliancesInput) (req *request.Request, output *ListSmartHomeAppliancesOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, ListSmartHomeAppliances, has been deprecated") + } op := &request.Operation{ Name: opListSmartHomeAppliances, HTTPMethod: "POST", @@ -5222,6 +5781,8 @@ func (c *AlexaForBusiness) ListSmartHomeAppliancesRequest(input *ListSmartHomeAp // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListSmartHomeAppliances +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSmartHomeAppliances(input *ListSmartHomeAppliancesInput) (*ListSmartHomeAppliancesOutput, error) { req, out := c.ListSmartHomeAppliancesRequest(input) return out, req.Send() @@ -5236,6 +5797,8 @@ func (c *AlexaForBusiness) ListSmartHomeAppliances(input *ListSmartHomeAppliance // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSmartHomeAppliancesWithContext(ctx aws.Context, input *ListSmartHomeAppliancesInput, opts ...request.Option) (*ListSmartHomeAppliancesOutput, error) { req, out := c.ListSmartHomeAppliancesRequest(input) req.SetContext(ctx) @@ -5259,6 +5822,8 @@ func (c *AlexaForBusiness) ListSmartHomeAppliancesWithContext(ctx aws.Context, i // fmt.Println(page) // return pageNum <= 3 // }) +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSmartHomeAppliancesPages(input *ListSmartHomeAppliancesInput, fn func(*ListSmartHomeAppliancesOutput, bool) bool) error { return c.ListSmartHomeAppliancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5270,6 +5835,8 @@ func (c *AlexaForBusiness) ListSmartHomeAppliancesPages(input *ListSmartHomeAppl // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListSmartHomeAppliancesPagesWithContext(ctx aws.Context, input *ListSmartHomeAppliancesInput, fn func(*ListSmartHomeAppliancesOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { @@ -5319,7 +5886,12 @@ const opListTags = "ListTags" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListTags +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, ListTags, has been deprecated") + } op := &request.Operation{ Name: opListTags, HTTPMethod: "POST", @@ -5357,6 +5929,8 @@ func (c *AlexaForBusiness) ListTagsRequest(input *ListTagsInput) (req *request.R // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListTags +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { req, out := c.ListTagsRequest(input) return out, req.Send() @@ -5371,6 +5945,8 @@ func (c *AlexaForBusiness) ListTags(input *ListTagsInput) (*ListTagsOutput, erro // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts ...request.Option) (*ListTagsOutput, error) { req, out := c.ListTagsRequest(input) req.SetContext(ctx) @@ -5394,6 +5970,8 @@ func (c *AlexaForBusiness) ListTagsWithContext(ctx aws.Context, input *ListTagsI // fmt.Println(page) // return pageNum <= 3 // }) +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error { return c.ListTagsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5405,6 +5983,8 @@ func (c *AlexaForBusiness) ListTagsPages(input *ListTagsInput, fn func(*ListTags // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ListTagsPagesWithContext(ctx aws.Context, input *ListTagsInput, fn func(*ListTagsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { @@ -5454,7 +6034,12 @@ const opPutConferencePreference = "PutConferencePreference" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/PutConferencePreference +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) PutConferencePreferenceRequest(input *PutConferencePreferenceInput) (req *request.Request, output *PutConferencePreferenceOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, PutConferencePreference, has been deprecated") + } op := &request.Operation{ Name: opPutConferencePreference, HTTPMethod: "POST", @@ -5488,6 +6073,8 @@ func (c *AlexaForBusiness) PutConferencePreferenceRequest(input *PutConferencePr // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/PutConferencePreference +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) PutConferencePreference(input *PutConferencePreferenceInput) (*PutConferencePreferenceOutput, error) { req, out := c.PutConferencePreferenceRequest(input) return out, req.Send() @@ -5502,6 +6089,8 @@ func (c *AlexaForBusiness) PutConferencePreference(input *PutConferencePreferenc // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) PutConferencePreferenceWithContext(ctx aws.Context, input *PutConferencePreferenceInput, opts ...request.Option) (*PutConferencePreferenceOutput, error) { req, out := c.PutConferencePreferenceRequest(input) req.SetContext(ctx) @@ -5534,7 +6123,12 @@ const opPutInvitationConfiguration = "PutInvitationConfiguration" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/PutInvitationConfiguration +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) PutInvitationConfigurationRequest(input *PutInvitationConfigurationInput) (req *request.Request, output *PutInvitationConfigurationOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, PutInvitationConfiguration, has been deprecated") + } op := &request.Operation{ Name: opPutInvitationConfiguration, HTTPMethod: "POST", @@ -5572,6 +6166,8 @@ func (c *AlexaForBusiness) PutInvitationConfigurationRequest(input *PutInvitatio // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/PutInvitationConfiguration +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) PutInvitationConfiguration(input *PutInvitationConfigurationInput) (*PutInvitationConfigurationOutput, error) { req, out := c.PutInvitationConfigurationRequest(input) return out, req.Send() @@ -5586,6 +6182,8 @@ func (c *AlexaForBusiness) PutInvitationConfiguration(input *PutInvitationConfig // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) PutInvitationConfigurationWithContext(ctx aws.Context, input *PutInvitationConfigurationInput, opts ...request.Option) (*PutInvitationConfigurationOutput, error) { req, out := c.PutInvitationConfigurationRequest(input) req.SetContext(ctx) @@ -5618,7 +6216,12 @@ const opPutRoomSkillParameter = "PutRoomSkillParameter" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/PutRoomSkillParameter +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) PutRoomSkillParameterRequest(input *PutRoomSkillParameterInput) (req *request.Request, output *PutRoomSkillParameterOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, PutRoomSkillParameter, has been deprecated") + } op := &request.Operation{ Name: opPutRoomSkillParameter, HTTPMethod: "POST", @@ -5652,6 +6255,8 @@ func (c *AlexaForBusiness) PutRoomSkillParameterRequest(input *PutRoomSkillParam // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/PutRoomSkillParameter +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) PutRoomSkillParameter(input *PutRoomSkillParameterInput) (*PutRoomSkillParameterOutput, error) { req, out := c.PutRoomSkillParameterRequest(input) return out, req.Send() @@ -5666,6 +6271,8 @@ func (c *AlexaForBusiness) PutRoomSkillParameter(input *PutRoomSkillParameterInp // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) PutRoomSkillParameterWithContext(ctx aws.Context, input *PutRoomSkillParameterInput, opts ...request.Option) (*PutRoomSkillParameterOutput, error) { req, out := c.PutRoomSkillParameterRequest(input) req.SetContext(ctx) @@ -5698,7 +6305,12 @@ const opPutSkillAuthorization = "PutSkillAuthorization" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/PutSkillAuthorization +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) PutSkillAuthorizationRequest(input *PutSkillAuthorizationInput) (req *request.Request, output *PutSkillAuthorizationOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, PutSkillAuthorization, has been deprecated") + } op := &request.Operation{ Name: opPutSkillAuthorization, HTTPMethod: "POST", @@ -5739,6 +6351,8 @@ func (c *AlexaForBusiness) PutSkillAuthorizationRequest(input *PutSkillAuthoriza // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/PutSkillAuthorization +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) PutSkillAuthorization(input *PutSkillAuthorizationInput) (*PutSkillAuthorizationOutput, error) { req, out := c.PutSkillAuthorizationRequest(input) return out, req.Send() @@ -5753,6 +6367,8 @@ func (c *AlexaForBusiness) PutSkillAuthorization(input *PutSkillAuthorizationInp // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) PutSkillAuthorizationWithContext(ctx aws.Context, input *PutSkillAuthorizationInput, opts ...request.Option) (*PutSkillAuthorizationOutput, error) { req, out := c.PutSkillAuthorizationRequest(input) req.SetContext(ctx) @@ -5785,7 +6401,12 @@ const opRegisterAVSDevice = "RegisterAVSDevice" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/RegisterAVSDevice +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) RegisterAVSDeviceRequest(input *RegisterAVSDeviceInput) (req *request.Request, output *RegisterAVSDeviceOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, RegisterAVSDevice, has been deprecated") + } op := &request.Operation{ Name: opRegisterAVSDevice, HTTPMethod: "POST", @@ -5828,6 +6449,8 @@ func (c *AlexaForBusiness) RegisterAVSDeviceRequest(input *RegisterAVSDeviceInpu // The device is in an invalid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/RegisterAVSDevice +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) RegisterAVSDevice(input *RegisterAVSDeviceInput) (*RegisterAVSDeviceOutput, error) { req, out := c.RegisterAVSDeviceRequest(input) return out, req.Send() @@ -5842,6 +6465,8 @@ func (c *AlexaForBusiness) RegisterAVSDevice(input *RegisterAVSDeviceInput) (*Re // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) RegisterAVSDeviceWithContext(ctx aws.Context, input *RegisterAVSDeviceInput, opts ...request.Option) (*RegisterAVSDeviceOutput, error) { req, out := c.RegisterAVSDeviceRequest(input) req.SetContext(ctx) @@ -5874,7 +6499,12 @@ const opRejectSkill = "RejectSkill" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/RejectSkill +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) RejectSkillRequest(input *RejectSkillInput) (req *request.Request, output *RejectSkillOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, RejectSkill, has been deprecated") + } op := &request.Operation{ Name: opRejectSkill, HTTPMethod: "POST", @@ -5914,6 +6544,8 @@ func (c *AlexaForBusiness) RejectSkillRequest(input *RejectSkillInput) (req *req // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/RejectSkill +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) RejectSkill(input *RejectSkillInput) (*RejectSkillOutput, error) { req, out := c.RejectSkillRequest(input) return out, req.Send() @@ -5928,6 +6560,8 @@ func (c *AlexaForBusiness) RejectSkill(input *RejectSkillInput) (*RejectSkillOut // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) RejectSkillWithContext(ctx aws.Context, input *RejectSkillInput, opts ...request.Option) (*RejectSkillOutput, error) { req, out := c.RejectSkillRequest(input) req.SetContext(ctx) @@ -5960,7 +6594,12 @@ const opResolveRoom = "ResolveRoom" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ResolveRoom +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ResolveRoomRequest(input *ResolveRoomInput) (req *request.Request, output *ResolveRoomOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, ResolveRoom, has been deprecated") + } op := &request.Operation{ Name: opResolveRoom, HTTPMethod: "POST", @@ -6000,6 +6639,8 @@ func (c *AlexaForBusiness) ResolveRoomRequest(input *ResolveRoomInput) (req *req // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ResolveRoom +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ResolveRoom(input *ResolveRoomInput) (*ResolveRoomOutput, error) { req, out := c.ResolveRoomRequest(input) return out, req.Send() @@ -6014,6 +6655,8 @@ func (c *AlexaForBusiness) ResolveRoom(input *ResolveRoomInput) (*ResolveRoomOut // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) ResolveRoomWithContext(ctx aws.Context, input *ResolveRoomInput, opts ...request.Option) (*ResolveRoomOutput, error) { req, out := c.ResolveRoomRequest(input) req.SetContext(ctx) @@ -6046,7 +6689,12 @@ const opRevokeInvitation = "RevokeInvitation" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/RevokeInvitation +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) RevokeInvitationRequest(input *RevokeInvitationInput) (req *request.Request, output *RevokeInvitationOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, RevokeInvitation, has been deprecated") + } op := &request.Operation{ Name: opRevokeInvitation, HTTPMethod: "POST", @@ -6083,6 +6731,8 @@ func (c *AlexaForBusiness) RevokeInvitationRequest(input *RevokeInvitationInput) // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/RevokeInvitation +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) RevokeInvitation(input *RevokeInvitationInput) (*RevokeInvitationOutput, error) { req, out := c.RevokeInvitationRequest(input) return out, req.Send() @@ -6097,6 +6747,8 @@ func (c *AlexaForBusiness) RevokeInvitation(input *RevokeInvitationInput) (*Revo // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) RevokeInvitationWithContext(ctx aws.Context, input *RevokeInvitationInput, opts ...request.Option) (*RevokeInvitationOutput, error) { req, out := c.RevokeInvitationRequest(input) req.SetContext(ctx) @@ -6129,7 +6781,12 @@ const opSearchAddressBooks = "SearchAddressBooks" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchAddressBooks +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchAddressBooksRequest(input *SearchAddressBooksInput) (req *request.Request, output *SearchAddressBooksOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, SearchAddressBooks, has been deprecated") + } op := &request.Operation{ Name: opSearchAddressBooks, HTTPMethod: "POST", @@ -6163,6 +6820,8 @@ func (c *AlexaForBusiness) SearchAddressBooksRequest(input *SearchAddressBooksIn // See the AWS API reference guide for Alexa For Business's // API operation SearchAddressBooks for usage and error information. // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchAddressBooks +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchAddressBooks(input *SearchAddressBooksInput) (*SearchAddressBooksOutput, error) { req, out := c.SearchAddressBooksRequest(input) return out, req.Send() @@ -6177,6 +6836,8 @@ func (c *AlexaForBusiness) SearchAddressBooks(input *SearchAddressBooksInput) (* // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchAddressBooksWithContext(ctx aws.Context, input *SearchAddressBooksInput, opts ...request.Option) (*SearchAddressBooksOutput, error) { req, out := c.SearchAddressBooksRequest(input) req.SetContext(ctx) @@ -6200,6 +6861,8 @@ func (c *AlexaForBusiness) SearchAddressBooksWithContext(ctx aws.Context, input // fmt.Println(page) // return pageNum <= 3 // }) +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchAddressBooksPages(input *SearchAddressBooksInput, fn func(*SearchAddressBooksOutput, bool) bool) error { return c.SearchAddressBooksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6211,6 +6874,8 @@ func (c *AlexaForBusiness) SearchAddressBooksPages(input *SearchAddressBooksInpu // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchAddressBooksPagesWithContext(ctx aws.Context, input *SearchAddressBooksInput, fn func(*SearchAddressBooksOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { @@ -6260,7 +6925,12 @@ const opSearchContacts = "SearchContacts" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchContacts +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchContactsRequest(input *SearchContactsInput) (req *request.Request, output *SearchContactsOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, SearchContacts, has been deprecated") + } op := &request.Operation{ Name: opSearchContacts, HTTPMethod: "POST", @@ -6293,6 +6963,8 @@ func (c *AlexaForBusiness) SearchContactsRequest(input *SearchContactsInput) (re // See the AWS API reference guide for Alexa For Business's // API operation SearchContacts for usage and error information. // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchContacts +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchContacts(input *SearchContactsInput) (*SearchContactsOutput, error) { req, out := c.SearchContactsRequest(input) return out, req.Send() @@ -6307,6 +6979,8 @@ func (c *AlexaForBusiness) SearchContacts(input *SearchContactsInput) (*SearchCo // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchContactsWithContext(ctx aws.Context, input *SearchContactsInput, opts ...request.Option) (*SearchContactsOutput, error) { req, out := c.SearchContactsRequest(input) req.SetContext(ctx) @@ -6330,6 +7004,8 @@ func (c *AlexaForBusiness) SearchContactsWithContext(ctx aws.Context, input *Sea // fmt.Println(page) // return pageNum <= 3 // }) +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchContactsPages(input *SearchContactsInput, fn func(*SearchContactsOutput, bool) bool) error { return c.SearchContactsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6341,6 +7017,8 @@ func (c *AlexaForBusiness) SearchContactsPages(input *SearchContactsInput, fn fu // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchContactsPagesWithContext(ctx aws.Context, input *SearchContactsInput, fn func(*SearchContactsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { @@ -6390,7 +7068,12 @@ const opSearchDevices = "SearchDevices" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchDevices +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchDevicesRequest(input *SearchDevicesInput) (req *request.Request, output *SearchDevicesOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, SearchDevices, has been deprecated") + } op := &request.Operation{ Name: opSearchDevices, HTTPMethod: "POST", @@ -6423,6 +7106,8 @@ func (c *AlexaForBusiness) SearchDevicesRequest(input *SearchDevicesInput) (req // See the AWS API reference guide for Alexa For Business's // API operation SearchDevices for usage and error information. // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchDevices +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchDevices(input *SearchDevicesInput) (*SearchDevicesOutput, error) { req, out := c.SearchDevicesRequest(input) return out, req.Send() @@ -6437,6 +7122,8 @@ func (c *AlexaForBusiness) SearchDevices(input *SearchDevicesInput) (*SearchDevi // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchDevicesWithContext(ctx aws.Context, input *SearchDevicesInput, opts ...request.Option) (*SearchDevicesOutput, error) { req, out := c.SearchDevicesRequest(input) req.SetContext(ctx) @@ -6460,6 +7147,8 @@ func (c *AlexaForBusiness) SearchDevicesWithContext(ctx aws.Context, input *Sear // fmt.Println(page) // return pageNum <= 3 // }) +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchDevicesPages(input *SearchDevicesInput, fn func(*SearchDevicesOutput, bool) bool) error { return c.SearchDevicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6471,6 +7160,8 @@ func (c *AlexaForBusiness) SearchDevicesPages(input *SearchDevicesInput, fn func // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchDevicesPagesWithContext(ctx aws.Context, input *SearchDevicesInput, fn func(*SearchDevicesOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { @@ -6520,7 +7211,12 @@ const opSearchNetworkProfiles = "SearchNetworkProfiles" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchNetworkProfiles +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchNetworkProfilesRequest(input *SearchNetworkProfilesInput) (req *request.Request, output *SearchNetworkProfilesOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, SearchNetworkProfiles, has been deprecated") + } op := &request.Operation{ Name: opSearchNetworkProfiles, HTTPMethod: "POST", @@ -6554,6 +7250,8 @@ func (c *AlexaForBusiness) SearchNetworkProfilesRequest(input *SearchNetworkProf // See the AWS API reference guide for Alexa For Business's // API operation SearchNetworkProfiles for usage and error information. // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchNetworkProfiles +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchNetworkProfiles(input *SearchNetworkProfilesInput) (*SearchNetworkProfilesOutput, error) { req, out := c.SearchNetworkProfilesRequest(input) return out, req.Send() @@ -6568,6 +7266,8 @@ func (c *AlexaForBusiness) SearchNetworkProfiles(input *SearchNetworkProfilesInp // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchNetworkProfilesWithContext(ctx aws.Context, input *SearchNetworkProfilesInput, opts ...request.Option) (*SearchNetworkProfilesOutput, error) { req, out := c.SearchNetworkProfilesRequest(input) req.SetContext(ctx) @@ -6591,6 +7291,8 @@ func (c *AlexaForBusiness) SearchNetworkProfilesWithContext(ctx aws.Context, inp // fmt.Println(page) // return pageNum <= 3 // }) +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchNetworkProfilesPages(input *SearchNetworkProfilesInput, fn func(*SearchNetworkProfilesOutput, bool) bool) error { return c.SearchNetworkProfilesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6602,6 +7304,8 @@ func (c *AlexaForBusiness) SearchNetworkProfilesPages(input *SearchNetworkProfil // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchNetworkProfilesPagesWithContext(ctx aws.Context, input *SearchNetworkProfilesInput, fn func(*SearchNetworkProfilesOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { @@ -6651,7 +7355,12 @@ const opSearchProfiles = "SearchProfiles" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchProfiles +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchProfilesRequest(input *SearchProfilesInput) (req *request.Request, output *SearchProfilesOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, SearchProfiles, has been deprecated") + } op := &request.Operation{ Name: opSearchProfiles, HTTPMethod: "POST", @@ -6684,6 +7393,8 @@ func (c *AlexaForBusiness) SearchProfilesRequest(input *SearchProfilesInput) (re // See the AWS API reference guide for Alexa For Business's // API operation SearchProfiles for usage and error information. // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchProfiles +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchProfiles(input *SearchProfilesInput) (*SearchProfilesOutput, error) { req, out := c.SearchProfilesRequest(input) return out, req.Send() @@ -6698,6 +7409,8 @@ func (c *AlexaForBusiness) SearchProfiles(input *SearchProfilesInput) (*SearchPr // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchProfilesWithContext(ctx aws.Context, input *SearchProfilesInput, opts ...request.Option) (*SearchProfilesOutput, error) { req, out := c.SearchProfilesRequest(input) req.SetContext(ctx) @@ -6721,6 +7434,8 @@ func (c *AlexaForBusiness) SearchProfilesWithContext(ctx aws.Context, input *Sea // fmt.Println(page) // return pageNum <= 3 // }) +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchProfilesPages(input *SearchProfilesInput, fn func(*SearchProfilesOutput, bool) bool) error { return c.SearchProfilesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6732,6 +7447,8 @@ func (c *AlexaForBusiness) SearchProfilesPages(input *SearchProfilesInput, fn fu // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchProfilesPagesWithContext(ctx aws.Context, input *SearchProfilesInput, fn func(*SearchProfilesOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { @@ -6781,7 +7498,12 @@ const opSearchRooms = "SearchRooms" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchRooms +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchRoomsRequest(input *SearchRoomsInput) (req *request.Request, output *SearchRoomsOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, SearchRooms, has been deprecated") + } op := &request.Operation{ Name: opSearchRooms, HTTPMethod: "POST", @@ -6814,6 +7536,8 @@ func (c *AlexaForBusiness) SearchRoomsRequest(input *SearchRoomsInput) (req *req // See the AWS API reference guide for Alexa For Business's // API operation SearchRooms for usage and error information. // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchRooms +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchRooms(input *SearchRoomsInput) (*SearchRoomsOutput, error) { req, out := c.SearchRoomsRequest(input) return out, req.Send() @@ -6828,6 +7552,8 @@ func (c *AlexaForBusiness) SearchRooms(input *SearchRoomsInput) (*SearchRoomsOut // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchRoomsWithContext(ctx aws.Context, input *SearchRoomsInput, opts ...request.Option) (*SearchRoomsOutput, error) { req, out := c.SearchRoomsRequest(input) req.SetContext(ctx) @@ -6851,6 +7577,8 @@ func (c *AlexaForBusiness) SearchRoomsWithContext(ctx aws.Context, input *Search // fmt.Println(page) // return pageNum <= 3 // }) +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchRoomsPages(input *SearchRoomsInput, fn func(*SearchRoomsOutput, bool) bool) error { return c.SearchRoomsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6862,6 +7590,8 @@ func (c *AlexaForBusiness) SearchRoomsPages(input *SearchRoomsInput, fn func(*Se // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchRoomsPagesWithContext(ctx aws.Context, input *SearchRoomsInput, fn func(*SearchRoomsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { @@ -6911,7 +7641,12 @@ const opSearchSkillGroups = "SearchSkillGroups" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchSkillGroups +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchSkillGroupsRequest(input *SearchSkillGroupsInput) (req *request.Request, output *SearchSkillGroupsOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, SearchSkillGroups, has been deprecated") + } op := &request.Operation{ Name: opSearchSkillGroups, HTTPMethod: "POST", @@ -6945,6 +7680,8 @@ func (c *AlexaForBusiness) SearchSkillGroupsRequest(input *SearchSkillGroupsInpu // See the AWS API reference guide for Alexa For Business's // API operation SearchSkillGroups for usage and error information. // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchSkillGroups +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchSkillGroups(input *SearchSkillGroupsInput) (*SearchSkillGroupsOutput, error) { req, out := c.SearchSkillGroupsRequest(input) return out, req.Send() @@ -6959,6 +7696,8 @@ func (c *AlexaForBusiness) SearchSkillGroups(input *SearchSkillGroupsInput) (*Se // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchSkillGroupsWithContext(ctx aws.Context, input *SearchSkillGroupsInput, opts ...request.Option) (*SearchSkillGroupsOutput, error) { req, out := c.SearchSkillGroupsRequest(input) req.SetContext(ctx) @@ -6982,6 +7721,8 @@ func (c *AlexaForBusiness) SearchSkillGroupsWithContext(ctx aws.Context, input * // fmt.Println(page) // return pageNum <= 3 // }) +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchSkillGroupsPages(input *SearchSkillGroupsInput, fn func(*SearchSkillGroupsOutput, bool) bool) error { return c.SearchSkillGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6993,6 +7734,8 @@ func (c *AlexaForBusiness) SearchSkillGroupsPages(input *SearchSkillGroupsInput, // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchSkillGroupsPagesWithContext(ctx aws.Context, input *SearchSkillGroupsInput, fn func(*SearchSkillGroupsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { @@ -7042,7 +7785,12 @@ const opSearchUsers = "SearchUsers" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchUsers +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchUsersRequest(input *SearchUsersInput) (req *request.Request, output *SearchUsersOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, SearchUsers, has been deprecated") + } op := &request.Operation{ Name: opSearchUsers, HTTPMethod: "POST", @@ -7075,6 +7823,8 @@ func (c *AlexaForBusiness) SearchUsersRequest(input *SearchUsersInput) (req *req // See the AWS API reference guide for Alexa For Business's // API operation SearchUsers for usage and error information. // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchUsers +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchUsers(input *SearchUsersInput) (*SearchUsersOutput, error) { req, out := c.SearchUsersRequest(input) return out, req.Send() @@ -7089,6 +7839,8 @@ func (c *AlexaForBusiness) SearchUsers(input *SearchUsersInput) (*SearchUsersOut // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchUsersWithContext(ctx aws.Context, input *SearchUsersInput, opts ...request.Option) (*SearchUsersOutput, error) { req, out := c.SearchUsersRequest(input) req.SetContext(ctx) @@ -7112,6 +7864,8 @@ func (c *AlexaForBusiness) SearchUsersWithContext(ctx aws.Context, input *Search // fmt.Println(page) // return pageNum <= 3 // }) +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchUsersPages(input *SearchUsersInput, fn func(*SearchUsersOutput, bool) bool) error { return c.SearchUsersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7123,6 +7877,8 @@ func (c *AlexaForBusiness) SearchUsersPages(input *SearchUsersInput, fn func(*Se // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SearchUsersPagesWithContext(ctx aws.Context, input *SearchUsersInput, fn func(*SearchUsersOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { @@ -7255,7 +8011,12 @@ const opSendInvitation = "SendInvitation" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SendInvitation +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SendInvitationRequest(input *SendInvitationInput) (req *request.Request, output *SendInvitationOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, SendInvitation, has been deprecated") + } op := &request.Operation{ Name: opSendInvitation, HTTPMethod: "POST", @@ -7296,6 +8057,8 @@ func (c *AlexaForBusiness) SendInvitationRequest(input *SendInvitationInput) (re // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SendInvitation +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SendInvitation(input *SendInvitationInput) (*SendInvitationOutput, error) { req, out := c.SendInvitationRequest(input) return out, req.Send() @@ -7310,6 +8073,8 @@ func (c *AlexaForBusiness) SendInvitation(input *SendInvitationInput) (*SendInvi // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) SendInvitationWithContext(ctx aws.Context, input *SendInvitationInput, opts ...request.Option) (*SendInvitationOutput, error) { req, out := c.SendInvitationRequest(input) req.SetContext(ctx) @@ -7342,7 +8107,12 @@ const opStartDeviceSync = "StartDeviceSync" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/StartDeviceSync +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) StartDeviceSyncRequest(input *StartDeviceSyncInput) (req *request.Request, output *StartDeviceSyncOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, StartDeviceSync, has been deprecated") + } op := &request.Operation{ Name: opStartDeviceSync, HTTPMethod: "POST", @@ -7390,6 +8160,8 @@ func (c *AlexaForBusiness) StartDeviceSyncRequest(input *StartDeviceSyncInput) ( // no longer managed by this account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/StartDeviceSync +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) StartDeviceSync(input *StartDeviceSyncInput) (*StartDeviceSyncOutput, error) { req, out := c.StartDeviceSyncRequest(input) return out, req.Send() @@ -7404,6 +8176,8 @@ func (c *AlexaForBusiness) StartDeviceSync(input *StartDeviceSyncInput) (*StartD // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) StartDeviceSyncWithContext(ctx aws.Context, input *StartDeviceSyncInput, opts ...request.Option) (*StartDeviceSyncOutput, error) { req, out := c.StartDeviceSyncRequest(input) req.SetContext(ctx) @@ -7436,7 +8210,12 @@ const opStartSmartHomeApplianceDiscovery = "StartSmartHomeApplianceDiscovery" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/StartSmartHomeApplianceDiscovery +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) StartSmartHomeApplianceDiscoveryRequest(input *StartSmartHomeApplianceDiscoveryInput) (req *request.Request, output *StartSmartHomeApplianceDiscoveryOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, StartSmartHomeApplianceDiscovery, has been deprecated") + } op := &request.Operation{ Name: opStartSmartHomeApplianceDiscovery, HTTPMethod: "POST", @@ -7470,6 +8249,8 @@ func (c *AlexaForBusiness) StartSmartHomeApplianceDiscoveryRequest(input *StartS // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/StartSmartHomeApplianceDiscovery +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) StartSmartHomeApplianceDiscovery(input *StartSmartHomeApplianceDiscoveryInput) (*StartSmartHomeApplianceDiscoveryOutput, error) { req, out := c.StartSmartHomeApplianceDiscoveryRequest(input) return out, req.Send() @@ -7484,6 +8265,8 @@ func (c *AlexaForBusiness) StartSmartHomeApplianceDiscovery(input *StartSmartHom // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) StartSmartHomeApplianceDiscoveryWithContext(ctx aws.Context, input *StartSmartHomeApplianceDiscoveryInput, opts ...request.Option) (*StartSmartHomeApplianceDiscoveryOutput, error) { req, out := c.StartSmartHomeApplianceDiscoveryRequest(input) req.SetContext(ctx) @@ -7516,7 +8299,12 @@ const opTagResource = "TagResource" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/TagResource +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, TagResource, has been deprecated") + } op := &request.Operation{ Name: opTagResource, HTTPMethod: "POST", @@ -7549,6 +8337,8 @@ func (c *AlexaForBusiness) TagResourceRequest(input *TagResourceInput) (req *req // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/TagResource +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { req, out := c.TagResourceRequest(input) return out, req.Send() @@ -7563,6 +8353,8 @@ func (c *AlexaForBusiness) TagResource(input *TagResourceInput) (*TagResourceOut // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { req, out := c.TagResourceRequest(input) req.SetContext(ctx) @@ -7595,7 +8387,12 @@ const opUntagResource = "UntagResource" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UntagResource +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, UntagResource, has been deprecated") + } op := &request.Operation{ Name: opUntagResource, HTTPMethod: "POST", @@ -7628,6 +8425,8 @@ func (c *AlexaForBusiness) UntagResourceRequest(input *UntagResourceInput) (req // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UntagResource +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { req, out := c.UntagResourceRequest(input) return out, req.Send() @@ -7642,6 +8441,8 @@ func (c *AlexaForBusiness) UntagResource(input *UntagResourceInput) (*UntagResou // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { req, out := c.UntagResourceRequest(input) req.SetContext(ctx) @@ -7674,7 +8475,12 @@ const opUpdateAddressBook = "UpdateAddressBook" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateAddressBook +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateAddressBookRequest(input *UpdateAddressBookInput) (req *request.Request, output *UpdateAddressBookOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, UpdateAddressBook, has been deprecated") + } op := &request.Operation{ Name: opUpdateAddressBook, HTTPMethod: "POST", @@ -7714,6 +8520,8 @@ func (c *AlexaForBusiness) UpdateAddressBookRequest(input *UpdateAddressBookInpu // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateAddressBook +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateAddressBook(input *UpdateAddressBookInput) (*UpdateAddressBookOutput, error) { req, out := c.UpdateAddressBookRequest(input) return out, req.Send() @@ -7728,6 +8536,8 @@ func (c *AlexaForBusiness) UpdateAddressBook(input *UpdateAddressBookInput) (*Up // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateAddressBookWithContext(ctx aws.Context, input *UpdateAddressBookInput, opts ...request.Option) (*UpdateAddressBookOutput, error) { req, out := c.UpdateAddressBookRequest(input) req.SetContext(ctx) @@ -7760,7 +8570,12 @@ const opUpdateBusinessReportSchedule = "UpdateBusinessReportSchedule" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateBusinessReportSchedule +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateBusinessReportScheduleRequest(input *UpdateBusinessReportScheduleInput) (req *request.Request, output *UpdateBusinessReportScheduleOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, UpdateBusinessReportSchedule, has been deprecated") + } op := &request.Operation{ Name: opUpdateBusinessReportSchedule, HTTPMethod: "POST", @@ -7798,6 +8613,8 @@ func (c *AlexaForBusiness) UpdateBusinessReportScheduleRequest(input *UpdateBusi // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateBusinessReportSchedule +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateBusinessReportSchedule(input *UpdateBusinessReportScheduleInput) (*UpdateBusinessReportScheduleOutput, error) { req, out := c.UpdateBusinessReportScheduleRequest(input) return out, req.Send() @@ -7812,6 +8629,8 @@ func (c *AlexaForBusiness) UpdateBusinessReportSchedule(input *UpdateBusinessRep // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateBusinessReportScheduleWithContext(ctx aws.Context, input *UpdateBusinessReportScheduleInput, opts ...request.Option) (*UpdateBusinessReportScheduleOutput, error) { req, out := c.UpdateBusinessReportScheduleRequest(input) req.SetContext(ctx) @@ -7844,7 +8663,12 @@ const opUpdateConferenceProvider = "UpdateConferenceProvider" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateConferenceProvider +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateConferenceProviderRequest(input *UpdateConferenceProviderInput) (req *request.Request, output *UpdateConferenceProviderOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, UpdateConferenceProvider, has been deprecated") + } op := &request.Operation{ Name: opUpdateConferenceProvider, HTTPMethod: "POST", @@ -7877,6 +8701,8 @@ func (c *AlexaForBusiness) UpdateConferenceProviderRequest(input *UpdateConferen // The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateConferenceProvider +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateConferenceProvider(input *UpdateConferenceProviderInput) (*UpdateConferenceProviderOutput, error) { req, out := c.UpdateConferenceProviderRequest(input) return out, req.Send() @@ -7891,6 +8717,8 @@ func (c *AlexaForBusiness) UpdateConferenceProvider(input *UpdateConferenceProvi // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateConferenceProviderWithContext(ctx aws.Context, input *UpdateConferenceProviderInput, opts ...request.Option) (*UpdateConferenceProviderOutput, error) { req, out := c.UpdateConferenceProviderRequest(input) req.SetContext(ctx) @@ -7923,7 +8751,12 @@ const opUpdateContact = "UpdateContact" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateContact +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateContactRequest(input *UpdateContactInput) (req *request.Request, output *UpdateContactOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, UpdateContact, has been deprecated") + } op := &request.Operation{ Name: opUpdateContact, HTTPMethod: "POST", @@ -7960,6 +8793,8 @@ func (c *AlexaForBusiness) UpdateContactRequest(input *UpdateContactInput) (req // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateContact +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateContact(input *UpdateContactInput) (*UpdateContactOutput, error) { req, out := c.UpdateContactRequest(input) return out, req.Send() @@ -7974,6 +8809,8 @@ func (c *AlexaForBusiness) UpdateContact(input *UpdateContactInput) (*UpdateCont // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateContactWithContext(ctx aws.Context, input *UpdateContactInput, opts ...request.Option) (*UpdateContactOutput, error) { req, out := c.UpdateContactRequest(input) req.SetContext(ctx) @@ -8006,7 +8843,12 @@ const opUpdateDevice = "UpdateDevice" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateDevice +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateDeviceRequest(input *UpdateDeviceInput) (req *request.Request, output *UpdateDeviceOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, UpdateDevice, has been deprecated") + } op := &request.Operation{ Name: opUpdateDevice, HTTPMethod: "POST", @@ -8047,6 +8889,8 @@ func (c *AlexaForBusiness) UpdateDeviceRequest(input *UpdateDeviceInput) (req *r // no longer managed by this account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateDevice +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateDevice(input *UpdateDeviceInput) (*UpdateDeviceOutput, error) { req, out := c.UpdateDeviceRequest(input) return out, req.Send() @@ -8061,6 +8905,8 @@ func (c *AlexaForBusiness) UpdateDevice(input *UpdateDeviceInput) (*UpdateDevice // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateDeviceWithContext(ctx aws.Context, input *UpdateDeviceInput, opts ...request.Option) (*UpdateDeviceOutput, error) { req, out := c.UpdateDeviceRequest(input) req.SetContext(ctx) @@ -8093,7 +8939,12 @@ const opUpdateGateway = "UpdateGateway" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateGateway +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateGatewayRequest(input *UpdateGatewayInput) (req *request.Request, output *UpdateGatewayOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, UpdateGateway, has been deprecated") + } op := &request.Operation{ Name: opUpdateGateway, HTTPMethod: "POST", @@ -8131,6 +8982,8 @@ func (c *AlexaForBusiness) UpdateGatewayRequest(input *UpdateGatewayInput) (req // The name sent in the request is already in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateGateway +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateGateway(input *UpdateGatewayInput) (*UpdateGatewayOutput, error) { req, out := c.UpdateGatewayRequest(input) return out, req.Send() @@ -8145,6 +8998,8 @@ func (c *AlexaForBusiness) UpdateGateway(input *UpdateGatewayInput) (*UpdateGate // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateGatewayWithContext(ctx aws.Context, input *UpdateGatewayInput, opts ...request.Option) (*UpdateGatewayOutput, error) { req, out := c.UpdateGatewayRequest(input) req.SetContext(ctx) @@ -8177,7 +9032,12 @@ const opUpdateGatewayGroup = "UpdateGatewayGroup" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateGatewayGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateGatewayGroupRequest(input *UpdateGatewayGroupInput) (req *request.Request, output *UpdateGatewayGroupOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, UpdateGatewayGroup, has been deprecated") + } op := &request.Operation{ Name: opUpdateGatewayGroup, HTTPMethod: "POST", @@ -8215,6 +9075,8 @@ func (c *AlexaForBusiness) UpdateGatewayGroupRequest(input *UpdateGatewayGroupIn // The name sent in the request is already in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateGatewayGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateGatewayGroup(input *UpdateGatewayGroupInput) (*UpdateGatewayGroupOutput, error) { req, out := c.UpdateGatewayGroupRequest(input) return out, req.Send() @@ -8229,6 +9091,8 @@ func (c *AlexaForBusiness) UpdateGatewayGroup(input *UpdateGatewayGroupInput) (* // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateGatewayGroupWithContext(ctx aws.Context, input *UpdateGatewayGroupInput, opts ...request.Option) (*UpdateGatewayGroupOutput, error) { req, out := c.UpdateGatewayGroupRequest(input) req.SetContext(ctx) @@ -8261,7 +9125,12 @@ const opUpdateNetworkProfile = "UpdateNetworkProfile" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateNetworkProfile +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateNetworkProfileRequest(input *UpdateNetworkProfileInput) (req *request.Request, output *UpdateNetworkProfileOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, UpdateNetworkProfile, has been deprecated") + } op := &request.Operation{ Name: opUpdateNetworkProfile, HTTPMethod: "POST", @@ -8307,6 +9176,8 @@ func (c *AlexaForBusiness) UpdateNetworkProfileRequest(input *UpdateNetworkProfi // A password in SecretsManager is in an invalid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateNetworkProfile +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateNetworkProfile(input *UpdateNetworkProfileInput) (*UpdateNetworkProfileOutput, error) { req, out := c.UpdateNetworkProfileRequest(input) return out, req.Send() @@ -8321,6 +9192,8 @@ func (c *AlexaForBusiness) UpdateNetworkProfile(input *UpdateNetworkProfileInput // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateNetworkProfileWithContext(ctx aws.Context, input *UpdateNetworkProfileInput, opts ...request.Option) (*UpdateNetworkProfileOutput, error) { req, out := c.UpdateNetworkProfileRequest(input) req.SetContext(ctx) @@ -8353,7 +9226,12 @@ const opUpdateProfile = "UpdateProfile" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateProfile +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateProfileRequest(input *UpdateProfileInput) (req *request.Request, output *UpdateProfileOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, UpdateProfile, has been deprecated") + } op := &request.Operation{ Name: opUpdateProfile, HTTPMethod: "POST", @@ -8393,6 +9271,8 @@ func (c *AlexaForBusiness) UpdateProfileRequest(input *UpdateProfileInput) (req // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateProfile +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateProfile(input *UpdateProfileInput) (*UpdateProfileOutput, error) { req, out := c.UpdateProfileRequest(input) return out, req.Send() @@ -8407,6 +9287,8 @@ func (c *AlexaForBusiness) UpdateProfile(input *UpdateProfileInput) (*UpdateProf // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateProfileWithContext(ctx aws.Context, input *UpdateProfileInput, opts ...request.Option) (*UpdateProfileOutput, error) { req, out := c.UpdateProfileRequest(input) req.SetContext(ctx) @@ -8439,7 +9321,12 @@ const opUpdateRoom = "UpdateRoom" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateRoom +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateRoomRequest(input *UpdateRoomInput) (req *request.Request, output *UpdateRoomOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, UpdateRoom, has been deprecated") + } op := &request.Operation{ Name: opUpdateRoom, HTTPMethod: "POST", @@ -8476,6 +9363,8 @@ func (c *AlexaForBusiness) UpdateRoomRequest(input *UpdateRoomInput) (req *reque // The name sent in the request is already in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateRoom +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateRoom(input *UpdateRoomInput) (*UpdateRoomOutput, error) { req, out := c.UpdateRoomRequest(input) return out, req.Send() @@ -8490,6 +9379,8 @@ func (c *AlexaForBusiness) UpdateRoom(input *UpdateRoomInput) (*UpdateRoomOutput // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateRoomWithContext(ctx aws.Context, input *UpdateRoomInput, opts ...request.Option) (*UpdateRoomOutput, error) { req, out := c.UpdateRoomRequest(input) req.SetContext(ctx) @@ -8522,7 +9413,12 @@ const opUpdateSkillGroup = "UpdateSkillGroup" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateSkillGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateSkillGroupRequest(input *UpdateSkillGroupInput) (req *request.Request, output *UpdateSkillGroupOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, UpdateSkillGroup, has been deprecated") + } op := &request.Operation{ Name: opUpdateSkillGroup, HTTPMethod: "POST", @@ -8562,6 +9458,8 @@ func (c *AlexaForBusiness) UpdateSkillGroupRequest(input *UpdateSkillGroupInput) // There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateSkillGroup +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateSkillGroup(input *UpdateSkillGroupInput) (*UpdateSkillGroupOutput, error) { req, out := c.UpdateSkillGroupRequest(input) return out, req.Send() @@ -8576,6 +9474,8 @@ func (c *AlexaForBusiness) UpdateSkillGroup(input *UpdateSkillGroupInput) (*Upda // 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. +// +// Deprecated: Alexa For Business is no longer supported func (c *AlexaForBusiness) UpdateSkillGroupWithContext(ctx aws.Context, input *UpdateSkillGroupInput, opts ...request.Option) (*UpdateSkillGroupOutput, error) { req, out := c.UpdateSkillGroupRequest(input) req.SetContext(ctx) @@ -11026,6 +11926,8 @@ type CreateMeetingRoomConfiguration struct { // when joining a meeting with Alexa. InstantBooking *CreateInstantBooking `type:"structure"` + ProactiveJoin *CreateProactiveJoin `type:"structure"` + // Settings for requiring a check in when a room is reserved. Alexa can cancel // a room reservation if it's not checked into to make the room available for // others. Users can check in by joining the meeting with Alexa or an AVS device, @@ -11067,6 +11969,11 @@ func (s *CreateMeetingRoomConfiguration) Validate() error { invalidParams.AddNested("InstantBooking", err.(request.ErrInvalidParams)) } } + if s.ProactiveJoin != nil { + if err := s.ProactiveJoin.Validate(); err != nil { + invalidParams.AddNested("ProactiveJoin", err.(request.ErrInvalidParams)) + } + } if s.RequireCheckIn != nil { if err := s.RequireCheckIn.Validate(); err != nil { invalidParams.AddNested("RequireCheckIn", err.(request.ErrInvalidParams)) @@ -11091,6 +11998,12 @@ func (s *CreateMeetingRoomConfiguration) SetInstantBooking(v *CreateInstantBooki return s } +// SetProactiveJoin sets the ProactiveJoin field's value. +func (s *CreateMeetingRoomConfiguration) SetProactiveJoin(v *CreateProactiveJoin) *CreateMeetingRoomConfiguration { + s.ProactiveJoin = v + return s +} + // SetRequireCheckIn sets the RequireCheckIn field's value. func (s *CreateMeetingRoomConfiguration) SetRequireCheckIn(v *CreateRequireCheckIn) *CreateMeetingRoomConfiguration { s.RequireCheckIn = v @@ -11319,6 +12232,50 @@ func (s *CreateNetworkProfileOutput) SetNetworkProfileArn(v string) *CreateNetwo return s } +type CreateProactiveJoin struct { + _ struct{} `type:"structure"` + + // EnabledByMotion is a required field + EnabledByMotion *bool `type:"boolean" 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 CreateProactiveJoin) 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 CreateProactiveJoin) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateProactiveJoin) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateProactiveJoin"} + if s.EnabledByMotion == nil { + invalidParams.Add(request.NewErrParamRequired("EnabledByMotion")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEnabledByMotion sets the EnabledByMotion field's value. +func (s *CreateProactiveJoin) SetEnabledByMotion(v bool) *CreateProactiveJoin { + s.EnabledByMotion = &v + return s +} + type CreateProfileInput struct { _ struct{} `type:"structure"` @@ -16863,6 +17820,8 @@ type MeetingRoomConfiguration struct { // when joining a meeting with Alexa. InstantBooking *InstantBooking `type:"structure"` + ProactiveJoin *ProactiveJoin `type:"structure"` + // Settings for requiring a check in when a room is reserved. Alexa can cancel // a room reservation if it's not checked into. This makes the room available // for others. Users can check in by joining the meeting with Alexa or an AVS @@ -16903,6 +17862,12 @@ func (s *MeetingRoomConfiguration) SetInstantBooking(v *InstantBooking) *Meeting return s } +// SetProactiveJoin sets the ProactiveJoin field's value. +func (s *MeetingRoomConfiguration) SetProactiveJoin(v *ProactiveJoin) *MeetingRoomConfiguration { + s.ProactiveJoin = v + return s +} + // SetRequireCheckIn sets the RequireCheckIn field's value. func (s *MeetingRoomConfiguration) SetRequireCheckIn(v *RequireCheckIn) *MeetingRoomConfiguration { s.RequireCheckIn = v @@ -17483,6 +18448,36 @@ func (s *PhoneNumber) SetType(v string) *PhoneNumber { return s } +type ProactiveJoin struct { + _ struct{} `type:"structure"` + + EnabledByMotion *bool `type:"boolean"` +} + +// 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 ProactiveJoin) 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 ProactiveJoin) GoString() string { + return s.String() +} + +// SetEnabledByMotion sets the EnabledByMotion field's value. +func (s *ProactiveJoin) SetEnabledByMotion(v bool) *ProactiveJoin { + s.EnabledByMotion = &v + return s +} + // A room profile with attributes. type Profile struct { _ struct{} `type:"structure"` @@ -22368,6 +23363,8 @@ type UpdateMeetingRoomConfiguration struct { // duration when joining a meeting with Alexa. InstantBooking *UpdateInstantBooking `type:"structure"` + ProactiveJoin *UpdateProactiveJoin `type:"structure"` + // Settings for requiring a check in when a room is reserved. Alexa can cancel // a room reservation if it's not checked into to make the room available for // others. Users can check in by joining the meeting with Alexa or an AVS device, @@ -22404,6 +23401,11 @@ func (s *UpdateMeetingRoomConfiguration) Validate() error { invalidParams.AddNested("EndOfMeetingReminder", err.(request.ErrInvalidParams)) } } + if s.ProactiveJoin != nil { + if err := s.ProactiveJoin.Validate(); err != nil { + invalidParams.AddNested("ProactiveJoin", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -22423,6 +23425,12 @@ func (s *UpdateMeetingRoomConfiguration) SetInstantBooking(v *UpdateInstantBooki return s } +// SetProactiveJoin sets the ProactiveJoin field's value. +func (s *UpdateMeetingRoomConfiguration) SetProactiveJoin(v *UpdateProactiveJoin) *UpdateMeetingRoomConfiguration { + s.ProactiveJoin = v + return s +} + // SetRequireCheckIn sets the RequireCheckIn field's value. func (s *UpdateMeetingRoomConfiguration) SetRequireCheckIn(v *UpdateRequireCheckIn) *UpdateMeetingRoomConfiguration { s.RequireCheckIn = v @@ -22578,6 +23586,50 @@ func (s UpdateNetworkProfileOutput) GoString() string { return s.String() } +type UpdateProactiveJoin struct { + _ struct{} `type:"structure"` + + // EnabledByMotion is a required field + EnabledByMotion *bool `type:"boolean" 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 UpdateProactiveJoin) 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 UpdateProactiveJoin) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateProactiveJoin) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateProactiveJoin"} + if s.EnabledByMotion == nil { + invalidParams.Add(request.NewErrParamRequired("EnabledByMotion")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEnabledByMotion sets the EnabledByMotion field's value. +func (s *UpdateProactiveJoin) SetEnabledByMotion(v bool) *UpdateProactiveJoin { + s.EnabledByMotion = &v + return s +} + type UpdateProfileInput struct { _ struct{} `type:"structure"` diff --git a/service/alexaforbusiness/doc.go b/service/alexaforbusiness/doc.go index 1ec6e3f4f7a..28c6a702fe4 100644 --- a/service/alexaforbusiness/doc.go +++ b/service/alexaforbusiness/doc.go @@ -3,16 +3,7 @@ // Package alexaforbusiness provides the client and types for making API // requests to Alexa For Business. // -// Alexa for Business helps you use Alexa in your organization. Alexa for Business -// provides you with the tools to manage Alexa devices, enroll your users, and -// assign skills, at scale. You can build your own context-aware voice skills -// using the Alexa Skills Kit and the Alexa for Business API operations. You -// can also make these available as private skills for your organization. Alexa -// for Business makes it efficient to voice-enable your products and services, -// thus providing context-aware voice experiences for your customers. Device -// makers building with the Alexa Voice Service (AVS) can create fully integrated -// solutions, register their products with Alexa for Business, and manage them -// as shared devices in their organization. +// Alexa for Business has been retired and is no longer supported. // // See https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09 for more information on this service. // diff --git a/service/appflow/api.go b/service/appflow/api.go index 3c12f5ecb15..9e56b50798b 100644 --- a/service/appflow/api.go +++ b/service/appflow/api.go @@ -3409,6 +3409,21 @@ type ConnectorConfiguration struct { // A list of API versions that are supported by the connector. SupportedApiVersions []*string `locationName:"supportedApiVersions" type:"list"` + // The APIs of the connector application that Amazon AppFlow can use to transfer + // your data. + SupportedDataTransferApis []*DataTransferApi `locationName:"supportedDataTransferApis" type:"list"` + + // The data transfer types that the connector supports. + // + // RECORD + // + // Structured records. + // + // FILE + // + // Files or binary data. + SupportedDataTransferTypes []*string `locationName:"supportedDataTransferTypes" type:"list" enum:"SupportedDataTransferType"` + // Lists the connectors that are available for use as destinations. SupportedDestinationConnectors []*string `locationName:"supportedDestinationConnectors" type:"list" enum:"ConnectorType"` @@ -3569,6 +3584,18 @@ func (s *ConnectorConfiguration) SetSupportedApiVersions(v []*string) *Connector return s } +// SetSupportedDataTransferApis sets the SupportedDataTransferApis field's value. +func (s *ConnectorConfiguration) SetSupportedDataTransferApis(v []*DataTransferApi) *ConnectorConfiguration { + s.SupportedDataTransferApis = v + return s +} + +// SetSupportedDataTransferTypes sets the SupportedDataTransferTypes field's value. +func (s *ConnectorConfiguration) SetSupportedDataTransferTypes(v []*string) *ConnectorConfiguration { + s.SupportedDataTransferTypes = v + return s +} + // SetSupportedDestinationConnectors sets the SupportedDestinationConnectors field's value. func (s *ConnectorConfiguration) SetSupportedDestinationConnectors(v []*string) *ConnectorConfiguration { s.SupportedDestinationConnectors = v @@ -3635,6 +3662,17 @@ type ConnectorDetail struct { // The user who registered the connector. RegisteredBy *string `locationName:"registeredBy" type:"string"` + + // The data transfer types that the connector supports. + // + // RECORD + // + // Structured records. + // + // FILE + // + // Files or binary data. + SupportedDataTransferTypes []*string `locationName:"supportedDataTransferTypes" type:"list" enum:"SupportedDataTransferType"` } // String returns the string representation. @@ -3721,6 +3759,12 @@ func (s *ConnectorDetail) SetRegisteredBy(v string) *ConnectorDetail { return s } +// SetSupportedDataTransferTypes sets the SupportedDataTransferTypes field's value. +func (s *ConnectorDetail) SetSupportedDataTransferTypes(v []*string) *ConnectorDetail { + s.SupportedDataTransferTypes = v + return s +} + // The high-level entity that can be queried in Amazon AppFlow. For example, // a Salesforce entity might be an Account or Opportunity, whereas a ServiceNow // entity might be an Incident. @@ -6070,6 +6114,10 @@ type CustomConnectorSourceProperties struct { // Custom properties that are required to use the custom connector as a source. CustomProperties map[string]*string `locationName:"customProperties" type:"map"` + // The API of the connector application that Amazon AppFlow uses to transfer + // your data. + DataTransferApi *DataTransferApi `locationName:"dataTransferApi" type:"structure"` + // The entity specified in the custom connector as a source in the flow. // // EntityName is a required field @@ -6113,6 +6161,12 @@ func (s *CustomConnectorSourceProperties) SetCustomProperties(v map[string]*stri return s } +// SetDataTransferApi sets the DataTransferApi field's value. +func (s *CustomConnectorSourceProperties) SetDataTransferApi(v *DataTransferApi) *CustomConnectorSourceProperties { + s.DataTransferApi = v + return s +} + // SetEntityName sets the EntityName field's value. func (s *CustomConnectorSourceProperties) SetEntityName(v string) *CustomConnectorSourceProperties { s.EntityName = &v @@ -6199,6 +6253,63 @@ func (s CustomerProfilesMetadata) GoString() string { return s.String() } +// The API of the connector application that Amazon AppFlow uses to transfer +// your data. +type DataTransferApi struct { + _ struct{} `type:"structure"` + + // The name of the connector application API. + Name *string `type:"string"` + + // You can specify one of the following types: + // + // AUTOMATIC + // + // The default. Optimizes a flow for datasets that fluctuate in size from small + // to large. For each flow run, Amazon AppFlow chooses to use the SYNC or ASYNC + // API type based on the amount of data that the run transfers. + // + // SYNC + // + // A synchronous API. This type of API optimizes a flow for small to medium-sized + // datasets. + // + // ASYNC + // + // An asynchronous API. This type of API optimizes a flow for large datasets. + Type *string `type:"string" enum:"DataTransferApiType"` +} + +// 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 DataTransferApi) 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 DataTransferApi) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *DataTransferApi) SetName(v string) *DataTransferApi { + s.Name = &v + return s +} + +// SetType sets the Type field's value. +func (s *DataTransferApi) SetType(v string) *DataTransferApi { + s.Type = &v + return s +} + // The connector-specific credentials required by Datadog. type DatadogConnectorProfileCredentials struct { _ struct{} `type:"structure"` @@ -16693,6 +16804,26 @@ func DataPullMode_Values() []string { } } +const ( + // DataTransferApiTypeSync is a DataTransferApiType enum value + DataTransferApiTypeSync = "SYNC" + + // DataTransferApiTypeAsync is a DataTransferApiType enum value + DataTransferApiTypeAsync = "ASYNC" + + // DataTransferApiTypeAutomatic is a DataTransferApiType enum value + DataTransferApiTypeAutomatic = "AUTOMATIC" +) + +// DataTransferApiType_Values returns all elements of the DataTransferApiType enum +func DataTransferApiType_Values() []string { + return []string{ + DataTransferApiTypeSync, + DataTransferApiTypeAsync, + DataTransferApiTypeAutomatic, + } +} + const ( // DatadogConnectorOperatorProjection is a DatadogConnectorOperator enum value DatadogConnectorOperatorProjection = "PROJECTION" @@ -18117,6 +18248,22 @@ func SlackConnectorOperator_Values() []string { } } +const ( + // SupportedDataTransferTypeRecord is a SupportedDataTransferType enum value + SupportedDataTransferTypeRecord = "RECORD" + + // SupportedDataTransferTypeFile is a SupportedDataTransferType enum value + SupportedDataTransferTypeFile = "FILE" +) + +// SupportedDataTransferType_Values returns all elements of the SupportedDataTransferType enum +func SupportedDataTransferType_Values() []string { + return []string{ + SupportedDataTransferTypeRecord, + SupportedDataTransferTypeFile, + } +} + const ( // TaskTypeArithmetic is a TaskType enum value TaskTypeArithmetic = "Arithmetic" diff --git a/service/customerprofiles/api.go b/service/customerprofiles/api.go index b631071e8ae..3699f0c5303 100644 --- a/service/customerprofiles/api.go +++ b/service/customerprofiles/api.go @@ -108,6 +108,103 @@ func (c *CustomerProfiles) AddProfileKeyWithContext(ctx aws.Context, input *AddP return out, req.Send() } +const opCreateCalculatedAttributeDefinition = "CreateCalculatedAttributeDefinition" + +// CreateCalculatedAttributeDefinitionRequest generates a "aws/request.Request" representing the +// client's request for the CreateCalculatedAttributeDefinition 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 CreateCalculatedAttributeDefinition for more information on using the CreateCalculatedAttributeDefinition +// 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 CreateCalculatedAttributeDefinitionRequest method. +// req, resp := client.CreateCalculatedAttributeDefinitionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateCalculatedAttributeDefinition +func (c *CustomerProfiles) CreateCalculatedAttributeDefinitionRequest(input *CreateCalculatedAttributeDefinitionInput) (req *request.Request, output *CreateCalculatedAttributeDefinitionOutput) { + op := &request.Operation{ + Name: opCreateCalculatedAttributeDefinition, + HTTPMethod: "POST", + HTTPPath: "/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}", + } + + if input == nil { + input = &CreateCalculatedAttributeDefinitionInput{} + } + + output = &CreateCalculatedAttributeDefinitionOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateCalculatedAttributeDefinition API operation for Amazon Connect Customer Profiles. +// +// Creates a new calculated attribute definition. After creation, new object +// data ingested into Customer Profiles will be included in the calculated attribute, +// which can be retrieved for a profile using the GetCalculatedAttributeForProfile +// (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetCalculatedAttributeForProfile.html) +// API. Defining a calculated attribute makes it available for all profiles +// within a domain. Each calculated attribute can only reference one ObjectType +// and at most, two fields from that ObjectType. +// +// 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 Amazon Connect Customer Profiles's +// API operation CreateCalculatedAttributeDefinition for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateCalculatedAttributeDefinition +func (c *CustomerProfiles) CreateCalculatedAttributeDefinition(input *CreateCalculatedAttributeDefinitionInput) (*CreateCalculatedAttributeDefinitionOutput, error) { + req, out := c.CreateCalculatedAttributeDefinitionRequest(input) + return out, req.Send() +} + +// CreateCalculatedAttributeDefinitionWithContext is the same as CreateCalculatedAttributeDefinition with the addition of +// the ability to pass a context and additional request options. +// +// See CreateCalculatedAttributeDefinition 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 *CustomerProfiles) CreateCalculatedAttributeDefinitionWithContext(ctx aws.Context, input *CreateCalculatedAttributeDefinitionInput, opts ...request.Option) (*CreateCalculatedAttributeDefinitionOutput, error) { + req, out := c.CreateCalculatedAttributeDefinitionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateDomain = "CreateDomain" // CreateDomainRequest generates a "aws/request.Request" representing the @@ -400,6 +497,101 @@ func (c *CustomerProfiles) CreateProfileWithContext(ctx aws.Context, input *Crea return out, req.Send() } +const opDeleteCalculatedAttributeDefinition = "DeleteCalculatedAttributeDefinition" + +// DeleteCalculatedAttributeDefinitionRequest generates a "aws/request.Request" representing the +// client's request for the DeleteCalculatedAttributeDefinition 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 DeleteCalculatedAttributeDefinition for more information on using the DeleteCalculatedAttributeDefinition +// 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 DeleteCalculatedAttributeDefinitionRequest method. +// req, resp := client.DeleteCalculatedAttributeDefinitionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteCalculatedAttributeDefinition +func (c *CustomerProfiles) DeleteCalculatedAttributeDefinitionRequest(input *DeleteCalculatedAttributeDefinitionInput) (req *request.Request, output *DeleteCalculatedAttributeDefinitionOutput) { + op := &request.Operation{ + Name: opDeleteCalculatedAttributeDefinition, + HTTPMethod: "DELETE", + HTTPPath: "/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}", + } + + if input == nil { + input = &DeleteCalculatedAttributeDefinitionInput{} + } + + output = &DeleteCalculatedAttributeDefinitionOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteCalculatedAttributeDefinition API operation for Amazon Connect Customer Profiles. +// +// Deletes an existing calculated attribute definition. Note that deleting a +// default calculated attribute is possible, however once deleted, you will +// be unable to undo that action and will need to recreate it on your own using +// the CreateCalculatedAttributeDefinition API if you want it back. +// +// 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 Amazon Connect Customer Profiles's +// API operation DeleteCalculatedAttributeDefinition for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteCalculatedAttributeDefinition +func (c *CustomerProfiles) DeleteCalculatedAttributeDefinition(input *DeleteCalculatedAttributeDefinitionInput) (*DeleteCalculatedAttributeDefinitionOutput, error) { + req, out := c.DeleteCalculatedAttributeDefinitionRequest(input) + return out, req.Send() +} + +// DeleteCalculatedAttributeDefinitionWithContext is the same as DeleteCalculatedAttributeDefinition with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteCalculatedAttributeDefinition 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 *CustomerProfiles) DeleteCalculatedAttributeDefinitionWithContext(ctx aws.Context, input *DeleteCalculatedAttributeDefinitionInput, opts ...request.Option) (*DeleteCalculatedAttributeDefinitionOutput, error) { + req, out := c.DeleteCalculatedAttributeDefinitionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteDomain = "DeleteDomain" // DeleteDomainRequest generates a "aws/request.Request" representing the @@ -1147,57 +1339,58 @@ func (c *CustomerProfiles) GetAutoMergingPreviewWithContext(ctx aws.Context, inp return out, req.Send() } -const opGetDomain = "GetDomain" +const opGetCalculatedAttributeDefinition = "GetCalculatedAttributeDefinition" -// GetDomainRequest generates a "aws/request.Request" representing the -// client's request for the GetDomain operation. The "output" return +// GetCalculatedAttributeDefinitionRequest generates a "aws/request.Request" representing the +// client's request for the GetCalculatedAttributeDefinition 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 GetDomain for more information on using the GetDomain +// See GetCalculatedAttributeDefinition for more information on using the GetCalculatedAttributeDefinition // 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 GetDomainRequest method. -// req, resp := client.GetDomainRequest(params) +// // Example sending a request using the GetCalculatedAttributeDefinitionRequest method. +// req, resp := client.GetCalculatedAttributeDefinitionRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetDomain -func (c *CustomerProfiles) GetDomainRequest(input *GetDomainInput) (req *request.Request, output *GetDomainOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetCalculatedAttributeDefinition +func (c *CustomerProfiles) GetCalculatedAttributeDefinitionRequest(input *GetCalculatedAttributeDefinitionInput) (req *request.Request, output *GetCalculatedAttributeDefinitionOutput) { op := &request.Operation{ - Name: opGetDomain, + Name: opGetCalculatedAttributeDefinition, HTTPMethod: "GET", - HTTPPath: "/domains/{DomainName}", + HTTPPath: "/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}", } if input == nil { - input = &GetDomainInput{} + input = &GetCalculatedAttributeDefinitionInput{} } - output = &GetDomainOutput{} + output = &GetCalculatedAttributeDefinitionOutput{} req = c.newRequest(op, input, output) return } -// GetDomain API operation for Amazon Connect Customer Profiles. +// GetCalculatedAttributeDefinition API operation for Amazon Connect Customer Profiles. // -// Returns information about a specific domain. +// Provides more information on a calculated attribute definition for Customer +// Profiles. // // 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 Amazon Connect Customer Profiles's -// API operation GetDomain for usage and error information. +// API operation GetCalculatedAttributeDefinition for usage and error information. // // Returned Error Types: // @@ -1216,174 +1409,170 @@ func (c *CustomerProfiles) GetDomainRequest(input *GetDomainInput) (req *request // - InternalServerException // An internal service error occurred. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetDomain -func (c *CustomerProfiles) GetDomain(input *GetDomainInput) (*GetDomainOutput, error) { - req, out := c.GetDomainRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetCalculatedAttributeDefinition +func (c *CustomerProfiles) GetCalculatedAttributeDefinition(input *GetCalculatedAttributeDefinitionInput) (*GetCalculatedAttributeDefinitionOutput, error) { + req, out := c.GetCalculatedAttributeDefinitionRequest(input) return out, req.Send() } -// GetDomainWithContext is the same as GetDomain with the addition of +// GetCalculatedAttributeDefinitionWithContext is the same as GetCalculatedAttributeDefinition with the addition of // the ability to pass a context and additional request options. // -// See GetDomain for details on how to use this API operation. +// See GetCalculatedAttributeDefinition 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 *CustomerProfiles) GetDomainWithContext(ctx aws.Context, input *GetDomainInput, opts ...request.Option) (*GetDomainOutput, error) { - req, out := c.GetDomainRequest(input) +func (c *CustomerProfiles) GetCalculatedAttributeDefinitionWithContext(ctx aws.Context, input *GetCalculatedAttributeDefinitionInput, opts ...request.Option) (*GetCalculatedAttributeDefinitionOutput, error) { + req, out := c.GetCalculatedAttributeDefinitionRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetIdentityResolutionJob = "GetIdentityResolutionJob" +const opGetCalculatedAttributeForProfile = "GetCalculatedAttributeForProfile" -// GetIdentityResolutionJobRequest generates a "aws/request.Request" representing the -// client's request for the GetIdentityResolutionJob operation. The "output" return +// GetCalculatedAttributeForProfileRequest generates a "aws/request.Request" representing the +// client's request for the GetCalculatedAttributeForProfile 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 GetIdentityResolutionJob for more information on using the GetIdentityResolutionJob +// See GetCalculatedAttributeForProfile for more information on using the GetCalculatedAttributeForProfile // 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 GetIdentityResolutionJobRequest method. -// req, resp := client.GetIdentityResolutionJobRequest(params) +// // Example sending a request using the GetCalculatedAttributeForProfileRequest method. +// req, resp := client.GetCalculatedAttributeForProfileRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetIdentityResolutionJob -func (c *CustomerProfiles) GetIdentityResolutionJobRequest(input *GetIdentityResolutionJobInput) (req *request.Request, output *GetIdentityResolutionJobOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetCalculatedAttributeForProfile +func (c *CustomerProfiles) GetCalculatedAttributeForProfileRequest(input *GetCalculatedAttributeForProfileInput) (req *request.Request, output *GetCalculatedAttributeForProfileOutput) { op := &request.Operation{ - Name: opGetIdentityResolutionJob, + Name: opGetCalculatedAttributeForProfile, HTTPMethod: "GET", - HTTPPath: "/domains/{DomainName}/identity-resolution-jobs/{JobId}", + HTTPPath: "/domains/{DomainName}/profile/{ProfileId}/calculated-attributes/{CalculatedAttributeName}", } if input == nil { - input = &GetIdentityResolutionJobInput{} + input = &GetCalculatedAttributeForProfileInput{} } - output = &GetIdentityResolutionJobOutput{} + output = &GetCalculatedAttributeForProfileOutput{} req = c.newRequest(op, input, output) return } -// GetIdentityResolutionJob API operation for Amazon Connect Customer Profiles. -// -// Returns information about an Identity Resolution Job in a specific domain. +// GetCalculatedAttributeForProfile API operation for Amazon Connect Customer Profiles. // -// Identity Resolution Jobs are set up using the Amazon Connect admin console. -// For more information, see Use Identity Resolution to consolidate similar -// profiles (https://docs.aws.amazon.com/connect/latest/adminguide/use-identity-resolution.html). +// Retrieve a calculated attribute for a customer profile. // // 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 Amazon Connect Customer Profiles's -// API operation GetIdentityResolutionJob for usage and error information. +// API operation GetCalculatedAttributeForProfile for usage and error information. // // Returned Error Types: // // - BadRequestException // The input you provided is invalid. // -// - ResourceNotFoundException -// The requested resource does not exist, or access was denied. -// // - AccessDeniedException // You do not have sufficient access to perform this action. // +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. +// // - ThrottlingException // You exceeded the maximum number of requests. // // - InternalServerException // An internal service error occurred. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetIdentityResolutionJob -func (c *CustomerProfiles) GetIdentityResolutionJob(input *GetIdentityResolutionJobInput) (*GetIdentityResolutionJobOutput, error) { - req, out := c.GetIdentityResolutionJobRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetCalculatedAttributeForProfile +func (c *CustomerProfiles) GetCalculatedAttributeForProfile(input *GetCalculatedAttributeForProfileInput) (*GetCalculatedAttributeForProfileOutput, error) { + req, out := c.GetCalculatedAttributeForProfileRequest(input) return out, req.Send() } -// GetIdentityResolutionJobWithContext is the same as GetIdentityResolutionJob with the addition of +// GetCalculatedAttributeForProfileWithContext is the same as GetCalculatedAttributeForProfile with the addition of // the ability to pass a context and additional request options. // -// See GetIdentityResolutionJob for details on how to use this API operation. +// See GetCalculatedAttributeForProfile 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 *CustomerProfiles) GetIdentityResolutionJobWithContext(ctx aws.Context, input *GetIdentityResolutionJobInput, opts ...request.Option) (*GetIdentityResolutionJobOutput, error) { - req, out := c.GetIdentityResolutionJobRequest(input) +func (c *CustomerProfiles) GetCalculatedAttributeForProfileWithContext(ctx aws.Context, input *GetCalculatedAttributeForProfileInput, opts ...request.Option) (*GetCalculatedAttributeForProfileOutput, error) { + req, out := c.GetCalculatedAttributeForProfileRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetIntegration = "GetIntegration" +const opGetDomain = "GetDomain" -// GetIntegrationRequest generates a "aws/request.Request" representing the -// client's request for the GetIntegration operation. The "output" return +// GetDomainRequest generates a "aws/request.Request" representing the +// client's request for the GetDomain 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 GetIntegration for more information on using the GetIntegration +// See GetDomain for more information on using the GetDomain // 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 GetIntegrationRequest method. -// req, resp := client.GetIntegrationRequest(params) +// // Example sending a request using the GetDomainRequest method. +// req, resp := client.GetDomainRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetIntegration -func (c *CustomerProfiles) GetIntegrationRequest(input *GetIntegrationInput) (req *request.Request, output *GetIntegrationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetDomain +func (c *CustomerProfiles) GetDomainRequest(input *GetDomainInput) (req *request.Request, output *GetDomainOutput) { op := &request.Operation{ - Name: opGetIntegration, - HTTPMethod: "POST", - HTTPPath: "/domains/{DomainName}/integrations", + Name: opGetDomain, + HTTPMethod: "GET", + HTTPPath: "/domains/{DomainName}", } if input == nil { - input = &GetIntegrationInput{} + input = &GetDomainInput{} } - output = &GetIntegrationOutput{} + output = &GetDomainOutput{} req = c.newRequest(op, input, output) return } -// GetIntegration API operation for Amazon Connect Customer Profiles. +// GetDomain API operation for Amazon Connect Customer Profiles. // -// Returns an integration for a domain. +// Returns information about a specific domain. // // 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 Amazon Connect Customer Profiles's -// API operation GetIntegration for usage and error information. +// API operation GetDomain for usage and error information. // // Returned Error Types: // @@ -1402,56 +1591,242 @@ func (c *CustomerProfiles) GetIntegrationRequest(input *GetIntegrationInput) (re // - InternalServerException // An internal service error occurred. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetIntegration -func (c *CustomerProfiles) GetIntegration(input *GetIntegrationInput) (*GetIntegrationOutput, error) { - req, out := c.GetIntegrationRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetDomain +func (c *CustomerProfiles) GetDomain(input *GetDomainInput) (*GetDomainOutput, error) { + req, out := c.GetDomainRequest(input) return out, req.Send() } -// GetIntegrationWithContext is the same as GetIntegration with the addition of +// GetDomainWithContext is the same as GetDomain with the addition of // the ability to pass a context and additional request options. // -// See GetIntegration for details on how to use this API operation. +// See GetDomain 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 *CustomerProfiles) GetIntegrationWithContext(ctx aws.Context, input *GetIntegrationInput, opts ...request.Option) (*GetIntegrationOutput, error) { - req, out := c.GetIntegrationRequest(input) +func (c *CustomerProfiles) GetDomainWithContext(ctx aws.Context, input *GetDomainInput, opts ...request.Option) (*GetDomainOutput, error) { + req, out := c.GetDomainRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetMatches = "GetMatches" +const opGetIdentityResolutionJob = "GetIdentityResolutionJob" -// GetMatchesRequest generates a "aws/request.Request" representing the -// client's request for the GetMatches operation. The "output" return +// GetIdentityResolutionJobRequest generates a "aws/request.Request" representing the +// client's request for the GetIdentityResolutionJob 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 GetMatches for more information on using the GetMatches +// See GetIdentityResolutionJob for more information on using the GetIdentityResolutionJob // 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 GetMatchesRequest method. -// req, resp := client.GetMatchesRequest(params) +// // Example sending a request using the GetIdentityResolutionJobRequest method. +// req, resp := client.GetIdentityResolutionJobRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetMatches -func (c *CustomerProfiles) GetMatchesRequest(input *GetMatchesInput) (req *request.Request, output *GetMatchesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetIdentityResolutionJob +func (c *CustomerProfiles) GetIdentityResolutionJobRequest(input *GetIdentityResolutionJobInput) (req *request.Request, output *GetIdentityResolutionJobOutput) { op := &request.Operation{ - Name: opGetMatches, + Name: opGetIdentityResolutionJob, + HTTPMethod: "GET", + HTTPPath: "/domains/{DomainName}/identity-resolution-jobs/{JobId}", + } + + if input == nil { + input = &GetIdentityResolutionJobInput{} + } + + output = &GetIdentityResolutionJobOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetIdentityResolutionJob API operation for Amazon Connect Customer Profiles. +// +// Returns information about an Identity Resolution Job in a specific domain. +// +// Identity Resolution Jobs are set up using the Amazon Connect admin console. +// For more information, see Use Identity Resolution to consolidate similar +// profiles (https://docs.aws.amazon.com/connect/latest/adminguide/use-identity-resolution.html). +// +// 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 Amazon Connect Customer Profiles's +// API operation GetIdentityResolutionJob for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetIdentityResolutionJob +func (c *CustomerProfiles) GetIdentityResolutionJob(input *GetIdentityResolutionJobInput) (*GetIdentityResolutionJobOutput, error) { + req, out := c.GetIdentityResolutionJobRequest(input) + return out, req.Send() +} + +// GetIdentityResolutionJobWithContext is the same as GetIdentityResolutionJob with the addition of +// the ability to pass a context and additional request options. +// +// See GetIdentityResolutionJob 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 *CustomerProfiles) GetIdentityResolutionJobWithContext(ctx aws.Context, input *GetIdentityResolutionJobInput, opts ...request.Option) (*GetIdentityResolutionJobOutput, error) { + req, out := c.GetIdentityResolutionJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetIntegration = "GetIntegration" + +// GetIntegrationRequest generates a "aws/request.Request" representing the +// client's request for the GetIntegration 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 GetIntegration for more information on using the GetIntegration +// 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 GetIntegrationRequest method. +// req, resp := client.GetIntegrationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetIntegration +func (c *CustomerProfiles) GetIntegrationRequest(input *GetIntegrationInput) (req *request.Request, output *GetIntegrationOutput) { + op := &request.Operation{ + Name: opGetIntegration, + HTTPMethod: "POST", + HTTPPath: "/domains/{DomainName}/integrations", + } + + if input == nil { + input = &GetIntegrationInput{} + } + + output = &GetIntegrationOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetIntegration API operation for Amazon Connect Customer Profiles. +// +// Returns an integration for a domain. +// +// 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 Amazon Connect Customer Profiles's +// API operation GetIntegration for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetIntegration +func (c *CustomerProfiles) GetIntegration(input *GetIntegrationInput) (*GetIntegrationOutput, error) { + req, out := c.GetIntegrationRequest(input) + return out, req.Send() +} + +// GetIntegrationWithContext is the same as GetIntegration with the addition of +// the ability to pass a context and additional request options. +// +// See GetIntegration 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 *CustomerProfiles) GetIntegrationWithContext(ctx aws.Context, input *GetIntegrationInput, opts ...request.Option) (*GetIntegrationOutput, error) { + req, out := c.GetIntegrationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetMatches = "GetMatches" + +// GetMatchesRequest generates a "aws/request.Request" representing the +// client's request for the GetMatches 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 GetMatches for more information on using the GetMatches +// 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 GetMatchesRequest method. +// req, resp := client.GetMatchesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetMatches +func (c *CustomerProfiles) GetMatchesRequest(input *GetMatchesInput) (req *request.Request, output *GetMatchesOutput) { + op := &request.Operation{ + Name: opGetMatches, HTTPMethod: "GET", HTTPPath: "/domains/{DomainName}/matches", } @@ -2014,57 +2389,57 @@ func (c *CustomerProfiles) ListAccountIntegrationsWithContext(ctx aws.Context, i return out, req.Send() } -const opListDomains = "ListDomains" +const opListCalculatedAttributeDefinitions = "ListCalculatedAttributeDefinitions" -// ListDomainsRequest generates a "aws/request.Request" representing the -// client's request for the ListDomains operation. The "output" return +// ListCalculatedAttributeDefinitionsRequest generates a "aws/request.Request" representing the +// client's request for the ListCalculatedAttributeDefinitions 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 ListDomains for more information on using the ListDomains +// See ListCalculatedAttributeDefinitions for more information on using the ListCalculatedAttributeDefinitions // 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 ListDomainsRequest method. -// req, resp := client.ListDomainsRequest(params) +// // Example sending a request using the ListCalculatedAttributeDefinitionsRequest method. +// req, resp := client.ListCalculatedAttributeDefinitionsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListDomains -func (c *CustomerProfiles) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListCalculatedAttributeDefinitions +func (c *CustomerProfiles) ListCalculatedAttributeDefinitionsRequest(input *ListCalculatedAttributeDefinitionsInput) (req *request.Request, output *ListCalculatedAttributeDefinitionsOutput) { op := &request.Operation{ - Name: opListDomains, + Name: opListCalculatedAttributeDefinitions, HTTPMethod: "GET", - HTTPPath: "/domains", + HTTPPath: "/domains/{DomainName}/calculated-attributes", } if input == nil { - input = &ListDomainsInput{} + input = &ListCalculatedAttributeDefinitionsInput{} } - output = &ListDomainsOutput{} + output = &ListCalculatedAttributeDefinitionsOutput{} req = c.newRequest(op, input, output) return } -// ListDomains API operation for Amazon Connect Customer Profiles. +// ListCalculatedAttributeDefinitions API operation for Amazon Connect Customer Profiles. // -// Returns a list of all the domains for an AWS account that have been created. +// # Lists calculated attribute definitions for Customer Profiles // // 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 Amazon Connect Customer Profiles's -// API operation ListDomains for usage and error information. +// API operation ListCalculatedAttributeDefinitions for usage and error information. // // Returned Error Types: // @@ -2083,148 +2458,330 @@ func (c *CustomerProfiles) ListDomainsRequest(input *ListDomainsInput) (req *req // - InternalServerException // An internal service error occurred. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListDomains -func (c *CustomerProfiles) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) { - req, out := c.ListDomainsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListCalculatedAttributeDefinitions +func (c *CustomerProfiles) ListCalculatedAttributeDefinitions(input *ListCalculatedAttributeDefinitionsInput) (*ListCalculatedAttributeDefinitionsOutput, error) { + req, out := c.ListCalculatedAttributeDefinitionsRequest(input) return out, req.Send() } -// ListDomainsWithContext is the same as ListDomains with the addition of +// ListCalculatedAttributeDefinitionsWithContext is the same as ListCalculatedAttributeDefinitions with the addition of // the ability to pass a context and additional request options. // -// See ListDomains for details on how to use this API operation. +// See ListCalculatedAttributeDefinitions 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 *CustomerProfiles) ListDomainsWithContext(ctx aws.Context, input *ListDomainsInput, opts ...request.Option) (*ListDomainsOutput, error) { - req, out := c.ListDomainsRequest(input) +func (c *CustomerProfiles) ListCalculatedAttributeDefinitionsWithContext(ctx aws.Context, input *ListCalculatedAttributeDefinitionsInput, opts ...request.Option) (*ListCalculatedAttributeDefinitionsOutput, error) { + req, out := c.ListCalculatedAttributeDefinitionsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListIdentityResolutionJobs = "ListIdentityResolutionJobs" +const opListCalculatedAttributesForProfile = "ListCalculatedAttributesForProfile" -// ListIdentityResolutionJobsRequest generates a "aws/request.Request" representing the -// client's request for the ListIdentityResolutionJobs operation. The "output" return +// ListCalculatedAttributesForProfileRequest generates a "aws/request.Request" representing the +// client's request for the ListCalculatedAttributesForProfile 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 ListIdentityResolutionJobs for more information on using the ListIdentityResolutionJobs +// See ListCalculatedAttributesForProfile for more information on using the ListCalculatedAttributesForProfile // 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 ListIdentityResolutionJobsRequest method. -// req, resp := client.ListIdentityResolutionJobsRequest(params) +// // Example sending a request using the ListCalculatedAttributesForProfileRequest method. +// req, resp := client.ListCalculatedAttributesForProfileRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListIdentityResolutionJobs -func (c *CustomerProfiles) ListIdentityResolutionJobsRequest(input *ListIdentityResolutionJobsInput) (req *request.Request, output *ListIdentityResolutionJobsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListCalculatedAttributesForProfile +func (c *CustomerProfiles) ListCalculatedAttributesForProfileRequest(input *ListCalculatedAttributesForProfileInput) (req *request.Request, output *ListCalculatedAttributesForProfileOutput) { op := &request.Operation{ - Name: opListIdentityResolutionJobs, + Name: opListCalculatedAttributesForProfile, HTTPMethod: "GET", - HTTPPath: "/domains/{DomainName}/identity-resolution-jobs", + HTTPPath: "/domains/{DomainName}/profile/{ProfileId}/calculated-attributes", } if input == nil { - input = &ListIdentityResolutionJobsInput{} + input = &ListCalculatedAttributesForProfileInput{} } - output = &ListIdentityResolutionJobsOutput{} + output = &ListCalculatedAttributesForProfileOutput{} req = c.newRequest(op, input, output) return } -// ListIdentityResolutionJobs API operation for Amazon Connect Customer Profiles. +// ListCalculatedAttributesForProfile API operation for Amazon Connect Customer Profiles. // -// Lists all of the Identity Resolution Jobs in your domain. The response sorts -// the list by JobStartTime. +// Retrieve a list of calculated attributes for a customer profile. // // 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 Amazon Connect Customer Profiles's -// API operation ListIdentityResolutionJobs for usage and error information. +// API operation ListCalculatedAttributesForProfile for usage and error information. // // Returned Error Types: // // - BadRequestException // The input you provided is invalid. // -// - ResourceNotFoundException -// The requested resource does not exist, or access was denied. -// // - AccessDeniedException // You do not have sufficient access to perform this action. // +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. +// // - ThrottlingException // You exceeded the maximum number of requests. // // - InternalServerException // An internal service error occurred. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListIdentityResolutionJobs -func (c *CustomerProfiles) ListIdentityResolutionJobs(input *ListIdentityResolutionJobsInput) (*ListIdentityResolutionJobsOutput, error) { - req, out := c.ListIdentityResolutionJobsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListCalculatedAttributesForProfile +func (c *CustomerProfiles) ListCalculatedAttributesForProfile(input *ListCalculatedAttributesForProfileInput) (*ListCalculatedAttributesForProfileOutput, error) { + req, out := c.ListCalculatedAttributesForProfileRequest(input) return out, req.Send() } -// ListIdentityResolutionJobsWithContext is the same as ListIdentityResolutionJobs with the addition of +// ListCalculatedAttributesForProfileWithContext is the same as ListCalculatedAttributesForProfile with the addition of // the ability to pass a context and additional request options. // -// See ListIdentityResolutionJobs for details on how to use this API operation. +// See ListCalculatedAttributesForProfile 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 *CustomerProfiles) ListIdentityResolutionJobsWithContext(ctx aws.Context, input *ListIdentityResolutionJobsInput, opts ...request.Option) (*ListIdentityResolutionJobsOutput, error) { - req, out := c.ListIdentityResolutionJobsRequest(input) +func (c *CustomerProfiles) ListCalculatedAttributesForProfileWithContext(ctx aws.Context, input *ListCalculatedAttributesForProfileInput, opts ...request.Option) (*ListCalculatedAttributesForProfileOutput, error) { + req, out := c.ListCalculatedAttributesForProfileRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListIntegrations = "ListIntegrations" +const opListDomains = "ListDomains" -// ListIntegrationsRequest generates a "aws/request.Request" representing the -// client's request for the ListIntegrations operation. The "output" return +// ListDomainsRequest generates a "aws/request.Request" representing the +// client's request for the ListDomains 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 ListIntegrations for more information on using the ListIntegrations +// See ListDomains for more information on using the ListDomains // 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 ListIntegrationsRequest method. -// req, resp := client.ListIntegrationsRequest(params) +// // Example sending a request using the ListDomainsRequest method. +// req, resp := client.ListDomainsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListIntegrations -func (c *CustomerProfiles) ListIntegrationsRequest(input *ListIntegrationsInput) (req *request.Request, output *ListIntegrationsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListDomains +func (c *CustomerProfiles) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput) { op := &request.Operation{ - Name: opListIntegrations, + Name: opListDomains, + HTTPMethod: "GET", + HTTPPath: "/domains", + } + + if input == nil { + input = &ListDomainsInput{} + } + + output = &ListDomainsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListDomains API operation for Amazon Connect Customer Profiles. +// +// Returns a list of all the domains for an AWS account that have been created. +// +// 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 Amazon Connect Customer Profiles's +// API operation ListDomains for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListDomains +func (c *CustomerProfiles) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) { + req, out := c.ListDomainsRequest(input) + return out, req.Send() +} + +// ListDomainsWithContext is the same as ListDomains with the addition of +// the ability to pass a context and additional request options. +// +// See ListDomains 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 *CustomerProfiles) ListDomainsWithContext(ctx aws.Context, input *ListDomainsInput, opts ...request.Option) (*ListDomainsOutput, error) { + req, out := c.ListDomainsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListIdentityResolutionJobs = "ListIdentityResolutionJobs" + +// ListIdentityResolutionJobsRequest generates a "aws/request.Request" representing the +// client's request for the ListIdentityResolutionJobs 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 ListIdentityResolutionJobs for more information on using the ListIdentityResolutionJobs +// 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 ListIdentityResolutionJobsRequest method. +// req, resp := client.ListIdentityResolutionJobsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListIdentityResolutionJobs +func (c *CustomerProfiles) ListIdentityResolutionJobsRequest(input *ListIdentityResolutionJobsInput) (req *request.Request, output *ListIdentityResolutionJobsOutput) { + op := &request.Operation{ + Name: opListIdentityResolutionJobs, + HTTPMethod: "GET", + HTTPPath: "/domains/{DomainName}/identity-resolution-jobs", + } + + if input == nil { + input = &ListIdentityResolutionJobsInput{} + } + + output = &ListIdentityResolutionJobsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListIdentityResolutionJobs API operation for Amazon Connect Customer Profiles. +// +// Lists all of the Identity Resolution Jobs in your domain. The response sorts +// the list by JobStartTime. +// +// 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 Amazon Connect Customer Profiles's +// API operation ListIdentityResolutionJobs for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListIdentityResolutionJobs +func (c *CustomerProfiles) ListIdentityResolutionJobs(input *ListIdentityResolutionJobsInput) (*ListIdentityResolutionJobsOutput, error) { + req, out := c.ListIdentityResolutionJobsRequest(input) + return out, req.Send() +} + +// ListIdentityResolutionJobsWithContext is the same as ListIdentityResolutionJobs with the addition of +// the ability to pass a context and additional request options. +// +// See ListIdentityResolutionJobs 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 *CustomerProfiles) ListIdentityResolutionJobsWithContext(ctx aws.Context, input *ListIdentityResolutionJobsInput, opts ...request.Option) (*ListIdentityResolutionJobsOutput, error) { + req, out := c.ListIdentityResolutionJobsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListIntegrations = "ListIntegrations" + +// ListIntegrationsRequest generates a "aws/request.Request" representing the +// client's request for the ListIntegrations 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 ListIntegrations for more information on using the ListIntegrations +// 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 ListIntegrationsRequest method. +// req, resp := client.ListIntegrationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListIntegrations +func (c *CustomerProfiles) ListIntegrationsRequest(input *ListIntegrationsInput) (req *request.Request, output *ListIntegrationsOutput) { + op := &request.Operation{ + Name: opListIntegrations, HTTPMethod: "GET", HTTPPath: "/domains/{DomainName}/integrations", } @@ -3435,6 +3992,99 @@ func (c *CustomerProfiles) UntagResourceWithContext(ctx aws.Context, input *Unta return out, req.Send() } +const opUpdateCalculatedAttributeDefinition = "UpdateCalculatedAttributeDefinition" + +// UpdateCalculatedAttributeDefinitionRequest generates a "aws/request.Request" representing the +// client's request for the UpdateCalculatedAttributeDefinition 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 UpdateCalculatedAttributeDefinition for more information on using the UpdateCalculatedAttributeDefinition +// 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 UpdateCalculatedAttributeDefinitionRequest method. +// req, resp := client.UpdateCalculatedAttributeDefinitionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/UpdateCalculatedAttributeDefinition +func (c *CustomerProfiles) UpdateCalculatedAttributeDefinitionRequest(input *UpdateCalculatedAttributeDefinitionInput) (req *request.Request, output *UpdateCalculatedAttributeDefinitionOutput) { + op := &request.Operation{ + Name: opUpdateCalculatedAttributeDefinition, + HTTPMethod: "PUT", + HTTPPath: "/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}", + } + + if input == nil { + input = &UpdateCalculatedAttributeDefinitionInput{} + } + + output = &UpdateCalculatedAttributeDefinitionOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateCalculatedAttributeDefinition API operation for Amazon Connect Customer Profiles. +// +// Updates an existing calculated attribute definition. When updating the Conditions, +// note that increasing the date range of a calculated attribute will not trigger +// inclusion of historical data greater than the current date range. +// +// 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 Amazon Connect Customer Profiles's +// API operation UpdateCalculatedAttributeDefinition for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/UpdateCalculatedAttributeDefinition +func (c *CustomerProfiles) UpdateCalculatedAttributeDefinition(input *UpdateCalculatedAttributeDefinitionInput) (*UpdateCalculatedAttributeDefinitionOutput, error) { + req, out := c.UpdateCalculatedAttributeDefinitionRequest(input) + return out, req.Send() +} + +// UpdateCalculatedAttributeDefinitionWithContext is the same as UpdateCalculatedAttributeDefinition with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateCalculatedAttributeDefinition 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 *CustomerProfiles) UpdateCalculatedAttributeDefinitionWithContext(ctx aws.Context, input *UpdateCalculatedAttributeDefinitionInput, opts ...request.Option) (*UpdateCalculatedAttributeDefinitionOutput, error) { + req, out := c.UpdateCalculatedAttributeDefinitionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateDomain = "UpdateDomain" // UpdateDomainRequest generates a "aws/request.Request" representing the @@ -4362,12 +5012,141 @@ func (s *AppflowIntegrationWorkflowStep) SetStatus(v string) *AppflowIntegration return s } -// Configuration settings for how to perform the auto-merging of profiles. -type AutoMerging struct { +// Mathematical expression and a list of attribute items specified in that expression. +type AttributeDetails struct { _ struct{} `type:"structure"` - // How the auto-merging process should resolve conflicts between different profiles. - // For example, if Profile A and Profile B have the same FirstName and LastName + // A list of attribute items specified in the mathematical expression. + // + // Attributes is a required field + Attributes []*AttributeItem `min:"1" type:"list" required:"true"` + + // Mathematical expression that is performed on attribute items provided in + // the attribute list. Each element in the expression should follow the structure + // of \"{ObjectTypeName.AttributeName}\". + // + // Expression is a required field + Expression *string `min:"1" 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 AttributeDetails) 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 AttributeDetails) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AttributeDetails) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AttributeDetails"} + if s.Attributes == nil { + invalidParams.Add(request.NewErrParamRequired("Attributes")) + } + if s.Attributes != nil && len(s.Attributes) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Attributes", 1)) + } + if s.Expression == nil { + invalidParams.Add(request.NewErrParamRequired("Expression")) + } + if s.Expression != nil && len(*s.Expression) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Expression", 1)) + } + if s.Attributes != nil { + for i, v := range s.Attributes { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Attributes", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAttributes sets the Attributes field's value. +func (s *AttributeDetails) SetAttributes(v []*AttributeItem) *AttributeDetails { + s.Attributes = v + return s +} + +// SetExpression sets the Expression field's value. +func (s *AttributeDetails) SetExpression(v string) *AttributeDetails { + s.Expression = &v + return s +} + +// The details of a single attribute item specified in the mathematical expression. +type AttributeItem struct { + _ struct{} `type:"structure"` + + // The name of an attribute defined in a profile object type. + // + // Name is a required field + Name *string `min:"1" 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 AttributeItem) 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 AttributeItem) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AttributeItem) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AttributeItem"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *AttributeItem) SetName(v string) *AttributeItem { + s.Name = &v + return s +} + +// Configuration settings for how to perform the auto-merging of profiles. +type AutoMerging struct { + _ struct{} `type:"structure"` + + // How the auto-merging process should resolve conflicts between different profiles. + // For example, if Profile A and Profile B have the same FirstName and LastName // (and that is the matching criteria), which EmailAddress should be used? ConflictResolution *ConflictResolution `type:"structure"` @@ -4578,6 +5357,80 @@ func (s *Batch) SetStartTime(v time.Time) *Batch { return s } +// The conditions including range, object count, and threshold for the calculated +// attribute. +type Conditions struct { + _ struct{} `type:"structure"` + + // The number of profile objects used for the calculated attribute. + ObjectCount *int64 `min:"1" type:"integer"` + + // The relative time period over which data is included in the aggregation. + Range *Range `type:"structure"` + + // The threshold for the calculated attribute. + Threshold *Threshold `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 Conditions) 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 Conditions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Conditions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Conditions"} + if s.ObjectCount != nil && *s.ObjectCount < 1 { + invalidParams.Add(request.NewErrParamMinValue("ObjectCount", 1)) + } + if s.Range != nil { + if err := s.Range.Validate(); err != nil { + invalidParams.AddNested("Range", err.(request.ErrInvalidParams)) + } + } + if s.Threshold != nil { + if err := s.Threshold.Validate(); err != nil { + invalidParams.AddNested("Threshold", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetObjectCount sets the ObjectCount field's value. +func (s *Conditions) SetObjectCount(v int64) *Conditions { + s.ObjectCount = &v + return s +} + +// SetRange sets the Range field's value. +func (s *Conditions) SetRange(v *Range) *Conditions { + s.Range = v + return s +} + +// SetThreshold sets the Threshold field's value. +func (s *Conditions) SetThreshold(v *Threshold) *Conditions { + s.Threshold = v + return s +} + // How the auto-merging process should resolve conflicts between different profiles. type ConflictResolution struct { _ struct{} `type:"structure"` @@ -4763,40 +5616,38 @@ func (s *Consolidation) SetMatchingAttributesList(v [][]*string) *Consolidation return s } -type CreateDomainInput struct { +type CreateCalculatedAttributeDefinitionInput struct { _ struct{} `type:"structure"` - // The URL of the SQS dead letter queue, which is used for reporting errors - // associated with ingesting data from third party applications. You must set - // up a policy on the DeadLetterQueue for the SendMessage operation to enable - // Amazon Connect Customer Profiles to send messages to the DeadLetterQueue. - DeadLetterQueueUrl *string `type:"string"` - - // The default encryption key, which is an AWS managed key, is used when no - // specific type of encryption key is specified. It is used to encrypt all data - // before it is placed in permanent or semi-permanent storage. - DefaultEncryptionKey *string `type:"string"` + // Mathematical expression and a list of attribute items specified in that expression. + // + // AttributeDetails is a required field + AttributeDetails *AttributeDetails `type:"structure" required:"true"` - // The default number of days until the data within the domain expires. + // The unique name of the calculated attribute. // - // DefaultExpirationDays is a required field - DefaultExpirationDays *int64 `min:"1" type:"integer" required:"true"` + // CalculatedAttributeName is a required field + CalculatedAttributeName *string `location:"uri" locationName:"CalculatedAttributeName" min:"1" type:"string" required:"true"` + + // The conditions including range, object count, and threshold for the calculated + // attribute. + Conditions *Conditions `type:"structure"` + + // The description of the calculated attribute. + Description *string `min:"1" type:"string"` + + // The display name of the calculated attribute. + DisplayName *string `min:"1" type:"string"` // The unique name of the domain. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"1" type:"string" required:"true"` - // The process of matching duplicate profiles. If Matching = true, Amazon Connect - // Customer Profiles starts a weekly batch process called Identity Resolution - // Job. If you do not specify a date and time for Identity Resolution Job to - // run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles - // in your domains. + // The aggregation operation to perform for the calculated attribute. // - // After the Identity Resolution Job completes, use the GetMatches (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html) - // API to return and review the results. Or, if you have configured ExportingConfig - // in the MatchingRequest, you can download the results from S3. - Matching *MatchingRequest `type:"structure"` + // Statistic is a required field + Statistic *string `type:"string" required:"true" enum:"Statistic"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `min:"1" type:"map"` @@ -4807,7 +5658,7 @@ type CreateDomainInput 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 CreateDomainInput) String() string { +func (s CreateCalculatedAttributeDefinitionInput) String() string { return awsutil.Prettify(s) } @@ -4816,18 +5667,27 @@ func (s CreateDomainInput) 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 CreateDomainInput) GoString() string { +func (s CreateCalculatedAttributeDefinitionInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateDomainInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateDomainInput"} - if s.DefaultExpirationDays == nil { - invalidParams.Add(request.NewErrParamRequired("DefaultExpirationDays")) +func (s *CreateCalculatedAttributeDefinitionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateCalculatedAttributeDefinitionInput"} + if s.AttributeDetails == nil { + invalidParams.Add(request.NewErrParamRequired("AttributeDetails")) } - if s.DefaultExpirationDays != nil && *s.DefaultExpirationDays < 1 { - invalidParams.Add(request.NewErrParamMinValue("DefaultExpirationDays", 1)) + if s.CalculatedAttributeName == nil { + invalidParams.Add(request.NewErrParamRequired("CalculatedAttributeName")) + } + if s.CalculatedAttributeName != nil && len(*s.CalculatedAttributeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CalculatedAttributeName", 1)) + } + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.DisplayName != nil && len(*s.DisplayName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1)) } if s.DomainName == nil { invalidParams.Add(request.NewErrParamRequired("DomainName")) @@ -4835,12 +5695,20 @@ func (s *CreateDomainInput) Validate() error { if s.DomainName != nil && len(*s.DomainName) < 1 { invalidParams.Add(request.NewErrParamMinLen("DomainName", 1)) } + if s.Statistic == nil { + invalidParams.Add(request.NewErrParamRequired("Statistic")) + } if s.Tags != nil && len(s.Tags) < 1 { invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) } - if s.Matching != nil { - if err := s.Matching.Validate(); err != nil { - invalidParams.AddNested("Matching", err.(request.ErrInvalidParams)) + if s.AttributeDetails != nil { + if err := s.AttributeDetails.Validate(); err != nil { + invalidParams.AddNested("AttributeDetails", err.(request.ErrInvalidParams)) + } + } + if s.Conditions != nil { + if err := s.Conditions.Validate(); err != nil { + invalidParams.AddNested("Conditions", err.(request.ErrInvalidParams)) } } @@ -4850,84 +5718,82 @@ func (s *CreateDomainInput) Validate() error { return nil } -// SetDeadLetterQueueUrl sets the DeadLetterQueueUrl field's value. -func (s *CreateDomainInput) SetDeadLetterQueueUrl(v string) *CreateDomainInput { - s.DeadLetterQueueUrl = &v +// SetAttributeDetails sets the AttributeDetails field's value. +func (s *CreateCalculatedAttributeDefinitionInput) SetAttributeDetails(v *AttributeDetails) *CreateCalculatedAttributeDefinitionInput { + s.AttributeDetails = v return s } -// SetDefaultEncryptionKey sets the DefaultEncryptionKey field's value. -func (s *CreateDomainInput) SetDefaultEncryptionKey(v string) *CreateDomainInput { - s.DefaultEncryptionKey = &v +// SetCalculatedAttributeName sets the CalculatedAttributeName field's value. +func (s *CreateCalculatedAttributeDefinitionInput) SetCalculatedAttributeName(v string) *CreateCalculatedAttributeDefinitionInput { + s.CalculatedAttributeName = &v return s } -// SetDefaultExpirationDays sets the DefaultExpirationDays field's value. -func (s *CreateDomainInput) SetDefaultExpirationDays(v int64) *CreateDomainInput { - s.DefaultExpirationDays = &v +// SetConditions sets the Conditions field's value. +func (s *CreateCalculatedAttributeDefinitionInput) SetConditions(v *Conditions) *CreateCalculatedAttributeDefinitionInput { + s.Conditions = v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateCalculatedAttributeDefinitionInput) SetDescription(v string) *CreateCalculatedAttributeDefinitionInput { + s.Description = &v + return s +} + +// SetDisplayName sets the DisplayName field's value. +func (s *CreateCalculatedAttributeDefinitionInput) SetDisplayName(v string) *CreateCalculatedAttributeDefinitionInput { + s.DisplayName = &v return s } // SetDomainName sets the DomainName field's value. -func (s *CreateDomainInput) SetDomainName(v string) *CreateDomainInput { +func (s *CreateCalculatedAttributeDefinitionInput) SetDomainName(v string) *CreateCalculatedAttributeDefinitionInput { s.DomainName = &v return s } -// SetMatching sets the Matching field's value. -func (s *CreateDomainInput) SetMatching(v *MatchingRequest) *CreateDomainInput { - s.Matching = v +// SetStatistic sets the Statistic field's value. +func (s *CreateCalculatedAttributeDefinitionInput) SetStatistic(v string) *CreateCalculatedAttributeDefinitionInput { + s.Statistic = &v return s } // SetTags sets the Tags field's value. -func (s *CreateDomainInput) SetTags(v map[string]*string) *CreateDomainInput { +func (s *CreateCalculatedAttributeDefinitionInput) SetTags(v map[string]*string) *CreateCalculatedAttributeDefinitionInput { s.Tags = v return s } -type CreateDomainOutput struct { +type CreateCalculatedAttributeDefinitionOutput struct { _ struct{} `type:"structure"` - // The timestamp of when the domain was created. - // - // CreatedAt is a required field - CreatedAt *time.Time `type:"timestamp" required:"true"` + // Mathematical expression and a list of attribute items specified in that expression. + AttributeDetails *AttributeDetails `type:"structure"` - // The URL of the SQS dead letter queue, which is used for reporting errors - // associated with ingesting data from third party applications. - DeadLetterQueueUrl *string `type:"string"` + // The unique name of the calculated attribute. + CalculatedAttributeName *string `min:"1" type:"string"` - // The default encryption key, which is an AWS managed key, is used when no - // specific type of encryption key is specified. It is used to encrypt all data - // before it is placed in permanent or semi-permanent storage. - DefaultEncryptionKey *string `type:"string"` + // The conditions including range, object count, and threshold for the calculated + // attribute. + Conditions *Conditions `type:"structure"` - // The default number of days until the data within the domain expires. - // - // DefaultExpirationDays is a required field - DefaultExpirationDays *int64 `min:"1" type:"integer" required:"true"` + // The timestamp of when the calculated attribute definition was created. + CreatedAt *time.Time `type:"timestamp"` - // The unique name of the domain. - // - // DomainName is a required field - DomainName *string `min:"1" type:"string" required:"true"` + // The description of the calculated attribute. + Description *string `min:"1" type:"string"` - // The timestamp of when the domain was most recently edited. - // - // LastUpdatedAt is a required field - LastUpdatedAt *time.Time `type:"timestamp" required:"true"` + // The display name of the calculated attribute. + DisplayName *string `min:"1" type:"string"` - // The process of matching duplicate profiles. If Matching = true, Amazon Connect - // Customer Profiles starts a weekly batch process called Identity Resolution - // Job. If you do not specify a date and time for Identity Resolution Job to - // run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles - // in your domains. - // - // After the Identity Resolution Job completes, use the GetMatches (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html) - // API to return and review the results. Or, if you have configured ExportingConfig - // in the MatchingRequest, you can download the results from S3. - Matching *MatchingResponse `type:"structure"` + // The timestamp of when the calculated attribute definition was most recently + // edited. + LastUpdatedAt *time.Time `type:"timestamp"` + + // The aggregation operation to perform for the calculated attribute. + Statistic *string `type:"string" enum:"Statistic"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `min:"1" type:"map"` @@ -4938,7 +5804,7 @@ type CreateDomainOutput 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 CreateDomainOutput) String() string { +func (s CreateCalculatedAttributeDefinitionOutput) String() string { return awsutil.Prettify(s) } @@ -4947,36 +5813,278 @@ func (s CreateDomainOutput) 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 CreateDomainOutput) GoString() string { +func (s CreateCalculatedAttributeDefinitionOutput) GoString() string { return s.String() } -// SetCreatedAt sets the CreatedAt field's value. -func (s *CreateDomainOutput) SetCreatedAt(v time.Time) *CreateDomainOutput { - s.CreatedAt = &v +// SetAttributeDetails sets the AttributeDetails field's value. +func (s *CreateCalculatedAttributeDefinitionOutput) SetAttributeDetails(v *AttributeDetails) *CreateCalculatedAttributeDefinitionOutput { + s.AttributeDetails = v return s } -// SetDeadLetterQueueUrl sets the DeadLetterQueueUrl field's value. -func (s *CreateDomainOutput) SetDeadLetterQueueUrl(v string) *CreateDomainOutput { - s.DeadLetterQueueUrl = &v +// SetCalculatedAttributeName sets the CalculatedAttributeName field's value. +func (s *CreateCalculatedAttributeDefinitionOutput) SetCalculatedAttributeName(v string) *CreateCalculatedAttributeDefinitionOutput { + s.CalculatedAttributeName = &v return s } -// SetDefaultEncryptionKey sets the DefaultEncryptionKey field's value. -func (s *CreateDomainOutput) SetDefaultEncryptionKey(v string) *CreateDomainOutput { - s.DefaultEncryptionKey = &v +// SetConditions sets the Conditions field's value. +func (s *CreateCalculatedAttributeDefinitionOutput) SetConditions(v *Conditions) *CreateCalculatedAttributeDefinitionOutput { + s.Conditions = v return s } -// SetDefaultExpirationDays sets the DefaultExpirationDays field's value. -func (s *CreateDomainOutput) SetDefaultExpirationDays(v int64) *CreateDomainOutput { - s.DefaultExpirationDays = &v +// SetCreatedAt sets the CreatedAt field's value. +func (s *CreateCalculatedAttributeDefinitionOutput) SetCreatedAt(v time.Time) *CreateCalculatedAttributeDefinitionOutput { + s.CreatedAt = &v return s } -// SetDomainName sets the DomainName field's value. -func (s *CreateDomainOutput) SetDomainName(v string) *CreateDomainOutput { +// SetDescription sets the Description field's value. +func (s *CreateCalculatedAttributeDefinitionOutput) SetDescription(v string) *CreateCalculatedAttributeDefinitionOutput { + s.Description = &v + return s +} + +// SetDisplayName sets the DisplayName field's value. +func (s *CreateCalculatedAttributeDefinitionOutput) SetDisplayName(v string) *CreateCalculatedAttributeDefinitionOutput { + s.DisplayName = &v + return s +} + +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *CreateCalculatedAttributeDefinitionOutput) SetLastUpdatedAt(v time.Time) *CreateCalculatedAttributeDefinitionOutput { + s.LastUpdatedAt = &v + return s +} + +// SetStatistic sets the Statistic field's value. +func (s *CreateCalculatedAttributeDefinitionOutput) SetStatistic(v string) *CreateCalculatedAttributeDefinitionOutput { + s.Statistic = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateCalculatedAttributeDefinitionOutput) SetTags(v map[string]*string) *CreateCalculatedAttributeDefinitionOutput { + s.Tags = v + return s +} + +type CreateDomainInput struct { + _ struct{} `type:"structure"` + + // The URL of the SQS dead letter queue, which is used for reporting errors + // associated with ingesting data from third party applications. You must set + // up a policy on the DeadLetterQueue for the SendMessage operation to enable + // Amazon Connect Customer Profiles to send messages to the DeadLetterQueue. + DeadLetterQueueUrl *string `type:"string"` + + // The default encryption key, which is an AWS managed key, is used when no + // specific type of encryption key is specified. It is used to encrypt all data + // before it is placed in permanent or semi-permanent storage. + DefaultEncryptionKey *string `type:"string"` + + // The default number of days until the data within the domain expires. + // + // DefaultExpirationDays is a required field + DefaultExpirationDays *int64 `min:"1" type:"integer" required:"true"` + + // The unique name of the domain. + // + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"1" type:"string" required:"true"` + + // The process of matching duplicate profiles. If Matching = true, Amazon Connect + // Customer Profiles starts a weekly batch process called Identity Resolution + // Job. If you do not specify a date and time for Identity Resolution Job to + // run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles + // in your domains. + // + // After the Identity Resolution Job completes, use the GetMatches (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html) + // API to return and review the results. Or, if you have configured ExportingConfig + // in the MatchingRequest, you can download the results from S3. + Matching *MatchingRequest `type:"structure"` + + // The tags used to organize, track, or control access for this resource. + Tags map[string]*string `min:"1" type:"map"` +} + +// 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 CreateDomainInput) 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 CreateDomainInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateDomainInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateDomainInput"} + if s.DefaultExpirationDays == nil { + invalidParams.Add(request.NewErrParamRequired("DefaultExpirationDays")) + } + if s.DefaultExpirationDays != nil && *s.DefaultExpirationDays < 1 { + invalidParams.Add(request.NewErrParamMinValue("DefaultExpirationDays", 1)) + } + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 1)) + } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } + if s.Matching != nil { + if err := s.Matching.Validate(); err != nil { + invalidParams.AddNested("Matching", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDeadLetterQueueUrl sets the DeadLetterQueueUrl field's value. +func (s *CreateDomainInput) SetDeadLetterQueueUrl(v string) *CreateDomainInput { + s.DeadLetterQueueUrl = &v + return s +} + +// SetDefaultEncryptionKey sets the DefaultEncryptionKey field's value. +func (s *CreateDomainInput) SetDefaultEncryptionKey(v string) *CreateDomainInput { + s.DefaultEncryptionKey = &v + return s +} + +// SetDefaultExpirationDays sets the DefaultExpirationDays field's value. +func (s *CreateDomainInput) SetDefaultExpirationDays(v int64) *CreateDomainInput { + s.DefaultExpirationDays = &v + return s +} + +// SetDomainName sets the DomainName field's value. +func (s *CreateDomainInput) SetDomainName(v string) *CreateDomainInput { + s.DomainName = &v + return s +} + +// SetMatching sets the Matching field's value. +func (s *CreateDomainInput) SetMatching(v *MatchingRequest) *CreateDomainInput { + s.Matching = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateDomainInput) SetTags(v map[string]*string) *CreateDomainInput { + s.Tags = v + return s +} + +type CreateDomainOutput struct { + _ struct{} `type:"structure"` + + // The timestamp of when the domain was created. + // + // CreatedAt is a required field + CreatedAt *time.Time `type:"timestamp" required:"true"` + + // The URL of the SQS dead letter queue, which is used for reporting errors + // associated with ingesting data from third party applications. + DeadLetterQueueUrl *string `type:"string"` + + // The default encryption key, which is an AWS managed key, is used when no + // specific type of encryption key is specified. It is used to encrypt all data + // before it is placed in permanent or semi-permanent storage. + DefaultEncryptionKey *string `type:"string"` + + // The default number of days until the data within the domain expires. + // + // DefaultExpirationDays is a required field + DefaultExpirationDays *int64 `min:"1" type:"integer" required:"true"` + + // The unique name of the domain. + // + // DomainName is a required field + DomainName *string `min:"1" type:"string" required:"true"` + + // The timestamp of when the domain was most recently edited. + // + // LastUpdatedAt is a required field + LastUpdatedAt *time.Time `type:"timestamp" required:"true"` + + // The process of matching duplicate profiles. If Matching = true, Amazon Connect + // Customer Profiles starts a weekly batch process called Identity Resolution + // Job. If you do not specify a date and time for Identity Resolution Job to + // run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles + // in your domains. + // + // After the Identity Resolution Job completes, use the GetMatches (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html) + // API to return and review the results. Or, if you have configured ExportingConfig + // in the MatchingRequest, you can download the results from S3. + Matching *MatchingResponse `type:"structure"` + + // The tags used to organize, track, or control access for this resource. + Tags map[string]*string `min:"1" type:"map"` +} + +// 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 CreateDomainOutput) 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 CreateDomainOutput) GoString() string { + return s.String() +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *CreateDomainOutput) SetCreatedAt(v time.Time) *CreateDomainOutput { + s.CreatedAt = &v + return s +} + +// SetDeadLetterQueueUrl sets the DeadLetterQueueUrl field's value. +func (s *CreateDomainOutput) SetDeadLetterQueueUrl(v string) *CreateDomainOutput { + s.DeadLetterQueueUrl = &v + return s +} + +// SetDefaultEncryptionKey sets the DefaultEncryptionKey field's value. +func (s *CreateDomainOutput) SetDefaultEncryptionKey(v string) *CreateDomainOutput { + s.DefaultEncryptionKey = &v + return s +} + +// SetDefaultExpirationDays sets the DefaultExpirationDays field's value. +func (s *CreateDomainOutput) SetDefaultExpirationDays(v int64) *CreateDomainOutput { + s.DefaultExpirationDays = &v + return s +} + +// SetDomainName sets the DomainName field's value. +func (s *CreateDomainOutput) SetDomainName(v string) *CreateDomainOutput { s.DomainName = &v return s } @@ -5529,9 +6637,14 @@ func (s *CreateProfileOutput) SetProfileId(v string) *CreateProfileOutput { return s } -type DeleteDomainInput struct { +type DeleteCalculatedAttributeDefinitionInput struct { _ struct{} `type:"structure" nopayload:"true"` + // The unique name of the calculated attribute. + // + // CalculatedAttributeName is a required field + CalculatedAttributeName *string `location:"uri" locationName:"CalculatedAttributeName" min:"1" type:"string" required:"true"` + // The unique name of the domain. // // DomainName is a required field @@ -5543,7 +6656,7 @@ type DeleteDomainInput 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 DeleteDomainInput) String() string { +func (s DeleteCalculatedAttributeDefinitionInput) String() string { return awsutil.Prettify(s) } @@ -5552,13 +6665,19 @@ func (s DeleteDomainInput) 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 DeleteDomainInput) GoString() string { +func (s DeleteCalculatedAttributeDefinitionInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteDomainInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteDomainInput"} +func (s *DeleteCalculatedAttributeDefinitionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteCalculatedAttributeDefinitionInput"} + if s.CalculatedAttributeName == nil { + invalidParams.Add(request.NewErrParamRequired("CalculatedAttributeName")) + } + if s.CalculatedAttributeName != nil && len(*s.CalculatedAttributeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CalculatedAttributeName", 1)) + } if s.DomainName == nil { invalidParams.Add(request.NewErrParamRequired("DomainName")) } @@ -5572,19 +6691,20 @@ func (s *DeleteDomainInput) Validate() error { return nil } +// SetCalculatedAttributeName sets the CalculatedAttributeName field's value. +func (s *DeleteCalculatedAttributeDefinitionInput) SetCalculatedAttributeName(v string) *DeleteCalculatedAttributeDefinitionInput { + s.CalculatedAttributeName = &v + return s +} + // SetDomainName sets the DomainName field's value. -func (s *DeleteDomainInput) SetDomainName(v string) *DeleteDomainInput { +func (s *DeleteCalculatedAttributeDefinitionInput) SetDomainName(v string) *DeleteCalculatedAttributeDefinitionInput { s.DomainName = &v return s } -type DeleteDomainOutput struct { +type DeleteCalculatedAttributeDefinitionOutput struct { _ struct{} `type:"structure"` - - // A message that indicates the delete request is done. - // - // Message is a required field - Message *string `type:"string" required:"true"` } // String returns the string representation. @@ -5592,7 +6712,7 @@ type DeleteDomainOutput 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 DeleteDomainOutput) String() string { +func (s DeleteCalculatedAttributeDefinitionOutput) String() string { return awsutil.Prettify(s) } @@ -5601,7 +6721,83 @@ func (s DeleteDomainOutput) 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 DeleteDomainOutput) GoString() string { +func (s DeleteCalculatedAttributeDefinitionOutput) GoString() string { + return s.String() +} + +type DeleteDomainInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The unique name of the domain. + // + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"1" 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 DeleteDomainInput) 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 DeleteDomainInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteDomainInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteDomainInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomainName sets the DomainName field's value. +func (s *DeleteDomainInput) SetDomainName(v string) *DeleteDomainInput { + s.DomainName = &v + return s +} + +type DeleteDomainOutput struct { + _ struct{} `type:"structure"` + + // A message that indicates the delete request is done. + // + // Message is a required field + Message *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 DeleteDomainOutput) 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 DeleteDomainOutput) GoString() string { return s.String() } @@ -6947,9 +8143,14 @@ func (s *GetAutoMergingPreviewOutput) SetNumberOfProfilesWillBeMerged(v int64) * return s } -type GetDomainInput struct { +type GetCalculatedAttributeDefinitionInput struct { _ struct{} `type:"structure" nopayload:"true"` + // The unique name of the calculated attribute. + // + // CalculatedAttributeName is a required field + CalculatedAttributeName *string `location:"uri" locationName:"CalculatedAttributeName" min:"1" type:"string" required:"true"` + // The unique name of the domain. // // DomainName is a required field @@ -6961,7 +8162,7 @@ type GetDomainInput 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 GetDomainInput) String() string { +func (s GetCalculatedAttributeDefinitionInput) String() string { return awsutil.Prettify(s) } @@ -6970,13 +8171,19 @@ func (s GetDomainInput) 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 GetDomainInput) GoString() string { +func (s GetCalculatedAttributeDefinitionInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetDomainInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetDomainInput"} +func (s *GetCalculatedAttributeDefinitionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetCalculatedAttributeDefinitionInput"} + if s.CalculatedAttributeName == nil { + invalidParams.Add(request.NewErrParamRequired("CalculatedAttributeName")) + } + if s.CalculatedAttributeName != nil && len(*s.CalculatedAttributeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CalculatedAttributeName", 1)) + } if s.DomainName == nil { invalidParams.Add(request.NewErrParamRequired("DomainName")) } @@ -6990,55 +8197,46 @@ func (s *GetDomainInput) Validate() error { return nil } +// SetCalculatedAttributeName sets the CalculatedAttributeName field's value. +func (s *GetCalculatedAttributeDefinitionInput) SetCalculatedAttributeName(v string) *GetCalculatedAttributeDefinitionInput { + s.CalculatedAttributeName = &v + return s +} + // SetDomainName sets the DomainName field's value. -func (s *GetDomainInput) SetDomainName(v string) *GetDomainInput { +func (s *GetCalculatedAttributeDefinitionInput) SetDomainName(v string) *GetCalculatedAttributeDefinitionInput { s.DomainName = &v return s } -type GetDomainOutput struct { +type GetCalculatedAttributeDefinitionOutput struct { _ struct{} `type:"structure"` - // The timestamp of when the domain was created. - // - // CreatedAt is a required field - CreatedAt *time.Time `type:"timestamp" required:"true"` + // Mathematical expression and a list of attribute items specified in that expression. + AttributeDetails *AttributeDetails `type:"structure"` - // The URL of the SQS dead letter queue, which is used for reporting errors - // associated with ingesting data from third party applications. - DeadLetterQueueUrl *string `type:"string"` + // The unique name of the calculated attribute. + CalculatedAttributeName *string `min:"1" type:"string"` - // The default encryption key, which is an AWS managed key, is used when no - // specific type of encryption key is specified. It is used to encrypt all data - // before it is placed in permanent or semi-permanent storage. - DefaultEncryptionKey *string `type:"string"` + // The conditions including range, object count, and threshold for the calculated + // attribute. + Conditions *Conditions `type:"structure"` - // The default number of days until the data within the domain expires. - DefaultExpirationDays *int64 `min:"1" type:"integer"` + // The timestamp of when the calculated attribute definition was created. + CreatedAt *time.Time `type:"timestamp"` - // The unique name of the domain. - // - // DomainName is a required field - DomainName *string `min:"1" type:"string" required:"true"` + // The description of the calculated attribute. + Description *string `min:"1" type:"string"` - // The timestamp of when the domain was most recently edited. - // - // LastUpdatedAt is a required field - LastUpdatedAt *time.Time `type:"timestamp" required:"true"` + // The display name of the calculated attribute. + DisplayName *string `min:"1" type:"string"` - // The process of matching duplicate profiles. If Matching = true, Amazon Connect - // Customer Profiles starts a weekly batch process called Identity Resolution - // Job. If you do not specify a date and time for Identity Resolution Job to - // run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles - // in your domains. - // - // After the Identity Resolution Job completes, use the GetMatches (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html) - // API to return and review the results. Or, if you have configured ExportingConfig - // in the MatchingRequest, you can download the results from S3. - Matching *MatchingResponse `type:"structure"` + // The timestamp of when the calculated attribute definition was most recently + // edited. + LastUpdatedAt *time.Time `type:"timestamp"` - // Usage-specific statistics about the domain. - Stats *DomainStats `type:"structure"` + // The aggregation operation to perform for the calculated attribute. + Statistic *string `type:"string" enum:"Statistic"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `min:"1" type:"map"` @@ -7049,7 +8247,7 @@ type GetDomainOutput 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 GetDomainOutput) String() string { +func (s GetCalculatedAttributeDefinitionOutput) String() string { return awsutil.Prettify(s) } @@ -7058,76 +8256,81 @@ func (s GetDomainOutput) 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 GetDomainOutput) GoString() string { +func (s GetCalculatedAttributeDefinitionOutput) GoString() string { return s.String() } -// SetCreatedAt sets the CreatedAt field's value. -func (s *GetDomainOutput) SetCreatedAt(v time.Time) *GetDomainOutput { - s.CreatedAt = &v +// SetAttributeDetails sets the AttributeDetails field's value. +func (s *GetCalculatedAttributeDefinitionOutput) SetAttributeDetails(v *AttributeDetails) *GetCalculatedAttributeDefinitionOutput { + s.AttributeDetails = v return s } -// SetDeadLetterQueueUrl sets the DeadLetterQueueUrl field's value. -func (s *GetDomainOutput) SetDeadLetterQueueUrl(v string) *GetDomainOutput { - s.DeadLetterQueueUrl = &v +// SetCalculatedAttributeName sets the CalculatedAttributeName field's value. +func (s *GetCalculatedAttributeDefinitionOutput) SetCalculatedAttributeName(v string) *GetCalculatedAttributeDefinitionOutput { + s.CalculatedAttributeName = &v return s } -// SetDefaultEncryptionKey sets the DefaultEncryptionKey field's value. -func (s *GetDomainOutput) SetDefaultEncryptionKey(v string) *GetDomainOutput { - s.DefaultEncryptionKey = &v +// SetConditions sets the Conditions field's value. +func (s *GetCalculatedAttributeDefinitionOutput) SetConditions(v *Conditions) *GetCalculatedAttributeDefinitionOutput { + s.Conditions = v return s } -// SetDefaultExpirationDays sets the DefaultExpirationDays field's value. -func (s *GetDomainOutput) SetDefaultExpirationDays(v int64) *GetDomainOutput { - s.DefaultExpirationDays = &v +// SetCreatedAt sets the CreatedAt field's value. +func (s *GetCalculatedAttributeDefinitionOutput) SetCreatedAt(v time.Time) *GetCalculatedAttributeDefinitionOutput { + s.CreatedAt = &v return s } -// SetDomainName sets the DomainName field's value. -func (s *GetDomainOutput) SetDomainName(v string) *GetDomainOutput { - s.DomainName = &v +// SetDescription sets the Description field's value. +func (s *GetCalculatedAttributeDefinitionOutput) SetDescription(v string) *GetCalculatedAttributeDefinitionOutput { + s.Description = &v return s } -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *GetDomainOutput) SetLastUpdatedAt(v time.Time) *GetDomainOutput { - s.LastUpdatedAt = &v +// SetDisplayName sets the DisplayName field's value. +func (s *GetCalculatedAttributeDefinitionOutput) SetDisplayName(v string) *GetCalculatedAttributeDefinitionOutput { + s.DisplayName = &v return s } -// SetMatching sets the Matching field's value. -func (s *GetDomainOutput) SetMatching(v *MatchingResponse) *GetDomainOutput { - s.Matching = v +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *GetCalculatedAttributeDefinitionOutput) SetLastUpdatedAt(v time.Time) *GetCalculatedAttributeDefinitionOutput { + s.LastUpdatedAt = &v return s } -// SetStats sets the Stats field's value. -func (s *GetDomainOutput) SetStats(v *DomainStats) *GetDomainOutput { - s.Stats = v +// SetStatistic sets the Statistic field's value. +func (s *GetCalculatedAttributeDefinitionOutput) SetStatistic(v string) *GetCalculatedAttributeDefinitionOutput { + s.Statistic = &v return s } // SetTags sets the Tags field's value. -func (s *GetDomainOutput) SetTags(v map[string]*string) *GetDomainOutput { +func (s *GetCalculatedAttributeDefinitionOutput) SetTags(v map[string]*string) *GetCalculatedAttributeDefinitionOutput { s.Tags = v return s } -type GetIdentityResolutionJobInput struct { +type GetCalculatedAttributeForProfileInput struct { _ struct{} `type:"structure" nopayload:"true"` + // The unique name of the calculated attribute. + // + // CalculatedAttributeName is a required field + CalculatedAttributeName *string `location:"uri" locationName:"CalculatedAttributeName" min:"1" type:"string" required:"true"` + // The unique name of the domain. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"1" type:"string" required:"true"` - // The unique identifier of the Identity Resolution Job. + // The unique identifier of a customer profile. // - // JobId is a required field - JobId *string `location:"uri" locationName:"JobId" type:"string" required:"true"` + // ProfileId is a required field + ProfileId *string `location:"uri" locationName:"ProfileId" type:"string" required:"true"` } // String returns the string representation. @@ -7135,7 +8338,7 @@ type GetIdentityResolutionJobInput 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 GetIdentityResolutionJobInput) String() string { +func (s GetCalculatedAttributeForProfileInput) String() string { return awsutil.Prettify(s) } @@ -7144,24 +8347,30 @@ func (s GetIdentityResolutionJobInput) 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 GetIdentityResolutionJobInput) GoString() string { +func (s GetCalculatedAttributeForProfileInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetIdentityResolutionJobInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetIdentityResolutionJobInput"} +func (s *GetCalculatedAttributeForProfileInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetCalculatedAttributeForProfileInput"} + if s.CalculatedAttributeName == nil { + invalidParams.Add(request.NewErrParamRequired("CalculatedAttributeName")) + } + if s.CalculatedAttributeName != nil && len(*s.CalculatedAttributeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CalculatedAttributeName", 1)) + } if s.DomainName == nil { invalidParams.Add(request.NewErrParamRequired("DomainName")) } if s.DomainName != nil && len(*s.DomainName) < 1 { invalidParams.Add(request.NewErrParamMinLen("DomainName", 1)) } - if s.JobId == nil { - invalidParams.Add(request.NewErrParamRequired("JobId")) + if s.ProfileId == nil { + invalidParams.Add(request.NewErrParamRequired("ProfileId")) } - if s.JobId != nil && len(*s.JobId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + if s.ProfileId != nil && len(*s.ProfileId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProfileId", 1)) } if invalidParams.Len() > 0 { @@ -7170,74 +8379,39 @@ func (s *GetIdentityResolutionJobInput) Validate() error { return nil } +// SetCalculatedAttributeName sets the CalculatedAttributeName field's value. +func (s *GetCalculatedAttributeForProfileInput) SetCalculatedAttributeName(v string) *GetCalculatedAttributeForProfileInput { + s.CalculatedAttributeName = &v + return s +} + // SetDomainName sets the DomainName field's value. -func (s *GetIdentityResolutionJobInput) SetDomainName(v string) *GetIdentityResolutionJobInput { +func (s *GetCalculatedAttributeForProfileInput) SetDomainName(v string) *GetCalculatedAttributeForProfileInput { s.DomainName = &v return s } -// SetJobId sets the JobId field's value. -func (s *GetIdentityResolutionJobInput) SetJobId(v string) *GetIdentityResolutionJobInput { - s.JobId = &v +// SetProfileId sets the ProfileId field's value. +func (s *GetCalculatedAttributeForProfileInput) SetProfileId(v string) *GetCalculatedAttributeForProfileInput { + s.ProfileId = &v return s } -type GetIdentityResolutionJobOutput struct { +type GetCalculatedAttributeForProfileOutput struct { _ struct{} `type:"structure"` - // Configuration settings for how to perform the auto-merging of profiles. - AutoMerging *AutoMerging `type:"structure"` - - // The unique name of the domain. - DomainName *string `min:"1" type:"string"` - - // The S3 location where the Identity Resolution Job writes result files. - ExportingLocation *ExportingLocation `type:"structure"` - - // The timestamp of when the Identity Resolution Job was completed. - JobEndTime *time.Time `type:"timestamp"` - - // The timestamp of when the Identity Resolution Job will expire. - JobExpirationTime *time.Time `type:"timestamp"` - - // The unique identifier of the Identity Resolution Job. - JobId *string `type:"string"` - - // The timestamp of when the Identity Resolution Job was started or will be - // started. - JobStartTime *time.Time `type:"timestamp"` - - // Statistics about the Identity Resolution Job. - JobStats *JobStats `type:"structure"` + // The unique name of the calculated attribute. + CalculatedAttributeName *string `min:"1" type:"string"` - // The timestamp of when the Identity Resolution Job was most recently edited. - LastUpdatedAt *time.Time `type:"timestamp"` + // The display name of the calculated attribute. + DisplayName *string `min:"1" type:"string"` - // The error messages that are generated when the Identity Resolution Job runs. - Message *string `type:"string"` + // Indicates whether the calculated attribute’s value is based on partial + // data. If data is partial, it is set to true. + IsDataPartial *string `min:"1" type:"string"` - // The status of the Identity Resolution Job. - // - // * PENDING: The Identity Resolution Job is scheduled but has not started - // yet. If you turn off the Identity Resolution feature in your domain, jobs - // in the PENDING state are deleted. - // - // * PREPROCESSING: The Identity Resolution Job is loading your data. - // - // * FIND_MATCHING: The Identity Resolution Job is using the machine learning - // model to identify profiles that belong to the same matching group. - // - // * MERGING: The Identity Resolution Job is merging duplicate profiles. - // - // * COMPLETED: The Identity Resolution Job completed successfully. - // - // * PARTIAL_SUCCESS: There's a system error and not all of the data is merged. - // The Identity Resolution Job writes a message indicating the source of - // the problem. - // - // * FAILED: The Identity Resolution Job did not merge any data. It writes - // a message indicating the source of the problem. - Status *string `type:"string" enum:"IdentityResolutionJobStatus"` + // The value of the calculated attribute. + Value *string `min:"1" type:"string"` } // String returns the string representation. @@ -7245,7 +8419,7 @@ type GetIdentityResolutionJobOutput 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 GetIdentityResolutionJobOutput) String() string { +func (s GetCalculatedAttributeForProfileOutput) String() string { return awsutil.Prettify(s) } @@ -7254,88 +8428,41 @@ func (s GetIdentityResolutionJobOutput) 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 GetIdentityResolutionJobOutput) GoString() string { +func (s GetCalculatedAttributeForProfileOutput) GoString() string { return s.String() } -// SetAutoMerging sets the AutoMerging field's value. -func (s *GetIdentityResolutionJobOutput) SetAutoMerging(v *AutoMerging) *GetIdentityResolutionJobOutput { - s.AutoMerging = v +// SetCalculatedAttributeName sets the CalculatedAttributeName field's value. +func (s *GetCalculatedAttributeForProfileOutput) SetCalculatedAttributeName(v string) *GetCalculatedAttributeForProfileOutput { + s.CalculatedAttributeName = &v return s } -// SetDomainName sets the DomainName field's value. -func (s *GetIdentityResolutionJobOutput) SetDomainName(v string) *GetIdentityResolutionJobOutput { - s.DomainName = &v +// SetDisplayName sets the DisplayName field's value. +func (s *GetCalculatedAttributeForProfileOutput) SetDisplayName(v string) *GetCalculatedAttributeForProfileOutput { + s.DisplayName = &v return s } -// SetExportingLocation sets the ExportingLocation field's value. -func (s *GetIdentityResolutionJobOutput) SetExportingLocation(v *ExportingLocation) *GetIdentityResolutionJobOutput { - s.ExportingLocation = v +// SetIsDataPartial sets the IsDataPartial field's value. +func (s *GetCalculatedAttributeForProfileOutput) SetIsDataPartial(v string) *GetCalculatedAttributeForProfileOutput { + s.IsDataPartial = &v return s } -// SetJobEndTime sets the JobEndTime field's value. -func (s *GetIdentityResolutionJobOutput) SetJobEndTime(v time.Time) *GetIdentityResolutionJobOutput { - s.JobEndTime = &v +// SetValue sets the Value field's value. +func (s *GetCalculatedAttributeForProfileOutput) SetValue(v string) *GetCalculatedAttributeForProfileOutput { + s.Value = &v return s } -// SetJobExpirationTime sets the JobExpirationTime field's value. -func (s *GetIdentityResolutionJobOutput) SetJobExpirationTime(v time.Time) *GetIdentityResolutionJobOutput { - s.JobExpirationTime = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *GetIdentityResolutionJobOutput) SetJobId(v string) *GetIdentityResolutionJobOutput { - s.JobId = &v - return s -} - -// SetJobStartTime sets the JobStartTime field's value. -func (s *GetIdentityResolutionJobOutput) SetJobStartTime(v time.Time) *GetIdentityResolutionJobOutput { - s.JobStartTime = &v - return s -} - -// SetJobStats sets the JobStats field's value. -func (s *GetIdentityResolutionJobOutput) SetJobStats(v *JobStats) *GetIdentityResolutionJobOutput { - s.JobStats = v - return s -} - -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *GetIdentityResolutionJobOutput) SetLastUpdatedAt(v time.Time) *GetIdentityResolutionJobOutput { - s.LastUpdatedAt = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *GetIdentityResolutionJobOutput) SetMessage(v string) *GetIdentityResolutionJobOutput { - s.Message = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetIdentityResolutionJobOutput) SetStatus(v string) *GetIdentityResolutionJobOutput { - s.Status = &v - return s -} - -type GetIntegrationInput struct { - _ struct{} `type:"structure"` +type GetDomainInput struct { + _ struct{} `type:"structure" nopayload:"true"` // The unique name of the domain. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"1" type:"string" required:"true"` - - // The URI of the S3 bucket or any other type of data source. - // - // Uri is a required field - Uri *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -7343,7 +8470,7 @@ type GetIntegrationInput 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 GetIntegrationInput) String() string { +func (s GetDomainInput) String() string { return awsutil.Prettify(s) } @@ -7352,25 +8479,19 @@ func (s GetIntegrationInput) 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 GetIntegrationInput) GoString() string { +func (s GetDomainInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetIntegrationInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetIntegrationInput"} +func (s *GetDomainInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetDomainInput"} if s.DomainName == nil { invalidParams.Add(request.NewErrParamRequired("DomainName")) } if s.DomainName != nil && len(*s.DomainName) < 1 { invalidParams.Add(request.NewErrParamMinLen("DomainName", 1)) } - if s.Uri == nil { - invalidParams.Add(request.NewErrParamRequired("Uri")) - } - if s.Uri != nil && len(*s.Uri) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Uri", 1)) - } if invalidParams.Len() > 0 { return invalidParams @@ -7379,18 +8500,12 @@ func (s *GetIntegrationInput) Validate() error { } // SetDomainName sets the DomainName field's value. -func (s *GetIntegrationInput) SetDomainName(v string) *GetIntegrationInput { +func (s *GetDomainInput) SetDomainName(v string) *GetDomainInput { s.DomainName = &v return s } -// SetUri sets the Uri field's value. -func (s *GetIntegrationInput) SetUri(v string) *GetIntegrationInput { - s.Uri = &v - return s -} - -type GetIntegrationOutput struct { +type GetDomainOutput struct { _ struct{} `type:"structure"` // The timestamp of when the domain was created. @@ -7398,41 +8513,44 @@ type GetIntegrationOutput struct { // CreatedAt is a required field CreatedAt *time.Time `type:"timestamp" required:"true"` + // The URL of the SQS dead letter queue, which is used for reporting errors + // associated with ingesting data from third party applications. + DeadLetterQueueUrl *string `type:"string"` + + // The default encryption key, which is an AWS managed key, is used when no + // specific type of encryption key is specified. It is used to encrypt all data + // before it is placed in permanent or semi-permanent storage. + DefaultEncryptionKey *string `type:"string"` + + // The default number of days until the data within the domain expires. + DefaultExpirationDays *int64 `min:"1" type:"integer"` + // The unique name of the domain. // // DomainName is a required field DomainName *string `min:"1" type:"string" required:"true"` - // Boolean that shows if the Flow that's associated with the Integration is - // created in Amazon Appflow, or with ObjectTypeName equals _unstructured via - // API/CLI in flowDefinition. - IsUnstructured *bool `type:"boolean"` - // The timestamp of when the domain was most recently edited. // // LastUpdatedAt is a required field LastUpdatedAt *time.Time `type:"timestamp" required:"true"` - // The name of the profile object type. - ObjectTypeName *string `min:"1" type:"string"` + // The process of matching duplicate profiles. If Matching = true, Amazon Connect + // Customer Profiles starts a weekly batch process called Identity Resolution + // Job. If you do not specify a date and time for Identity Resolution Job to + // run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles + // in your domains. + // + // After the Identity Resolution Job completes, use the GetMatches (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html) + // API to return and review the results. Or, if you have configured ExportingConfig + // in the MatchingRequest, you can download the results from S3. + Matching *MatchingResponse `type:"structure"` - // A map in which each key is an event type from an external application such - // as Segment or Shopify, and each value is an ObjectTypeName (template) used - // to ingest the event. It supports the following event types: SegmentIdentify, - // ShopifyCreateCustomers, ShopifyUpdateCustomers, ShopifyCreateDraftOrders, - // ShopifyUpdateDraftOrders, ShopifyCreateOrders, and ShopifyUpdatedOrders. - ObjectTypeNames map[string]*string `type:"map"` + // Usage-specific statistics about the domain. + Stats *DomainStats `type:"structure"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `min:"1" type:"map"` - - // The URI of the S3 bucket or any other type of data source. - // - // Uri is a required field - Uri *string `min:"1" type:"string" required:"true"` - - // Unique identifier for the workflow. - WorkflowId *string `min:"1" type:"string"` } // String returns the string representation. @@ -7440,7 +8558,7 @@ type GetIntegrationOutput 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 GetIntegrationOutput) String() string { +func (s GetDomainOutput) String() string { return awsutil.Prettify(s) } @@ -7449,65 +8567,65 @@ func (s GetIntegrationOutput) 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 GetIntegrationOutput) GoString() string { +func (s GetDomainOutput) GoString() string { return s.String() } // SetCreatedAt sets the CreatedAt field's value. -func (s *GetIntegrationOutput) SetCreatedAt(v time.Time) *GetIntegrationOutput { +func (s *GetDomainOutput) SetCreatedAt(v time.Time) *GetDomainOutput { s.CreatedAt = &v return s } -// SetDomainName sets the DomainName field's value. -func (s *GetIntegrationOutput) SetDomainName(v string) *GetIntegrationOutput { - s.DomainName = &v +// SetDeadLetterQueueUrl sets the DeadLetterQueueUrl field's value. +func (s *GetDomainOutput) SetDeadLetterQueueUrl(v string) *GetDomainOutput { + s.DeadLetterQueueUrl = &v return s } -// SetIsUnstructured sets the IsUnstructured field's value. -func (s *GetIntegrationOutput) SetIsUnstructured(v bool) *GetIntegrationOutput { - s.IsUnstructured = &v +// SetDefaultEncryptionKey sets the DefaultEncryptionKey field's value. +func (s *GetDomainOutput) SetDefaultEncryptionKey(v string) *GetDomainOutput { + s.DefaultEncryptionKey = &v return s } -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *GetIntegrationOutput) SetLastUpdatedAt(v time.Time) *GetIntegrationOutput { - s.LastUpdatedAt = &v +// SetDefaultExpirationDays sets the DefaultExpirationDays field's value. +func (s *GetDomainOutput) SetDefaultExpirationDays(v int64) *GetDomainOutput { + s.DefaultExpirationDays = &v return s } -// SetObjectTypeName sets the ObjectTypeName field's value. -func (s *GetIntegrationOutput) SetObjectTypeName(v string) *GetIntegrationOutput { - s.ObjectTypeName = &v +// SetDomainName sets the DomainName field's value. +func (s *GetDomainOutput) SetDomainName(v string) *GetDomainOutput { + s.DomainName = &v return s } -// SetObjectTypeNames sets the ObjectTypeNames field's value. -func (s *GetIntegrationOutput) SetObjectTypeNames(v map[string]*string) *GetIntegrationOutput { - s.ObjectTypeNames = v +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *GetDomainOutput) SetLastUpdatedAt(v time.Time) *GetDomainOutput { + s.LastUpdatedAt = &v return s } -// SetTags sets the Tags field's value. -func (s *GetIntegrationOutput) SetTags(v map[string]*string) *GetIntegrationOutput { - s.Tags = v +// SetMatching sets the Matching field's value. +func (s *GetDomainOutput) SetMatching(v *MatchingResponse) *GetDomainOutput { + s.Matching = v return s } -// SetUri sets the Uri field's value. -func (s *GetIntegrationOutput) SetUri(v string) *GetIntegrationOutput { - s.Uri = &v +// SetStats sets the Stats field's value. +func (s *GetDomainOutput) SetStats(v *DomainStats) *GetDomainOutput { + s.Stats = v return s } -// SetWorkflowId sets the WorkflowId field's value. -func (s *GetIntegrationOutput) SetWorkflowId(v string) *GetIntegrationOutput { - s.WorkflowId = &v +// SetTags sets the Tags field's value. +func (s *GetDomainOutput) SetTags(v map[string]*string) *GetDomainOutput { + s.Tags = v return s } -type GetMatchesInput struct { +type GetIdentityResolutionJobInput struct { _ struct{} `type:"structure" nopayload:"true"` // The unique name of the domain. @@ -7515,12 +8633,10 @@ type GetMatchesInput struct { // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"1" type:"string" required:"true"` - // The maximum number of results to return per page. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` - - // The token for the next set of results. Use the value returned in the previous - // response in the next request to retrieve the next set of results. - NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"` + // The unique identifier of the Identity Resolution Job. + // + // JobId is a required field + JobId *string `location:"uri" locationName:"JobId" type:"string" required:"true"` } // String returns the string representation. @@ -7528,7 +8644,7 @@ type GetMatchesInput 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 GetMatchesInput) String() string { +func (s GetIdentityResolutionJobInput) String() string { return awsutil.Prettify(s) } @@ -7537,24 +8653,24 @@ func (s GetMatchesInput) 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 GetMatchesInput) GoString() string { +func (s GetIdentityResolutionJobInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetMatchesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetMatchesInput"} +func (s *GetIdentityResolutionJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetIdentityResolutionJobInput"} if s.DomainName == nil { invalidParams.Add(request.NewErrParamRequired("DomainName")) } if s.DomainName != nil && len(*s.DomainName) < 1 { invalidParams.Add(request.NewErrParamMinLen("DomainName", 1)) } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) } - if s.NextToken != nil && len(*s.NextToken) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) } if invalidParams.Len() > 0 { @@ -7564,93 +8680,171 @@ func (s *GetMatchesInput) Validate() error { } // SetDomainName sets the DomainName field's value. -func (s *GetMatchesInput) SetDomainName(v string) *GetMatchesInput { +func (s *GetIdentityResolutionJobInput) SetDomainName(v string) *GetIdentityResolutionJobInput { s.DomainName = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *GetMatchesInput) SetMaxResults(v int64) *GetMatchesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetMatchesInput) SetNextToken(v string) *GetMatchesInput { - s.NextToken = &v +// SetJobId sets the JobId field's value. +func (s *GetIdentityResolutionJobInput) SetJobId(v string) *GetIdentityResolutionJobInput { + s.JobId = &v return s } -type GetMatchesOutput struct { +type GetIdentityResolutionJobOutput struct { _ struct{} `type:"structure"` - // The timestamp this version of Match Result generated. - MatchGenerationDate *time.Time `type:"timestamp"` + // Configuration settings for how to perform the auto-merging of profiles. + AutoMerging *AutoMerging `type:"structure"` - // The list of matched profiles for this instance. - Matches []*MatchItem `type:"list"` + // The unique name of the domain. + DomainName *string `min:"1" type:"string"` - // If there are additional results, this is the token for the next set of results. - NextToken *string `min:"1" type:"string"` + // The S3 location where the Identity Resolution Job writes result files. + ExportingLocation *ExportingLocation `type:"structure"` - // The number of potential matches found. - PotentialMatches *int64 `type:"integer"` -} + // The timestamp of when the Identity Resolution Job was completed. + JobEndTime *time.Time `type:"timestamp"` -// 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 GetMatchesOutput) String() string { - return awsutil.Prettify(s) -} + // The timestamp of when the Identity Resolution Job will expire. + JobExpirationTime *time.Time `type:"timestamp"` -// 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 GetMatchesOutput) GoString() string { - return s.String() -} + // The unique identifier of the Identity Resolution Job. + JobId *string `type:"string"` -// SetMatchGenerationDate sets the MatchGenerationDate field's value. -func (s *GetMatchesOutput) SetMatchGenerationDate(v time.Time) *GetMatchesOutput { - s.MatchGenerationDate = &v - return s -} + // The timestamp of when the Identity Resolution Job was started or will be + // started. + JobStartTime *time.Time `type:"timestamp"` -// SetMatches sets the Matches field's value. -func (s *GetMatchesOutput) SetMatches(v []*MatchItem) *GetMatchesOutput { - s.Matches = v + // Statistics about the Identity Resolution Job. + JobStats *JobStats `type:"structure"` + + // The timestamp of when the Identity Resolution Job was most recently edited. + LastUpdatedAt *time.Time `type:"timestamp"` + + // The error messages that are generated when the Identity Resolution Job runs. + Message *string `type:"string"` + + // The status of the Identity Resolution Job. + // + // * PENDING: The Identity Resolution Job is scheduled but has not started + // yet. If you turn off the Identity Resolution feature in your domain, jobs + // in the PENDING state are deleted. + // + // * PREPROCESSING: The Identity Resolution Job is loading your data. + // + // * FIND_MATCHING: The Identity Resolution Job is using the machine learning + // model to identify profiles that belong to the same matching group. + // + // * MERGING: The Identity Resolution Job is merging duplicate profiles. + // + // * COMPLETED: The Identity Resolution Job completed successfully. + // + // * PARTIAL_SUCCESS: There's a system error and not all of the data is merged. + // The Identity Resolution Job writes a message indicating the source of + // the problem. + // + // * FAILED: The Identity Resolution Job did not merge any data. It writes + // a message indicating the source of the problem. + Status *string `type:"string" enum:"IdentityResolutionJobStatus"` +} + +// 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 GetIdentityResolutionJobOutput) 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 GetIdentityResolutionJobOutput) GoString() string { + return s.String() +} + +// SetAutoMerging sets the AutoMerging field's value. +func (s *GetIdentityResolutionJobOutput) SetAutoMerging(v *AutoMerging) *GetIdentityResolutionJobOutput { + s.AutoMerging = v return s } -// SetNextToken sets the NextToken field's value. -func (s *GetMatchesOutput) SetNextToken(v string) *GetMatchesOutput { - s.NextToken = &v +// SetDomainName sets the DomainName field's value. +func (s *GetIdentityResolutionJobOutput) SetDomainName(v string) *GetIdentityResolutionJobOutput { + s.DomainName = &v return s } -// SetPotentialMatches sets the PotentialMatches field's value. -func (s *GetMatchesOutput) SetPotentialMatches(v int64) *GetMatchesOutput { - s.PotentialMatches = &v +// SetExportingLocation sets the ExportingLocation field's value. +func (s *GetIdentityResolutionJobOutput) SetExportingLocation(v *ExportingLocation) *GetIdentityResolutionJobOutput { + s.ExportingLocation = v return s } -type GetProfileObjectTypeInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetJobEndTime sets the JobEndTime field's value. +func (s *GetIdentityResolutionJobOutput) SetJobEndTime(v time.Time) *GetIdentityResolutionJobOutput { + s.JobEndTime = &v + return s +} + +// SetJobExpirationTime sets the JobExpirationTime field's value. +func (s *GetIdentityResolutionJobOutput) SetJobExpirationTime(v time.Time) *GetIdentityResolutionJobOutput { + s.JobExpirationTime = &v + return s +} + +// SetJobId sets the JobId field's value. +func (s *GetIdentityResolutionJobOutput) SetJobId(v string) *GetIdentityResolutionJobOutput { + s.JobId = &v + return s +} + +// SetJobStartTime sets the JobStartTime field's value. +func (s *GetIdentityResolutionJobOutput) SetJobStartTime(v time.Time) *GetIdentityResolutionJobOutput { + s.JobStartTime = &v + return s +} + +// SetJobStats sets the JobStats field's value. +func (s *GetIdentityResolutionJobOutput) SetJobStats(v *JobStats) *GetIdentityResolutionJobOutput { + s.JobStats = v + return s +} + +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *GetIdentityResolutionJobOutput) SetLastUpdatedAt(v time.Time) *GetIdentityResolutionJobOutput { + s.LastUpdatedAt = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *GetIdentityResolutionJobOutput) SetMessage(v string) *GetIdentityResolutionJobOutput { + s.Message = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetIdentityResolutionJobOutput) SetStatus(v string) *GetIdentityResolutionJobOutput { + s.Status = &v + return s +} + +type GetIntegrationInput struct { + _ struct{} `type:"structure"` // The unique name of the domain. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"1" type:"string" required:"true"` - // The name of the profile object type. + // The URI of the S3 bucket or any other type of data source. // - // ObjectTypeName is a required field - ObjectTypeName *string `location:"uri" locationName:"ObjectTypeName" min:"1" type:"string" required:"true"` + // Uri is a required field + Uri *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -7658,7 +8852,7 @@ type GetProfileObjectTypeInput 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 GetProfileObjectTypeInput) String() string { +func (s GetIntegrationInput) String() string { return awsutil.Prettify(s) } @@ -7667,24 +8861,24 @@ func (s GetProfileObjectTypeInput) 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 GetProfileObjectTypeInput) GoString() string { +func (s GetIntegrationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetProfileObjectTypeInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetProfileObjectTypeInput"} +func (s *GetIntegrationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetIntegrationInput"} if s.DomainName == nil { invalidParams.Add(request.NewErrParamRequired("DomainName")) } if s.DomainName != nil && len(*s.DomainName) < 1 { invalidParams.Add(request.NewErrParamMinLen("DomainName", 1)) } - if s.ObjectTypeName == nil { - invalidParams.Add(request.NewErrParamRequired("ObjectTypeName")) + if s.Uri == nil { + invalidParams.Add(request.NewErrParamRequired("Uri")) } - if s.ObjectTypeName != nil && len(*s.ObjectTypeName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ObjectTypeName", 1)) + if s.Uri != nil && len(*s.Uri) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Uri", 1)) } if invalidParams.Len() > 0 { @@ -7694,65 +8888,60 @@ func (s *GetProfileObjectTypeInput) Validate() error { } // SetDomainName sets the DomainName field's value. -func (s *GetProfileObjectTypeInput) SetDomainName(v string) *GetProfileObjectTypeInput { +func (s *GetIntegrationInput) SetDomainName(v string) *GetIntegrationInput { s.DomainName = &v return s } -// SetObjectTypeName sets the ObjectTypeName field's value. -func (s *GetProfileObjectTypeInput) SetObjectTypeName(v string) *GetProfileObjectTypeInput { - s.ObjectTypeName = &v +// SetUri sets the Uri field's value. +func (s *GetIntegrationInput) SetUri(v string) *GetIntegrationInput { + s.Uri = &v return s } -type GetProfileObjectTypeOutput struct { +type GetIntegrationOutput struct { _ struct{} `type:"structure"` - // Indicates whether a profile should be created when data is received if one - // doesn’t exist for an object of this type. The default is FALSE. If the - // AllowProfileCreation flag is set to FALSE, then the service tries to fetch - // a standard profile and associate this object with the profile. If it is set - // to TRUE, and if no match is found, then the service creates a new standard - // profile. - AllowProfileCreation *bool `type:"boolean"` - // The timestamp of when the domain was created. - CreatedAt *time.Time `type:"timestamp"` - - // The description of the profile object type. // - // Description is a required field - Description *string `min:"1" type:"string" required:"true"` - - // The customer-provided key to encrypt the profile object that will be created - // in this profile object type. - EncryptionKey *string `type:"string"` - - // The number of days until the data in the object expires. - ExpirationDays *int64 `min:"1" type:"integer"` + // CreatedAt is a required field + CreatedAt *time.Time `type:"timestamp" required:"true"` - // A map of the name and ObjectType field. - Fields map[string]*ObjectTypeField `type:"map"` + // The unique name of the domain. + // + // DomainName is a required field + DomainName *string `min:"1" type:"string" required:"true"` - // A list of unique keys that can be used to map data to the profile. - Keys map[string][]*ObjectTypeKey `type:"map"` + // Boolean that shows if the Flow that's associated with the Integration is + // created in Amazon Appflow, or with ObjectTypeName equals _unstructured via + // API/CLI in flowDefinition. + IsUnstructured *bool `type:"boolean"` // The timestamp of when the domain was most recently edited. - LastUpdatedAt *time.Time `type:"timestamp"` + // + // LastUpdatedAt is a required field + LastUpdatedAt *time.Time `type:"timestamp" required:"true"` // The name of the profile object type. - // - // ObjectTypeName is a required field - ObjectTypeName *string `min:"1" type:"string" required:"true"` + ObjectTypeName *string `min:"1" type:"string"` - // The format of your sourceLastUpdatedTimestamp that was previously set up. - SourceLastUpdatedTimestampFormat *string `min:"1" type:"string"` + // A map in which each key is an event type from an external application such + // as Segment or Shopify, and each value is an ObjectTypeName (template) used + // to ingest the event. It supports the following event types: SegmentIdentify, + // ShopifyCreateCustomers, ShopifyUpdateCustomers, ShopifyCreateDraftOrders, + // ShopifyUpdateDraftOrders, ShopifyCreateOrders, and ShopifyUpdatedOrders. + ObjectTypeNames map[string]*string `type:"map"` // The tags used to organize, track, or control access for this resource. Tags map[string]*string `min:"1" type:"map"` - // A unique identifier for the object template. - TemplateId *string `min:"1" type:"string"` + // The URI of the S3 bucket or any other type of data source. + // + // Uri is a required field + Uri *string `min:"1" type:"string" required:"true"` + + // Unique identifier for the workflow. + WorkflowId *string `min:"1" type:"string"` } // String returns the string representation. @@ -7760,7 +8949,7 @@ type GetProfileObjectTypeOutput 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 GetProfileObjectTypeOutput) String() string { +func (s GetIntegrationOutput) String() string { return awsutil.Prettify(s) } @@ -7769,89 +8958,78 @@ func (s GetProfileObjectTypeOutput) 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 GetProfileObjectTypeOutput) GoString() string { +func (s GetIntegrationOutput) GoString() string { return s.String() } -// SetAllowProfileCreation sets the AllowProfileCreation field's value. -func (s *GetProfileObjectTypeOutput) SetAllowProfileCreation(v bool) *GetProfileObjectTypeOutput { - s.AllowProfileCreation = &v +// SetCreatedAt sets the CreatedAt field's value. +func (s *GetIntegrationOutput) SetCreatedAt(v time.Time) *GetIntegrationOutput { + s.CreatedAt = &v return s } -// SetCreatedAt sets the CreatedAt field's value. -func (s *GetProfileObjectTypeOutput) SetCreatedAt(v time.Time) *GetProfileObjectTypeOutput { - s.CreatedAt = &v +// SetDomainName sets the DomainName field's value. +func (s *GetIntegrationOutput) SetDomainName(v string) *GetIntegrationOutput { + s.DomainName = &v return s } -// SetDescription sets the Description field's value. -func (s *GetProfileObjectTypeOutput) SetDescription(v string) *GetProfileObjectTypeOutput { - s.Description = &v +// SetIsUnstructured sets the IsUnstructured field's value. +func (s *GetIntegrationOutput) SetIsUnstructured(v bool) *GetIntegrationOutput { + s.IsUnstructured = &v return s } -// SetEncryptionKey sets the EncryptionKey field's value. -func (s *GetProfileObjectTypeOutput) SetEncryptionKey(v string) *GetProfileObjectTypeOutput { - s.EncryptionKey = &v +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *GetIntegrationOutput) SetLastUpdatedAt(v time.Time) *GetIntegrationOutput { + s.LastUpdatedAt = &v return s } -// SetExpirationDays sets the ExpirationDays field's value. -func (s *GetProfileObjectTypeOutput) SetExpirationDays(v int64) *GetProfileObjectTypeOutput { - s.ExpirationDays = &v +// SetObjectTypeName sets the ObjectTypeName field's value. +func (s *GetIntegrationOutput) SetObjectTypeName(v string) *GetIntegrationOutput { + s.ObjectTypeName = &v return s } -// SetFields sets the Fields field's value. -func (s *GetProfileObjectTypeOutput) SetFields(v map[string]*ObjectTypeField) *GetProfileObjectTypeOutput { - s.Fields = v +// SetObjectTypeNames sets the ObjectTypeNames field's value. +func (s *GetIntegrationOutput) SetObjectTypeNames(v map[string]*string) *GetIntegrationOutput { + s.ObjectTypeNames = v return s } -// SetKeys sets the Keys field's value. -func (s *GetProfileObjectTypeOutput) SetKeys(v map[string][]*ObjectTypeKey) *GetProfileObjectTypeOutput { - s.Keys = v - return s -} - -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *GetProfileObjectTypeOutput) SetLastUpdatedAt(v time.Time) *GetProfileObjectTypeOutput { - s.LastUpdatedAt = &v - return s -} - -// SetObjectTypeName sets the ObjectTypeName field's value. -func (s *GetProfileObjectTypeOutput) SetObjectTypeName(v string) *GetProfileObjectTypeOutput { - s.ObjectTypeName = &v - return s -} - -// SetSourceLastUpdatedTimestampFormat sets the SourceLastUpdatedTimestampFormat field's value. -func (s *GetProfileObjectTypeOutput) SetSourceLastUpdatedTimestampFormat(v string) *GetProfileObjectTypeOutput { - s.SourceLastUpdatedTimestampFormat = &v +// SetTags sets the Tags field's value. +func (s *GetIntegrationOutput) SetTags(v map[string]*string) *GetIntegrationOutput { + s.Tags = v return s } -// SetTags sets the Tags field's value. -func (s *GetProfileObjectTypeOutput) SetTags(v map[string]*string) *GetProfileObjectTypeOutput { - s.Tags = v +// SetUri sets the Uri field's value. +func (s *GetIntegrationOutput) SetUri(v string) *GetIntegrationOutput { + s.Uri = &v return s } -// SetTemplateId sets the TemplateId field's value. -func (s *GetProfileObjectTypeOutput) SetTemplateId(v string) *GetProfileObjectTypeOutput { - s.TemplateId = &v +// SetWorkflowId sets the WorkflowId field's value. +func (s *GetIntegrationOutput) SetWorkflowId(v string) *GetIntegrationOutput { + s.WorkflowId = &v return s } -type GetProfileObjectTypeTemplateInput struct { +type GetMatchesInput struct { _ struct{} `type:"structure" nopayload:"true"` - // A unique identifier for the object template. + // The unique name of the domain. // - // TemplateId is a required field - TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"` + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"1" type:"string" required:"true"` + + // The maximum number of results to return per page. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // The token for the next set of results. Use the value returned in the previous + // response in the next request to retrieve the next set of results. + NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"` } // String returns the string representation. @@ -7859,7 +9037,7 @@ type GetProfileObjectTypeTemplateInput 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 GetProfileObjectTypeTemplateInput) String() string { +func (s GetMatchesInput) String() string { return awsutil.Prettify(s) } @@ -7868,18 +9046,24 @@ func (s GetProfileObjectTypeTemplateInput) 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 GetProfileObjectTypeTemplateInput) GoString() string { +func (s GetMatchesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetProfileObjectTypeTemplateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetProfileObjectTypeTemplateInput"} - if s.TemplateId == nil { - invalidParams.Add(request.NewErrParamRequired("TemplateId")) +func (s *GetMatchesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetMatchesInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) } - if s.TemplateId != nil && len(*s.TemplateId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + if s.DomainName != nil && len(*s.DomainName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) } if invalidParams.Len() > 0 { @@ -7888,40 +9072,38 @@ func (s *GetProfileObjectTypeTemplateInput) Validate() error { return nil } -// SetTemplateId sets the TemplateId field's value. -func (s *GetProfileObjectTypeTemplateInput) SetTemplateId(v string) *GetProfileObjectTypeTemplateInput { - s.TemplateId = &v +// SetDomainName sets the DomainName field's value. +func (s *GetMatchesInput) SetDomainName(v string) *GetMatchesInput { + s.DomainName = &v return s } -type GetProfileObjectTypeTemplateOutput struct { - _ struct{} `type:"structure"` - - // Indicates whether a profile should be created when data is received if one - // doesn’t exist for an object of this type. The default is FALSE. If the - // AllowProfileCreation flag is set to FALSE, then the service tries to fetch - // a standard profile and associate this object with the profile. If it is set - // to TRUE, and if no match is found, then the service creates a new standard - // profile. - AllowProfileCreation *bool `type:"boolean"` +// SetMaxResults sets the MaxResults field's value. +func (s *GetMatchesInput) SetMaxResults(v int64) *GetMatchesInput { + s.MaxResults = &v + return s +} - // A map of the name and ObjectType field. - Fields map[string]*ObjectTypeField `type:"map"` +// SetNextToken sets the NextToken field's value. +func (s *GetMatchesInput) SetNextToken(v string) *GetMatchesInput { + s.NextToken = &v + return s +} - // A list of unique keys that can be used to map data to the profile. - Keys map[string][]*ObjectTypeKey `type:"map"` +type GetMatchesOutput struct { + _ struct{} `type:"structure"` - // The format of your sourceLastUpdatedTimestamp that was previously set up. - SourceLastUpdatedTimestampFormat *string `min:"1" type:"string"` + // The timestamp this version of Match Result generated. + MatchGenerationDate *time.Time `type:"timestamp"` - // The name of the source of the object template. - SourceName *string `min:"1" type:"string"` + // The list of matched profiles for this instance. + Matches []*MatchItem `type:"list"` - // The source of the object template. - SourceObject *string `min:"1" type:"string"` + // If there are additional results, this is the token for the next set of results. + NextToken *string `min:"1" type:"string"` - // A unique identifier for the object template. - TemplateId *string `min:"1" type:"string"` + // The number of potential matches found. + PotentialMatches *int64 `type:"integer"` } // String returns the string representation. @@ -7929,7 +9111,7 @@ type GetProfileObjectTypeTemplateOutput 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 GetProfileObjectTypeTemplateOutput) String() string { +func (s GetMatchesOutput) String() string { return awsutil.Prettify(s) } @@ -7938,53 +9120,35 @@ func (s GetProfileObjectTypeTemplateOutput) 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 GetProfileObjectTypeTemplateOutput) GoString() string { +func (s GetMatchesOutput) GoString() string { return s.String() } -// SetAllowProfileCreation sets the AllowProfileCreation field's value. -func (s *GetProfileObjectTypeTemplateOutput) SetAllowProfileCreation(v bool) *GetProfileObjectTypeTemplateOutput { - s.AllowProfileCreation = &v - return s -} - -// SetFields sets the Fields field's value. -func (s *GetProfileObjectTypeTemplateOutput) SetFields(v map[string]*ObjectTypeField) *GetProfileObjectTypeTemplateOutput { - s.Fields = v - return s -} - -// SetKeys sets the Keys field's value. -func (s *GetProfileObjectTypeTemplateOutput) SetKeys(v map[string][]*ObjectTypeKey) *GetProfileObjectTypeTemplateOutput { - s.Keys = v - return s -} - -// SetSourceLastUpdatedTimestampFormat sets the SourceLastUpdatedTimestampFormat field's value. -func (s *GetProfileObjectTypeTemplateOutput) SetSourceLastUpdatedTimestampFormat(v string) *GetProfileObjectTypeTemplateOutput { - s.SourceLastUpdatedTimestampFormat = &v +// SetMatchGenerationDate sets the MatchGenerationDate field's value. +func (s *GetMatchesOutput) SetMatchGenerationDate(v time.Time) *GetMatchesOutput { + s.MatchGenerationDate = &v return s } -// SetSourceName sets the SourceName field's value. -func (s *GetProfileObjectTypeTemplateOutput) SetSourceName(v string) *GetProfileObjectTypeTemplateOutput { - s.SourceName = &v +// SetMatches sets the Matches field's value. +func (s *GetMatchesOutput) SetMatches(v []*MatchItem) *GetMatchesOutput { + s.Matches = v return s } -// SetSourceObject sets the SourceObject field's value. -func (s *GetProfileObjectTypeTemplateOutput) SetSourceObject(v string) *GetProfileObjectTypeTemplateOutput { - s.SourceObject = &v +// SetNextToken sets the NextToken field's value. +func (s *GetMatchesOutput) SetNextToken(v string) *GetMatchesOutput { + s.NextToken = &v return s } -// SetTemplateId sets the TemplateId field's value. -func (s *GetProfileObjectTypeTemplateOutput) SetTemplateId(v string) *GetProfileObjectTypeTemplateOutput { - s.TemplateId = &v +// SetPotentialMatches sets the PotentialMatches field's value. +func (s *GetMatchesOutput) SetPotentialMatches(v int64) *GetMatchesOutput { + s.PotentialMatches = &v return s } -type GetWorkflowInput struct { +type GetProfileObjectTypeInput struct { _ struct{} `type:"structure" nopayload:"true"` // The unique name of the domain. @@ -7992,10 +9156,10 @@ type GetWorkflowInput struct { // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"1" type:"string" required:"true"` - // Unique identifier for the workflow. + // The name of the profile object type. // - // WorkflowId is a required field - WorkflowId *string `location:"uri" locationName:"WorkflowId" type:"string" required:"true"` + // ObjectTypeName is a required field + ObjectTypeName *string `location:"uri" locationName:"ObjectTypeName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -8003,7 +9167,7 @@ type GetWorkflowInput 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 GetWorkflowInput) String() string { +func (s GetProfileObjectTypeInput) String() string { return awsutil.Prettify(s) } @@ -8012,24 +9176,24 @@ func (s GetWorkflowInput) 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 GetWorkflowInput) GoString() string { +func (s GetProfileObjectTypeInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetWorkflowInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetWorkflowInput"} +func (s *GetProfileObjectTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetProfileObjectTypeInput"} if s.DomainName == nil { invalidParams.Add(request.NewErrParamRequired("DomainName")) } if s.DomainName != nil && len(*s.DomainName) < 1 { invalidParams.Add(request.NewErrParamMinLen("DomainName", 1)) } - if s.WorkflowId == nil { - invalidParams.Add(request.NewErrParamRequired("WorkflowId")) + if s.ObjectTypeName == nil { + invalidParams.Add(request.NewErrParamRequired("ObjectTypeName")) } - if s.WorkflowId != nil && len(*s.WorkflowId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("WorkflowId", 1)) + if s.ObjectTypeName != nil && len(*s.ObjectTypeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ObjectTypeName", 1)) } if invalidParams.Len() > 0 { @@ -8039,43 +9203,65 @@ func (s *GetWorkflowInput) Validate() error { } // SetDomainName sets the DomainName field's value. -func (s *GetWorkflowInput) SetDomainName(v string) *GetWorkflowInput { +func (s *GetProfileObjectTypeInput) SetDomainName(v string) *GetProfileObjectTypeInput { s.DomainName = &v return s } -// SetWorkflowId sets the WorkflowId field's value. -func (s *GetWorkflowInput) SetWorkflowId(v string) *GetWorkflowInput { - s.WorkflowId = &v +// SetObjectTypeName sets the ObjectTypeName field's value. +func (s *GetProfileObjectTypeInput) SetObjectTypeName(v string) *GetProfileObjectTypeInput { + s.ObjectTypeName = &v return s } -type GetWorkflowOutput struct { +type GetProfileObjectTypeOutput struct { _ struct{} `type:"structure"` - // Attributes provided for workflow execution. - Attributes *WorkflowAttributes `type:"structure"` + // Indicates whether a profile should be created when data is received if one + // doesn’t exist for an object of this type. The default is FALSE. If the + // AllowProfileCreation flag is set to FALSE, then the service tries to fetch + // a standard profile and associate this object with the profile. If it is set + // to TRUE, and if no match is found, then the service creates a new standard + // profile. + AllowProfileCreation *bool `type:"boolean"` - // Workflow error messages during execution (if any). - ErrorDescription *string `min:"1" type:"string"` + // The timestamp of when the domain was created. + CreatedAt *time.Time `type:"timestamp"` - // The timestamp that represents when workflow execution last updated. - LastUpdatedAt *time.Time `type:"timestamp"` + // The description of the profile object type. + // + // Description is a required field + Description *string `min:"1" type:"string" required:"true"` - // Workflow specific execution metrics. - Metrics *WorkflowMetrics `type:"structure"` + // The customer-provided key to encrypt the profile object that will be created + // in this profile object type. + EncryptionKey *string `type:"string"` - // The timestamp that represents when workflow execution started. - StartDate *time.Time `type:"timestamp"` + // The number of days until the data in the object expires. + ExpirationDays *int64 `min:"1" type:"integer"` - // Status of workflow execution. - Status *string `type:"string" enum:"Status"` + // A map of the name and ObjectType field. + Fields map[string]*ObjectTypeField `type:"map"` - // Unique identifier for the workflow. - WorkflowId *string `type:"string"` + // A list of unique keys that can be used to map data to the profile. + Keys map[string][]*ObjectTypeKey `type:"map"` - // The type of workflow. The only supported value is APPFLOW_INTEGRATION. - WorkflowType *string `type:"string" enum:"WorkflowType"` + // The timestamp of when the domain was most recently edited. + LastUpdatedAt *time.Time `type:"timestamp"` + + // The name of the profile object type. + // + // ObjectTypeName is a required field + ObjectTypeName *string `min:"1" type:"string" required:"true"` + + // The format of your sourceLastUpdatedTimestamp that was previously set up. + SourceLastUpdatedTimestampFormat *string `min:"1" type:"string"` + + // The tags used to organize, track, or control access for this resource. + Tags map[string]*string `min:"1" type:"map"` + + // A unique identifier for the object template. + TemplateId *string `min:"1" type:"string"` } // String returns the string representation. @@ -8083,7 +9269,330 @@ type GetWorkflowOutput 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 GetWorkflowOutput) String() string { +func (s GetProfileObjectTypeOutput) 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 GetProfileObjectTypeOutput) GoString() string { + return s.String() +} + +// SetAllowProfileCreation sets the AllowProfileCreation field's value. +func (s *GetProfileObjectTypeOutput) SetAllowProfileCreation(v bool) *GetProfileObjectTypeOutput { + s.AllowProfileCreation = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *GetProfileObjectTypeOutput) SetCreatedAt(v time.Time) *GetProfileObjectTypeOutput { + s.CreatedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *GetProfileObjectTypeOutput) SetDescription(v string) *GetProfileObjectTypeOutput { + s.Description = &v + return s +} + +// SetEncryptionKey sets the EncryptionKey field's value. +func (s *GetProfileObjectTypeOutput) SetEncryptionKey(v string) *GetProfileObjectTypeOutput { + s.EncryptionKey = &v + return s +} + +// SetExpirationDays sets the ExpirationDays field's value. +func (s *GetProfileObjectTypeOutput) SetExpirationDays(v int64) *GetProfileObjectTypeOutput { + s.ExpirationDays = &v + return s +} + +// SetFields sets the Fields field's value. +func (s *GetProfileObjectTypeOutput) SetFields(v map[string]*ObjectTypeField) *GetProfileObjectTypeOutput { + s.Fields = v + return s +} + +// SetKeys sets the Keys field's value. +func (s *GetProfileObjectTypeOutput) SetKeys(v map[string][]*ObjectTypeKey) *GetProfileObjectTypeOutput { + s.Keys = v + return s +} + +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *GetProfileObjectTypeOutput) SetLastUpdatedAt(v time.Time) *GetProfileObjectTypeOutput { + s.LastUpdatedAt = &v + return s +} + +// SetObjectTypeName sets the ObjectTypeName field's value. +func (s *GetProfileObjectTypeOutput) SetObjectTypeName(v string) *GetProfileObjectTypeOutput { + s.ObjectTypeName = &v + return s +} + +// SetSourceLastUpdatedTimestampFormat sets the SourceLastUpdatedTimestampFormat field's value. +func (s *GetProfileObjectTypeOutput) SetSourceLastUpdatedTimestampFormat(v string) *GetProfileObjectTypeOutput { + s.SourceLastUpdatedTimestampFormat = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *GetProfileObjectTypeOutput) SetTags(v map[string]*string) *GetProfileObjectTypeOutput { + s.Tags = v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *GetProfileObjectTypeOutput) SetTemplateId(v string) *GetProfileObjectTypeOutput { + s.TemplateId = &v + return s +} + +type GetProfileObjectTypeTemplateInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // A unique identifier for the object template. + // + // TemplateId is a required field + TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" 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 GetProfileObjectTypeTemplateInput) 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 GetProfileObjectTypeTemplateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetProfileObjectTypeTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetProfileObjectTypeTemplateInput"} + if s.TemplateId == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateId")) + } + if s.TemplateId != nil && len(*s.TemplateId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTemplateId sets the TemplateId field's value. +func (s *GetProfileObjectTypeTemplateInput) SetTemplateId(v string) *GetProfileObjectTypeTemplateInput { + s.TemplateId = &v + return s +} + +type GetProfileObjectTypeTemplateOutput struct { + _ struct{} `type:"structure"` + + // Indicates whether a profile should be created when data is received if one + // doesn’t exist for an object of this type. The default is FALSE. If the + // AllowProfileCreation flag is set to FALSE, then the service tries to fetch + // a standard profile and associate this object with the profile. If it is set + // to TRUE, and if no match is found, then the service creates a new standard + // profile. + AllowProfileCreation *bool `type:"boolean"` + + // A map of the name and ObjectType field. + Fields map[string]*ObjectTypeField `type:"map"` + + // A list of unique keys that can be used to map data to the profile. + Keys map[string][]*ObjectTypeKey `type:"map"` + + // The format of your sourceLastUpdatedTimestamp that was previously set up. + SourceLastUpdatedTimestampFormat *string `min:"1" type:"string"` + + // The name of the source of the object template. + SourceName *string `min:"1" type:"string"` + + // The source of the object template. + SourceObject *string `min:"1" type:"string"` + + // A unique identifier for the object template. + TemplateId *string `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 GetProfileObjectTypeTemplateOutput) 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 GetProfileObjectTypeTemplateOutput) GoString() string { + return s.String() +} + +// SetAllowProfileCreation sets the AllowProfileCreation field's value. +func (s *GetProfileObjectTypeTemplateOutput) SetAllowProfileCreation(v bool) *GetProfileObjectTypeTemplateOutput { + s.AllowProfileCreation = &v + return s +} + +// SetFields sets the Fields field's value. +func (s *GetProfileObjectTypeTemplateOutput) SetFields(v map[string]*ObjectTypeField) *GetProfileObjectTypeTemplateOutput { + s.Fields = v + return s +} + +// SetKeys sets the Keys field's value. +func (s *GetProfileObjectTypeTemplateOutput) SetKeys(v map[string][]*ObjectTypeKey) *GetProfileObjectTypeTemplateOutput { + s.Keys = v + return s +} + +// SetSourceLastUpdatedTimestampFormat sets the SourceLastUpdatedTimestampFormat field's value. +func (s *GetProfileObjectTypeTemplateOutput) SetSourceLastUpdatedTimestampFormat(v string) *GetProfileObjectTypeTemplateOutput { + s.SourceLastUpdatedTimestampFormat = &v + return s +} + +// SetSourceName sets the SourceName field's value. +func (s *GetProfileObjectTypeTemplateOutput) SetSourceName(v string) *GetProfileObjectTypeTemplateOutput { + s.SourceName = &v + return s +} + +// SetSourceObject sets the SourceObject field's value. +func (s *GetProfileObjectTypeTemplateOutput) SetSourceObject(v string) *GetProfileObjectTypeTemplateOutput { + s.SourceObject = &v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *GetProfileObjectTypeTemplateOutput) SetTemplateId(v string) *GetProfileObjectTypeTemplateOutput { + s.TemplateId = &v + return s +} + +type GetWorkflowInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The unique name of the domain. + // + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"1" type:"string" required:"true"` + + // Unique identifier for the workflow. + // + // WorkflowId is a required field + WorkflowId *string `location:"uri" locationName:"WorkflowId" 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 GetWorkflowInput) 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 GetWorkflowInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetWorkflowInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetWorkflowInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 1)) + } + if s.WorkflowId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowId")) + } + if s.WorkflowId != nil && len(*s.WorkflowId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomainName sets the DomainName field's value. +func (s *GetWorkflowInput) SetDomainName(v string) *GetWorkflowInput { + s.DomainName = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *GetWorkflowInput) SetWorkflowId(v string) *GetWorkflowInput { + s.WorkflowId = &v + return s +} + +type GetWorkflowOutput struct { + _ struct{} `type:"structure"` + + // Attributes provided for workflow execution. + Attributes *WorkflowAttributes `type:"structure"` + + // Workflow error messages during execution (if any). + ErrorDescription *string `min:"1" type:"string"` + + // The timestamp that represents when workflow execution last updated. + LastUpdatedAt *time.Time `type:"timestamp"` + + // Workflow specific execution metrics. + Metrics *WorkflowMetrics `type:"structure"` + + // The timestamp that represents when workflow execution started. + StartDate *time.Time `type:"timestamp"` + + // Status of workflow execution. + Status *string `type:"string" enum:"Status"` + + // Unique identifier for the workflow. + WorkflowId *string `type:"string"` + + // The type of workflow. The only supported value is APPFLOW_INTEGRATION. + WorkflowType *string `type:"string" enum:"WorkflowType"` +} + +// 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 GetWorkflowOutput) String() string { return awsutil.Prettify(s) } @@ -8096,73 +9605,477 @@ func (s GetWorkflowOutput) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *GetWorkflowOutput) SetAttributes(v *WorkflowAttributes) *GetWorkflowOutput { - s.Attributes = v +// SetAttributes sets the Attributes field's value. +func (s *GetWorkflowOutput) SetAttributes(v *WorkflowAttributes) *GetWorkflowOutput { + s.Attributes = v + return s +} + +// SetErrorDescription sets the ErrorDescription field's value. +func (s *GetWorkflowOutput) SetErrorDescription(v string) *GetWorkflowOutput { + s.ErrorDescription = &v + return s +} + +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *GetWorkflowOutput) SetLastUpdatedAt(v time.Time) *GetWorkflowOutput { + s.LastUpdatedAt = &v + return s +} + +// SetMetrics sets the Metrics field's value. +func (s *GetWorkflowOutput) SetMetrics(v *WorkflowMetrics) *GetWorkflowOutput { + s.Metrics = v + return s +} + +// SetStartDate sets the StartDate field's value. +func (s *GetWorkflowOutput) SetStartDate(v time.Time) *GetWorkflowOutput { + s.StartDate = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetWorkflowOutput) SetStatus(v string) *GetWorkflowOutput { + s.Status = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *GetWorkflowOutput) SetWorkflowId(v string) *GetWorkflowOutput { + s.WorkflowId = &v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *GetWorkflowOutput) SetWorkflowType(v string) *GetWorkflowOutput { + s.WorkflowType = &v + return s +} + +type GetWorkflowStepsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The unique name of the domain. + // + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"1" type:"string" required:"true"` + + // The maximum number of results to return per page. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // The token for the next set of results. Use the value returned in the previous + // response in the next request to retrieve the next set of results. + NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"` + + // Unique identifier for the workflow. + // + // WorkflowId is a required field + WorkflowId *string `location:"uri" locationName:"WorkflowId" 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 GetWorkflowStepsInput) 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 GetWorkflowStepsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetWorkflowStepsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetWorkflowStepsInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.WorkflowId == nil { + invalidParams.Add(request.NewErrParamRequired("WorkflowId")) + } + if s.WorkflowId != nil && len(*s.WorkflowId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WorkflowId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomainName sets the DomainName field's value. +func (s *GetWorkflowStepsInput) SetDomainName(v string) *GetWorkflowStepsInput { + s.DomainName = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetWorkflowStepsInput) SetMaxResults(v int64) *GetWorkflowStepsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetWorkflowStepsInput) SetNextToken(v string) *GetWorkflowStepsInput { + s.NextToken = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *GetWorkflowStepsInput) SetWorkflowId(v string) *GetWorkflowStepsInput { + s.WorkflowId = &v + return s +} + +type GetWorkflowStepsOutput struct { + _ struct{} `type:"structure"` + + // List containing workflow step details. + Items []*WorkflowStepItem `type:"list"` + + // If there are additional results, this is the token for the next set of results. + NextToken *string `min:"1" type:"string"` + + // Unique identifier for the workflow. + WorkflowId *string `type:"string"` + + // The type of workflow. The only supported value is APPFLOW_INTEGRATION. + WorkflowType *string `type:"string" enum:"WorkflowType"` +} + +// 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 GetWorkflowStepsOutput) 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 GetWorkflowStepsOutput) GoString() string { + return s.String() +} + +// SetItems sets the Items field's value. +func (s *GetWorkflowStepsOutput) SetItems(v []*WorkflowStepItem) *GetWorkflowStepsOutput { + s.Items = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetWorkflowStepsOutput) SetNextToken(v string) *GetWorkflowStepsOutput { + s.NextToken = &v + return s +} + +// SetWorkflowId sets the WorkflowId field's value. +func (s *GetWorkflowStepsOutput) SetWorkflowId(v string) *GetWorkflowStepsOutput { + s.WorkflowId = &v + return s +} + +// SetWorkflowType sets the WorkflowType field's value. +func (s *GetWorkflowStepsOutput) SetWorkflowType(v string) *GetWorkflowStepsOutput { + s.WorkflowType = &v + return s +} + +// Information about the Identity Resolution Job. +type IdentityResolutionJob struct { + _ struct{} `type:"structure"` + + // The unique name of the domain. + DomainName *string `min:"1" type:"string"` + + // The S3 location where the Identity Resolution Job writes result files. + ExportingLocation *ExportingLocation `type:"structure"` + + // The timestamp of when the job was completed. + JobEndTime *time.Time `type:"timestamp"` + + // The unique identifier of the Identity Resolution Job. + JobId *string `type:"string"` + + // The timestamp of when the job was started or will be started. + JobStartTime *time.Time `type:"timestamp"` + + // Statistics about an Identity Resolution Job. + JobStats *JobStats `type:"structure"` + + // The error messages that are generated when the Identity Resolution Job runs. + Message *string `type:"string"` + + // The status of the Identity Resolution Job. + // + // * PENDING: The Identity Resolution Job is scheduled but has not started + // yet. If you turn off the Identity Resolution feature in your domain, jobs + // in the PENDING state are deleted. + // + // * PREPROCESSING: The Identity Resolution Job is loading your data. + // + // * FIND_MATCHING: The Identity Resolution Job is using the machine learning + // model to identify profiles that belong to the same matching group. + // + // * MERGING: The Identity Resolution Job is merging duplicate profiles. + // + // * COMPLETED: The Identity Resolution Job completed successfully. + // + // * PARTIAL_SUCCESS: There's a system error and not all of the data is merged. + // The Identity Resolution Job writes a message indicating the source of + // the problem. + // + // * FAILED: The Identity Resolution Job did not merge any data. It writes + // a message indicating the source of the problem. + Status *string `type:"string" enum:"IdentityResolutionJobStatus"` +} + +// 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 IdentityResolutionJob) 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 IdentityResolutionJob) GoString() string { + return s.String() +} + +// SetDomainName sets the DomainName field's value. +func (s *IdentityResolutionJob) SetDomainName(v string) *IdentityResolutionJob { + s.DomainName = &v return s } -// SetErrorDescription sets the ErrorDescription field's value. -func (s *GetWorkflowOutput) SetErrorDescription(v string) *GetWorkflowOutput { - s.ErrorDescription = &v +// SetExportingLocation sets the ExportingLocation field's value. +func (s *IdentityResolutionJob) SetExportingLocation(v *ExportingLocation) *IdentityResolutionJob { + s.ExportingLocation = v return s } -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *GetWorkflowOutput) SetLastUpdatedAt(v time.Time) *GetWorkflowOutput { - s.LastUpdatedAt = &v +// SetJobEndTime sets the JobEndTime field's value. +func (s *IdentityResolutionJob) SetJobEndTime(v time.Time) *IdentityResolutionJob { + s.JobEndTime = &v return s } -// SetMetrics sets the Metrics field's value. -func (s *GetWorkflowOutput) SetMetrics(v *WorkflowMetrics) *GetWorkflowOutput { - s.Metrics = v +// SetJobId sets the JobId field's value. +func (s *IdentityResolutionJob) SetJobId(v string) *IdentityResolutionJob { + s.JobId = &v return s } -// SetStartDate sets the StartDate field's value. -func (s *GetWorkflowOutput) SetStartDate(v time.Time) *GetWorkflowOutput { - s.StartDate = &v +// SetJobStartTime sets the JobStartTime field's value. +func (s *IdentityResolutionJob) SetJobStartTime(v time.Time) *IdentityResolutionJob { + s.JobStartTime = &v + return s +} + +// SetJobStats sets the JobStats field's value. +func (s *IdentityResolutionJob) SetJobStats(v *JobStats) *IdentityResolutionJob { + s.JobStats = v + return s +} + +// SetMessage sets the Message field's value. +func (s *IdentityResolutionJob) SetMessage(v string) *IdentityResolutionJob { + s.Message = &v return s } // SetStatus sets the Status field's value. -func (s *GetWorkflowOutput) SetStatus(v string) *GetWorkflowOutput { +func (s *IdentityResolutionJob) SetStatus(v string) *IdentityResolutionJob { s.Status = &v return s } -// SetWorkflowId sets the WorkflowId field's value. -func (s *GetWorkflowOutput) SetWorkflowId(v string) *GetWorkflowOutput { - s.WorkflowId = &v - return s +// Specifies the configuration used when importing incremental records from +// the source. +type IncrementalPullConfig struct { + _ struct{} `type:"structure"` + + // A field that specifies the date time or timestamp field as the criteria to + // use when importing incremental records from the source. + DatetimeTypeFieldName *string `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 IncrementalPullConfig) 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 IncrementalPullConfig) GoString() string { + return s.String() +} + +// SetDatetimeTypeFieldName sets the DatetimeTypeFieldName field's value. +func (s *IncrementalPullConfig) SetDatetimeTypeFieldName(v string) *IncrementalPullConfig { + s.DatetimeTypeFieldName = &v + return s +} + +// Configuration data for integration workflow. +type IntegrationConfig struct { + _ struct{} `type:"structure"` + + // Configuration data for APPFLOW_INTEGRATION workflow type. + AppflowIntegration *AppflowIntegration `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 IntegrationConfig) 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 IntegrationConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *IntegrationConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "IntegrationConfig"} + if s.AppflowIntegration != nil { + if err := s.AppflowIntegration.Validate(); err != nil { + invalidParams.AddNested("AppflowIntegration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAppflowIntegration sets the AppflowIntegration field's value. +func (s *IntegrationConfig) SetAppflowIntegration(v *AppflowIntegration) *IntegrationConfig { + s.AppflowIntegration = v + return s +} + +// An internal service error occurred. +type InternalServerException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" 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 InternalServerException) 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 InternalServerException) GoString() string { + return s.String() +} + +func newErrorInternalServerException(v protocol.ResponseMetadata) error { + return &InternalServerException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InternalServerException) Code() string { + return "InternalServerException" +} + +// Message returns the exception's message. +func (s *InternalServerException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InternalServerException) OrigErr() error { + return nil +} + +func (s *InternalServerException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InternalServerException) StatusCode() int { + return s.RespMetadata.StatusCode } -// SetWorkflowType sets the WorkflowType field's value. -func (s *GetWorkflowOutput) SetWorkflowType(v string) *GetWorkflowOutput { - s.WorkflowType = &v - return s +// RequestID returns the service's response RequestID for request. +func (s *InternalServerException) RequestID() string { + return s.RespMetadata.RequestID } -type GetWorkflowStepsInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The day and time when do you want to start the Identity Resolution Job every +// week. +type JobSchedule struct { + _ struct{} `type:"structure"` - // The unique name of the domain. + // The day when the Identity Resolution Job should run every week. // - // DomainName is a required field - DomainName *string `location:"uri" locationName:"DomainName" min:"1" type:"string" required:"true"` - - // The maximum number of results to return per page. - MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` - - // The token for the next set of results. Use the value returned in the previous - // response in the next request to retrieve the next set of results. - NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"` + // DayOfTheWeek is a required field + DayOfTheWeek *string `type:"string" required:"true" enum:"JobScheduleDayOfTheWeek"` - // Unique identifier for the workflow. + // The time when the Identity Resolution Job should run every week. // - // WorkflowId is a required field - WorkflowId *string `location:"uri" locationName:"WorkflowId" type:"string" required:"true"` + // Time is a required field + Time *string `min:"3" type:"string" required:"true"` } // String returns the string representation. @@ -8170,7 +10083,7 @@ type GetWorkflowStepsInput 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 GetWorkflowStepsInput) String() string { +func (s JobSchedule) String() string { return awsutil.Prettify(s) } @@ -8179,30 +10092,21 @@ func (s GetWorkflowStepsInput) 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 GetWorkflowStepsInput) GoString() string { +func (s JobSchedule) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *GetWorkflowStepsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetWorkflowStepsInput"} - if s.DomainName == nil { - invalidParams.Add(request.NewErrParamRequired("DomainName")) - } - if s.DomainName != nil && len(*s.DomainName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DomainName", 1)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - if s.NextToken != nil && len(*s.NextToken) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) +func (s *JobSchedule) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "JobSchedule"} + if s.DayOfTheWeek == nil { + invalidParams.Add(request.NewErrParamRequired("DayOfTheWeek")) } - if s.WorkflowId == nil { - invalidParams.Add(request.NewErrParamRequired("WorkflowId")) + if s.Time == nil { + invalidParams.Add(request.NewErrParamRequired("Time")) } - if s.WorkflowId != nil && len(*s.WorkflowId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("WorkflowId", 1)) + if s.Time != nil && len(*s.Time) < 3 { + invalidParams.Add(request.NewErrParamMinLen("Time", 3)) } if invalidParams.Len() > 0 { @@ -8211,44 +10115,30 @@ func (s *GetWorkflowStepsInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *GetWorkflowStepsInput) SetDomainName(v string) *GetWorkflowStepsInput { - s.DomainName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetWorkflowStepsInput) SetMaxResults(v int64) *GetWorkflowStepsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetWorkflowStepsInput) SetNextToken(v string) *GetWorkflowStepsInput { - s.NextToken = &v +// SetDayOfTheWeek sets the DayOfTheWeek field's value. +func (s *JobSchedule) SetDayOfTheWeek(v string) *JobSchedule { + s.DayOfTheWeek = &v return s } -// SetWorkflowId sets the WorkflowId field's value. -func (s *GetWorkflowStepsInput) SetWorkflowId(v string) *GetWorkflowStepsInput { - s.WorkflowId = &v +// SetTime sets the Time field's value. +func (s *JobSchedule) SetTime(v string) *JobSchedule { + s.Time = &v return s } -type GetWorkflowStepsOutput struct { +// Statistics about the Identity Resolution Job. +type JobStats struct { _ struct{} `type:"structure"` - // List containing workflow step details. - Items []*WorkflowStepItem `type:"list"` - - // If there are additional results, this is the token for the next set of results. - NextToken *string `min:"1" type:"string"` + // The number of matches found. + NumberOfMatchesFound *int64 `type:"long"` - // Unique identifier for the workflow. - WorkflowId *string `type:"string"` + // The number of merges completed. + NumberOfMergesDone *int64 `type:"long"` - // The type of workflow. The only supported value is APPFLOW_INTEGRATION. - WorkflowType *string `type:"string" enum:"WorkflowType"` + // The number of profiles reviewed. + NumberOfProfilesReviewed *int64 `type:"long"` } // String returns the string representation. @@ -8256,7 +10146,7 @@ type GetWorkflowStepsOutput 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 GetWorkflowStepsOutput) String() string { +func (s JobStats) String() string { return awsutil.Prettify(s) } @@ -8265,81 +10155,45 @@ func (s GetWorkflowStepsOutput) 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 GetWorkflowStepsOutput) GoString() string { +func (s JobStats) GoString() string { return s.String() } -// SetItems sets the Items field's value. -func (s *GetWorkflowStepsOutput) SetItems(v []*WorkflowStepItem) *GetWorkflowStepsOutput { - s.Items = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetWorkflowStepsOutput) SetNextToken(v string) *GetWorkflowStepsOutput { - s.NextToken = &v +// SetNumberOfMatchesFound sets the NumberOfMatchesFound field's value. +func (s *JobStats) SetNumberOfMatchesFound(v int64) *JobStats { + s.NumberOfMatchesFound = &v return s } -// SetWorkflowId sets the WorkflowId field's value. -func (s *GetWorkflowStepsOutput) SetWorkflowId(v string) *GetWorkflowStepsOutput { - s.WorkflowId = &v +// SetNumberOfMergesDone sets the NumberOfMergesDone field's value. +func (s *JobStats) SetNumberOfMergesDone(v int64) *JobStats { + s.NumberOfMergesDone = &v return s } -// SetWorkflowType sets the WorkflowType field's value. -func (s *GetWorkflowStepsOutput) SetWorkflowType(v string) *GetWorkflowStepsOutput { - s.WorkflowType = &v +// SetNumberOfProfilesReviewed sets the NumberOfProfilesReviewed field's value. +func (s *JobStats) SetNumberOfProfilesReviewed(v int64) *JobStats { + s.NumberOfProfilesReviewed = &v return s } -// Information about the Identity Resolution Job. -type IdentityResolutionJob struct { +type ListAccountIntegrationsInput struct { _ struct{} `type:"structure"` - // The unique name of the domain. - DomainName *string `min:"1" type:"string"` - - // The S3 location where the Identity Resolution Job writes result files. - ExportingLocation *ExportingLocation `type:"structure"` - - // The timestamp of when the job was completed. - JobEndTime *time.Time `type:"timestamp"` - - // The unique identifier of the Identity Resolution Job. - JobId *string `type:"string"` - - // The timestamp of when the job was started or will be started. - JobStartTime *time.Time `type:"timestamp"` + // Boolean to indicate if hidden integration should be returned. Defaults to + // False. + IncludeHidden *bool `location:"querystring" locationName:"include-hidden" type:"boolean"` - // Statistics about an Identity Resolution Job. - JobStats *JobStats `type:"structure"` + // The maximum number of objects returned per page. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` - // The error messages that are generated when the Identity Resolution Job runs. - Message *string `type:"string"` + // The pagination token from the previous ListAccountIntegrations API call. + NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"` - // The status of the Identity Resolution Job. - // - // * PENDING: The Identity Resolution Job is scheduled but has not started - // yet. If you turn off the Identity Resolution feature in your domain, jobs - // in the PENDING state are deleted. - // - // * PREPROCESSING: The Identity Resolution Job is loading your data. - // - // * FIND_MATCHING: The Identity Resolution Job is using the machine learning - // model to identify profiles that belong to the same matching group. - // - // * MERGING: The Identity Resolution Job is merging duplicate profiles. - // - // * COMPLETED: The Identity Resolution Job completed successfully. - // - // * PARTIAL_SUCCESS: There's a system error and not all of the data is merged. - // The Identity Resolution Job writes a message indicating the source of - // the problem. + // The URI of the S3 bucket or any other type of data source. // - // * FAILED: The Identity Resolution Job did not merge any data. It writes - // a message indicating the source of the problem. - Status *string `type:"string" enum:"IdentityResolutionJobStatus"` + // Uri is a required field + Uri *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -8347,7 +10201,7 @@ type IdentityResolutionJob 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 IdentityResolutionJob) String() string { +func (s ListAccountIntegrationsInput) String() string { return awsutil.Prettify(s) } @@ -8356,66 +10210,64 @@ func (s IdentityResolutionJob) 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 IdentityResolutionJob) GoString() string { +func (s ListAccountIntegrationsInput) GoString() string { return s.String() } -// SetDomainName sets the DomainName field's value. -func (s *IdentityResolutionJob) SetDomainName(v string) *IdentityResolutionJob { - s.DomainName = &v - return s -} - -// SetExportingLocation sets the ExportingLocation field's value. -func (s *IdentityResolutionJob) SetExportingLocation(v *ExportingLocation) *IdentityResolutionJob { - s.ExportingLocation = v - return s -} - -// SetJobEndTime sets the JobEndTime field's value. -func (s *IdentityResolutionJob) SetJobEndTime(v time.Time) *IdentityResolutionJob { - s.JobEndTime = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListAccountIntegrationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAccountIntegrationsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.Uri == nil { + invalidParams.Add(request.NewErrParamRequired("Uri")) + } + if s.Uri != nil && len(*s.Uri) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Uri", 1)) + } -// SetJobId sets the JobId field's value. -func (s *IdentityResolutionJob) SetJobId(v string) *IdentityResolutionJob { - s.JobId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetJobStartTime sets the JobStartTime field's value. -func (s *IdentityResolutionJob) SetJobStartTime(v time.Time) *IdentityResolutionJob { - s.JobStartTime = &v +// SetIncludeHidden sets the IncludeHidden field's value. +func (s *ListAccountIntegrationsInput) SetIncludeHidden(v bool) *ListAccountIntegrationsInput { + s.IncludeHidden = &v return s } -// SetJobStats sets the JobStats field's value. -func (s *IdentityResolutionJob) SetJobStats(v *JobStats) *IdentityResolutionJob { - s.JobStats = v +// SetMaxResults sets the MaxResults field's value. +func (s *ListAccountIntegrationsInput) SetMaxResults(v int64) *ListAccountIntegrationsInput { + s.MaxResults = &v return s } -// SetMessage sets the Message field's value. -func (s *IdentityResolutionJob) SetMessage(v string) *IdentityResolutionJob { - s.Message = &v +// SetNextToken sets the NextToken field's value. +func (s *ListAccountIntegrationsInput) SetNextToken(v string) *ListAccountIntegrationsInput { + s.NextToken = &v return s } -// SetStatus sets the Status field's value. -func (s *IdentityResolutionJob) SetStatus(v string) *IdentityResolutionJob { - s.Status = &v +// SetUri sets the Uri field's value. +func (s *ListAccountIntegrationsInput) SetUri(v string) *ListAccountIntegrationsInput { + s.Uri = &v return s } -// Specifies the configuration used when importing incremental records from -// the source. -type IncrementalPullConfig struct { +type ListAccountIntegrationsOutput struct { _ struct{} `type:"structure"` - // A field that specifies the date time or timestamp field as the criteria to - // use when importing incremental records from the source. - DatetimeTypeFieldName *string `type:"string"` + // The list of ListAccountIntegration instances. + Items []*ListIntegrationItem `type:"list"` + + // The pagination token from the previous ListAccountIntegrations API call. + NextToken *string `min:"1" type:"string"` } // String returns the string representation. @@ -8423,7 +10275,7 @@ type IncrementalPullConfig 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 IncrementalPullConfig) String() string { +func (s ListAccountIntegrationsOutput) String() string { return awsutil.Prettify(s) } @@ -8432,22 +10284,44 @@ func (s IncrementalPullConfig) 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 IncrementalPullConfig) GoString() string { +func (s ListAccountIntegrationsOutput) GoString() string { return s.String() } -// SetDatetimeTypeFieldName sets the DatetimeTypeFieldName field's value. -func (s *IncrementalPullConfig) SetDatetimeTypeFieldName(v string) *IncrementalPullConfig { - s.DatetimeTypeFieldName = &v +// SetItems sets the Items field's value. +func (s *ListAccountIntegrationsOutput) SetItems(v []*ListIntegrationItem) *ListAccountIntegrationsOutput { + s.Items = v return s } -// Configuration data for integration workflow. -type IntegrationConfig struct { +// SetNextToken sets the NextToken field's value. +func (s *ListAccountIntegrationsOutput) SetNextToken(v string) *ListAccountIntegrationsOutput { + s.NextToken = &v + return s +} + +// The details of a single calculated attribute definition. +type ListCalculatedAttributeDefinitionItem struct { _ struct{} `type:"structure"` - // Configuration data for APPFLOW_INTEGRATION workflow type. - AppflowIntegration *AppflowIntegration `type:"structure"` + // The unique name of the calculated attribute. + CalculatedAttributeName *string `min:"1" type:"string"` + + // The threshold for the calculated attribute. + CreatedAt *time.Time `type:"timestamp"` + + // The threshold for the calculated attribute. + Description *string `min:"1" type:"string"` + + // The display name of the calculated attribute. + DisplayName *string `min:"1" type:"string"` + + // The timestamp of when the calculated attribute definition was most recently + // edited. + LastUpdatedAt *time.Time `type:"timestamp"` + + // The tags used to organize, track, or control access for this resource. + Tags map[string]*string `min:"1" type:"map"` } // String returns the string representation. @@ -8455,7 +10329,7 @@ type IntegrationConfig 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 IntegrationConfig) String() string { +func (s ListCalculatedAttributeDefinitionItem) String() string { return awsutil.Prettify(s) } @@ -8464,37 +10338,59 @@ func (s IntegrationConfig) 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 IntegrationConfig) GoString() string { +func (s ListCalculatedAttributeDefinitionItem) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *IntegrationConfig) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "IntegrationConfig"} - if s.AppflowIntegration != nil { - if err := s.AppflowIntegration.Validate(); err != nil { - invalidParams.AddNested("AppflowIntegration", err.(request.ErrInvalidParams)) - } - } +// SetCalculatedAttributeName sets the CalculatedAttributeName field's value. +func (s *ListCalculatedAttributeDefinitionItem) SetCalculatedAttributeName(v string) *ListCalculatedAttributeDefinitionItem { + s.CalculatedAttributeName = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCreatedAt sets the CreatedAt field's value. +func (s *ListCalculatedAttributeDefinitionItem) SetCreatedAt(v time.Time) *ListCalculatedAttributeDefinitionItem { + s.CreatedAt = &v + return s } -// SetAppflowIntegration sets the AppflowIntegration field's value. -func (s *IntegrationConfig) SetAppflowIntegration(v *AppflowIntegration) *IntegrationConfig { - s.AppflowIntegration = v +// SetDescription sets the Description field's value. +func (s *ListCalculatedAttributeDefinitionItem) SetDescription(v string) *ListCalculatedAttributeDefinitionItem { + s.Description = &v return s } -// An internal service error occurred. -type InternalServerException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// SetDisplayName sets the DisplayName field's value. +func (s *ListCalculatedAttributeDefinitionItem) SetDisplayName(v string) *ListCalculatedAttributeDefinitionItem { + s.DisplayName = &v + return s +} - Message_ *string `locationName:"Message" type:"string"` +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *ListCalculatedAttributeDefinitionItem) SetLastUpdatedAt(v time.Time) *ListCalculatedAttributeDefinitionItem { + s.LastUpdatedAt = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *ListCalculatedAttributeDefinitionItem) SetTags(v map[string]*string) *ListCalculatedAttributeDefinitionItem { + s.Tags = v + return s +} + +type ListCalculatedAttributeDefinitionsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The unique name of the domain. + // + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"1" type:"string" required:"true"` + + // The maximum number of calculated attribute definitions returned per page. + MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` + + // The pagination token from the previous call to ListCalculatedAttributeDefinitions. + NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"` } // String returns the string representation. @@ -8502,7 +10398,7 @@ type InternalServerException 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 InternalServerException) String() string { +func (s ListCalculatedAttributeDefinitionsInput) String() string { return awsutil.Prettify(s) } @@ -8511,62 +10407,58 @@ func (s InternalServerException) 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 InternalServerException) GoString() string { +func (s ListCalculatedAttributeDefinitionsInput) GoString() string { return s.String() } -func newErrorInternalServerException(v protocol.ResponseMetadata) error { - return &InternalServerException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListCalculatedAttributeDefinitionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListCalculatedAttributeDefinitionsInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) } -} - -// Code returns the exception type name. -func (s *InternalServerException) Code() string { - return "InternalServerException" -} - -// Message returns the exception's message. -func (s *InternalServerException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if s.DomainName != nil && len(*s.DomainName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) } - return "" -} -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InternalServerException) OrigErr() error { + if invalidParams.Len() > 0 { + return invalidParams + } return nil } -func (s *InternalServerException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// SetDomainName sets the DomainName field's value. +func (s *ListCalculatedAttributeDefinitionsInput) SetDomainName(v string) *ListCalculatedAttributeDefinitionsInput { + s.DomainName = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *InternalServerException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetMaxResults sets the MaxResults field's value. +func (s *ListCalculatedAttributeDefinitionsInput) SetMaxResults(v int64) *ListCalculatedAttributeDefinitionsInput { + s.MaxResults = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *InternalServerException) RequestID() string { - return s.RespMetadata.RequestID +// SetNextToken sets the NextToken field's value. +func (s *ListCalculatedAttributeDefinitionsInput) SetNextToken(v string) *ListCalculatedAttributeDefinitionsInput { + s.NextToken = &v + return s } -// The day and time when do you want to start the Identity Resolution Job every -// week. -type JobSchedule struct { +type ListCalculatedAttributeDefinitionsOutput struct { _ struct{} `type:"structure"` - // The day when the Identity Resolution Job should run every week. - // - // DayOfTheWeek is a required field - DayOfTheWeek *string `type:"string" required:"true" enum:"JobScheduleDayOfTheWeek"` + // The list of calculated attribute definitions. + Items []*ListCalculatedAttributeDefinitionItem `type:"list"` - // The time when the Identity Resolution Job should run every week. - // - // Time is a required field - Time *string `min:"3" type:"string" required:"true"` + // The pagination token from the previous call to ListCalculatedAttributeDefinitions. + NextToken *string `min:"1" type:"string"` } // String returns the string representation. @@ -8574,7 +10466,7 @@ type JobSchedule 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 JobSchedule) String() string { +func (s ListCalculatedAttributeDefinitionsOutput) String() string { return awsutil.Prettify(s) } @@ -8583,53 +10475,38 @@ func (s JobSchedule) 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 JobSchedule) GoString() string { +func (s ListCalculatedAttributeDefinitionsOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *JobSchedule) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "JobSchedule"} - if s.DayOfTheWeek == nil { - invalidParams.Add(request.NewErrParamRequired("DayOfTheWeek")) - } - if s.Time == nil { - invalidParams.Add(request.NewErrParamRequired("Time")) - } - if s.Time != nil && len(*s.Time) < 3 { - invalidParams.Add(request.NewErrParamMinLen("Time", 3)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetDayOfTheWeek sets the DayOfTheWeek field's value. -func (s *JobSchedule) SetDayOfTheWeek(v string) *JobSchedule { - s.DayOfTheWeek = &v +// SetItems sets the Items field's value. +func (s *ListCalculatedAttributeDefinitionsOutput) SetItems(v []*ListCalculatedAttributeDefinitionItem) *ListCalculatedAttributeDefinitionsOutput { + s.Items = v return s } -// SetTime sets the Time field's value. -func (s *JobSchedule) SetTime(v string) *JobSchedule { - s.Time = &v +// SetNextToken sets the NextToken field's value. +func (s *ListCalculatedAttributeDefinitionsOutput) SetNextToken(v string) *ListCalculatedAttributeDefinitionsOutput { + s.NextToken = &v return s } -// Statistics about the Identity Resolution Job. -type JobStats struct { +// The details of a single calculated attribute for a profile. +type ListCalculatedAttributeForProfileItem struct { _ struct{} `type:"structure"` - // The number of matches found. - NumberOfMatchesFound *int64 `type:"long"` + // The unique name of the calculated attribute. + CalculatedAttributeName *string `min:"1" type:"string"` - // The number of merges completed. - NumberOfMergesDone *int64 `type:"long"` + // The display name of the calculated attribute. + DisplayName *string `min:"1" type:"string"` - // The number of profiles reviewed. - NumberOfProfilesReviewed *int64 `type:"long"` + // Indicates whether the calculated attribute’s value is based on partial + // data. If data is partial, it is set to true. + IsDataPartial *string `min:"1" type:"string"` + + // The value of the calculated attribute. + Value *string `min:"1" type:"string"` } // String returns the string representation. @@ -8637,7 +10514,7 @@ type JobStats 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 JobStats) String() string { +func (s ListCalculatedAttributeForProfileItem) String() string { return awsutil.Prettify(s) } @@ -8646,45 +10523,52 @@ func (s JobStats) 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 JobStats) GoString() string { +func (s ListCalculatedAttributeForProfileItem) GoString() string { return s.String() } -// SetNumberOfMatchesFound sets the NumberOfMatchesFound field's value. -func (s *JobStats) SetNumberOfMatchesFound(v int64) *JobStats { - s.NumberOfMatchesFound = &v +// SetCalculatedAttributeName sets the CalculatedAttributeName field's value. +func (s *ListCalculatedAttributeForProfileItem) SetCalculatedAttributeName(v string) *ListCalculatedAttributeForProfileItem { + s.CalculatedAttributeName = &v return s } -// SetNumberOfMergesDone sets the NumberOfMergesDone field's value. -func (s *JobStats) SetNumberOfMergesDone(v int64) *JobStats { - s.NumberOfMergesDone = &v +// SetDisplayName sets the DisplayName field's value. +func (s *ListCalculatedAttributeForProfileItem) SetDisplayName(v string) *ListCalculatedAttributeForProfileItem { + s.DisplayName = &v return s } -// SetNumberOfProfilesReviewed sets the NumberOfProfilesReviewed field's value. -func (s *JobStats) SetNumberOfProfilesReviewed(v int64) *JobStats { - s.NumberOfProfilesReviewed = &v +// SetIsDataPartial sets the IsDataPartial field's value. +func (s *ListCalculatedAttributeForProfileItem) SetIsDataPartial(v string) *ListCalculatedAttributeForProfileItem { + s.IsDataPartial = &v return s } -type ListAccountIntegrationsInput struct { - _ struct{} `type:"structure"` +// SetValue sets the Value field's value. +func (s *ListCalculatedAttributeForProfileItem) SetValue(v string) *ListCalculatedAttributeForProfileItem { + s.Value = &v + return s +} - // Boolean to indicate if hidden integration should be returned. Defaults to - // False. - IncludeHidden *bool `location:"querystring" locationName:"include-hidden" type:"boolean"` +type ListCalculatedAttributesForProfileInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The maximum number of objects returned per page. + // The unique name of the domain. + // + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"1" type:"string" required:"true"` + + // The maximum number of calculated attributes returned per page. MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` - // The pagination token from the previous ListAccountIntegrations API call. + // The pagination token from the previous call to ListCalculatedAttributesForProfile. NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"` - // The URI of the S3 bucket or any other type of data source. + // The unique identifier of a customer profile. // - // Uri is a required field - Uri *string `min:"1" type:"string" required:"true"` + // ProfileId is a required field + ProfileId *string `location:"uri" locationName:"ProfileId" type:"string" required:"true"` } // String returns the string representation. @@ -8692,7 +10576,7 @@ type ListAccountIntegrationsInput 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 ListAccountIntegrationsInput) String() string { +func (s ListCalculatedAttributesForProfileInput) String() string { return awsutil.Prettify(s) } @@ -8701,24 +10585,30 @@ func (s ListAccountIntegrationsInput) 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 ListAccountIntegrationsInput) GoString() string { +func (s ListCalculatedAttributesForProfileInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListAccountIntegrationsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListAccountIntegrationsInput"} +func (s *ListCalculatedAttributesForProfileInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListCalculatedAttributesForProfileInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 1)) + } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if s.NextToken != nil && len(*s.NextToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) } - if s.Uri == nil { - invalidParams.Add(request.NewErrParamRequired("Uri")) + if s.ProfileId == nil { + invalidParams.Add(request.NewErrParamRequired("ProfileId")) } - if s.Uri != nil && len(*s.Uri) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Uri", 1)) + if s.ProfileId != nil && len(*s.ProfileId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProfileId", 1)) } if invalidParams.Len() > 0 { @@ -8727,37 +10617,37 @@ func (s *ListAccountIntegrationsInput) Validate() error { return nil } -// SetIncludeHidden sets the IncludeHidden field's value. -func (s *ListAccountIntegrationsInput) SetIncludeHidden(v bool) *ListAccountIntegrationsInput { - s.IncludeHidden = &v +// SetDomainName sets the DomainName field's value. +func (s *ListCalculatedAttributesForProfileInput) SetDomainName(v string) *ListCalculatedAttributesForProfileInput { + s.DomainName = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListAccountIntegrationsInput) SetMaxResults(v int64) *ListAccountIntegrationsInput { +func (s *ListCalculatedAttributesForProfileInput) SetMaxResults(v int64) *ListCalculatedAttributesForProfileInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListAccountIntegrationsInput) SetNextToken(v string) *ListAccountIntegrationsInput { +func (s *ListCalculatedAttributesForProfileInput) SetNextToken(v string) *ListCalculatedAttributesForProfileInput { s.NextToken = &v return s } -// SetUri sets the Uri field's value. -func (s *ListAccountIntegrationsInput) SetUri(v string) *ListAccountIntegrationsInput { - s.Uri = &v +// SetProfileId sets the ProfileId field's value. +func (s *ListCalculatedAttributesForProfileInput) SetProfileId(v string) *ListCalculatedAttributesForProfileInput { + s.ProfileId = &v return s } -type ListAccountIntegrationsOutput struct { +type ListCalculatedAttributesForProfileOutput struct { _ struct{} `type:"structure"` - // The list of ListAccountIntegration instances. - Items []*ListIntegrationItem `type:"list"` + // The list of calculated attributes. + Items []*ListCalculatedAttributeForProfileItem `type:"list"` - // The pagination token from the previous ListAccountIntegrations API call. + // The pagination token from the previous call to ListCalculatedAttributesForProfile. NextToken *string `min:"1" type:"string"` } @@ -8766,7 +10656,7 @@ type ListAccountIntegrationsOutput 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 ListAccountIntegrationsOutput) String() string { +func (s ListCalculatedAttributesForProfileOutput) String() string { return awsutil.Prettify(s) } @@ -8775,18 +10665,18 @@ func (s ListAccountIntegrationsOutput) 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 ListAccountIntegrationsOutput) GoString() string { +func (s ListCalculatedAttributesForProfileOutput) GoString() string { return s.String() } // SetItems sets the Items field's value. -func (s *ListAccountIntegrationsOutput) SetItems(v []*ListIntegrationItem) *ListAccountIntegrationsOutput { +func (s *ListCalculatedAttributesForProfileOutput) SetItems(v []*ListCalculatedAttributeForProfileItem) *ListCalculatedAttributesForProfileOutput { s.Items = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListAccountIntegrationsOutput) SetNextToken(v string) *ListAccountIntegrationsOutput { +func (s *ListCalculatedAttributesForProfileOutput) SetNextToken(v string) *ListCalculatedAttributesForProfileOutput { s.NextToken = &v return s } @@ -9653,8 +11543,7 @@ type ListProfileObjectsInput struct { NextToken *string `location:"querystring" locationName:"next-token" min:"1" type:"string"` // Applies a filter to the response to include profile objects with the specified - // index values. This filter is only supported for ObjectTypeName _asset, _case - // and _order. + // index values. ObjectFilter *ObjectFilter `type:"structure"` // The name of the profile object type. @@ -10547,13 +12436,12 @@ func (s *MergeProfilesOutput) SetMessage(v string) *MergeProfilesOutput { } // The filter applied to ListProfileObjects response to include profile objects -// with the specified index values. This filter is only supported for ObjectTypeName -// _asset, _case and _order. +// with the specified index values. type ObjectFilter struct { _ struct{} `type:"structure"` - // A searchable identifier of a standard profile object. The predefined keys - // you can use to search for _asset include: _assetId, _assetName, _serialNumber. + // A searchable identifier of a profile object. The predefined keys you can + // use to search for _asset include: _assetId, _assetName, and _serialNumber. // The predefined keys you can use to search for _case include: _caseId. The // predefined keys you can use to search for _order include: _orderId. // @@ -11680,6 +13568,70 @@ func (s *PutProfileObjectTypeOutput) SetTemplateId(v string) *PutProfileObjectTy return s } +// The relative time period over which data is included in the aggregation. +type Range struct { + _ struct{} `type:"structure"` + + // The unit of time. + // + // Unit is a required field + Unit *string `type:"string" required:"true" enum:"Unit"` + + // The amount of time of the specified unit. + // + // Value is a required field + Value *int64 `min:"1" type:"integer" 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 Range) 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 Range) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Range) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Range"} + if s.Unit == nil { + invalidParams.Add(request.NewErrParamRequired("Unit")) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + if s.Value != nil && *s.Value < 1 { + invalidParams.Add(request.NewErrParamMinValue("Value", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetUnit sets the Unit field's value. +func (s *Range) SetUnit(v string) *Range { + s.Unit = &v + return s +} + +// SetValue sets the Value field's value. +func (s *Range) SetValue(v int64) *Range { + s.Value = &v + return s +} + // The requested resource does not exist, or access was denied. type ResourceNotFoundException struct { _ struct{} `type:"structure"` @@ -12705,6 +14657,70 @@ func (s *Task) SetTaskType(v string) *Task { return s } +// The threshold for the calculated attribute. +type Threshold struct { + _ struct{} `type:"structure"` + + // The operator of the threshold. + // + // Operator is a required field + Operator *string `type:"string" required:"true" enum:"Operator"` + + // The value of the threshold. + // + // Value is a required field + Value *string `min:"1" 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 Threshold) 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 Threshold) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Threshold) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Threshold"} + if s.Operator == nil { + invalidParams.Add(request.NewErrParamRequired("Operator")) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + if s.Value != nil && len(*s.Value) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Value", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetOperator sets the Operator field's value. +func (s *Threshold) SetOperator(v string) *Threshold { + s.Operator = &v + return s +} + +// SetValue sets the Value field's value. +func (s *Threshold) SetValue(v string) *Threshold { + s.Value = &v + return s +} + // You exceeded the maximum number of requests. type ThrottlingException struct { _ struct{} `type:"structure"` @@ -13082,6 +15098,217 @@ func (s *UpdateAddress) SetState(v string) *UpdateAddress { return s } +type UpdateCalculatedAttributeDefinitionInput struct { + _ struct{} `type:"structure"` + + // The unique name of the calculated attribute. + // + // CalculatedAttributeName is a required field + CalculatedAttributeName *string `location:"uri" locationName:"CalculatedAttributeName" min:"1" type:"string" required:"true"` + + // The conditions including range, object count, and threshold for the calculated + // attribute. + Conditions *Conditions `type:"structure"` + + // The description of the calculated attribute. + Description *string `min:"1" type:"string"` + + // The display name of the calculated attribute. + DisplayName *string `min:"1" type:"string"` + + // The unique name of the domain. + // + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"1" 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 UpdateCalculatedAttributeDefinitionInput) 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 UpdateCalculatedAttributeDefinitionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateCalculatedAttributeDefinitionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateCalculatedAttributeDefinitionInput"} + if s.CalculatedAttributeName == nil { + invalidParams.Add(request.NewErrParamRequired("CalculatedAttributeName")) + } + if s.CalculatedAttributeName != nil && len(*s.CalculatedAttributeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CalculatedAttributeName", 1)) + } + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.DisplayName != nil && len(*s.DisplayName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1)) + } + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 1)) + } + if s.Conditions != nil { + if err := s.Conditions.Validate(); err != nil { + invalidParams.AddNested("Conditions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCalculatedAttributeName sets the CalculatedAttributeName field's value. +func (s *UpdateCalculatedAttributeDefinitionInput) SetCalculatedAttributeName(v string) *UpdateCalculatedAttributeDefinitionInput { + s.CalculatedAttributeName = &v + return s +} + +// SetConditions sets the Conditions field's value. +func (s *UpdateCalculatedAttributeDefinitionInput) SetConditions(v *Conditions) *UpdateCalculatedAttributeDefinitionInput { + s.Conditions = v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateCalculatedAttributeDefinitionInput) SetDescription(v string) *UpdateCalculatedAttributeDefinitionInput { + s.Description = &v + return s +} + +// SetDisplayName sets the DisplayName field's value. +func (s *UpdateCalculatedAttributeDefinitionInput) SetDisplayName(v string) *UpdateCalculatedAttributeDefinitionInput { + s.DisplayName = &v + return s +} + +// SetDomainName sets the DomainName field's value. +func (s *UpdateCalculatedAttributeDefinitionInput) SetDomainName(v string) *UpdateCalculatedAttributeDefinitionInput { + s.DomainName = &v + return s +} + +type UpdateCalculatedAttributeDefinitionOutput struct { + _ struct{} `type:"structure"` + + // The mathematical expression and a list of attribute items specified in that + // expression. + AttributeDetails *AttributeDetails `type:"structure"` + + // The unique name of the calculated attribute. + CalculatedAttributeName *string `min:"1" type:"string"` + + // The conditions including range, object count, and threshold for the calculated + // attribute. + Conditions *Conditions `type:"structure"` + + // The timestamp of when the calculated attribute definition was created. + CreatedAt *time.Time `type:"timestamp"` + + // The description of the calculated attribute. + Description *string `min:"1" type:"string"` + + // The display name of the calculated attribute. + DisplayName *string `min:"1" type:"string"` + + // The timestamp of when the calculated attribute definition was most recently + // edited. + LastUpdatedAt *time.Time `type:"timestamp"` + + // The aggregation operation to perform for the calculated attribute. + Statistic *string `type:"string" enum:"Statistic"` + + // The tags used to organize, track, or control access for this resource. + Tags map[string]*string `min:"1" type:"map"` +} + +// 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 UpdateCalculatedAttributeDefinitionOutput) 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 UpdateCalculatedAttributeDefinitionOutput) GoString() string { + return s.String() +} + +// SetAttributeDetails sets the AttributeDetails field's value. +func (s *UpdateCalculatedAttributeDefinitionOutput) SetAttributeDetails(v *AttributeDetails) *UpdateCalculatedAttributeDefinitionOutput { + s.AttributeDetails = v + return s +} + +// SetCalculatedAttributeName sets the CalculatedAttributeName field's value. +func (s *UpdateCalculatedAttributeDefinitionOutput) SetCalculatedAttributeName(v string) *UpdateCalculatedAttributeDefinitionOutput { + s.CalculatedAttributeName = &v + return s +} + +// SetConditions sets the Conditions field's value. +func (s *UpdateCalculatedAttributeDefinitionOutput) SetConditions(v *Conditions) *UpdateCalculatedAttributeDefinitionOutput { + s.Conditions = v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *UpdateCalculatedAttributeDefinitionOutput) SetCreatedAt(v time.Time) *UpdateCalculatedAttributeDefinitionOutput { + s.CreatedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateCalculatedAttributeDefinitionOutput) SetDescription(v string) *UpdateCalculatedAttributeDefinitionOutput { + s.Description = &v + return s +} + +// SetDisplayName sets the DisplayName field's value. +func (s *UpdateCalculatedAttributeDefinitionOutput) SetDisplayName(v string) *UpdateCalculatedAttributeDefinitionOutput { + s.DisplayName = &v + return s +} + +// SetLastUpdatedAt sets the LastUpdatedAt field's value. +func (s *UpdateCalculatedAttributeDefinitionOutput) SetLastUpdatedAt(v time.Time) *UpdateCalculatedAttributeDefinitionOutput { + s.LastUpdatedAt = &v + return s +} + +// SetStatistic sets the Statistic field's value. +func (s *UpdateCalculatedAttributeDefinitionOutput) SetStatistic(v string) *UpdateCalculatedAttributeDefinitionOutput { + s.Statistic = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *UpdateCalculatedAttributeDefinitionOutput) SetTags(v map[string]*string) *UpdateCalculatedAttributeDefinitionOutput { + s.Tags = v + return s +} + type UpdateDomainInput struct { _ struct{} `type:"structure"` @@ -14002,6 +16229,30 @@ func MarketoConnectorOperator_Values() []string { } } +const ( + // OperatorEqualTo is a Operator enum value + OperatorEqualTo = "EQUAL_TO" + + // OperatorGreaterThan is a Operator enum value + OperatorGreaterThan = "GREATER_THAN" + + // OperatorLessThan is a Operator enum value + OperatorLessThan = "LESS_THAN" + + // OperatorNotEqualTo is a Operator enum value + OperatorNotEqualTo = "NOT_EQUAL_TO" +) + +// Operator_Values returns all elements of the Operator enum +func Operator_Values() []string { + return []string{ + OperatorEqualTo, + OperatorGreaterThan, + OperatorLessThan, + OperatorNotEqualTo, + } +} + const ( // OperatorPropertiesKeysValue is a OperatorPropertiesKeys enum value OperatorPropertiesKeysValue = "VALUE" @@ -14426,6 +16677,46 @@ func StandardIdentifier_Values() []string { } } +const ( + // StatisticFirstOccurrence is a Statistic enum value + StatisticFirstOccurrence = "FIRST_OCCURRENCE" + + // StatisticLastOccurrence is a Statistic enum value + StatisticLastOccurrence = "LAST_OCCURRENCE" + + // StatisticCount is a Statistic enum value + StatisticCount = "COUNT" + + // StatisticSum is a Statistic enum value + StatisticSum = "SUM" + + // StatisticMinimum is a Statistic enum value + StatisticMinimum = "MINIMUM" + + // StatisticMaximum is a Statistic enum value + StatisticMaximum = "MAXIMUM" + + // StatisticAverage is a Statistic enum value + StatisticAverage = "AVERAGE" + + // StatisticMaxOccurrence is a Statistic enum value + StatisticMaxOccurrence = "MAX_OCCURRENCE" +) + +// Statistic_Values returns all elements of the Statistic enum +func Statistic_Values() []string { + return []string{ + StatisticFirstOccurrence, + StatisticLastOccurrence, + StatisticCount, + StatisticSum, + StatisticMinimum, + StatisticMaximum, + StatisticAverage, + StatisticMaxOccurrence, + } +} + const ( // StatusNotStarted is a Status enum value StatusNotStarted = "NOT_STARTED" @@ -14518,6 +16809,18 @@ func TriggerType_Values() []string { } } +const ( + // UnitDays is a Unit enum value + UnitDays = "DAYS" +) + +// Unit_Values returns all elements of the Unit enum +func Unit_Values() []string { + return []string{ + UnitDays, + } +} + const ( // WorkflowTypeAppflowIntegration is a WorkflowType enum value WorkflowTypeAppflowIntegration = "APPFLOW_INTEGRATION" diff --git a/service/customerprofiles/customerprofilesiface/interface.go b/service/customerprofiles/customerprofilesiface/interface.go index 1452b18e62d..35eb0e2dcce 100644 --- a/service/customerprofiles/customerprofilesiface/interface.go +++ b/service/customerprofiles/customerprofilesiface/interface.go @@ -64,6 +64,10 @@ type CustomerProfilesAPI interface { AddProfileKeyWithContext(aws.Context, *customerprofiles.AddProfileKeyInput, ...request.Option) (*customerprofiles.AddProfileKeyOutput, error) AddProfileKeyRequest(*customerprofiles.AddProfileKeyInput) (*request.Request, *customerprofiles.AddProfileKeyOutput) + CreateCalculatedAttributeDefinition(*customerprofiles.CreateCalculatedAttributeDefinitionInput) (*customerprofiles.CreateCalculatedAttributeDefinitionOutput, error) + CreateCalculatedAttributeDefinitionWithContext(aws.Context, *customerprofiles.CreateCalculatedAttributeDefinitionInput, ...request.Option) (*customerprofiles.CreateCalculatedAttributeDefinitionOutput, error) + CreateCalculatedAttributeDefinitionRequest(*customerprofiles.CreateCalculatedAttributeDefinitionInput) (*request.Request, *customerprofiles.CreateCalculatedAttributeDefinitionOutput) + CreateDomain(*customerprofiles.CreateDomainInput) (*customerprofiles.CreateDomainOutput, error) CreateDomainWithContext(aws.Context, *customerprofiles.CreateDomainInput, ...request.Option) (*customerprofiles.CreateDomainOutput, error) CreateDomainRequest(*customerprofiles.CreateDomainInput) (*request.Request, *customerprofiles.CreateDomainOutput) @@ -76,6 +80,10 @@ type CustomerProfilesAPI interface { CreateProfileWithContext(aws.Context, *customerprofiles.CreateProfileInput, ...request.Option) (*customerprofiles.CreateProfileOutput, error) CreateProfileRequest(*customerprofiles.CreateProfileInput) (*request.Request, *customerprofiles.CreateProfileOutput) + DeleteCalculatedAttributeDefinition(*customerprofiles.DeleteCalculatedAttributeDefinitionInput) (*customerprofiles.DeleteCalculatedAttributeDefinitionOutput, error) + DeleteCalculatedAttributeDefinitionWithContext(aws.Context, *customerprofiles.DeleteCalculatedAttributeDefinitionInput, ...request.Option) (*customerprofiles.DeleteCalculatedAttributeDefinitionOutput, error) + DeleteCalculatedAttributeDefinitionRequest(*customerprofiles.DeleteCalculatedAttributeDefinitionInput) (*request.Request, *customerprofiles.DeleteCalculatedAttributeDefinitionOutput) + DeleteDomain(*customerprofiles.DeleteDomainInput) (*customerprofiles.DeleteDomainOutput, error) DeleteDomainWithContext(aws.Context, *customerprofiles.DeleteDomainInput, ...request.Option) (*customerprofiles.DeleteDomainOutput, error) DeleteDomainRequest(*customerprofiles.DeleteDomainInput) (*request.Request, *customerprofiles.DeleteDomainOutput) @@ -108,6 +116,14 @@ type CustomerProfilesAPI interface { GetAutoMergingPreviewWithContext(aws.Context, *customerprofiles.GetAutoMergingPreviewInput, ...request.Option) (*customerprofiles.GetAutoMergingPreviewOutput, error) GetAutoMergingPreviewRequest(*customerprofiles.GetAutoMergingPreviewInput) (*request.Request, *customerprofiles.GetAutoMergingPreviewOutput) + GetCalculatedAttributeDefinition(*customerprofiles.GetCalculatedAttributeDefinitionInput) (*customerprofiles.GetCalculatedAttributeDefinitionOutput, error) + GetCalculatedAttributeDefinitionWithContext(aws.Context, *customerprofiles.GetCalculatedAttributeDefinitionInput, ...request.Option) (*customerprofiles.GetCalculatedAttributeDefinitionOutput, error) + GetCalculatedAttributeDefinitionRequest(*customerprofiles.GetCalculatedAttributeDefinitionInput) (*request.Request, *customerprofiles.GetCalculatedAttributeDefinitionOutput) + + GetCalculatedAttributeForProfile(*customerprofiles.GetCalculatedAttributeForProfileInput) (*customerprofiles.GetCalculatedAttributeForProfileOutput, error) + GetCalculatedAttributeForProfileWithContext(aws.Context, *customerprofiles.GetCalculatedAttributeForProfileInput, ...request.Option) (*customerprofiles.GetCalculatedAttributeForProfileOutput, error) + GetCalculatedAttributeForProfileRequest(*customerprofiles.GetCalculatedAttributeForProfileInput) (*request.Request, *customerprofiles.GetCalculatedAttributeForProfileOutput) + GetDomain(*customerprofiles.GetDomainInput) (*customerprofiles.GetDomainOutput, error) GetDomainWithContext(aws.Context, *customerprofiles.GetDomainInput, ...request.Option) (*customerprofiles.GetDomainOutput, error) GetDomainRequest(*customerprofiles.GetDomainInput) (*request.Request, *customerprofiles.GetDomainOutput) @@ -144,6 +160,14 @@ type CustomerProfilesAPI interface { ListAccountIntegrationsWithContext(aws.Context, *customerprofiles.ListAccountIntegrationsInput, ...request.Option) (*customerprofiles.ListAccountIntegrationsOutput, error) ListAccountIntegrationsRequest(*customerprofiles.ListAccountIntegrationsInput) (*request.Request, *customerprofiles.ListAccountIntegrationsOutput) + ListCalculatedAttributeDefinitions(*customerprofiles.ListCalculatedAttributeDefinitionsInput) (*customerprofiles.ListCalculatedAttributeDefinitionsOutput, error) + ListCalculatedAttributeDefinitionsWithContext(aws.Context, *customerprofiles.ListCalculatedAttributeDefinitionsInput, ...request.Option) (*customerprofiles.ListCalculatedAttributeDefinitionsOutput, error) + ListCalculatedAttributeDefinitionsRequest(*customerprofiles.ListCalculatedAttributeDefinitionsInput) (*request.Request, *customerprofiles.ListCalculatedAttributeDefinitionsOutput) + + ListCalculatedAttributesForProfile(*customerprofiles.ListCalculatedAttributesForProfileInput) (*customerprofiles.ListCalculatedAttributesForProfileOutput, error) + ListCalculatedAttributesForProfileWithContext(aws.Context, *customerprofiles.ListCalculatedAttributesForProfileInput, ...request.Option) (*customerprofiles.ListCalculatedAttributesForProfileOutput, error) + ListCalculatedAttributesForProfileRequest(*customerprofiles.ListCalculatedAttributesForProfileInput) (*request.Request, *customerprofiles.ListCalculatedAttributesForProfileOutput) + ListDomains(*customerprofiles.ListDomainsInput) (*customerprofiles.ListDomainsOutput, error) ListDomainsWithContext(aws.Context, *customerprofiles.ListDomainsInput, ...request.Option) (*customerprofiles.ListDomainsOutput, error) ListDomainsRequest(*customerprofiles.ListDomainsInput) (*request.Request, *customerprofiles.ListDomainsOutput) @@ -204,6 +228,10 @@ type CustomerProfilesAPI interface { UntagResourceWithContext(aws.Context, *customerprofiles.UntagResourceInput, ...request.Option) (*customerprofiles.UntagResourceOutput, error) UntagResourceRequest(*customerprofiles.UntagResourceInput) (*request.Request, *customerprofiles.UntagResourceOutput) + UpdateCalculatedAttributeDefinition(*customerprofiles.UpdateCalculatedAttributeDefinitionInput) (*customerprofiles.UpdateCalculatedAttributeDefinitionOutput, error) + UpdateCalculatedAttributeDefinitionWithContext(aws.Context, *customerprofiles.UpdateCalculatedAttributeDefinitionInput, ...request.Option) (*customerprofiles.UpdateCalculatedAttributeDefinitionOutput, error) + UpdateCalculatedAttributeDefinitionRequest(*customerprofiles.UpdateCalculatedAttributeDefinitionInput) (*request.Request, *customerprofiles.UpdateCalculatedAttributeDefinitionOutput) + UpdateDomain(*customerprofiles.UpdateDomainInput) (*customerprofiles.UpdateDomainOutput, error) UpdateDomainWithContext(aws.Context, *customerprofiles.UpdateDomainInput, ...request.Option) (*customerprofiles.UpdateDomainOutput, error) UpdateDomainRequest(*customerprofiles.UpdateDomainInput) (*request.Request, *customerprofiles.UpdateDomainOutput) diff --git a/service/ivs/api.go b/service/ivs/api.go index 7c4aad34f7e..005bbdb9c63 100644 --- a/service/ivs/api.go +++ b/service/ivs/api.go @@ -2700,9 +2700,9 @@ func (c *IVS) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Requ // UpdateChannel API operation for Amazon Interactive Video Service. // -// Updates a channel's configuration. This does not affect an ongoing stream -// of this channel. You must stop and restart the stream for the changes to -// take effect. +// Updates a channel's configuration. Live channels cannot be updated. You must +// stop the ongoing stream, update the channel, and restart the stream for the +// changes to take effect. // // 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 @@ -3128,6 +3128,12 @@ type Channel struct { // Channel playback URL. PlaybackUrl *string `locationName:"playbackUrl" type:"string"` + // Optional transcode preset for the channel. This is selectable only for ADVANCED_HD + // and ADVANCED_SD channel types. For those channel types, the default preset + // is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), + // preset is the empty string (""). + Preset *string `locationName:"preset" type:"string" enum:"TranscodePreset"` + // Recording-configuration ARN. A value other than an empty string indicates // that recording is enabled. Default: "" (empty string, recording is disabled). RecordingConfigurationArn *string `locationName:"recordingConfigurationArn" type:"string"` @@ -3140,20 +3146,52 @@ type Channel struct { Tags map[string]*string `locationName:"tags" type:"map"` // Channel type, which determines the allowable resolution and bitrate. If you - // exceed the allowable resolution or bitrate, the stream probably will disconnect - // immediately. Default: STANDARD. Valid values: + // exceed the allowable input resolution or bitrate, the stream probably will + // disconnect immediately. Some types generate multiple qualities (renditions) + // from the original input; this automatically gives viewers the best experience + // for their devices and network conditions. Some types provide transcoded video; + // transcoding allows higher playback quality across a range of download speeds. + // Default: STANDARD. Valid values: + // + // * BASIC: Video is transmuxed: Amazon IVS delivers the original input quality + // to viewers. The viewer’s video-quality choice is limited to the original + // input. Input resolution can be up to 1080p and bitrate can be up to 1.5 + // Mbps for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p. + // Original audio is passed through. // // * STANDARD: Video is transcoded: multiple qualities are generated from // the original input, to automatically give viewers the best experience // for their devices and network conditions. Transcoding allows higher playback // quality across a range of download speeds. Resolution can be up to 1080p // and bitrate can be up to 8.5 Mbps. Audio is transcoded only for renditions - // 360p and below; above that, audio is passed through. This is the default. + // 360p and below; above that, audio is passed through. This is the default + // when you create a channel. // - // * BASIC: Video is transmuxed: Amazon IVS delivers the original input to - // viewers. The viewer’s video-quality choice is limited to the original - // input. Resolution can be up to 1080p and bitrate can be up to 1.5 Mbps - // for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p. + // * ADVANCED_SD: Video is transcoded; multiple qualities are generated from + // the original input, to automatically give viewers the best experience + // for their devices and network conditions. Input resolution can be up to + // 1080p and bitrate can be up to 8.5 Mbps; output is capped at SD quality + // (480p). You can select an optional transcode preset (see below). Audio + // for all renditions is transcoded, and an audio-only rendition is available. + // + // * ADVANCED_HD: Video is transcoded; multiple qualities are generated from + // the original input, to automatically give viewers the best experience + // for their devices and network conditions. Input resolution can be up to + // 1080p and bitrate can be up to 8.5 Mbps; output is capped at HD quality + // (720p). You can select an optional transcode preset (see below). Audio + // for all renditions is transcoded, and an audio-only rendition is available. + // + // Optional transcode presets (available for the ADVANCED types) allow you to + // trade off available download bandwidth and video quality, to optimize the + // viewing experience. There are two presets: + // + // * Constrained bandwidth delivery uses a lower bitrate for each quality + // level. Use it if you have low download bandwidth and/or simple video content + // (e.g., talking heads) + // + // * Higher bandwidth delivery uses a higher bitrate for each quality level. + // Use it if you have high download bandwidth and/or complex video content + // (e.g., flashes and quick scene changes). Type *string `locationName:"type" type:"string" enum:"ChannelType"` } @@ -3217,6 +3255,12 @@ func (s *Channel) SetPlaybackUrl(v string) *Channel { return s } +// SetPreset sets the Preset field's value. +func (s *Channel) SetPreset(v string) *Channel { + s.Preset = &v + return s +} + // SetRecordingConfigurationArn sets the RecordingConfigurationArn field's value. func (s *Channel) SetRecordingConfigurationArn(v string) *Channel { s.RecordingConfigurationArn = &v @@ -3324,6 +3368,12 @@ type ChannelSummary struct { // Channel name. Name *string `locationName:"name" type:"string"` + // Optional transcode preset for the channel. This is selectable only for ADVANCED_HD + // and ADVANCED_SD channel types. For those channel types, the default preset + // is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), + // preset is the empty string (""). + Preset *string `locationName:"preset" type:"string" enum:"TranscodePreset"` + // Recording-configuration ARN. A value other than an empty string indicates // that recording is enabled. Default: "" (empty string, recording is disabled). RecordingConfigurationArn *string `locationName:"recordingConfigurationArn" type:"string"` @@ -3334,6 +3384,55 @@ type ChannelSummary struct { // naming limits and requirements"; Amazon IVS has no service-specific constraints // beyond what is documented there. Tags map[string]*string `locationName:"tags" type:"map"` + + // Channel type, which determines the allowable resolution and bitrate. If you + // exceed the allowable input resolution or bitrate, the stream probably will + // disconnect immediately. Some types generate multiple qualities (renditions) + // from the original input; this automatically gives viewers the best experience + // for their devices and network conditions. Some types provide transcoded video; + // transcoding allows higher playback quality across a range of download speeds. + // Default: STANDARD. Valid values: + // + // * BASIC: Video is transmuxed: Amazon IVS delivers the original input quality + // to viewers. The viewer’s video-quality choice is limited to the original + // input. Input resolution can be up to 1080p and bitrate can be up to 1.5 + // Mbps for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p. + // Original audio is passed through. + // + // * STANDARD: Video is transcoded: multiple qualities are generated from + // the original input, to automatically give viewers the best experience + // for their devices and network conditions. Transcoding allows higher playback + // quality across a range of download speeds. Resolution can be up to 1080p + // and bitrate can be up to 8.5 Mbps. Audio is transcoded only for renditions + // 360p and below; above that, audio is passed through. This is the default + // when you create a channel. + // + // * ADVANCED_SD: Video is transcoded; multiple qualities are generated from + // the original input, to automatically give viewers the best experience + // for their devices and network conditions. Input resolution can be up to + // 1080p and bitrate can be up to 8.5 Mbps; output is capped at SD quality + // (480p). You can select an optional transcode preset (see below). Audio + // for all renditions is transcoded, and an audio-only rendition is available. + // + // * ADVANCED_HD: Video is transcoded; multiple qualities are generated from + // the original input, to automatically give viewers the best experience + // for their devices and network conditions. Input resolution can be up to + // 1080p and bitrate can be up to 8.5 Mbps; output is capped at HD quality + // (720p). You can select an optional transcode preset (see below). Audio + // for all renditions is transcoded, and an audio-only rendition is available. + // + // Optional transcode presets (available for the ADVANCED types) allow you to + // trade off available download bandwidth and video quality, to optimize the + // viewing experience. There are two presets: + // + // * Constrained bandwidth delivery uses a lower bitrate for each quality + // level. Use it if you have low download bandwidth and/or simple video content + // (e.g., talking heads) + // + // * Higher bandwidth delivery uses a higher bitrate for each quality level. + // Use it if you have high download bandwidth and/or complex video content + // (e.g., flashes and quick scene changes). + Type *string `locationName:"type" type:"string" enum:"ChannelType"` } // String returns the string representation. @@ -3384,6 +3483,12 @@ func (s *ChannelSummary) SetName(v string) *ChannelSummary { return s } +// SetPreset sets the Preset field's value. +func (s *ChannelSummary) SetPreset(v string) *ChannelSummary { + s.Preset = &v + return s +} + // SetRecordingConfigurationArn sets the RecordingConfigurationArn field's value. func (s *ChannelSummary) SetRecordingConfigurationArn(v string) *ChannelSummary { s.RecordingConfigurationArn = &v @@ -3396,6 +3501,12 @@ func (s *ChannelSummary) SetTags(v map[string]*string) *ChannelSummary { return s } +// SetType sets the Type field's value. +func (s *ChannelSummary) SetType(v string) *ChannelSummary { + s.Type = &v + return s +} + type ConflictException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -3481,6 +3592,12 @@ type CreateChannelInput struct { // Channel name. Name *string `locationName:"name" type:"string"` + // Optional transcode preset for the channel. This is selectable only for ADVANCED_HD + // and ADVANCED_SD channel types. For those channel types, the default preset + // is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), + // preset is the empty string (""). + Preset *string `locationName:"preset" type:"string" enum:"TranscodePreset"` + // Recording-configuration ARN. Default: "" (empty string, recording is disabled). RecordingConfigurationArn *string `locationName:"recordingConfigurationArn" type:"string"` @@ -3492,20 +3609,52 @@ type CreateChannelInput struct { Tags map[string]*string `locationName:"tags" type:"map"` // Channel type, which determines the allowable resolution and bitrate. If you - // exceed the allowable resolution or bitrate, the stream probably will disconnect - // immediately. Default: STANDARD. Valid values: + // exceed the allowable input resolution or bitrate, the stream probably will + // disconnect immediately. Some types generate multiple qualities (renditions) + // from the original input; this automatically gives viewers the best experience + // for their devices and network conditions. Some types provide transcoded video; + // transcoding allows higher playback quality across a range of download speeds. + // Default: STANDARD. Valid values: + // + // * BASIC: Video is transmuxed: Amazon IVS delivers the original input quality + // to viewers. The viewer’s video-quality choice is limited to the original + // input. Input resolution can be up to 1080p and bitrate can be up to 1.5 + // Mbps for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p. + // Original audio is passed through. // // * STANDARD: Video is transcoded: multiple qualities are generated from // the original input, to automatically give viewers the best experience // for their devices and network conditions. Transcoding allows higher playback // quality across a range of download speeds. Resolution can be up to 1080p // and bitrate can be up to 8.5 Mbps. Audio is transcoded only for renditions - // 360p and below; above that, audio is passed through. This is the default. + // 360p and below; above that, audio is passed through. This is the default + // when you create a channel. + // + // * ADVANCED_SD: Video is transcoded; multiple qualities are generated from + // the original input, to automatically give viewers the best experience + // for their devices and network conditions. Input resolution can be up to + // 1080p and bitrate can be up to 8.5 Mbps; output is capped at SD quality + // (480p). You can select an optional transcode preset (see below). Audio + // for all renditions is transcoded, and an audio-only rendition is available. + // + // * ADVANCED_HD: Video is transcoded; multiple qualities are generated from + // the original input, to automatically give viewers the best experience + // for their devices and network conditions. Input resolution can be up to + // 1080p and bitrate can be up to 8.5 Mbps; output is capped at HD quality + // (720p). You can select an optional transcode preset (see below). Audio + // for all renditions is transcoded, and an audio-only rendition is available. + // + // Optional transcode presets (available for the ADVANCED types) allow you to + // trade off available download bandwidth and video quality, to optimize the + // viewing experience. There are two presets: // - // * BASIC: Video is transmuxed: Amazon IVS delivers the original input to - // viewers. The viewer’s video-quality choice is limited to the original - // input. Resolution can be up to 1080p and bitrate can be up to 1.5 Mbps - // for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p. + // * Constrained bandwidth delivery uses a lower bitrate for each quality + // level. Use it if you have low download bandwidth and/or simple video content + // (e.g., talking heads) + // + // * Higher bandwidth delivery uses a higher bitrate for each quality level. + // Use it if you have high download bandwidth and/or complex video content + // (e.g., flashes and quick scene changes). Type *string `locationName:"type" type:"string" enum:"ChannelType"` } @@ -3551,6 +3700,12 @@ func (s *CreateChannelInput) SetName(v string) *CreateChannelInput { return s } +// SetPreset sets the Preset field's value. +func (s *CreateChannelInput) SetPreset(v string) *CreateChannelInput { + s.Preset = &v + return s +} + // SetRecordingConfigurationArn sets the RecordingConfigurationArn field's value. func (s *CreateChannelInput) SetRecordingConfigurationArn(v string) *CreateChannelInput { s.RecordingConfigurationArn = &v @@ -7233,26 +7388,64 @@ type UpdateChannelInput struct { // Channel name. Name *string `locationName:"name" type:"string"` + // Optional transcode preset for the channel. This is selectable only for ADVANCED_HD + // and ADVANCED_SD channel types. For those channel types, the default preset + // is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), + // preset is the empty string (""). + Preset *string `locationName:"preset" type:"string" enum:"TranscodePreset"` + // Recording-configuration ARN. If this is set to an empty string, recording // is disabled. A value other than an empty string indicates that recording // is enabled RecordingConfigurationArn *string `locationName:"recordingConfigurationArn" type:"string"` // Channel type, which determines the allowable resolution and bitrate. If you - // exceed the allowable resolution or bitrate, the stream probably will disconnect - // immediately. Valid values: + // exceed the allowable input resolution or bitrate, the stream probably will + // disconnect immediately. Some types generate multiple qualities (renditions) + // from the original input; this automatically gives viewers the best experience + // for their devices and network conditions. Some types provide transcoded video; + // transcoding allows higher playback quality across a range of download speeds. + // Default: STANDARD. Valid values: + // + // * BASIC: Video is transmuxed: Amazon IVS delivers the original input quality + // to viewers. The viewer’s video-quality choice is limited to the original + // input. Input resolution can be up to 1080p and bitrate can be up to 1.5 + // Mbps for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p. + // Original audio is passed through. // // * STANDARD: Video is transcoded: multiple qualities are generated from // the original input, to automatically give viewers the best experience // for their devices and network conditions. Transcoding allows higher playback // quality across a range of download speeds. Resolution can be up to 1080p // and bitrate can be up to 8.5 Mbps. Audio is transcoded only for renditions - // 360p and below; above that, audio is passed through. This is the default. + // 360p and below; above that, audio is passed through. This is the default + // when you create a channel. + // + // * ADVANCED_SD: Video is transcoded; multiple qualities are generated from + // the original input, to automatically give viewers the best experience + // for their devices and network conditions. Input resolution can be up to + // 1080p and bitrate can be up to 8.5 Mbps; output is capped at SD quality + // (480p). You can select an optional transcode preset (see below). Audio + // for all renditions is transcoded, and an audio-only rendition is available. // - // * BASIC: Video is transmuxed: Amazon IVS delivers the original input to - // viewers. The viewer’s video-quality choice is limited to the original - // input. Resolution can be up to 1080p and bitrate can be up to 1.5 Mbps - // for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p. + // * ADVANCED_HD: Video is transcoded; multiple qualities are generated from + // the original input, to automatically give viewers the best experience + // for their devices and network conditions. Input resolution can be up to + // 1080p and bitrate can be up to 8.5 Mbps; output is capped at HD quality + // (720p). You can select an optional transcode preset (see below). Audio + // for all renditions is transcoded, and an audio-only rendition is available. + // + // Optional transcode presets (available for the ADVANCED types) allow you to + // trade off available download bandwidth and video quality, to optimize the + // viewing experience. There are two presets: + // + // * Constrained bandwidth delivery uses a lower bitrate for each quality + // level. Use it if you have low download bandwidth and/or simple video content + // (e.g., talking heads) + // + // * Higher bandwidth delivery uses a higher bitrate for each quality level. + // Use it if you have high download bandwidth and/or complex video content + // (e.g., flashes and quick scene changes). Type *string `locationName:"type" type:"string" enum:"ChannelType"` } @@ -7320,6 +7513,12 @@ func (s *UpdateChannelInput) SetName(v string) *UpdateChannelInput { return s } +// SetPreset sets the Preset field's value. +func (s *UpdateChannelInput) SetPreset(v string) *UpdateChannelInput { + s.Preset = &v + return s +} + // SetRecordingConfigurationArn sets the RecordingConfigurationArn field's value. func (s *UpdateChannelInput) SetRecordingConfigurationArn(v string) *UpdateChannelInput { s.RecordingConfigurationArn = &v @@ -7552,6 +7751,12 @@ const ( // ChannelTypeStandard is a ChannelType enum value ChannelTypeStandard = "STANDARD" + + // ChannelTypeAdvancedSd is a ChannelType enum value + ChannelTypeAdvancedSd = "ADVANCED_SD" + + // ChannelTypeAdvancedHd is a ChannelType enum value + ChannelTypeAdvancedHd = "ADVANCED_HD" ) // ChannelType_Values returns all elements of the ChannelType enum @@ -7559,6 +7764,8 @@ func ChannelType_Values() []string { return []string{ ChannelTypeBasic, ChannelTypeStandard, + ChannelTypeAdvancedSd, + ChannelTypeAdvancedHd, } } @@ -7633,3 +7840,19 @@ func StreamState_Values() []string { StreamStateOffline, } } + +const ( + // TranscodePresetHigherBandwidthDelivery is a TranscodePreset enum value + TranscodePresetHigherBandwidthDelivery = "HIGHER_BANDWIDTH_DELIVERY" + + // TranscodePresetConstrainedBandwidthDelivery is a TranscodePreset enum value + TranscodePresetConstrainedBandwidthDelivery = "CONSTRAINED_BANDWIDTH_DELIVERY" +) + +// TranscodePreset_Values returns all elements of the TranscodePreset enum +func TranscodePreset_Values() []string { + return []string{ + TranscodePresetHigherBandwidthDelivery, + TranscodePresetConstrainedBandwidthDelivery, + } +} diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index 02cc58a9866..a8faad18eb2 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -32110,9 +32110,11 @@ type AutoMLJobChannel struct { // The content type of the data from the input source. The following are the // allowed content types for different problems: // - // * ImageClassification: image/png, image/jpeg, image/* + // * ImageClassification: image/png, image/jpeg, or image/*. The default + // value is image/*. // - // * TextClassification: text/csv;header=present + // * TextClassification: text/csv;header=present or x-application/vnd.amazon+parquet. + // The default value is text/csv;header=present. ContentType *string `type:"string"` // The data source for an AutoML channel. @@ -51661,7 +51663,9 @@ func (s *DeploymentConfig) SetBlueGreenUpdatePolicy(v *BlueGreenUpdatePolicy) *D return s } -// A set of recommended deployment configurations for the model. +// A set of recommended deployment configurations for the model. To get more +// advanced recommendations, see CreateInferenceRecommendationsJob (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateInferenceRecommendationsJob.html) +// to create an inference recommendation job. type DeploymentRecommendation struct { _ struct{} `type:"structure"` @@ -51669,9 +51673,10 @@ type DeploymentRecommendation struct { // 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. + // Status of the deployment recommendation. The status NOT_APPLICABLE means + // that SageMaker is unable to provide a default recommendation for the model + // using the information provided. If the deployment status is IN_PROGRESS, + // retry your API call after a few seconds to get a COMPLETED deployment recommendation. // // RecommendationStatus is a required field RecommendationStatus *string `type:"string" required:"true" enum:"RecommendationStatus"` @@ -99272,8 +99277,7 @@ func (s *RSessionAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *RSessionA } // A collection of settings that configure user interaction with the RStudioServerPro -// app. RStudioServerProAppSettings cannot be updated. The RStudioServerPro -// app must be deleted and a new one created to make any changes. +// app. type RStudioServerProAppSettings struct { _ struct{} `type:"structure"` diff --git a/service/wafv2/api.go b/service/wafv2/api.go index 6a8efb3f57b..2a96ca62327 100644 --- a/service/wafv2/api.go +++ b/service/wafv2/api.go @@ -10436,7 +10436,8 @@ type FieldToMatch struct { // Inspect a string containing the list of the request's header names, ordered // as they appear in the web request that WAF receives for inspection. WAF generates // the string and then uses that as the field to match component in its inspection. - // WAF separates the header names in the string using commas and no added spaces. + // WAF separates the header names in the string using colons and no added spaces, + // for example Host:User-Agent:Accept:Authorization:Referer. // // Matches against the header order string are case insensitive. HeaderOrder *HeaderOrder `type:"structure"` @@ -12908,7 +12909,8 @@ func (s *HeaderMatchPattern) SetIncludedHeaders(v []*string) *HeaderMatchPattern // Inspect a string containing the list of the request's header names, ordered // as they appear in the web request that WAF receives for inspection. WAF generates // the string and then uses that as the field to match component in its inspection. -// WAF separates the header names in the string using commas and no added spaces. +// WAF separates the header names in the string using colons and no added spaces, +// for example Host:User-Agent:Accept:Authorization:Referer. // // Matches against the header order string are case insensitive. type HeaderOrder struct {