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

Description

Creates a profile that can be applied to one or more private fleet device instances.

Synopsis

Creating a Request

data CreateInstanceProfile Source #

See: newCreateInstanceProfile smart constructor.

Constructors

CreateInstanceProfile' 

Fields

  • rebootAfterUse :: Maybe Bool

    When set to true, Device Farm reboots the instance after a test run. The default value is true.

  • packageCleanup :: Maybe Bool

    When set to true, Device Farm removes app packages after a test run. 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.

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

  • description :: Maybe Text

    The description of your instance profile.

  • name :: Text

    The name of your instance profile.

Instances

Instances details
Eq CreateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

Read CreateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

Show CreateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

Generic CreateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

Associated Types

type Rep CreateInstanceProfile :: Type -> Type #

NFData CreateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

Methods

rnf :: CreateInstanceProfile -> () #

Hashable CreateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

ToJSON CreateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

AWSRequest CreateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

Associated Types

type AWSResponse CreateInstanceProfile #

ToHeaders CreateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

ToPath CreateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

ToQuery CreateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

type Rep CreateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

type Rep CreateInstanceProfile = D1 ('MetaData "CreateInstanceProfile" "Amazonka.DeviceFarm.CreateInstanceProfile" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "CreateInstanceProfile'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "rebootAfterUse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: 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 "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateInstanceProfile Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

newCreateInstanceProfile Source #

Create a value of CreateInstanceProfile 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:CreateInstanceProfile', createInstanceProfile_rebootAfterUse - When set to true, Device Farm reboots the instance after a test run. The default value is true.

$sel:packageCleanup:CreateInstanceProfile', createInstanceProfile_packageCleanup - When set to true, Device Farm removes app packages after a test run. The default value is false for private devices.

$sel:excludeAppPackagesFromCleanup:CreateInstanceProfile', createInstanceProfile_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.

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

$sel:description:CreateInstanceProfile', createInstanceProfile_description - The description of your instance profile.

$sel:name:CreateInstanceProfile', createInstanceProfile_name - The name of your instance profile.

Request Lenses

createInstanceProfile_rebootAfterUse :: Lens' CreateInstanceProfile (Maybe Bool) Source #

When set to true, Device Farm reboots the instance after a test run. The default value is true.

createInstanceProfile_packageCleanup :: Lens' CreateInstanceProfile (Maybe Bool) Source #

When set to true, Device Farm removes app packages after a test run. The default value is false for private devices.

createInstanceProfile_excludeAppPackagesFromCleanup :: Lens' CreateInstanceProfile (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.

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

createInstanceProfile_description :: Lens' CreateInstanceProfile (Maybe Text) Source #

The description of your instance profile.

createInstanceProfile_name :: Lens' CreateInstanceProfile Text Source #

The name of your instance profile.

Destructuring the Response

data CreateInstanceProfileResponse Source #

See: newCreateInstanceProfileResponse smart constructor.

Constructors

CreateInstanceProfileResponse' 

Fields

Instances

Instances details
Eq CreateInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

Read CreateInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

Show CreateInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

Generic CreateInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

Associated Types

type Rep CreateInstanceProfileResponse :: Type -> Type #

NFData CreateInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

type Rep CreateInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateInstanceProfile

type Rep CreateInstanceProfileResponse = D1 ('MetaData "CreateInstanceProfileResponse" "Amazonka.DeviceFarm.CreateInstanceProfile" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "CreateInstanceProfileResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceProfile)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateInstanceProfileResponse Source #

Create a value of CreateInstanceProfileResponse 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:CreateInstanceProfileResponse', createInstanceProfileResponse_instanceProfile - An object that contains information about your instance profile.

$sel:httpStatus:CreateInstanceProfileResponse', createInstanceProfileResponse_httpStatus - The response's http status code.

Response Lenses

createInstanceProfileResponse_instanceProfile :: Lens' CreateInstanceProfileResponse (Maybe InstanceProfile) Source #

An object that contains information about your instance profile.