Class: Aws::Pinpoint::Types::UpdateEndpointRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pinpoint/types.rb

Overview

Note:

When making an API call, you may pass UpdateEndpointRequest data as a hash:

{
  application_id: "__string", # required
  endpoint_id: "__string", # required
  endpoint_request: { # required
    address: "__string",
    attributes: {
      "__string" => ["__string"],
    },
    channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL
    demographic: {
      app_version: "__string",
      locale: "__string",
      make: "__string",
      model: "__string",
      model_version: "__string",
      platform: "__string",
      platform_version: "__string",
      timezone: "__string",
    },
    effective_date: "__string",
    endpoint_status: "__string",
    location: {
      city: "__string",
      country: "__string",
      latitude: 1.0,
      longitude: 1.0,
      postal_code: "__string",
      region: "__string",
    },
    metrics: {
      "__string" => 1.0,
    },
    opt_out: "__string",
    request_id: "__string",
    user: {
      user_attributes: {
        "__string" => ["__string"],
      },
      user_id: "__string",
    },
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#application_idString

Returns:

  • (String)


4755
4756
4757
4758
4759
4760
# File 'lib/aws-sdk-pinpoint/types.rb', line 4755

class UpdateEndpointRequest < Struct.new(
  :application_id,
  :endpoint_id,
  :endpoint_request)
  include Aws::Structure
end

#endpoint_idString

Returns:

  • (String)


4755
4756
4757
4758
4759
4760
# File 'lib/aws-sdk-pinpoint/types.rb', line 4755

class UpdateEndpointRequest < Struct.new(
  :application_id,
  :endpoint_id,
  :endpoint_request)
  include Aws::Structure
end

#endpoint_requestTypes::EndpointRequest

Endpoint update request



4755
4756
4757
4758
4759
4760
# File 'lib/aws-sdk-pinpoint/types.rb', line 4755

class UpdateEndpointRequest < Struct.new(
  :application_id,
  :endpoint_id,
  :endpoint_request)
  include Aws::Structure
end