libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
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.SageMaker.PutModelPackageGroupPolicy

Description

Adds a resouce policy to control access to a model group. For information about resoure policies, see Identity-based policies and resource-based policies in the Amazon Web Services Identity and Access Management User Guide..

Synopsis

Creating a Request

data PutModelPackageGroupPolicy Source #

See: newPutModelPackageGroupPolicy smart constructor.

Constructors

PutModelPackageGroupPolicy' 

Fields

Instances

Instances details
Eq PutModelPackageGroupPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

Read PutModelPackageGroupPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

Show PutModelPackageGroupPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

Generic PutModelPackageGroupPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

Associated Types

type Rep PutModelPackageGroupPolicy :: Type -> Type #

NFData PutModelPackageGroupPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

Hashable PutModelPackageGroupPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

ToJSON PutModelPackageGroupPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

AWSRequest PutModelPackageGroupPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

ToHeaders PutModelPackageGroupPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

ToPath PutModelPackageGroupPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

ToQuery PutModelPackageGroupPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

type Rep PutModelPackageGroupPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

type Rep PutModelPackageGroupPolicy = D1 ('MetaData "PutModelPackageGroupPolicy" "Amazonka.SageMaker.PutModelPackageGroupPolicy" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "PutModelPackageGroupPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "modelPackageGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourcePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse PutModelPackageGroupPolicy Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

newPutModelPackageGroupPolicy Source #

Create a value of PutModelPackageGroupPolicy 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:modelPackageGroupName:PutModelPackageGroupPolicy', putModelPackageGroupPolicy_modelPackageGroupName - The name of the model group to add a resource policy to.

$sel:resourcePolicy:PutModelPackageGroupPolicy', putModelPackageGroupPolicy_resourcePolicy - The resource policy for the model group.

Request Lenses

putModelPackageGroupPolicy_modelPackageGroupName :: Lens' PutModelPackageGroupPolicy Text Source #

The name of the model group to add a resource policy to.

Destructuring the Response

data PutModelPackageGroupPolicyResponse Source #

Constructors

PutModelPackageGroupPolicyResponse' 

Fields

Instances

Instances details
Eq PutModelPackageGroupPolicyResponse Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

Read PutModelPackageGroupPolicyResponse Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

Show PutModelPackageGroupPolicyResponse Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

Generic PutModelPackageGroupPolicyResponse Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

Associated Types

type Rep PutModelPackageGroupPolicyResponse :: Type -> Type #

NFData PutModelPackageGroupPolicyResponse Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

type Rep PutModelPackageGroupPolicyResponse Source # 
Instance details

Defined in Amazonka.SageMaker.PutModelPackageGroupPolicy

type Rep PutModelPackageGroupPolicyResponse = D1 ('MetaData "PutModelPackageGroupPolicyResponse" "Amazonka.SageMaker.PutModelPackageGroupPolicy" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "PutModelPackageGroupPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "modelPackageGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newPutModelPackageGroupPolicyResponse Source #

Create a value of PutModelPackageGroupPolicyResponse 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:httpStatus:PutModelPackageGroupPolicyResponse', putModelPackageGroupPolicyResponse_httpStatus - The response's http status code.

$sel:modelPackageGroupArn:PutModelPackageGroupPolicyResponse', putModelPackageGroupPolicyResponse_modelPackageGroupArn - The Amazon Resource Name (ARN) of the model package group.

Response Lenses