Struct aws_sdk_cognitosync::input::RegisterDeviceInput
source · [−]#[non_exhaustive]pub struct RegisterDeviceInput {
pub identity_pool_id: Option<String>,
pub identity_id: Option<String>,
pub platform: Option<Platform>,
pub token: Option<String>,
}
Expand description
A request to RegisterDevice.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.identity_pool_id: Option<String>
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. Here, the ID of the pool that the identity belongs to.
identity_id: Option<String>
The unique ID for this identity.
platform: Option<Platform>
The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
token: Option<String>
The push token.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RegisterDevice, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RegisterDevice, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<RegisterDevice
>
Creates a new builder-style object to manufacture RegisterDeviceInput
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. Here, the ID of the pool that the identity belongs to.
The unique ID for this identity.
The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RegisterDeviceInput
impl Send for RegisterDeviceInput
impl Sync for RegisterDeviceInput
impl Unpin for RegisterDeviceInput
impl UnwindSafe for RegisterDeviceInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more