libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • rebootAfterUse :: Maybe Bool

    The updated choice for whether you want to reboot the device after use. The default value is 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.

  • 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.

  • description :: Maybe Text

    The updated description for your instance profile.

  • arn :: Text

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

Instances

Instances details
Eq UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

Read UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

Show UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

Generic UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

Associated Types

type Rep UpdateInstanceProfile :: Type -> Type #

NFData UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

Methods

rnf :: UpdateInstanceProfile -> () #

Hashable UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

ToJSON UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

AWSRequest UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

Associated Types

type AWSResponse 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

type Rep UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

type Rep UpdateInstanceProfile = D1 ('MetaData "UpdateInstanceProfile" "Amazonka.DeviceFarm.UpdateInstanceProfile" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "UpdateInstanceProfile'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "rebootAfterUse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "packageCleanup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "excludeAppPackagesFromCleanup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

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:

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

$sel:name:UpdateInstanceProfile', updateInstanceProfile_name - The updated name for your instance profile.

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

$sel:excludeAppPackagesFromCleanup: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.

$sel:description:UpdateInstanceProfile', updateInstanceProfile_description - The updated description for your instance profile.

$sel:arn:UpdateInstanceProfile', updateInstanceProfile_arn - The Amazon Resource Name (ARN) of the instance profile.

Request Lenses

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_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_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_description :: Lens' UpdateInstanceProfile (Maybe Text) Source #

The updated description for your instance profile.

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
Eq UpdateInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

Read UpdateInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

Show UpdateInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

Generic UpdateInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateInstanceProfile

Associated Types

type Rep UpdateInstanceProfileResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" '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:

$sel:instanceProfile: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.