# WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing for info on making contributions: # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws module Pinpoint # @api private module ClientApi include Seahorse::Model APNSChannelRequest = Shapes::StructureShape.new(name: 'APNSChannelRequest') APNSChannelResponse = Shapes::StructureShape.new(name: 'APNSChannelResponse') Action = Shapes::StringShape.new(name: 'Action') ActivitiesResponse = Shapes::StructureShape.new(name: 'ActivitiesResponse') ActivityResponse = Shapes::StructureShape.new(name: 'ActivityResponse') ApplicationSettingsResource = Shapes::StructureShape.new(name: 'ApplicationSettingsResource') AttributeDimension = Shapes::StructureShape.new(name: 'AttributeDimension') AttributeType = Shapes::StringShape.new(name: 'AttributeType') BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException') CampaignLimits = Shapes::StructureShape.new(name: 'CampaignLimits') CampaignResponse = Shapes::StructureShape.new(name: 'CampaignResponse') CampaignState = Shapes::StructureShape.new(name: 'CampaignState') CampaignStatus = Shapes::StringShape.new(name: 'CampaignStatus') CampaignsResponse = Shapes::StructureShape.new(name: 'CampaignsResponse') ChannelType = Shapes::StringShape.new(name: 'ChannelType') CreateCampaignRequest = Shapes::StructureShape.new(name: 'CreateCampaignRequest') CreateCampaignResponse = Shapes::StructureShape.new(name: 'CreateCampaignResponse') CreateImportJobRequest = Shapes::StructureShape.new(name: 'CreateImportJobRequest') CreateImportJobResponse = Shapes::StructureShape.new(name: 'CreateImportJobResponse') CreateSegmentRequest = Shapes::StructureShape.new(name: 'CreateSegmentRequest') CreateSegmentResponse = Shapes::StructureShape.new(name: 'CreateSegmentResponse') DeleteApnsChannelRequest = Shapes::StructureShape.new(name: 'DeleteApnsChannelRequest') DeleteApnsChannelResponse = Shapes::StructureShape.new(name: 'DeleteApnsChannelResponse') DeleteCampaignRequest = Shapes::StructureShape.new(name: 'DeleteCampaignRequest') DeleteCampaignResponse = Shapes::StructureShape.new(name: 'DeleteCampaignResponse') DeleteGcmChannelRequest = Shapes::StructureShape.new(name: 'DeleteGcmChannelRequest') DeleteGcmChannelResponse = Shapes::StructureShape.new(name: 'DeleteGcmChannelResponse') DeleteSegmentRequest = Shapes::StructureShape.new(name: 'DeleteSegmentRequest') DeleteSegmentResponse = Shapes::StructureShape.new(name: 'DeleteSegmentResponse') DimensionType = Shapes::StringShape.new(name: 'DimensionType') Duration = Shapes::StringShape.new(name: 'Duration') EndpointBatchItem = Shapes::StructureShape.new(name: 'EndpointBatchItem') EndpointBatchRequest = Shapes::StructureShape.new(name: 'EndpointBatchRequest') EndpointDemographic = Shapes::StructureShape.new(name: 'EndpointDemographic') EndpointLocation = Shapes::StructureShape.new(name: 'EndpointLocation') EndpointRequest = Shapes::StructureShape.new(name: 'EndpointRequest') EndpointResponse = Shapes::StructureShape.new(name: 'EndpointResponse') EndpointUser = Shapes::StructureShape.new(name: 'EndpointUser') ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException') Format = Shapes::StringShape.new(name: 'Format') Frequency = Shapes::StringShape.new(name: 'Frequency') GCMChannelRequest = Shapes::StructureShape.new(name: 'GCMChannelRequest') GCMChannelResponse = Shapes::StructureShape.new(name: 'GCMChannelResponse') GetApnsChannelRequest = Shapes::StructureShape.new(name: 'GetApnsChannelRequest') GetApnsChannelResponse = Shapes::StructureShape.new(name: 'GetApnsChannelResponse') GetApplicationSettingsRequest = Shapes::StructureShape.new(name: 'GetApplicationSettingsRequest') GetApplicationSettingsResponse = Shapes::StructureShape.new(name: 'GetApplicationSettingsResponse') GetCampaignActivitiesRequest = Shapes::StructureShape.new(name: 'GetCampaignActivitiesRequest') GetCampaignActivitiesResponse = Shapes::StructureShape.new(name: 'GetCampaignActivitiesResponse') GetCampaignRequest = Shapes::StructureShape.new(name: 'GetCampaignRequest') GetCampaignResponse = Shapes::StructureShape.new(name: 'GetCampaignResponse') GetCampaignVersionRequest = Shapes::StructureShape.new(name: 'GetCampaignVersionRequest') GetCampaignVersionResponse = Shapes::StructureShape.new(name: 'GetCampaignVersionResponse') GetCampaignVersionsRequest = Shapes::StructureShape.new(name: 'GetCampaignVersionsRequest') GetCampaignVersionsResponse = Shapes::StructureShape.new(name: 'GetCampaignVersionsResponse') GetCampaignsRequest = Shapes::StructureShape.new(name: 'GetCampaignsRequest') GetCampaignsResponse = Shapes::StructureShape.new(name: 'GetCampaignsResponse') GetEndpointRequest = Shapes::StructureShape.new(name: 'GetEndpointRequest') GetEndpointResponse = Shapes::StructureShape.new(name: 'GetEndpointResponse') GetGcmChannelRequest = Shapes::StructureShape.new(name: 'GetGcmChannelRequest') GetGcmChannelResponse = Shapes::StructureShape.new(name: 'GetGcmChannelResponse') GetImportJobRequest = Shapes::StructureShape.new(name: 'GetImportJobRequest') GetImportJobResponse = Shapes::StructureShape.new(name: 'GetImportJobResponse') GetImportJobsRequest = Shapes::StructureShape.new(name: 'GetImportJobsRequest') GetImportJobsResponse = Shapes::StructureShape.new(name: 'GetImportJobsResponse') GetSegmentImportJobsRequest = Shapes::StructureShape.new(name: 'GetSegmentImportJobsRequest') GetSegmentImportJobsResponse = Shapes::StructureShape.new(name: 'GetSegmentImportJobsResponse') GetSegmentRequest = Shapes::StructureShape.new(name: 'GetSegmentRequest') GetSegmentResponse = Shapes::StructureShape.new(name: 'GetSegmentResponse') GetSegmentVersionRequest = Shapes::StructureShape.new(name: 'GetSegmentVersionRequest') GetSegmentVersionResponse = Shapes::StructureShape.new(name: 'GetSegmentVersionResponse') GetSegmentVersionsRequest = Shapes::StructureShape.new(name: 'GetSegmentVersionsRequest') GetSegmentVersionsResponse = Shapes::StructureShape.new(name: 'GetSegmentVersionsResponse') GetSegmentsRequest = Shapes::StructureShape.new(name: 'GetSegmentsRequest') GetSegmentsResponse = Shapes::StructureShape.new(name: 'GetSegmentsResponse') ImportJobRequest = Shapes::StructureShape.new(name: 'ImportJobRequest') ImportJobResource = Shapes::StructureShape.new(name: 'ImportJobResource') ImportJobResponse = Shapes::StructureShape.new(name: 'ImportJobResponse') ImportJobsResponse = Shapes::StructureShape.new(name: 'ImportJobsResponse') InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException') JobStatus = Shapes::StringShape.new(name: 'JobStatus') ListOfActivityResponse = Shapes::ListShape.new(name: 'ListOfActivityResponse') ListOfCampaignResponse = Shapes::ListShape.new(name: 'ListOfCampaignResponse') ListOfEndpointBatchItem = Shapes::ListShape.new(name: 'ListOfEndpointBatchItem') ListOfImportJobResponse = Shapes::ListShape.new(name: 'ListOfImportJobResponse') ListOfSegmentResponse = Shapes::ListShape.new(name: 'ListOfSegmentResponse') ListOfTreatmentResource = Shapes::ListShape.new(name: 'ListOfTreatmentResource') ListOfWriteTreatmentResource = Shapes::ListShape.new(name: 'ListOfWriteTreatmentResource') ListOf__string = Shapes::ListShape.new(name: 'ListOf__string') MapOfAttributeDimension = Shapes::MapShape.new(name: 'MapOfAttributeDimension') MapOfListOf__string = Shapes::MapShape.new(name: 'MapOfListOf__string') MapOf__double = Shapes::MapShape.new(name: 'MapOf__double') Message = Shapes::StructureShape.new(name: 'Message') MessageBody = Shapes::StructureShape.new(name: 'MessageBody') MessageConfiguration = Shapes::StructureShape.new(name: 'MessageConfiguration') MethodNotAllowedException = Shapes::StructureShape.new(name: 'MethodNotAllowedException') NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException') QuietTime = Shapes::StructureShape.new(name: 'QuietTime') RecencyDimension = Shapes::StructureShape.new(name: 'RecencyDimension') RecencyType = Shapes::StringShape.new(name: 'RecencyType') Schedule = Shapes::StructureShape.new(name: 'Schedule') SegmentBehaviors = Shapes::StructureShape.new(name: 'SegmentBehaviors') SegmentDemographics = Shapes::StructureShape.new(name: 'SegmentDemographics') SegmentDimensions = Shapes::StructureShape.new(name: 'SegmentDimensions') SegmentImportResource = Shapes::StructureShape.new(name: 'SegmentImportResource') SegmentLocation = Shapes::StructureShape.new(name: 'SegmentLocation') SegmentResponse = Shapes::StructureShape.new(name: 'SegmentResponse') SegmentType = Shapes::StringShape.new(name: 'SegmentType') SegmentsResponse = Shapes::StructureShape.new(name: 'SegmentsResponse') SetDimension = Shapes::StructureShape.new(name: 'SetDimension') TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException') TreatmentResource = Shapes::StructureShape.new(name: 'TreatmentResource') UpdateApnsChannelRequest = Shapes::StructureShape.new(name: 'UpdateApnsChannelRequest') UpdateApnsChannelResponse = Shapes::StructureShape.new(name: 'UpdateApnsChannelResponse') UpdateApplicationSettingsRequest = Shapes::StructureShape.new(name: 'UpdateApplicationSettingsRequest') UpdateApplicationSettingsResponse = Shapes::StructureShape.new(name: 'UpdateApplicationSettingsResponse') UpdateCampaignRequest = Shapes::StructureShape.new(name: 'UpdateCampaignRequest') UpdateCampaignResponse = Shapes::StructureShape.new(name: 'UpdateCampaignResponse') UpdateEndpointRequest = Shapes::StructureShape.new(name: 'UpdateEndpointRequest') UpdateEndpointResponse = Shapes::StructureShape.new(name: 'UpdateEndpointResponse') UpdateEndpointsBatchRequest = Shapes::StructureShape.new(name: 'UpdateEndpointsBatchRequest') UpdateEndpointsBatchResponse = Shapes::StructureShape.new(name: 'UpdateEndpointsBatchResponse') UpdateGcmChannelRequest = Shapes::StructureShape.new(name: 'UpdateGcmChannelRequest') UpdateGcmChannelResponse = Shapes::StructureShape.new(name: 'UpdateGcmChannelResponse') UpdateSegmentRequest = Shapes::StructureShape.new(name: 'UpdateSegmentRequest') UpdateSegmentResponse = Shapes::StructureShape.new(name: 'UpdateSegmentResponse') WriteApplicationSettingsRequest = Shapes::StructureShape.new(name: 'WriteApplicationSettingsRequest') WriteCampaignRequest = Shapes::StructureShape.new(name: 'WriteCampaignRequest') WriteSegmentRequest = Shapes::StructureShape.new(name: 'WriteSegmentRequest') WriteTreatmentResource = Shapes::StructureShape.new(name: 'WriteTreatmentResource') __boolean = Shapes::BooleanShape.new(name: '__boolean') __double = Shapes::FloatShape.new(name: '__double') __integer = Shapes::IntegerShape.new(name: '__integer') __string = Shapes::StringShape.new(name: '__string') APNSChannelRequest.add_member(:certificate, Shapes::ShapeRef.new(shape: __string, location_name: "Certificate")) APNSChannelRequest.add_member(:private_key, Shapes::ShapeRef.new(shape: __string, location_name: "PrivateKey")) APNSChannelRequest.struct_class = Types::APNSChannelRequest APNSChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) APNSChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate")) APNSChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) APNSChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived")) APNSChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy")) APNSChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate")) APNSChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform")) APNSChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version")) APNSChannelResponse.struct_class = Types::APNSChannelResponse ActivitiesResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfActivityResponse, location_name: "Item")) ActivitiesResponse.struct_class = Types::ActivitiesResponse ActivityResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) ActivityResponse.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, location_name: "CampaignId")) ActivityResponse.add_member(:end, Shapes::ShapeRef.new(shape: __string, location_name: "End")) ActivityResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) ActivityResponse.add_member(:result, Shapes::ShapeRef.new(shape: __string, location_name: "Result")) ActivityResponse.add_member(:scheduled_start, Shapes::ShapeRef.new(shape: __string, location_name: "ScheduledStart")) ActivityResponse.add_member(:start, Shapes::ShapeRef.new(shape: __string, location_name: "Start")) ActivityResponse.add_member(:state, Shapes::ShapeRef.new(shape: __string, location_name: "State")) ActivityResponse.add_member(:successful_endpoint_count, Shapes::ShapeRef.new(shape: __integer, location_name: "SuccessfulEndpointCount")) ActivityResponse.add_member(:total_endpoint_count, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalEndpointCount")) ActivityResponse.add_member(:treatment_id, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentId")) ActivityResponse.struct_class = Types::ActivityResponse ApplicationSettingsResource.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) ApplicationSettingsResource.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate")) ApplicationSettingsResource.add_member(:limits, Shapes::ShapeRef.new(shape: CampaignLimits, location_name: "Limits")) ApplicationSettingsResource.add_member(:quiet_time, Shapes::ShapeRef.new(shape: QuietTime, location_name: "QuietTime")) ApplicationSettingsResource.struct_class = Types::ApplicationSettingsResource AttributeDimension.add_member(:attribute_type, Shapes::ShapeRef.new(shape: AttributeType, location_name: "AttributeType")) AttributeDimension.add_member(:values, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Values")) AttributeDimension.struct_class = Types::AttributeDimension CampaignLimits.add_member(:daily, Shapes::ShapeRef.new(shape: __integer, location_name: "Daily")) CampaignLimits.add_member(:total, Shapes::ShapeRef.new(shape: __integer, location_name: "Total")) CampaignLimits.struct_class = Types::CampaignLimits CampaignResponse.add_member(:additional_treatments, Shapes::ShapeRef.new(shape: ListOfTreatmentResource, location_name: "AdditionalTreatments")) CampaignResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) CampaignResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate")) CampaignResponse.add_member(:default_state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "DefaultState")) CampaignResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description")) CampaignResponse.add_member(:holdout_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "HoldoutPercent")) CampaignResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) CampaignResponse.add_member(:is_paused, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsPaused")) CampaignResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate")) CampaignResponse.add_member(:limits, Shapes::ShapeRef.new(shape: CampaignLimits, location_name: "Limits")) CampaignResponse.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration")) CampaignResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name")) CampaignResponse.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule")) CampaignResponse.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId")) CampaignResponse.add_member(:segment_version, Shapes::ShapeRef.new(shape: __integer, location_name: "SegmentVersion")) CampaignResponse.add_member(:state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "State")) CampaignResponse.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription")) CampaignResponse.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName")) CampaignResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version")) CampaignResponse.struct_class = Types::CampaignResponse CampaignState.add_member(:campaign_status, Shapes::ShapeRef.new(shape: CampaignStatus, location_name: "CampaignStatus")) CampaignState.struct_class = Types::CampaignState CampaignsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfCampaignResponse, location_name: "Item")) CampaignsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken")) CampaignsResponse.struct_class = Types::CampaignsResponse CreateCampaignRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) CreateCampaignRequest.add_member(:write_campaign_request, Shapes::ShapeRef.new(shape: WriteCampaignRequest, required: true, location_name: "WriteCampaignRequest")) CreateCampaignRequest.struct_class = Types::CreateCampaignRequest CreateCampaignRequest[:payload] = :write_campaign_request CreateCampaignRequest[:payload_member] = CreateCampaignRequest.member(:write_campaign_request) CreateCampaignResponse.add_member(:campaign_response, Shapes::ShapeRef.new(shape: CampaignResponse, required: true, location_name: "CampaignResponse")) CreateCampaignResponse.struct_class = Types::CreateCampaignResponse CreateCampaignResponse[:payload] = :campaign_response CreateCampaignResponse[:payload_member] = CreateCampaignResponse.member(:campaign_response) CreateImportJobRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) CreateImportJobRequest.add_member(:import_job_request, Shapes::ShapeRef.new(shape: ImportJobRequest, required: true, location_name: "ImportJobRequest")) CreateImportJobRequest.struct_class = Types::CreateImportJobRequest CreateImportJobRequest[:payload] = :import_job_request CreateImportJobRequest[:payload_member] = CreateImportJobRequest.member(:import_job_request) CreateImportJobResponse.add_member(:import_job_response, Shapes::ShapeRef.new(shape: ImportJobResponse, required: true, location_name: "ImportJobResponse")) CreateImportJobResponse.struct_class = Types::CreateImportJobResponse CreateImportJobResponse[:payload] = :import_job_response CreateImportJobResponse[:payload_member] = CreateImportJobResponse.member(:import_job_response) CreateSegmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) CreateSegmentRequest.add_member(:write_segment_request, Shapes::ShapeRef.new(shape: WriteSegmentRequest, required: true, location_name: "WriteSegmentRequest")) CreateSegmentRequest.struct_class = Types::CreateSegmentRequest CreateSegmentRequest[:payload] = :write_segment_request CreateSegmentRequest[:payload_member] = CreateSegmentRequest.member(:write_segment_request) CreateSegmentResponse.add_member(:segment_response, Shapes::ShapeRef.new(shape: SegmentResponse, required: true, location_name: "SegmentResponse")) CreateSegmentResponse.struct_class = Types::CreateSegmentResponse CreateSegmentResponse[:payload] = :segment_response CreateSegmentResponse[:payload_member] = CreateSegmentResponse.member(:segment_response) DeleteApnsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) DeleteApnsChannelRequest.struct_class = Types::DeleteApnsChannelRequest DeleteApnsChannelResponse.add_member(:apns_channel_response, Shapes::ShapeRef.new(shape: APNSChannelResponse, required: true, location_name: "APNSChannelResponse")) DeleteApnsChannelResponse.struct_class = Types::DeleteApnsChannelResponse DeleteApnsChannelResponse[:payload] = :apns_channel_response DeleteApnsChannelResponse[:payload_member] = DeleteApnsChannelResponse.member(:apns_channel_response) DeleteCampaignRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) DeleteCampaignRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id")) DeleteCampaignRequest.struct_class = Types::DeleteCampaignRequest DeleteCampaignResponse.add_member(:campaign_response, Shapes::ShapeRef.new(shape: CampaignResponse, required: true, location_name: "CampaignResponse")) DeleteCampaignResponse.struct_class = Types::DeleteCampaignResponse DeleteCampaignResponse[:payload] = :campaign_response DeleteCampaignResponse[:payload_member] = DeleteCampaignResponse.member(:campaign_response) DeleteGcmChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) DeleteGcmChannelRequest.struct_class = Types::DeleteGcmChannelRequest DeleteGcmChannelResponse.add_member(:gcm_channel_response, Shapes::ShapeRef.new(shape: GCMChannelResponse, required: true, location_name: "GCMChannelResponse")) DeleteGcmChannelResponse.struct_class = Types::DeleteGcmChannelResponse DeleteGcmChannelResponse[:payload] = :gcm_channel_response DeleteGcmChannelResponse[:payload_member] = DeleteGcmChannelResponse.member(:gcm_channel_response) DeleteSegmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) DeleteSegmentRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "segment-id")) DeleteSegmentRequest.struct_class = Types::DeleteSegmentRequest DeleteSegmentResponse.add_member(:segment_response, Shapes::ShapeRef.new(shape: SegmentResponse, required: true, location_name: "SegmentResponse")) DeleteSegmentResponse.struct_class = Types::DeleteSegmentResponse DeleteSegmentResponse[:payload] = :segment_response DeleteSegmentResponse[:payload_member] = DeleteSegmentResponse.member(:segment_response) EndpointBatchItem.add_member(:address, Shapes::ShapeRef.new(shape: __string, location_name: "Address")) EndpointBatchItem.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Attributes")) EndpointBatchItem.add_member(:channel_type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "ChannelType")) EndpointBatchItem.add_member(:demographic, Shapes::ShapeRef.new(shape: EndpointDemographic, location_name: "Demographic")) EndpointBatchItem.add_member(:effective_date, Shapes::ShapeRef.new(shape: __string, location_name: "EffectiveDate")) EndpointBatchItem.add_member(:endpoint_status, Shapes::ShapeRef.new(shape: __string, location_name: "EndpointStatus")) EndpointBatchItem.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) EndpointBatchItem.add_member(:location, Shapes::ShapeRef.new(shape: EndpointLocation, location_name: "Location")) EndpointBatchItem.add_member(:metrics, Shapes::ShapeRef.new(shape: MapOf__double, location_name: "Metrics")) EndpointBatchItem.add_member(:opt_out, Shapes::ShapeRef.new(shape: __string, location_name: "OptOut")) EndpointBatchItem.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId")) EndpointBatchItem.add_member(:user, Shapes::ShapeRef.new(shape: EndpointUser, location_name: "User")) EndpointBatchItem.struct_class = Types::EndpointBatchItem EndpointBatchRequest.add_member(:item, Shapes::ShapeRef.new(shape: ListOfEndpointBatchItem, location_name: "Item")) EndpointBatchRequest.struct_class = Types::EndpointBatchRequest EndpointDemographic.add_member(:app_version, Shapes::ShapeRef.new(shape: __string, location_name: "AppVersion")) EndpointDemographic.add_member(:locale, Shapes::ShapeRef.new(shape: __string, location_name: "Locale")) EndpointDemographic.add_member(:make, Shapes::ShapeRef.new(shape: __string, location_name: "Make")) EndpointDemographic.add_member(:model, Shapes::ShapeRef.new(shape: __string, location_name: "Model")) EndpointDemographic.add_member(:model_version, Shapes::ShapeRef.new(shape: __string, location_name: "ModelVersion")) EndpointDemographic.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform")) EndpointDemographic.add_member(:platform_version, Shapes::ShapeRef.new(shape: __string, location_name: "PlatformVersion")) EndpointDemographic.add_member(:timezone, Shapes::ShapeRef.new(shape: __string, location_name: "Timezone")) EndpointDemographic.struct_class = Types::EndpointDemographic EndpointLocation.add_member(:city, Shapes::ShapeRef.new(shape: __string, location_name: "City")) EndpointLocation.add_member(:country, Shapes::ShapeRef.new(shape: __string, location_name: "Country")) EndpointLocation.add_member(:latitude, Shapes::ShapeRef.new(shape: __double, location_name: "Latitude")) EndpointLocation.add_member(:longitude, Shapes::ShapeRef.new(shape: __double, location_name: "Longitude")) EndpointLocation.add_member(:postal_code, Shapes::ShapeRef.new(shape: __string, location_name: "PostalCode")) EndpointLocation.add_member(:region, Shapes::ShapeRef.new(shape: __string, location_name: "Region")) EndpointLocation.struct_class = Types::EndpointLocation EndpointRequest.add_member(:address, Shapes::ShapeRef.new(shape: __string, location_name: "Address")) EndpointRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Attributes")) EndpointRequest.add_member(:channel_type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "ChannelType")) EndpointRequest.add_member(:demographic, Shapes::ShapeRef.new(shape: EndpointDemographic, location_name: "Demographic")) EndpointRequest.add_member(:effective_date, Shapes::ShapeRef.new(shape: __string, location_name: "EffectiveDate")) EndpointRequest.add_member(:endpoint_status, Shapes::ShapeRef.new(shape: __string, location_name: "EndpointStatus")) EndpointRequest.add_member(:location, Shapes::ShapeRef.new(shape: EndpointLocation, location_name: "Location")) EndpointRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MapOf__double, location_name: "Metrics")) EndpointRequest.add_member(:opt_out, Shapes::ShapeRef.new(shape: __string, location_name: "OptOut")) EndpointRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId")) EndpointRequest.add_member(:user, Shapes::ShapeRef.new(shape: EndpointUser, location_name: "User")) EndpointRequest.struct_class = Types::EndpointRequest EndpointResponse.add_member(:address, Shapes::ShapeRef.new(shape: __string, location_name: "Address")) EndpointResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) EndpointResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Attributes")) EndpointResponse.add_member(:channel_type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "ChannelType")) EndpointResponse.add_member(:cohort_id, Shapes::ShapeRef.new(shape: __string, location_name: "CohortId")) EndpointResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate")) EndpointResponse.add_member(:demographic, Shapes::ShapeRef.new(shape: EndpointDemographic, location_name: "Demographic")) EndpointResponse.add_member(:effective_date, Shapes::ShapeRef.new(shape: __string, location_name: "EffectiveDate")) EndpointResponse.add_member(:endpoint_status, Shapes::ShapeRef.new(shape: __string, location_name: "EndpointStatus")) EndpointResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) EndpointResponse.add_member(:location, Shapes::ShapeRef.new(shape: EndpointLocation, location_name: "Location")) EndpointResponse.add_member(:metrics, Shapes::ShapeRef.new(shape: MapOf__double, location_name: "Metrics")) EndpointResponse.add_member(:opt_out, Shapes::ShapeRef.new(shape: __string, location_name: "OptOut")) EndpointResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId")) EndpointResponse.add_member(:shard_id, Shapes::ShapeRef.new(shape: __string, location_name: "ShardId")) EndpointResponse.add_member(:user, Shapes::ShapeRef.new(shape: EndpointUser, location_name: "User")) EndpointResponse.struct_class = Types::EndpointResponse EndpointUser.add_member(:user_attributes, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "UserAttributes")) EndpointUser.add_member(:user_id, Shapes::ShapeRef.new(shape: __string, location_name: "UserId")) EndpointUser.struct_class = Types::EndpointUser GCMChannelRequest.add_member(:api_key, Shapes::ShapeRef.new(shape: __string, location_name: "ApiKey")) GCMChannelRequest.struct_class = Types::GCMChannelRequest GCMChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) GCMChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate")) GCMChannelResponse.add_member(:credential, Shapes::ShapeRef.new(shape: __string, location_name: "Credential")) GCMChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) GCMChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived")) GCMChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy")) GCMChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate")) GCMChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform")) GCMChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version")) GCMChannelResponse.struct_class = Types::GCMChannelResponse GetApnsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetApnsChannelRequest.struct_class = Types::GetApnsChannelRequest GetApnsChannelResponse.add_member(:apns_channel_response, Shapes::ShapeRef.new(shape: APNSChannelResponse, required: true, location_name: "APNSChannelResponse")) GetApnsChannelResponse.struct_class = Types::GetApnsChannelResponse GetApnsChannelResponse[:payload] = :apns_channel_response GetApnsChannelResponse[:payload_member] = GetApnsChannelResponse.member(:apns_channel_response) GetApplicationSettingsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetApplicationSettingsRequest.struct_class = Types::GetApplicationSettingsRequest GetApplicationSettingsResponse.add_member(:application_settings_resource, Shapes::ShapeRef.new(shape: ApplicationSettingsResource, required: true, location_name: "ApplicationSettingsResource")) GetApplicationSettingsResponse.struct_class = Types::GetApplicationSettingsResponse GetApplicationSettingsResponse[:payload] = :application_settings_resource GetApplicationSettingsResponse[:payload_member] = GetApplicationSettingsResponse.member(:application_settings_resource) GetCampaignActivitiesRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetCampaignActivitiesRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id")) GetCampaignActivitiesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size")) GetCampaignActivitiesRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token")) GetCampaignActivitiesRequest.struct_class = Types::GetCampaignActivitiesRequest GetCampaignActivitiesResponse.add_member(:activities_response, Shapes::ShapeRef.new(shape: ActivitiesResponse, required: true, location_name: "ActivitiesResponse")) GetCampaignActivitiesResponse.struct_class = Types::GetCampaignActivitiesResponse GetCampaignActivitiesResponse[:payload] = :activities_response GetCampaignActivitiesResponse[:payload_member] = GetCampaignActivitiesResponse.member(:activities_response) GetCampaignRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetCampaignRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id")) GetCampaignRequest.struct_class = Types::GetCampaignRequest GetCampaignResponse.add_member(:campaign_response, Shapes::ShapeRef.new(shape: CampaignResponse, required: true, location_name: "CampaignResponse")) GetCampaignResponse.struct_class = Types::GetCampaignResponse GetCampaignResponse[:payload] = :campaign_response GetCampaignResponse[:payload_member] = GetCampaignResponse.member(:campaign_response) GetCampaignVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetCampaignVersionRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id")) GetCampaignVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "version")) GetCampaignVersionRequest.struct_class = Types::GetCampaignVersionRequest GetCampaignVersionResponse.add_member(:campaign_response, Shapes::ShapeRef.new(shape: CampaignResponse, required: true, location_name: "CampaignResponse")) GetCampaignVersionResponse.struct_class = Types::GetCampaignVersionResponse GetCampaignVersionResponse[:payload] = :campaign_response GetCampaignVersionResponse[:payload_member] = GetCampaignVersionResponse.member(:campaign_response) GetCampaignVersionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetCampaignVersionsRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id")) GetCampaignVersionsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size")) GetCampaignVersionsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token")) GetCampaignVersionsRequest.struct_class = Types::GetCampaignVersionsRequest GetCampaignVersionsResponse.add_member(:campaigns_response, Shapes::ShapeRef.new(shape: CampaignsResponse, required: true, location_name: "CampaignsResponse")) GetCampaignVersionsResponse.struct_class = Types::GetCampaignVersionsResponse GetCampaignVersionsResponse[:payload] = :campaigns_response GetCampaignVersionsResponse[:payload_member] = GetCampaignVersionsResponse.member(:campaigns_response) GetCampaignsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetCampaignsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size")) GetCampaignsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token")) GetCampaignsRequest.struct_class = Types::GetCampaignsRequest GetCampaignsResponse.add_member(:campaigns_response, Shapes::ShapeRef.new(shape: CampaignsResponse, required: true, location_name: "CampaignsResponse")) GetCampaignsResponse.struct_class = Types::GetCampaignsResponse GetCampaignsResponse[:payload] = :campaigns_response GetCampaignsResponse[:payload_member] = GetCampaignsResponse.member(:campaigns_response) GetEndpointRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetEndpointRequest.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "endpoint-id")) GetEndpointRequest.struct_class = Types::GetEndpointRequest GetEndpointResponse.add_member(:endpoint_response, Shapes::ShapeRef.new(shape: EndpointResponse, required: true, location_name: "EndpointResponse")) GetEndpointResponse.struct_class = Types::GetEndpointResponse GetEndpointResponse[:payload] = :endpoint_response GetEndpointResponse[:payload_member] = GetEndpointResponse.member(:endpoint_response) GetGcmChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetGcmChannelRequest.struct_class = Types::GetGcmChannelRequest GetGcmChannelResponse.add_member(:gcm_channel_response, Shapes::ShapeRef.new(shape: GCMChannelResponse, required: true, location_name: "GCMChannelResponse")) GetGcmChannelResponse.struct_class = Types::GetGcmChannelResponse GetGcmChannelResponse[:payload] = :gcm_channel_response GetGcmChannelResponse[:payload_member] = GetGcmChannelResponse.member(:gcm_channel_response) GetImportJobRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetImportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "job-id")) GetImportJobRequest.struct_class = Types::GetImportJobRequest GetImportJobResponse.add_member(:import_job_response, Shapes::ShapeRef.new(shape: ImportJobResponse, required: true, location_name: "ImportJobResponse")) GetImportJobResponse.struct_class = Types::GetImportJobResponse GetImportJobResponse[:payload] = :import_job_response GetImportJobResponse[:payload_member] = GetImportJobResponse.member(:import_job_response) GetImportJobsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetImportJobsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size")) GetImportJobsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token")) GetImportJobsRequest.struct_class = Types::GetImportJobsRequest GetImportJobsResponse.add_member(:import_jobs_response, Shapes::ShapeRef.new(shape: ImportJobsResponse, required: true, location_name: "ImportJobsResponse")) GetImportJobsResponse.struct_class = Types::GetImportJobsResponse GetImportJobsResponse[:payload] = :import_jobs_response GetImportJobsResponse[:payload_member] = GetImportJobsResponse.member(:import_jobs_response) GetSegmentImportJobsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetSegmentImportJobsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size")) GetSegmentImportJobsRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "segment-id")) GetSegmentImportJobsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token")) GetSegmentImportJobsRequest.struct_class = Types::GetSegmentImportJobsRequest GetSegmentImportJobsResponse.add_member(:import_jobs_response, Shapes::ShapeRef.new(shape: ImportJobsResponse, required: true, location_name: "ImportJobsResponse")) GetSegmentImportJobsResponse.struct_class = Types::GetSegmentImportJobsResponse GetSegmentImportJobsResponse[:payload] = :import_jobs_response GetSegmentImportJobsResponse[:payload_member] = GetSegmentImportJobsResponse.member(:import_jobs_response) GetSegmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetSegmentRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "segment-id")) GetSegmentRequest.struct_class = Types::GetSegmentRequest GetSegmentResponse.add_member(:segment_response, Shapes::ShapeRef.new(shape: SegmentResponse, required: true, location_name: "SegmentResponse")) GetSegmentResponse.struct_class = Types::GetSegmentResponse GetSegmentResponse[:payload] = :segment_response GetSegmentResponse[:payload_member] = GetSegmentResponse.member(:segment_response) GetSegmentVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetSegmentVersionRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "segment-id")) GetSegmentVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "version")) GetSegmentVersionRequest.struct_class = Types::GetSegmentVersionRequest GetSegmentVersionResponse.add_member(:segment_response, Shapes::ShapeRef.new(shape: SegmentResponse, required: true, location_name: "SegmentResponse")) GetSegmentVersionResponse.struct_class = Types::GetSegmentVersionResponse GetSegmentVersionResponse[:payload] = :segment_response GetSegmentVersionResponse[:payload_member] = GetSegmentVersionResponse.member(:segment_response) GetSegmentVersionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetSegmentVersionsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size")) GetSegmentVersionsRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "segment-id")) GetSegmentVersionsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token")) GetSegmentVersionsRequest.struct_class = Types::GetSegmentVersionsRequest GetSegmentVersionsResponse.add_member(:segments_response, Shapes::ShapeRef.new(shape: SegmentsResponse, required: true, location_name: "SegmentsResponse")) GetSegmentVersionsResponse.struct_class = Types::GetSegmentVersionsResponse GetSegmentVersionsResponse[:payload] = :segments_response GetSegmentVersionsResponse[:payload_member] = GetSegmentVersionsResponse.member(:segments_response) GetSegmentsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetSegmentsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size")) GetSegmentsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token")) GetSegmentsRequest.struct_class = Types::GetSegmentsRequest GetSegmentsResponse.add_member(:segments_response, Shapes::ShapeRef.new(shape: SegmentsResponse, required: true, location_name: "SegmentsResponse")) GetSegmentsResponse.struct_class = Types::GetSegmentsResponse GetSegmentsResponse[:payload] = :segments_response GetSegmentsResponse[:payload_member] = GetSegmentsResponse.member(:segments_response) ImportJobRequest.add_member(:define_segment, Shapes::ShapeRef.new(shape: __boolean, location_name: "DefineSegment")) ImportJobRequest.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId")) ImportJobRequest.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format")) ImportJobRequest.add_member(:register_endpoints, Shapes::ShapeRef.new(shape: __boolean, location_name: "RegisterEndpoints")) ImportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn")) ImportJobRequest.add_member(:s3_url, Shapes::ShapeRef.new(shape: __string, location_name: "S3Url")) ImportJobRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId")) ImportJobRequest.add_member(:segment_name, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentName")) ImportJobRequest.struct_class = Types::ImportJobRequest ImportJobResource.add_member(:define_segment, Shapes::ShapeRef.new(shape: __boolean, location_name: "DefineSegment")) ImportJobResource.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId")) ImportJobResource.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format")) ImportJobResource.add_member(:register_endpoints, Shapes::ShapeRef.new(shape: __boolean, location_name: "RegisterEndpoints")) ImportJobResource.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn")) ImportJobResource.add_member(:s3_url, Shapes::ShapeRef.new(shape: __string, location_name: "S3Url")) ImportJobResource.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId")) ImportJobResource.add_member(:segment_name, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentName")) ImportJobResource.struct_class = Types::ImportJobResource ImportJobResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) ImportJobResponse.add_member(:completed_pieces, Shapes::ShapeRef.new(shape: __integer, location_name: "CompletedPieces")) ImportJobResponse.add_member(:completion_date, Shapes::ShapeRef.new(shape: __string, location_name: "CompletionDate")) ImportJobResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate")) ImportJobResponse.add_member(:definition, Shapes::ShapeRef.new(shape: ImportJobResource, location_name: "Definition")) ImportJobResponse.add_member(:failed_pieces, Shapes::ShapeRef.new(shape: __integer, location_name: "FailedPieces")) ImportJobResponse.add_member(:failures, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Failures")) ImportJobResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) ImportJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus")) ImportJobResponse.add_member(:total_failures, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalFailures")) ImportJobResponse.add_member(:total_pieces, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalPieces")) ImportJobResponse.add_member(:total_processed, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalProcessed")) ImportJobResponse.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "Type")) ImportJobResponse.struct_class = Types::ImportJobResponse ImportJobsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfImportJobResponse, location_name: "Item")) ImportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken")) ImportJobsResponse.struct_class = Types::ImportJobsResponse ListOfActivityResponse.member = Shapes::ShapeRef.new(shape: ActivityResponse) ListOfCampaignResponse.member = Shapes::ShapeRef.new(shape: CampaignResponse) ListOfEndpointBatchItem.member = Shapes::ShapeRef.new(shape: EndpointBatchItem) ListOfImportJobResponse.member = Shapes::ShapeRef.new(shape: ImportJobResponse) ListOfSegmentResponse.member = Shapes::ShapeRef.new(shape: SegmentResponse) ListOfTreatmentResource.member = Shapes::ShapeRef.new(shape: TreatmentResource) ListOfWriteTreatmentResource.member = Shapes::ShapeRef.new(shape: WriteTreatmentResource) ListOf__string.member = Shapes::ShapeRef.new(shape: __string) MapOfAttributeDimension.key = Shapes::ShapeRef.new(shape: __string) MapOfAttributeDimension.value = Shapes::ShapeRef.new(shape: AttributeDimension) MapOfListOf__string.key = Shapes::ShapeRef.new(shape: __string) MapOfListOf__string.value = Shapes::ShapeRef.new(shape: ListOf__string) MapOf__double.key = Shapes::ShapeRef.new(shape: __string) MapOf__double.value = Shapes::ShapeRef.new(shape: __double) Message.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action")) Message.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body")) Message.add_member(:image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageIconUrl")) Message.add_member(:image_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageUrl")) Message.add_member(:json_body, Shapes::ShapeRef.new(shape: __string, location_name: "JsonBody")) Message.add_member(:media_url, Shapes::ShapeRef.new(shape: __string, location_name: "MediaUrl")) Message.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush")) Message.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title")) Message.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url")) Message.struct_class = Types::Message MessageBody.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message")) MessageBody.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID")) MessageBody.struct_class = Types::MessageBody MessageConfiguration.add_member(:apns_message, Shapes::ShapeRef.new(shape: Message, location_name: "APNSMessage")) MessageConfiguration.add_member(:default_message, Shapes::ShapeRef.new(shape: Message, location_name: "DefaultMessage")) MessageConfiguration.add_member(:gcm_message, Shapes::ShapeRef.new(shape: Message, location_name: "GCMMessage")) MessageConfiguration.struct_class = Types::MessageConfiguration QuietTime.add_member(:end, Shapes::ShapeRef.new(shape: __string, location_name: "End")) QuietTime.add_member(:start, Shapes::ShapeRef.new(shape: __string, location_name: "Start")) QuietTime.struct_class = Types::QuietTime RecencyDimension.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration")) RecencyDimension.add_member(:recency_type, Shapes::ShapeRef.new(shape: RecencyType, location_name: "RecencyType")) RecencyDimension.struct_class = Types::RecencyDimension Schedule.add_member(:end_time, Shapes::ShapeRef.new(shape: __string, location_name: "EndTime")) Schedule.add_member(:frequency, Shapes::ShapeRef.new(shape: Frequency, location_name: "Frequency")) Schedule.add_member(:is_local_time, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsLocalTime")) Schedule.add_member(:quiet_time, Shapes::ShapeRef.new(shape: QuietTime, location_name: "QuietTime")) Schedule.add_member(:start_time, Shapes::ShapeRef.new(shape: __string, location_name: "StartTime")) Schedule.add_member(:timezone, Shapes::ShapeRef.new(shape: __string, location_name: "Timezone")) Schedule.struct_class = Types::Schedule SegmentBehaviors.add_member(:recency, Shapes::ShapeRef.new(shape: RecencyDimension, location_name: "Recency")) SegmentBehaviors.struct_class = Types::SegmentBehaviors SegmentDemographics.add_member(:app_version, Shapes::ShapeRef.new(shape: SetDimension, location_name: "AppVersion")) SegmentDemographics.add_member(:device_type, Shapes::ShapeRef.new(shape: SetDimension, location_name: "DeviceType")) SegmentDemographics.add_member(:make, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Make")) SegmentDemographics.add_member(:model, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Model")) SegmentDemographics.add_member(:platform, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Platform")) SegmentDemographics.struct_class = Types::SegmentDemographics SegmentDimensions.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOfAttributeDimension, location_name: "Attributes")) SegmentDimensions.add_member(:behavior, Shapes::ShapeRef.new(shape: SegmentBehaviors, location_name: "Behavior")) SegmentDimensions.add_member(:demographic, Shapes::ShapeRef.new(shape: SegmentDemographics, location_name: "Demographic")) SegmentDimensions.add_member(:location, Shapes::ShapeRef.new(shape: SegmentLocation, location_name: "Location")) SegmentDimensions.struct_class = Types::SegmentDimensions SegmentImportResource.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId")) SegmentImportResource.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format")) SegmentImportResource.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn")) SegmentImportResource.add_member(:s3_url, Shapes::ShapeRef.new(shape: __string, location_name: "S3Url")) SegmentImportResource.add_member(:size, Shapes::ShapeRef.new(shape: __integer, location_name: "Size")) SegmentImportResource.struct_class = Types::SegmentImportResource SegmentLocation.add_member(:country, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Country")) SegmentLocation.struct_class = Types::SegmentLocation SegmentResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) SegmentResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate")) SegmentResponse.add_member(:dimensions, Shapes::ShapeRef.new(shape: SegmentDimensions, location_name: "Dimensions")) SegmentResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) SegmentResponse.add_member(:import_definition, Shapes::ShapeRef.new(shape: SegmentImportResource, location_name: "ImportDefinition")) SegmentResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate")) SegmentResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name")) SegmentResponse.add_member(:segment_type, Shapes::ShapeRef.new(shape: SegmentType, location_name: "SegmentType")) SegmentResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version")) SegmentResponse.struct_class = Types::SegmentResponse SegmentsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfSegmentResponse, location_name: "Item")) SegmentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken")) SegmentsResponse.struct_class = Types::SegmentsResponse SetDimension.add_member(:dimension_type, Shapes::ShapeRef.new(shape: DimensionType, location_name: "DimensionType")) SetDimension.add_member(:values, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Values")) SetDimension.struct_class = Types::SetDimension TreatmentResource.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) TreatmentResource.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration")) TreatmentResource.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule")) TreatmentResource.add_member(:size_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "SizePercent")) TreatmentResource.add_member(:state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "State")) TreatmentResource.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription")) TreatmentResource.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName")) TreatmentResource.struct_class = Types::TreatmentResource UpdateApnsChannelRequest.add_member(:apns_channel_request, Shapes::ShapeRef.new(shape: APNSChannelRequest, required: true, location_name: "APNSChannelRequest")) UpdateApnsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) UpdateApnsChannelRequest.struct_class = Types::UpdateApnsChannelRequest UpdateApnsChannelRequest[:payload] = :apns_channel_request UpdateApnsChannelRequest[:payload_member] = UpdateApnsChannelRequest.member(:apns_channel_request) UpdateApnsChannelResponse.add_member(:apns_channel_response, Shapes::ShapeRef.new(shape: APNSChannelResponse, required: true, location_name: "APNSChannelResponse")) UpdateApnsChannelResponse.struct_class = Types::UpdateApnsChannelResponse UpdateApnsChannelResponse[:payload] = :apns_channel_response UpdateApnsChannelResponse[:payload_member] = UpdateApnsChannelResponse.member(:apns_channel_response) UpdateApplicationSettingsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) UpdateApplicationSettingsRequest.add_member(:write_application_settings_request, Shapes::ShapeRef.new(shape: WriteApplicationSettingsRequest, required: true, location_name: "WriteApplicationSettingsRequest")) UpdateApplicationSettingsRequest.struct_class = Types::UpdateApplicationSettingsRequest UpdateApplicationSettingsRequest[:payload] = :write_application_settings_request UpdateApplicationSettingsRequest[:payload_member] = UpdateApplicationSettingsRequest.member(:write_application_settings_request) UpdateApplicationSettingsResponse.add_member(:application_settings_resource, Shapes::ShapeRef.new(shape: ApplicationSettingsResource, required: true, location_name: "ApplicationSettingsResource")) UpdateApplicationSettingsResponse.struct_class = Types::UpdateApplicationSettingsResponse UpdateApplicationSettingsResponse[:payload] = :application_settings_resource UpdateApplicationSettingsResponse[:payload_member] = UpdateApplicationSettingsResponse.member(:application_settings_resource) UpdateCampaignRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) UpdateCampaignRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id")) UpdateCampaignRequest.add_member(:write_campaign_request, Shapes::ShapeRef.new(shape: WriteCampaignRequest, required: true, location_name: "WriteCampaignRequest")) UpdateCampaignRequest.struct_class = Types::UpdateCampaignRequest UpdateCampaignRequest[:payload] = :write_campaign_request UpdateCampaignRequest[:payload_member] = UpdateCampaignRequest.member(:write_campaign_request) UpdateCampaignResponse.add_member(:campaign_response, Shapes::ShapeRef.new(shape: CampaignResponse, required: true, location_name: "CampaignResponse")) UpdateCampaignResponse.struct_class = Types::UpdateCampaignResponse UpdateCampaignResponse[:payload] = :campaign_response UpdateCampaignResponse[:payload_member] = UpdateCampaignResponse.member(:campaign_response) UpdateEndpointRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) UpdateEndpointRequest.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "endpoint-id")) UpdateEndpointRequest.add_member(:endpoint_request, Shapes::ShapeRef.new(shape: EndpointRequest, required: true, location_name: "EndpointRequest")) UpdateEndpointRequest.struct_class = Types::UpdateEndpointRequest UpdateEndpointRequest[:payload] = :endpoint_request UpdateEndpointRequest[:payload_member] = UpdateEndpointRequest.member(:endpoint_request) UpdateEndpointResponse.add_member(:message_body, Shapes::ShapeRef.new(shape: MessageBody, required: true, location_name: "MessageBody")) UpdateEndpointResponse.struct_class = Types::UpdateEndpointResponse UpdateEndpointResponse[:payload] = :message_body UpdateEndpointResponse[:payload_member] = UpdateEndpointResponse.member(:message_body) UpdateEndpointsBatchRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) UpdateEndpointsBatchRequest.add_member(:endpoint_batch_request, Shapes::ShapeRef.new(shape: EndpointBatchRequest, required: true, location_name: "EndpointBatchRequest")) UpdateEndpointsBatchRequest.struct_class = Types::UpdateEndpointsBatchRequest UpdateEndpointsBatchRequest[:payload] = :endpoint_batch_request UpdateEndpointsBatchRequest[:payload_member] = UpdateEndpointsBatchRequest.member(:endpoint_batch_request) UpdateEndpointsBatchResponse.add_member(:message_body, Shapes::ShapeRef.new(shape: MessageBody, required: true, location_name: "MessageBody")) UpdateEndpointsBatchResponse.struct_class = Types::UpdateEndpointsBatchResponse UpdateEndpointsBatchResponse[:payload] = :message_body UpdateEndpointsBatchResponse[:payload_member] = UpdateEndpointsBatchResponse.member(:message_body) UpdateGcmChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) UpdateGcmChannelRequest.add_member(:gcm_channel_request, Shapes::ShapeRef.new(shape: GCMChannelRequest, required: true, location_name: "GCMChannelRequest")) UpdateGcmChannelRequest.struct_class = Types::UpdateGcmChannelRequest UpdateGcmChannelRequest[:payload] = :gcm_channel_request UpdateGcmChannelRequest[:payload_member] = UpdateGcmChannelRequest.member(:gcm_channel_request) UpdateGcmChannelResponse.add_member(:gcm_channel_response, Shapes::ShapeRef.new(shape: GCMChannelResponse, required: true, location_name: "GCMChannelResponse")) UpdateGcmChannelResponse.struct_class = Types::UpdateGcmChannelResponse UpdateGcmChannelResponse[:payload] = :gcm_channel_response UpdateGcmChannelResponse[:payload_member] = UpdateGcmChannelResponse.member(:gcm_channel_response) UpdateSegmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) UpdateSegmentRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "segment-id")) UpdateSegmentRequest.add_member(:write_segment_request, Shapes::ShapeRef.new(shape: WriteSegmentRequest, required: true, location_name: "WriteSegmentRequest")) UpdateSegmentRequest.struct_class = Types::UpdateSegmentRequest UpdateSegmentRequest[:payload] = :write_segment_request UpdateSegmentRequest[:payload_member] = UpdateSegmentRequest.member(:write_segment_request) UpdateSegmentResponse.add_member(:segment_response, Shapes::ShapeRef.new(shape: SegmentResponse, required: true, location_name: "SegmentResponse")) UpdateSegmentResponse.struct_class = Types::UpdateSegmentResponse UpdateSegmentResponse[:payload] = :segment_response UpdateSegmentResponse[:payload_member] = UpdateSegmentResponse.member(:segment_response) WriteApplicationSettingsRequest.add_member(:limits, Shapes::ShapeRef.new(shape: CampaignLimits, location_name: "Limits")) WriteApplicationSettingsRequest.add_member(:quiet_time, Shapes::ShapeRef.new(shape: QuietTime, location_name: "QuietTime")) WriteApplicationSettingsRequest.struct_class = Types::WriteApplicationSettingsRequest WriteCampaignRequest.add_member(:additional_treatments, Shapes::ShapeRef.new(shape: ListOfWriteTreatmentResource, location_name: "AdditionalTreatments")) WriteCampaignRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description")) WriteCampaignRequest.add_member(:holdout_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "HoldoutPercent")) WriteCampaignRequest.add_member(:is_paused, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsPaused")) WriteCampaignRequest.add_member(:limits, Shapes::ShapeRef.new(shape: CampaignLimits, location_name: "Limits")) WriteCampaignRequest.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration")) WriteCampaignRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name")) WriteCampaignRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule")) WriteCampaignRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId")) WriteCampaignRequest.add_member(:segment_version, Shapes::ShapeRef.new(shape: __integer, location_name: "SegmentVersion")) WriteCampaignRequest.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription")) WriteCampaignRequest.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName")) WriteCampaignRequest.struct_class = Types::WriteCampaignRequest WriteSegmentRequest.add_member(:dimensions, Shapes::ShapeRef.new(shape: SegmentDimensions, location_name: "Dimensions")) WriteSegmentRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name")) WriteSegmentRequest.struct_class = Types::WriteSegmentRequest WriteTreatmentResource.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration")) WriteTreatmentResource.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule")) WriteTreatmentResource.add_member(:size_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "SizePercent")) WriteTreatmentResource.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription")) WriteTreatmentResource.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName")) WriteTreatmentResource.struct_class = Types::WriteTreatmentResource # @api private API = Seahorse::Model::Api.new.tap do |api| api.version = "2016-12-01" api.metadata = { "endpointPrefix" => "pinpoint", "jsonVersion" => "1.1", "protocol" => "rest-json", "serviceFullName" => "Amazon Pinpoint", "signatureVersion" => "v4", "signingName" => "mobiletargeting", } api.add_operation(:create_campaign, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateCampaign" o.http_method = "POST" o.http_request_uri = "/v1/apps/{application-id}/campaigns" o.input = Shapes::ShapeRef.new(shape: CreateCampaignRequest) o.output = Shapes::ShapeRef.new(shape: CreateCampaignResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:create_import_job, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateImportJob" o.http_method = "POST" o.http_request_uri = "/v1/apps/{application-id}/jobs/import" o.input = Shapes::ShapeRef.new(shape: CreateImportJobRequest) o.output = Shapes::ShapeRef.new(shape: CreateImportJobResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:create_segment, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateSegment" o.http_method = "POST" o.http_request_uri = "/v1/apps/{application-id}/segments" o.input = Shapes::ShapeRef.new(shape: CreateSegmentRequest) o.output = Shapes::ShapeRef.new(shape: CreateSegmentResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:delete_apns_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteApnsChannel" o.http_method = "DELETE" o.http_request_uri = "/v1/apps/{application-id}/channels/apns" o.input = Shapes::ShapeRef.new(shape: DeleteApnsChannelRequest) o.output = Shapes::ShapeRef.new(shape: DeleteApnsChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:delete_campaign, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteCampaign" o.http_method = "DELETE" o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}" o.input = Shapes::ShapeRef.new(shape: DeleteCampaignRequest) o.output = Shapes::ShapeRef.new(shape: DeleteCampaignResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:delete_gcm_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteGcmChannel" o.http_method = "DELETE" o.http_request_uri = "/v1/apps/{application-id}/channels/gcm" o.input = Shapes::ShapeRef.new(shape: DeleteGcmChannelRequest) o.output = Shapes::ShapeRef.new(shape: DeleteGcmChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:delete_segment, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteSegment" o.http_method = "DELETE" o.http_request_uri = "/v1/apps/{application-id}/segments/{segment-id}" o.input = Shapes::ShapeRef.new(shape: DeleteSegmentRequest) o.output = Shapes::ShapeRef.new(shape: DeleteSegmentResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_apns_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "GetApnsChannel" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/channels/apns" o.input = Shapes::ShapeRef.new(shape: GetApnsChannelRequest) o.output = Shapes::ShapeRef.new(shape: GetApnsChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_application_settings, Seahorse::Model::Operation.new.tap do |o| o.name = "GetApplicationSettings" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/settings" o.input = Shapes::ShapeRef.new(shape: GetApplicationSettingsRequest) o.output = Shapes::ShapeRef.new(shape: GetApplicationSettingsResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_campaign, Seahorse::Model::Operation.new.tap do |o| o.name = "GetCampaign" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}" o.input = Shapes::ShapeRef.new(shape: GetCampaignRequest) o.output = Shapes::ShapeRef.new(shape: GetCampaignResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_campaign_activities, Seahorse::Model::Operation.new.tap do |o| o.name = "GetCampaignActivities" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}/activities" o.input = Shapes::ShapeRef.new(shape: GetCampaignActivitiesRequest) o.output = Shapes::ShapeRef.new(shape: GetCampaignActivitiesResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_campaign_version, Seahorse::Model::Operation.new.tap do |o| o.name = "GetCampaignVersion" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}/versions/{version}" o.input = Shapes::ShapeRef.new(shape: GetCampaignVersionRequest) o.output = Shapes::ShapeRef.new(shape: GetCampaignVersionResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_campaign_versions, Seahorse::Model::Operation.new.tap do |o| o.name = "GetCampaignVersions" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}/versions" o.input = Shapes::ShapeRef.new(shape: GetCampaignVersionsRequest) o.output = Shapes::ShapeRef.new(shape: GetCampaignVersionsResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_campaigns, Seahorse::Model::Operation.new.tap do |o| o.name = "GetCampaigns" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/campaigns" o.input = Shapes::ShapeRef.new(shape: GetCampaignsRequest) o.output = Shapes::ShapeRef.new(shape: GetCampaignsResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_endpoint, Seahorse::Model::Operation.new.tap do |o| o.name = "GetEndpoint" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/endpoints/{endpoint-id}" o.input = Shapes::ShapeRef.new(shape: GetEndpointRequest) o.output = Shapes::ShapeRef.new(shape: GetEndpointResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_gcm_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "GetGcmChannel" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/channels/gcm" o.input = Shapes::ShapeRef.new(shape: GetGcmChannelRequest) o.output = Shapes::ShapeRef.new(shape: GetGcmChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_import_job, Seahorse::Model::Operation.new.tap do |o| o.name = "GetImportJob" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/jobs/import/{job-id}" o.input = Shapes::ShapeRef.new(shape: GetImportJobRequest) o.output = Shapes::ShapeRef.new(shape: GetImportJobResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_import_jobs, Seahorse::Model::Operation.new.tap do |o| o.name = "GetImportJobs" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/jobs/import" o.input = Shapes::ShapeRef.new(shape: GetImportJobsRequest) o.output = Shapes::ShapeRef.new(shape: GetImportJobsResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_segment, Seahorse::Model::Operation.new.tap do |o| o.name = "GetSegment" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/segments/{segment-id}" o.input = Shapes::ShapeRef.new(shape: GetSegmentRequest) o.output = Shapes::ShapeRef.new(shape: GetSegmentResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_segment_import_jobs, Seahorse::Model::Operation.new.tap do |o| o.name = "GetSegmentImportJobs" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/segments/{segment-id}/jobs/import" o.input = Shapes::ShapeRef.new(shape: GetSegmentImportJobsRequest) o.output = Shapes::ShapeRef.new(shape: GetSegmentImportJobsResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_segment_version, Seahorse::Model::Operation.new.tap do |o| o.name = "GetSegmentVersion" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/segments/{segment-id}/versions/{version}" o.input = Shapes::ShapeRef.new(shape: GetSegmentVersionRequest) o.output = Shapes::ShapeRef.new(shape: GetSegmentVersionResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_segment_versions, Seahorse::Model::Operation.new.tap do |o| o.name = "GetSegmentVersions" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/segments/{segment-id}/versions" o.input = Shapes::ShapeRef.new(shape: GetSegmentVersionsRequest) o.output = Shapes::ShapeRef.new(shape: GetSegmentVersionsResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_segments, Seahorse::Model::Operation.new.tap do |o| o.name = "GetSegments" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/segments" o.input = Shapes::ShapeRef.new(shape: GetSegmentsRequest) o.output = Shapes::ShapeRef.new(shape: GetSegmentsResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:update_apns_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateApnsChannel" o.http_method = "PUT" o.http_request_uri = "/v1/apps/{application-id}/channels/apns" o.input = Shapes::ShapeRef.new(shape: UpdateApnsChannelRequest) o.output = Shapes::ShapeRef.new(shape: UpdateApnsChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:update_application_settings, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateApplicationSettings" o.http_method = "PUT" o.http_request_uri = "/v1/apps/{application-id}/settings" o.input = Shapes::ShapeRef.new(shape: UpdateApplicationSettingsRequest) o.output = Shapes::ShapeRef.new(shape: UpdateApplicationSettingsResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:update_campaign, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateCampaign" o.http_method = "PUT" o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}" o.input = Shapes::ShapeRef.new(shape: UpdateCampaignRequest) o.output = Shapes::ShapeRef.new(shape: UpdateCampaignResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:update_endpoint, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateEndpoint" o.http_method = "PUT" o.http_request_uri = "/v1/apps/{application-id}/endpoints/{endpoint-id}" o.input = Shapes::ShapeRef.new(shape: UpdateEndpointRequest) o.output = Shapes::ShapeRef.new(shape: UpdateEndpointResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:update_endpoints_batch, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateEndpointsBatch" o.http_method = "PUT" o.http_request_uri = "/v1/apps/{application-id}/endpoints" o.input = Shapes::ShapeRef.new(shape: UpdateEndpointsBatchRequest) o.output = Shapes::ShapeRef.new(shape: UpdateEndpointsBatchResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:update_gcm_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateGcmChannel" o.http_method = "PUT" o.http_request_uri = "/v1/apps/{application-id}/channels/gcm" o.input = Shapes::ShapeRef.new(shape: UpdateGcmChannelRequest) o.output = Shapes::ShapeRef.new(shape: UpdateGcmChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:update_segment, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateSegment" o.http_method = "PUT" o.http_request_uri = "/v1/apps/{application-id}/segments/{segment-id}" o.input = Shapes::ShapeRef.new(shape: UpdateSegmentRequest) o.output = Shapes::ShapeRef.new(shape: UpdateSegmentResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) end end end end