amazonka-devicefarm-2.0: Amazon Device Farm SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DeviceFarm.UpdateInstanceProfile

Description

Updates information about an existing private device instance profile.

Synopsis

Creating a Request

data UpdateInstanceProfile Source #

See: newUpdateInstanceProfile smart constructor.

Constructors

UpdateInstanceProfile' 

Fields

  • description :: Maybe Text

    The updated description for your instance profile.

  • excludeAppPackagesFromCleanup :: Maybe [Text]

    An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run is over.

    The list of packages is only considered if you set packageCleanup to true.

  • name :: Maybe Text

    The updated name for your instance profile.

  • packageCleanup :: Maybe Bool

    The updated choice for whether you want to specify package cleanup. The default value is false for private devices.

  • rebootAfterUse :: Maybe Bool

    The updated choice for whether you want to reboot the device after use. The default value is true.

  • arn :: Text

    The Amazon Resource Name (ARN) of the instance profile.

Instances

Instances details
ToJSON UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

ToHeaders UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

ToPath UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

ToQuery UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

AWSRequest UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

Associated Types

type AWSResponse UpdateInstanceProfile #

Generic UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

Associated Types

type Rep UpdateInstanceProfile :: Type -> Type #

Read UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

Show UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

NFData UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

Methods

rnf :: UpdateInstanceProfile -> () #

Eq UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

Hashable UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

type AWSResponse UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

type Rep UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

type Rep UpdateInstanceProfile = D1 ('MetaData "UpdateInstanceProfile" "Amazonka.DeviceFarm.UpdateInstanceProfile" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "UpdateInstanceProfile'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "excludeAppPackagesFromCleanup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "packageCleanup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "rebootAfterUse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateInstanceProfile Source #

Create a value of UpdateInstanceProfile with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

UpdateInstanceProfile, updateInstanceProfile_description - The updated description for your instance profile.

UpdateInstanceProfile, updateInstanceProfile_excludeAppPackagesFromCleanup - An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run is over.

The list of packages is only considered if you set packageCleanup to true.

UpdateInstanceProfile, updateInstanceProfile_name - The updated name for your instance profile.

UpdateInstanceProfile, updateInstanceProfile_packageCleanup - The updated choice for whether you want to specify package cleanup. The default value is false for private devices.

UpdateInstanceProfile, updateInstanceProfile_rebootAfterUse - The updated choice for whether you want to reboot the device after use. The default value is true.

UpdateInstanceProfile, updateInstanceProfile_arn - The Amazon Resource Name (ARN) of the instance profile.

Request Lenses

updateInstanceProfile_description :: Lens' UpdateInstanceProfile (Maybe Text) Source #

The updated description for your instance profile.

updateInstanceProfile_excludeAppPackagesFromCleanup :: Lens' UpdateInstanceProfile (Maybe [Text]) Source #

An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run is over.

The list of packages is only considered if you set packageCleanup to true.

updateInstanceProfile_name :: Lens' UpdateInstanceProfile (Maybe Text) Source #

The updated name for your instance profile.

updateInstanceProfile_packageCleanup :: Lens' UpdateInstanceProfile (Maybe Bool) Source #

The updated choice for whether you want to specify package cleanup. The default value is false for private devices.

updateInstanceProfile_rebootAfterUse :: Lens' UpdateInstanceProfile (Maybe Bool) Source #

The updated choice for whether you want to reboot the device after use. The default value is true.

updateInstanceProfile_arn :: Lens' UpdateInstanceProfile Text Source #

The Amazon Resource Name (ARN) of the instance profile.

Destructuring the Response

data UpdateInstanceProfileResponse Source #

See: newUpdateInstanceProfileResponse smart constructor.

Constructors

UpdateInstanceProfileResponse' 

Fields

Instances

Instances details
Generic UpdateInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

Associated Types

type Rep UpdateInstanceProfileResponse :: Type -> Type #

Read UpdateInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

Show UpdateInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

NFData UpdateInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

Eq UpdateInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

type Rep UpdateInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

type Rep UpdateInstanceProfileResponse = D1 ('MetaData "UpdateInstanceProfileResponse" "Amazonka.DeviceFarm.UpdateInstanceProfile" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "UpdateInstanceProfileResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceProfile)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateInstanceProfileResponse Source #

Create a value of UpdateInstanceProfileResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

UpdateInstanceProfileResponse, updateInstanceProfileResponse_instanceProfile - An object that contains information about your instance profile.

$sel:httpStatus:UpdateInstanceProfileResponse', updateInstanceProfileResponse_httpStatus - The response's http status code.

Response Lenses

updateInstanceProfileResponse_instanceProfile :: Lens' UpdateInstanceProfileResponse (Maybe InstanceProfile) Source #

An object that contains information about your instance profile.