Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Gets a resource policy that manages access for a model group. For information about resource policies, see Identity-based policies and resource-based policies in the Amazon Web Services Identity and Access Management User Guide..
Synopsis
- data GetModelPackageGroupPolicy = GetModelPackageGroupPolicy' {}
- newGetModelPackageGroupPolicy :: Text -> GetModelPackageGroupPolicy
- getModelPackageGroupPolicy_modelPackageGroupName :: Lens' GetModelPackageGroupPolicy Text
- data GetModelPackageGroupPolicyResponse = GetModelPackageGroupPolicyResponse' {
- httpStatus :: Int
- resourcePolicy :: Text
- newGetModelPackageGroupPolicyResponse :: Int -> Text -> GetModelPackageGroupPolicyResponse
- getModelPackageGroupPolicyResponse_httpStatus :: Lens' GetModelPackageGroupPolicyResponse Int
- getModelPackageGroupPolicyResponse_resourcePolicy :: Lens' GetModelPackageGroupPolicyResponse Text
Creating a Request
data GetModelPackageGroupPolicy Source #
See: newGetModelPackageGroupPolicy
smart constructor.
GetModelPackageGroupPolicy' | |
|
Instances
newGetModelPackageGroupPolicy Source #
Create a value of GetModelPackageGroupPolicy
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:GetModelPackageGroupPolicy'
, getModelPackageGroupPolicy_modelPackageGroupName
- The name of the model group for which to get the resource policy.
Request Lenses
getModelPackageGroupPolicy_modelPackageGroupName :: Lens' GetModelPackageGroupPolicy Text Source #
The name of the model group for which to get the resource policy.
Destructuring the Response
data GetModelPackageGroupPolicyResponse Source #
See: newGetModelPackageGroupPolicyResponse
smart constructor.
GetModelPackageGroupPolicyResponse' | |
|
Instances
Eq GetModelPackageGroupPolicyResponse Source # | |
Read GetModelPackageGroupPolicyResponse Source # | |
Show GetModelPackageGroupPolicyResponse Source # | |
Generic GetModelPackageGroupPolicyResponse Source # | |
NFData GetModelPackageGroupPolicyResponse Source # | |
Defined in Amazonka.SageMaker.GetModelPackageGroupPolicy rnf :: GetModelPackageGroupPolicyResponse -> () # | |
type Rep GetModelPackageGroupPolicyResponse Source # | |
Defined in Amazonka.SageMaker.GetModelPackageGroupPolicy type Rep GetModelPackageGroupPolicyResponse = D1 ('MetaData "GetModelPackageGroupPolicyResponse" "Amazonka.SageMaker.GetModelPackageGroupPolicy" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "GetModelPackageGroupPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "resourcePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
newGetModelPackageGroupPolicyResponse Source #
Create a value of GetModelPackageGroupPolicyResponse
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:GetModelPackageGroupPolicyResponse'
, getModelPackageGroupPolicyResponse_httpStatus
- The response's http status code.
$sel:resourcePolicy:GetModelPackageGroupPolicyResponse'
, getModelPackageGroupPolicyResponse_resourcePolicy
- The resource policy for the model group.
Response Lenses
getModelPackageGroupPolicyResponse_httpStatus :: Lens' GetModelPackageGroupPolicyResponse Int Source #
The response's http status code.
getModelPackageGroupPolicyResponse_resourcePolicy :: Lens' GetModelPackageGroupPolicyResponse Text Source #
The resource policy for the model group.