NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Class ConfigServiceClient

Client to interact with AWS Config

  Guzzle\Common\AbstractHasDispatcher implements Guzzle\Common\HasDispatcherInterface
  Guzzle\Http\Client implements Guzzle\Http\ClientInterface
  Guzzle\Service\Client implements Guzzle\Service\ClientInterface
  Aws\Common\Client\AbstractClient implements Aws\Common\Client\AwsClientInterface
  Aws\ConfigService\ConfigServiceClient

Namespace: Aws\ConfigService
Link: User guide
Link: API docs
Located at Aws/ConfigService/ConfigServiceClient.php

## Methods summary

- `public static` `factory ( array|Collection $config = array() )`

  Factory method to create a new AWS Config client using an array of configuration options.

- `public` `deleteConfigRule ( array $args = array() )`

  Executes the DeleteConfigRule operation.

- `public` `deleteDeliveryChannel ( array $args = array() )`

  Executes the DeleteDeliveryChannel operation.

- `public` `deliverConfigSnapshot ( array $args = array() )`

  Executes the DeliverConfigSnapshot operation.

- `public` `describeComplianceByConfigRule ( array $args = array() )`

  Executes the DescribeComplianceByConfigRule operation.

- `public` `describeComplianceByResource ( array $args = array() )`

  Executes the DescribeComplianceByResource operation.

- `public` `describeConfigRuleEvaluationStatus ( array $args = array() )`

  Executes the DescribeConfigRuleEvaluationStatus operation.

- `public` `describeConfigRules ( array $args = array() )`

  Executes the DescribeConfigRules operation.

- `public` `describeConfigurationRecorderStatus ( array $args = array() )`

  Executes the DescribeConfigurationRecorderStatus operation.

- `public` `describeConfigurationRecorders ( array $args = array() )`

  Executes the DescribeConfigurationRecorders operation.

- `public` `describeDeliveryChannelStatus ( array $args = array() )`

  Executes the DescribeDeliveryChannelStatus operation.

- `public` `describeDeliveryChannels ( array $args = array() )`

  Executes the DescribeDeliveryChannels operation.

- `public` `getComplianceDetailsByConfigRule ( array $args = array() )`

  Executes the GetComplianceDetailsByConfigRule operation.

- `public` `getComplianceDetailsByResource ( array $args = array() )`

  Executes the GetComplianceDetailsByResource operation.

- `public` `getComplianceSummaryByConfigRule ( array $args = array() )`

  Executes the GetComplianceSummaryByConfigRule operation.

- `public` `getComplianceSummaryByResourceType ( array $args = array() )`

  Executes the GetComplianceSummaryByResourceType operation.

- `public` `getResourceConfigHistory ( array $args = array() )`

  Executes the GetResourceConfigHistory operation.

- `public` `listDiscoveredResources ( array $args = array() )`

  Executes the ListDiscoveredResources operation.

- `public` `putConfigRule ( array $args = array() )`

  Executes the PutConfigRule operation.

- `public` `putConfigurationRecorder ( array $args = array() )`

  Executes the PutConfigurationRecorder operation.

- `public` `putDeliveryChannel ( array $args = array() )`

  Executes the PutDeliveryChannel operation.

- `public` `putEvaluations ( array $args = array() )`

  Executes the PutEvaluations operation.

- `public` `startConfigurationRecorder ( array $args = array() )`

  Executes the StartConfigurationRecorder operation.

- `public` `stopConfigurationRecorder ( array $args = array() )`

  Executes the StopConfigurationRecorder operation.

- `public` `getGetResourceConfigHistoryIterator ( array $args = array() )`

  The input array uses the parameters of the GetResourceConfigHistory operation

## Methods detail

# `public static `Aws\ConfigService\ConfigServiceClient``
`factory( array|`Guzzle\Common\Collection` $config = array() )`

Factory method to create a new AWS Config client using an array of configuration options.

See http://docs.aws.amazon.com/aws-sdk-php/v2/guide/configuration.html#client-configuration-options

#### Parameters

$config
  `array|`Guzzle\Common\Collection``
  $config Client configuration data

#### Returns

``Aws\ConfigService\ConfigServiceClient``

#### Link

http://docs.aws.amazon.com/aws-sdk-php/v2/guide/configuration.html#client-configuration-options

#### Overrides

`Guzzle\Service\Client::factory`
# `public `Guzzle\Service\Resource\Model``
`deleteConfigRule( array $args = array() )`

Executes the DeleteConfigRule operation.

Deletes the specified AWS Config rule and all of its evaluation results.

AWS Config sets the state of a rule to DELETING until the deletion is complete. You cannot update a rule while it is in this state. If you make a PutConfigRule request for the rule, you will receive a ResourceInUseException .

You can check the state of a rule by using the DescribeConfigRules request.

#### Examples

- Basic formatting example

      $result = $client->deleteConfigRule(array(
          // ConfigRuleName is required
          'ConfigRuleName' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - ConfigRuleName => (string)

    The name of the AWS Config rule that you want to delete.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`deleteDeliveryChannel( array $args = array() )`

Executes the DeleteDeliveryChannel operation.

Deletes the specified delivery channel.

The delivery channel cannot be deleted if it is the only delivery channel and the configuration recorder is still running. To delete the delivery channel, stop the running configuration recorder using the StopConfigurationRecorder action.

#### Examples

- Basic formatting example

      $result = $client->deleteDeliveryChannel(array(
          // DeliveryChannelName is required
          'DeliveryChannelName' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - DeliveryChannelName => (string)

    The name of the delivery channel to delete.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`deliverConfigSnapshot( array $args = array() )`

Executes the DeliverConfigSnapshot operation.

Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, AWS Config sends following notifications using an Amazon SNS topic that you have specified.

- Notification of starting the delivery.
- Notification of delivery completed, if the delivery was successfully completed.
- Notification of delivery failure, if the delivery failed to complete.

#### Examples

- Basic formatting example

      $result = $client->deliverConfigSnapshot(array(
          // deliveryChannelName is required
          'deliveryChannelName' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - deliveryChannelName => (string)

    The name of the delivery channel through which the snapshot is delivered.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- configSnapshotId => (string)

  The ID of the snapshot that is being created.

# `public `Guzzle\Service\Resource\Model``
`describeComplianceByConfigRule( array $args = array() )`

Executes the DescribeComplianceByConfigRule operation.

Indicates whether the specified AWS Config rules are compliant. If a rule is noncompliant, this action returns the number of AWS resources that do not comply with the rule.

A rule is compliant if all of the evaluated resources comply with it, and it is noncompliant if any of these resources do not comply.

If AWS Config has no current evaluation results for the rule, it returns InsufficientData . This result might indicate one of the following conditions:

- AWS Config has never invoked an evaluation for the rule. To check whether it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime and LastFailedInvocationTime .
- The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role that you assigned to your configuration recorder includes the config:PutEvaluations permission. If the rule is a customer managed rule, verify that the AWS Lambda execution role includes the config:PutEvaluations permission.
- The rule's AWS Lambda function has returned NOT_APPLICABLE for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.

#### Examples

- Basic formatting example

      $result = $client->describeComplianceByConfigRule(array(
          'ConfigRuleNames' => array('string', ... ),
          'ComplianceTypes' => array('string', ... ),
          'NextToken' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - ConfigRuleNames => (array<string>)

    Specify one or more AWS Config rule names to filter the results by rule.

  - ComplianceTypes => (array<string: COMPLIANT | NON_COMPLIANT | NOT_APPLICABLE | INSUFFICIENT_DATA >)

    Filters the results by compliance. The valid values are Compliant and NonCompliant.

  - NextToken => (string)

    The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- ComplianceByConfigRules => (array<associative-array>)

  Indicates whether each of the specified AWS Config rules is compliant.

  - (associative-array)

    Indicates whether an AWS Config rule is compliant. A rule is compliant if all of the resources that the rule evaluated comply with it, and it is noncompliant if any of these resources do not comply.

    - ConfigRuleName => (string)

      The name of the AWS Config rule.

    - Compliance => (associative-array)

      Indicates whether the AWS Config rule is compliant.

      - ComplianceType => (string)

        Indicates whether an AWS resource or AWS Config rule is compliant.

        A resource is compliant if it complies with all of the AWS Config rules that evaluate it, and it is noncompliant if it does not comply with one or more of these rules.

        A rule is compliant if all of the resources that the rule evaluates comply with it, and it is noncompliant if any of these resources do not comply.

      - ComplianceContributorCount => (associative-array)

        The number of AWS resources or AWS Config rules that cause a result of NON_COMPLIANT, up to a maximum of 25.

        - CappedCount => (int)

          The number of AWS resources or AWS Config rules responsible for the current compliance of the item.

        - CapExceeded => (bool)

          Indicates whether the maximum count is reached.

- NextToken => (string)

  The string that you use in a subsequent request to get the next page of results in a paginated response.

# `public `Guzzle\Service\Resource\Model``
`describeComplianceByResource( array $args = array() )`

Executes the DescribeComplianceByResource operation.

Indicates whether the specified AWS resources are compliant. If a resource is noncompliant, this action returns the number of AWS Config rules that the resource does not comply with.

A resource is compliant if it complies with all the AWS Config rules that evaluate it. It is noncompliant if it does not comply with one or more of these rules.

If AWS Config has no current evaluation results for the resource, it returns InsufficientData . This result might indicate one of the following conditions about the rules that evaluate the resource:

- AWS Config has never invoked an evaluation for the rule. To check whether it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime and LastFailedInvocationTime .
- The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role that you assigned to your configuration recorder includes the config:PutEvaluations permission. If the rule is a customer managed rule, verify that the AWS Lambda execution role includes the config:PutEvaluations permission.
- The rule's AWS Lambda function has returned NOT_APPLICABLE for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.

#### Examples

- Basic formatting example

      $result = $client->describeComplianceByResource(array(
          'ResourceType' => 'string',
          'ResourceId' => 'string',
          'ComplianceTypes' => array('string', ... ),
          'Limit' => integer,
          'NextToken' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - ResourceType => (string)

    The types of AWS resources for which you want compliance information; for example, AWS::EC2::Instance. For this action, you can specify that the resource type is an AWS account by specifying AWS::::Account.

  - ResourceId => (string)

    The ID of the AWS resource for which you want compliance information. You can specify only one resource ID. If you specify a resource ID, you must also specify a type for ResourceType.

  - ComplianceTypes => (array<string: COMPLIANT | NON_COMPLIANT | NOT_APPLICABLE | INSUFFICIENT_DATA >)

    Filters the results by compliance. The valid values are Compliant and NonCompliant.

  - Limit => (int)

    The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.

  - NextToken => (string)

    The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- ComplianceByResources => (array<associative-array>)

  Indicates whether the specified AWS resource complies with all of the AWS Config rules that evaluate it.

  - (associative-array)

    Indicates whether an AWS resource that is evaluated according to one or more AWS Config rules is compliant. A resource is compliant if it complies with all of the rules that evaluate it, and it is noncompliant if it does not comply with one or more of these rules.

    - ResourceType => (string)

      The type of the AWS resource that was evaluated.

    - ResourceId => (string)

      The ID of the AWS resource that was evaluated.

    - Compliance => (associative-array)

      Indicates whether the AWS resource complies with all of the AWS Config rules that evaluated it.

      - ComplianceType => (string)

        Indicates whether an AWS resource or AWS Config rule is compliant.

        A resource is compliant if it complies with all of the AWS Config rules that evaluate it, and it is noncompliant if it does not comply with one or more of these rules.

        A rule is compliant if all of the resources that the rule evaluates comply with it, and it is noncompliant if any of these resources do not comply.

      - ComplianceContributorCount => (associative-array)

        The number of AWS resources or AWS Config rules that cause a result of NON_COMPLIANT, up to a maximum of 25.

        - CappedCount => (int)

          The number of AWS resources or AWS Config rules responsible for the current compliance of the item.

        - CapExceeded => (bool)

          Indicates whether the maximum count is reached.

- NextToken => (string)

  The string that you use in a subsequent request to get the next page of results in a paginated response.

# `public `Guzzle\Service\Resource\Model``
`describeConfigRuleEvaluationStatus( array $args = array() )`

Executes the DescribeConfigRuleEvaluationStatus operation.

Returns status information for each of your AWS managed Config rules. The status includes information such as the last time AWS Config invoked the rule, the last time AWS Config failed to invoke the rule, and the related error for the last failure.

#### Examples

- Basic formatting example

      $result = $client->describeConfigRuleEvaluationStatus(array(
          'ConfigRuleNames' => array('string', ... ),
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - ConfigRuleNames => (array<string>)

    The name of the AWS managed Config rules for which you want status information. If you do not specify any names, AWS Config returns status information for all AWS managed Config rules that you use.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- ConfigRulesEvaluationStatus => (array<associative-array>)

  Status information about your AWS managed Config rules.

  - (associative-array)

    Status information for your AWS managed Config rules. The status includes information such as the last time the rule ran, the last time it failed, and the related error for the last failure.

    This action does not return status information about customer managed Config rules.

    - ConfigRuleName => (string)

      The name of the AWS Config rule.

    - ConfigRuleArn => (string)

      The Amazon Resource Name (ARN) of the AWS Config rule.

    - ConfigRuleId => (string)

      The ID of the AWS Config rule.

    - LastSuccessfulInvocationTime => (string)

      The time that AWS Config last successfully invoked the AWS Config rule to evaluate your AWS resources.

    - LastFailedInvocationTime => (string)

      The time that AWS Config last failed to invoke the AWS Config rule to evaluate your AWS resources.

    - FirstActivatedTime => (string)

      The time that you first activated the AWS Config rule.

    - LastErrorCode => (string)

      The error code that AWS Config returned when the rule last failed.

    - LastErrorMessage => (string)

      The error message that AWS Config returned when the rule last failed.

# `public `Guzzle\Service\Resource\Model``
`describeConfigRules( array $args = array() )`

Executes the DescribeConfigRules operation.

Returns details about your AWS Config rules.

#### Examples

- Basic formatting example

      $result = $client->describeConfigRules(array(
          'ConfigRuleNames' => array('string', ... ),
          'NextToken' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - ConfigRuleNames => (array<string>)

    The names of the AWS Config rules for which you want details. If you do not specify any names, AWS Config returns details for all your rules.

  - NextToken => (string)

    The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- ConfigRules => (array<associative-array>)

  The details about your AWS Config rules.

  - (associative-array)

    An AWS Lambda function that evaluates configuration items to assess whether your AWS resources comply with your desired configurations. This function can run when AWS Config detects a configuration change or delivers a configuration snapshot. This function can evaluate any resource in the recording group. To define which of these are evaluated, specify a value for the Scope key.

    For more information about developing and using AWS Config rules, see Evaluating AWS Resource Configurations with AWS Config in the AWS Config Developer Guide.

    - ConfigRuleName => (string)

      The name that you assign to the AWS Config rule. The name is required if you are adding a new rule.

    - ConfigRuleArn => (string)

      The Amazon Resource Name (ARN) of the AWS Config rule.

    - ConfigRuleId => (string)

      The ID of the AWS Config rule.

    - Description => (string)

      The description that you provide for the AWS Config rule.

    - Scope => (associative-array)

      Defines which resources the AWS Config rule evaluates. The scope can include one or more resource types, a combination of a tag key and value, or a combination of one resource type and one or more resource IDs. Specify a scope to constrain the resources that are evaluated. If you do not specify a scope, the AWS Config Rule evaluates all resources in the recording group.

      - ComplianceResourceTypes => (array<string>)

        The resource types of only those AWS resources that you want AWS Config to evaluate against the rule. You can specify only one type if you also specify resource IDs for ComplianceResourceId.

      - TagKey => (string)

        The tag key that is applied to only those AWS resources that you want AWS Config to evaluate against the rule.

      - TagValue => (string)

        The tag value applied to only those AWS resources that you want AWS Config to evaluate against the rule. If you specify a value for TagValue, you must also specify a value for TagKey.

      - ComplianceResourceId => (string)

        The IDs of only those AWS resources that you want AWS Config to evaluate against the rule. If you specify a resource ID, you must specify one resource type for ComplianceResourceTypes.

    - Source => (associative-array)

      Provides the rule owner (AWS or customer), the rule identifier, and the events that cause the function to evaluate your AWS resources.

      - Owner => (string)

        Indicates whether AWS or the customer owns and manages the AWS Config rule.

      - SourceIdentifier => (string)

        For AWS managed Config rules, a pre-defined identifier from a list. To reference the list, see Using AWS Managed Config Rules.

        For customer managed Config rules, the identifier is the Amazon Resource Name (ARN) of the rule's AWS Lambda function.

      - SourceDetails => (array<associative-array>)

        Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.

        - (associative-array)

          Provides the source and type of the event that triggers AWS Config to evaluate your AWS resources against a rule.

          - EventSource => (string)

            The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.

          - MessageType => (string)

            The type of SNS message that triggers AWS Config to run an evaluation. For evaluations that are initiated when AWS Config delivers a configuration item change notification, you must use ConfigurationItemChangeNotification. For evaluations that are initiated when AWS Config delivers a configuration snapshot, you must use ConfigurationSnapshotDeliveryCompleted.

    - InputParameters => (string)

      A string in JSON format that is passed to the AWS Config rule Lambda function.

    - MaximumExecutionFrequency => (string)

      The maximum frequency at which the AWS Config rule runs evaluations.

      If your rule is periodic, meaning it runs an evaluation when AWS Config delivers a configuration snapshot, then it cannot run evaluations more frequently than AWS Config delivers the snapshots. For periodic rules, set the value of the MaximumExecutionFrequency key to be equal to or greater than the value of the deliveryFrequency key, which is part of ConfigSnapshotDeliveryProperties. To update the frequency with which AWS Config delivers your snapshots, use the PutDeliveryChannel action.

    - ConfigRuleState => (string)

      Indicates whether the AWS Config rule is active or currently being deleted by AWS Config.

      AWS Config sets the state of a rule to DELETING temporarily after you use the DeleteConfigRule request to delete the rule. After AWS Config finishes deleting a rule, the rule and all of its evaluations are erased and no longer available.

      You cannot add a rule to AWS Config that has the state set to DELETING. If you want to delete a rule, you must use the DeleteConfigRule request.

- NextToken => (string)

  The string that you use in a subsequent request to get the next page of results in a paginated response.

# `public `Guzzle\Service\Resource\Model``
`describeConfigurationRecorderStatus( array $args = array() )`

Executes the DescribeConfigurationRecorderStatus operation.

Returns the current status of the specified configuration recorder. If a configuration recorder is not specified, this action returns the status of all configuration recorder associated with the account.

Currently, you can specify only one configuration recorder per account.

#### Examples

- Basic formatting example

      $result = $client->describeConfigurationRecorderStatus(array(
          'ConfigurationRecorderNames' => array('string', ... ),
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - ConfigurationRecorderNames => (array<string>)

    The name(s) of the configuration recorder. If the name is not specified, the action returns the current status of all the configuration recorders associated with the account.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- ConfigurationRecordersStatus => (array<associative-array>)

  A list that contains status of the specified recorders.

  - (associative-array)

    The current status of the configuration recorder.

    - name => (string)

      The name of the configuration recorder.

    - lastStartTime => (string)

      The time the recorder was last started.

    - lastStopTime => (string)

      The time the recorder was last stopped.

    - recording => (bool)

      Specifies whether the recorder is currently recording or not.

    - lastStatus => (string)

      The last (previous) status of the recorder.

    - lastErrorCode => (string)

      The error code indicating that the recording failed.

    - lastErrorMessage => (string)

      The message indicating that the recording failed due to an error.

    - lastStatusChangeTime => (string)

      The time when the status was last changed.

# `public `Guzzle\Service\Resource\Model``
`describeConfigurationRecorders( array $args = array() )`

Executes the DescribeConfigurationRecorders operation.

Returns the name of one or more specified configuration recorders. If the recorder name is not specified, this action returns the names of all the configuration recorders associated with the account.

Currently, you can specify only one configuration recorder per account.

#### Examples

- Basic formatting example

      $result = $client->describeConfigurationRecorders(array(
          'ConfigurationRecorderNames' => array('string', ... ),
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - ConfigurationRecorderNames => (array<string>)

    A list of configuration recorder names.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- ConfigurationRecorders => (array<associative-array>)

  A list that contains the descriptions of the specified configuration recorders.

  - (associative-array)

    An object that represents the recording of configuration changes of an AWS resource.

    - name => (string)

      The name of the recorder. By default, AWS Config automatically assigns the name "default" when creating the configuration recorder. You cannot change the assigned name.

    - roleARN => (string)

      Amazon Resource Name (ARN) of the IAM role used to describe the AWS resources associated with the account.

    - recordingGroup => (associative-array)

      The recording group specifies either to record configurations for all supported resources or to provide a list of resource types to record. The list of resource types must be a subset of supported resource types.

      - allSupported => (bool)

        Records all supported resource types in the recording group. For a list of supported resource types, see Supported resource types. If you specify allSupported, you cannot enumerate a list of resourceTypes.

      - resourceTypes => (array<string>)

        A comma-separated list of strings representing valid AWS resource types (for example, AWS::EC2::Instance or AWS::CloudTrail::Trail). resourceTypes is only valid if you have chosen not to select allSupported. For a list of valid resourceTypes values, see the resourceType Value column in the following topic: Supported AWS Resource Types.

# `public `Guzzle\Service\Resource\Model``
`describeDeliveryChannelStatus( array $args = array() )`

Executes the DescribeDeliveryChannelStatus operation.

Returns the current status of the specified delivery channel. If a delivery channel is not specified, this action returns the current status of all delivery channels associated with the account.

Currently, you can specify only one delivery channel per account.

#### Examples

- Basic formatting example

      $result = $client->describeDeliveryChannelStatus(array(
          'DeliveryChannelNames' => array('string', ... ),
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - DeliveryChannelNames => (array<string>)

    A list of delivery channel names.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- DeliveryChannelsStatus => (array<associative-array>)

  A list that contains the status of a specified delivery channel.

  - (associative-array)

    The status of a specified delivery channel.

    Valid values: Success | Failure

    - name => (string)

      The name of the delivery channel.

    - configSnapshotDeliveryInfo => (associative-array)

      A list containing the status of the delivery of the snapshot to the specified Amazon S3 bucket.

      - lastStatus => (string)

        Status of the last attempted delivery.

      - lastErrorCode => (string)

        The error code from the last attempted delivery.

      - lastErrorMessage => (string)

        The error message from the last attempted delivery.

      - lastAttemptTime => (string)

        The time of the last attempted delivery.

      - lastSuccessfulTime => (string)

        The time of the last successful delivery.

      - nextDeliveryTime => (string)

        The time that the next delivery occurs.

    - configHistoryDeliveryInfo => (associative-array)

      A list that contains the status of the delivery of the configuration history to the specified Amazon S3 bucket.

      - lastStatus => (string)

        Status of the last attempted delivery.

      - lastErrorCode => (string)

        The error code from the last attempted delivery.

      - lastErrorMessage => (string)

        The error message from the last attempted delivery.

      - lastAttemptTime => (string)

        The time of the last attempted delivery.

      - lastSuccessfulTime => (string)

        The time of the last successful delivery.

      - nextDeliveryTime => (string)

        The time that the next delivery occurs.

    - configStreamDeliveryInfo => (associative-array)

      A list containing the status of the delivery of the configuration stream notification to the specified Amazon SNS topic.

      - lastStatus => (string)

        Status of the last attempted delivery.

        Note Providing an SNS topic on a DeliveryChannel for AWS Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable.

      - lastErrorCode => (string)

        The error code from the last attempted delivery.

      - lastErrorMessage => (string)

        The error message from the last attempted delivery.

      - lastStatusChangeTime => (string)

        The time from the last status change.

# `public `Guzzle\Service\Resource\Model``
`describeDeliveryChannels( array $args = array() )`

Executes the DescribeDeliveryChannels operation.

Returns details about the specified delivery channel. If a delivery channel is not specified, this action returns the details of all delivery channels associated with the account.

Currently, you can specify only one delivery channel per account.

#### Examples

- Basic formatting example

      $result = $client->describeDeliveryChannels(array(
          'DeliveryChannelNames' => array('string', ... ),
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - DeliveryChannelNames => (array<string>)

    A list of delivery channel names.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- DeliveryChannels => (array<associative-array>)

  A list that contains the descriptions of the specified delivery channel.

  - (associative-array)

    A logical container used for storing the configuration changes of an AWS resource.

    - name => (string)

      The name of the delivery channel. By default, AWS Config automatically assigns the name "default" when creating the delivery channel. You cannot change the assigned name.

    - s3BucketName => (string)

      The name of the Amazon S3 bucket used to store configuration history for the delivery channel.

    - s3KeyPrefix => (string)

      The prefix for the specified Amazon S3 bucket.

    - snsTopicARN => (string)

      The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers notifications to.

    - configSnapshotDeliveryProperties => (associative-array)

      Options for how AWS Config delivers configuration snapshots to the Amazon S3 bucket in your delivery channel.

      - deliveryFrequency => (string)

        The frequency with which a AWS Config recurringly delivers configuration snapshots.

# `public `Guzzle\Service\Resource\Model``
`getComplianceDetailsByConfigRule( array $args = array() )`

Executes the GetComplianceDetailsByConfigRule operation.

Returns the evaluation results for the specified AWS Config rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule.

#### Examples

- Basic formatting example

      $result = $client->getComplianceDetailsByConfigRule(array(
          // ConfigRuleName is required
          'ConfigRuleName' => 'string',
          'ComplianceTypes' => array('string', ... ),
          'Limit' => integer,
          'NextToken' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - ConfigRuleName => (string)

    The name of the AWS Config rule for which you want compliance information.

  - ComplianceTypes => (array<string: COMPLIANT | NON_COMPLIANT | NOT_APPLICABLE | INSUFFICIENT_DATA >)

    Specify to filter the results by compliance. The valid values are Compliant, NonCompliant, and NotApplicable.

  - Limit => (int)

    The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.

  - NextToken => (string)

    The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- EvaluationResults => (array<associative-array>)

  Indicates whether the AWS resource complies with the specified AWS Config rule.

  - (associative-array)

    The details of an AWS Config evaluation. Provides the AWS resource that was evaluated, the compliance of the resource, related timestamps, and supplementary information.

    - EvaluationResultIdentifier => (associative-array)

      Uniquely identifies the evaluation result.

      - EvaluationResultQualifier => (associative-array)

        Identifies an AWS Config rule used to evaluate an AWS resource, and provides the type and ID of the evaluated resource.

        - ConfigRuleName => (string)

          The name of the AWS Config rule that was used in the evaluation.

        - ResourceType => (string)

          The type of AWS resource that was evaluated.

        - ResourceId => (string)

          The ID of the evaluated AWS resource.

      - OrderingTimestamp => (string)

        The time of the event that triggered the evaluation of your AWS resources. The time can indicate when AWS Config delivered a configuration item change notification, or it can indicate when AWS Config delivered the configuration snapshot, depending on which event triggered the evaluation.

    - ComplianceType => (string)

      Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.

    - ResultRecordedTime => (string)

      The time when AWS Config recorded the evaluation result.

    - ConfigRuleInvokedTime => (string)

      The time when the AWS Config rule evaluated the AWS resource.

    - Annotation => (string)

      Supplementary information about how the evaluation determined the compliance.

    - ResultToken => (string)

      An encrypted token that associates an evaluation with an AWS Config rule. The token identifies the rule, the AWS resource being evaluated, and the event that triggered the evaluation.

- NextToken => (string)

  The string that you use in a subsequent request to get the next page of results in a paginated response.

# `public `Guzzle\Service\Resource\Model``
`getComplianceDetailsByResource( array $args = array() )`

Executes the GetComplianceDetailsByResource operation.

Returns the evaluation results for the specified AWS resource. The results indicate which AWS Config rules were used to evaluate the resource, when each rule was last used, and whether the resource complies with each rule.

#### Examples

- Basic formatting example

      $result = $client->getComplianceDetailsByResource(array(
          // ResourceType is required
          'ResourceType' => 'string',
          // ResourceId is required
          'ResourceId' => 'string',
          'ComplianceTypes' => array('string', ... ),
          'NextToken' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - ResourceType => (string)

    The type of the AWS resource for which you want compliance information.

  - ResourceId => (string)

    The ID of the AWS resource for which you want compliance information.

  - ComplianceTypes => (array<string: COMPLIANT | NON_COMPLIANT | NOT_APPLICABLE | INSUFFICIENT_DATA >)

    Specify to filter the results by compliance. The valid values are Compliant, NonCompliant, and NotApplicable.

  - NextToken => (string)

    The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- EvaluationResults => (array<associative-array>)

  Indicates whether the specified AWS resource complies each AWS Config rule.

  - (associative-array)

    The details of an AWS Config evaluation. Provides the AWS resource that was evaluated, the compliance of the resource, related timestamps, and supplementary information.

    - EvaluationResultIdentifier => (associative-array)

      Uniquely identifies the evaluation result.

      - EvaluationResultQualifier => (associative-array)

        Identifies an AWS Config rule used to evaluate an AWS resource, and provides the type and ID of the evaluated resource.

        - ConfigRuleName => (string)

          The name of the AWS Config rule that was used in the evaluation.

        - ResourceType => (string)

          The type of AWS resource that was evaluated.

        - ResourceId => (string)

          The ID of the evaluated AWS resource.

      - OrderingTimestamp => (string)

        The time of the event that triggered the evaluation of your AWS resources. The time can indicate when AWS Config delivered a configuration item change notification, or it can indicate when AWS Config delivered the configuration snapshot, depending on which event triggered the evaluation.

    - ComplianceType => (string)

      Indicates whether the AWS resource complies with the AWS Config rule that evaluated it.

    - ResultRecordedTime => (string)

      The time when AWS Config recorded the evaluation result.

    - ConfigRuleInvokedTime => (string)

      The time when the AWS Config rule evaluated the AWS resource.

    - Annotation => (string)

      Supplementary information about how the evaluation determined the compliance.

    - ResultToken => (string)

      An encrypted token that associates an evaluation with an AWS Config rule. The token identifies the rule, the AWS resource being evaluated, and the event that triggered the evaluation.

- NextToken => (string)

  The string that you use in a subsequent request to get the next page of results in a paginated response.

# `public `Guzzle\Service\Resource\Model``
`getComplianceSummaryByConfigRule( array $args = array() )`

Executes the GetComplianceSummaryByConfigRule operation.

Returns the number of AWS Config rules that are compliant and noncompliant, up to a maximum of 25 for each.

#### Examples

- Basic formatting example

      $result = $client->getComplianceSummaryByConfigRule(array(
      ));

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- ComplianceSummary => (associative-array)

  The number of AWS Config rules that are compliant and the number that are noncompliant, up to a maximum of 25 for each.

  - CompliantResourceCount => (associative-array)

    The number of AWS Config rules or AWS resources that are compliant, up to a maximum of 25 for rules and 100 for resources.

    - CappedCount => (int)

      The number of AWS resources or AWS Config rules responsible for the current compliance of the item.

    - CapExceeded => (bool)

      Indicates whether the maximum count is reached.

  - NonCompliantResourceCount => (associative-array)

    The number of AWS Config rules or AWS resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources.

    - CappedCount => (int)

      The number of AWS resources or AWS Config rules responsible for the current compliance of the item.

    - CapExceeded => (bool)

      Indicates whether the maximum count is reached.

  - ComplianceSummaryTimestamp => (string)

    The time that AWS Config created the compliance summary.

# `public `Guzzle\Service\Resource\Model``
`getComplianceSummaryByResourceType( array $args = array() )`

Executes the GetComplianceSummaryByResourceType operation.

Returns the number of resources that are compliant and the number that are noncompliant. You can specify one or more resource types to get these numbers for each resource type. The maximum number returned is 100.

#### Examples

- Basic formatting example

      $result = $client->getComplianceSummaryByResourceType(array(
          'ResourceTypes' => array('string', ... ),
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - ResourceTypes => (array<string>)

    Specify one or more resource types to get the number of resources that are compliant and the number that are noncompliant for each resource type.

    For this request, you can specify an AWS resource type such as AWS::EC2::Instance, and you can specify that the resource type is an AWS account by specifying AWS::::Account.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- ComplianceSummariesByResourceType => (array<associative-array>)

  The number of resources that are compliant and the number that are noncompliant. If one or more resource types were provided with the request, the numbers are returned for each resource type. The maximum number returned is 100.

  - (associative-array)

    The number of AWS resources of a specific type that are compliant or noncompliant, up to a maximum of 100 for each compliance.

    - ResourceType => (string)

      The type of AWS resource.

    - ComplianceSummary => (associative-array)

      The number of AWS resources that are compliant or noncompliant, up to a maximum of 100 for each compliance.

      - CompliantResourceCount => (associative-array)

        The number of AWS Config rules or AWS resources that are compliant, up to a maximum of 25 for rules and 100 for resources.

        - CappedCount => (int)

          The number of AWS resources or AWS Config rules responsible for the current compliance of the item.

        - CapExceeded => (bool)

          Indicates whether the maximum count is reached.

      - NonCompliantResourceCount => (associative-array)

        The number of AWS Config rules or AWS resources that are noncompliant, up to a maximum of 25 for rules and 100 for resources.

        - CappedCount => (int)

          The number of AWS resources or AWS Config rules responsible for the current compliance of the item.

        - CapExceeded => (bool)

          Indicates whether the maximum count is reached.

      - ComplianceSummaryTimestamp => (string)

        The time that AWS Config created the compliance summary.

# `public `Guzzle\Service\Resource\Model``
`getResourceConfigHistory( array $args = array() )`

Executes the GetResourceConfigHistory operation.

Returns a list of configuration items for the specified resource. The list contains details about each state of the resource during the specified time interval.

The response is paginated, and by default, AWS Config returns a limit of 10 configuration items per page. You can customize this number with the limit parameter. The response includes a nextToken string, and to get the next page of results, run the request again and enter this string for the nextToken parameter.

Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit . In such cases, you can make another call, using the nextToken .

#### Examples

- Basic formatting example

      $result = $client->getResourceConfigHistory(array(
          // resourceType is required
          'resourceType' => 'string',
          // resourceId is required
          'resourceId' => 'string',
          'laterTime' => 'mixed type: string (date format)|int (unix timestamp)|\DateTime',
          'earlierTime' => 'mixed type: string (date format)|int (unix timestamp)|\DateTime',
          'chronologicalOrder' => 'string',
          'limit' => integer,
          'nextToken' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - resourceType => (string: AWS::EC2::CustomerGateway | AWS::EC2::EIP | AWS::EC2::Instance | AWS::EC2::InternetGateway | AWS::EC2::NetworkAcl | AWS::EC2::NetworkInterface | AWS::EC2::RouteTable | AWS::EC2::SecurityGroup | AWS::EC2::Subnet | AWS::CloudTrail::Trail | AWS::EC2::Volume | AWS::EC2::VPC | AWS::EC2::VPNConnection | AWS::EC2::VPNGateway )

    The resource type.

  - resourceId => (string)

    The ID of the resource (for example., sg-xxxxxx).

  - laterTime => (string [date format]|int [unix timestamp]|\DateTime)

    The time stamp that indicates a later time. If not specified, current time is taken.

  - earlierTime => (string [date format]|int [unix timestamp]|\DateTime)

    The time stamp that indicates an earlier time. If not specified, the action returns paginated results that contain configuration items that start from when the first configuration item was recorded.

  - chronologicalOrder => (string: Reverse | Forward )

    The chronological order for configuration items listed. By default the results are listed in reverse chronological order.

  - limit => (int)

    The maximum number of configuration items returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.

  - nextToken => (string)

    The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- configurationItems => (array<associative-array>)

  A list that contains the configuration history of one or more resources.

  - (associative-array)

    A list that contains detailed configurations of a specified resource.

    Currently, the list does not contain information about non-AWS components (for example, applications on your Amazon EC2 instances).

    - version => (string)

      The version number of the resource configuration.

    - accountId => (string)

      The 12 digit AWS account ID associated with the resource.

    - configurationItemCaptureTime => (string)

      The time when the configuration recording was initiated.

    - configurationItemStatus => (string)

      The configuration item status.

    - configurationStateId => (string)

      An identifier that indicates the ordering of the configuration items of a resource.

    - configurationItemMD5Hash => (string)

      Unique MD5 hash that represents the configuration item's state.

      You can use MD5 hash to compare the states of two or more configuration items that are associated with the same resource.

    - arn => (string)

      The Amazon Resource Name (ARN) of the resource.

    - resourceType => (string)

      The type of AWS resource.

    - resourceId => (string)

      The ID of the resource (for example., sg-xxxxxx).

    - resourceName => (string)

      The custom name of the resource, if available.

    - awsRegion => (string)

      The region where the resource resides.

    - availabilityZone => (string)

      The Availability Zone associated with the resource.

    - resourceCreationTime => (string)

      The time stamp when the resource was created.

    - tags => (associative-array<string>)

      Associative array of <string> keys mapping to (string) values. Each array key should be changed to an appropriate <string>.

      A mapping of key value tags associated with the resource.

      - <string> => (string)
    - relatedEvents => (array<string>)

      A list of CloudTrail event IDs.

      A populated field indicates that the current configuration was initiated by the events recorded in the CloudTrail log. For more information about CloudTrail, see What is AWS CloudTrail?.

      An empty field indicates that the current configuration was not initiated by any event.

    - relationships => (array<associative-array>)

      A list of related AWS resources.

      - (associative-array)

        The relationship of the related resource to the main resource.

        - resourceType => (string)

          The resource type of the related resource.

        - resourceId => (string)

          The ID of the related resource (for example, sg-xxxxxx).

        - resourceName => (string)

          The custom name of the related resource, if available.

        - relationshipName => (string)

          The type of relationship with the related resource.

    - configuration => (string)

      The description of the resource configuration.

- nextToken => (string)

  The string that you use in a subsequent request to get the next page of results in a paginated response.

# `public `Guzzle\Service\Resource\Model``
`listDiscoveredResources( array $args = array() )`

Executes the ListDiscoveredResources operation.

Accepts a resource type and returns a list of resource identifiers for the resources of that type. A resource identifier includes the resource type, ID, and (if available) the custom resource name. The results consist of resources that AWS Config has discovered, including those that AWS Config is not currently recording. You can narrow the results to include only resources that have specific resource IDs or a resource name.

You can specify either resource IDs or a resource name but not both in the same request.

The response is paginated, and by default AWS Config lists 100 resource identifiers on each page. You can customize this number with the limit parameter. The response includes a nextToken string, and to get the next page of results, run the request again and enter this string for the nextToken parameter.

#### Examples

- Basic formatting example

      $result = $client->listDiscoveredResources(array(
          // resourceType is required
          'resourceType' => 'string',
          'resourceIds' => array('string', ... ),
          'resourceName' => 'string',
          'limit' => integer,
          'includeDeletedResources' => true || false,
          'nextToken' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - resourceType => (string: AWS::EC2::CustomerGateway | AWS::EC2::EIP | AWS::EC2::Instance | AWS::EC2::InternetGateway | AWS::EC2::NetworkAcl | AWS::EC2::NetworkInterface | AWS::EC2::RouteTable | AWS::EC2::SecurityGroup | AWS::EC2::Subnet | AWS::CloudTrail::Trail | AWS::EC2::Volume | AWS::EC2::VPC | AWS::EC2::VPNConnection | AWS::EC2::VPNGateway )

    The type of resources that you want AWS Config to list in the response.

  - resourceIds => (array<string>)

    The IDs of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.

  - resourceName => (string)

    The custom name of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.

  - limit => (int)

    The maximum number of resource identifiers returned on each page. The default is 100. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.

  - includeDeletedResources => (bool)

    Specifies whether AWS Config includes deleted resources in the results. By default, deleted resources are not included.

  - nextToken => (string)

    The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- resourceIdentifiers => (array<associative-array>)

  The details that identify a resource that is discovered by AWS Config, including the resource type, ID, and (if available) the custom resource name.

  - (associative-array)

    The details that identify a resource that is discovered by AWS Config, including the resource type, ID, and (if available) the custom resource name.

    - resourceType => (string)

      The type of resource.

    - resourceId => (string)

      The ID of the resource (for example., sg-xxxxxx).

    - resourceName => (string)

      The custom name of the resource (if available).

    - resourceDeletionTime => (string)

      The time that the resource was deleted.

- nextToken => (string)

  The string that you use in a subsequent request to get the next page of results in a paginated response.

# `public `Guzzle\Service\Resource\Model``
`putConfigRule( array $args = array() )`

Executes the PutConfigRule operation.

Adds or updates an AWS Config rule for evaluating whether your AWS resources comply with your desired configurations.

You can use this action for customer managed Config rules and AWS managed Config rules. A customer managed Config rule is a custom rule that you develop and maintain. An AWS managed Config rule is a customizable, predefined rule that is provided by AWS Config.

If you are adding a new customer managed Config rule, you must first create the AWS Lambda function that the rule invokes to evaluate your resources. When you use the PutConfigRule action to add the rule to AWS Config, you must specify the Amazon Resource Name (ARN) that AWS Lambda assigns to the function. Specify the ARN for the SourceIdentifier key. This key is part of the Source object, which is part of the ConfigRule object.

If you are adding a new AWS managed Config rule, specify the rule's identifier for the SourceIdentifier key. To reference AWS managed Config rule identifiers, see Using AWS Managed Config Rules.

For any new rule that you add, specify the ConfigRuleName in the ConfigRule object. Do not specify the ConfigRuleArn or the ConfigRuleId . These values are generated by AWS Config for new rules.

If you are updating a rule that you have added previously, specify the rule's ConfigRuleName , ConfigRuleId , or ConfigRuleArn in the ConfigRule data type that you use in this request.

The maximum number of rules that AWS Config supports is 25.

For more information about developing and using AWS Config rules, see Evaluating AWS Resource Configurations with AWS Config in the AWS Config Developer Guide.

#### Examples

- Basic formatting example

      $result = $client->putConfigRule(array(
          // ConfigRule is required
          'ConfigRule' => array(
              'ConfigRuleName' => 'string',
              'ConfigRuleArn' => 'string',
              'ConfigRuleId' => 'string',
              'Description' => 'string',
              'Scope' => array(
                  'ComplianceResourceTypes' => array('string', ... ),
                  'TagKey' => 'string',
                  'TagValue' => 'string',
                  'ComplianceResourceId' => 'string',
              ),
              // Source is required
              'Source' => array(
                  'Owner' => 'string',
                  'SourceIdentifier' => 'string',
                  'SourceDetails' => array(
                      array(
                          'EventSource' => 'string',
                          'MessageType' => 'string',
                      ),
                      // ... repeated
                  ),
              ),
              'InputParameters' => 'string',
              'MaximumExecutionFrequency' => 'string',
              'ConfigRuleState' => 'string',
          ),
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - ConfigRule => (associative-array)

    An AWS Lambda function that evaluates configuration items to assess whether your AWS resources comply with your desired configurations. This function can run when AWS Config detects a configuration change or delivers a configuration snapshot. This function can evaluate any resource in the recording group. To define which of these are evaluated, specify a value for the Scope key.

    For more information about developing and using AWS Config rules, see Evaluating AWS Resource Configurations with AWS Config in the AWS Config Developer Guide.

    - ConfigRuleName => (string)

      The name that you assign to the AWS Config rule. The name is required if you are adding a new rule.

    - ConfigRuleArn => (string)

      The Amazon Resource Name (ARN) of the AWS Config rule.

    - ConfigRuleId => (string)

      The ID of the AWS Config rule.

    - Description => (string)

      The description that you provide for the AWS Config rule.

    - Scope => (associative-array)

      Defines which resources the AWS Config rule evaluates. The scope can include one or more resource types, a combination of a tag key and value, or a combination of one resource type and one or more resource IDs. Specify a scope to constrain the resources that are evaluated. If you do not specify a scope, the AWS Config Rule evaluates all resources in the recording group.

      - ComplianceResourceTypes => (array<string>)

        The resource types of only those AWS resources that you want AWS Config to evaluate against the rule. You can specify only one type if you also specify resource IDs for ComplianceResourceId.

      - TagKey => (string)

        The tag key that is applied to only those AWS resources that you want AWS Config to evaluate against the rule.

      - TagValue => (string)

        The tag value applied to only those AWS resources that you want AWS Config to evaluate against the rule. If you specify a value for TagValue, you must also specify a value for TagKey.

      - ComplianceResourceId => (string)

        The IDs of only those AWS resources that you want AWS Config to evaluate against the rule. If you specify a resource ID, you must specify one resource type for ComplianceResourceTypes.

    - Source => (associative-array)

      Provides the rule owner (AWS or customer), the rule identifier, and the events that cause the function to evaluate your AWS resources.

      - Owner => (string: CUSTOM_LAMBDA | AWS )

        Indicates whether AWS or the customer owns and manages the AWS Config rule.

      - SourceIdentifier => (string)

        For AWS managed Config rules, a pre-defined identifier from a list. To reference the list, see Using AWS Managed Config Rules.

        For customer managed Config rules, the identifier is the Amazon Resource Name (ARN) of the rule's AWS Lambda function.

      - SourceDetails => (array<associative-array>)

        Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.

        - (associative-array)

          Provides the source and type of the event that triggers AWS Config to evaluate your AWS resources against a rule.

          - EventSource => (string: aws.config )

            The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.

          - MessageType => (string: ConfigurationItemChangeNotification | ConfigurationSnapshotDeliveryCompleted )

            The type of SNS message that triggers AWS Config to run an evaluation. For evaluations that are initiated when AWS Config delivers a configuration item change notification, you must use ConfigurationItemChangeNotification. For evaluations that are initiated when AWS Config delivers a configuration snapshot, you must use ConfigurationSnapshotDeliveryCompleted.

    - InputParameters => (string)

      A string in JSON format that is passed to the AWS Config rule Lambda function.

    - MaximumExecutionFrequency => (string: One_Hour | Three_Hours | Six_Hours | Twelve_Hours | TwentyFour_Hours )

      The maximum frequency at which the AWS Config rule runs evaluations.

      If your rule is periodic, meaning it runs an evaluation when AWS Config delivers a configuration snapshot, then it cannot run evaluations more frequently than AWS Config delivers the snapshots. For periodic rules, set the value of the MaximumExecutionFrequency key to be equal to or greater than the value of the deliveryFrequency key, which is part of ConfigSnapshotDeliveryProperties. To update the frequency with which AWS Config delivers your snapshots, use the PutDeliveryChannel action.

    - ConfigRuleState => (string: ACTIVE | DELETING )

      Indicates whether the AWS Config rule is active or currently being deleted by AWS Config.

      AWS Config sets the state of a rule to DELETING temporarily after you use the DeleteConfigRule request to delete the rule. After AWS Config finishes deleting a rule, the rule and all of its evaluations are erased and no longer available.

      You cannot add a rule to AWS Config that has the state set to DELETING. If you want to delete a rule, you must use the DeleteConfigRule request.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`putConfigurationRecorder( array $args = array() )`

Executes the PutConfigurationRecorder operation.

Creates a new configuration recorder to record the selected resource configurations.

You can use this action to change the role roleARN and/or the recordingGroup of an existing recorder. To change the role, call the action on the existing configuration recorder and specify a role.

Currently, you can specify only one configuration recorder per account.

If ConfigurationRecorder does not have the recordingGroup parameter specified, the default is to record all supported resource types.

#### Examples

- Basic formatting example

      $result = $client->putConfigurationRecorder(array(
          // ConfigurationRecorder is required
          'ConfigurationRecorder' => array(
              'name' => 'string',
              'roleARN' => 'string',
              'recordingGroup' => array(
                  'allSupported' => true || false,
                  'resourceTypes' => array('string', ... ),
              ),
          ),
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - ConfigurationRecorder => (associative-array)

    The configuration recorder object that records each configuration change made to the resources.

    - name => (string)

      The name of the recorder. By default, AWS Config automatically assigns the name "default" when creating the configuration recorder. You cannot change the assigned name.

    - roleARN => (string)

      Amazon Resource Name (ARN) of the IAM role used to describe the AWS resources associated with the account.

    - recordingGroup => (associative-array)

      The recording group specifies either to record configurations for all supported resources or to provide a list of resource types to record. The list of resource types must be a subset of supported resource types.

      - allSupported => (bool)

        Records all supported resource types in the recording group. For a list of supported resource types, see Supported resource types. If you specify allSupported, you cannot enumerate a list of resourceTypes.

      - resourceTypes => (array<string: AWS::EC2::CustomerGateway | AWS::EC2::EIP | AWS::EC2::Instance | AWS::EC2::InternetGateway | AWS::EC2::NetworkAcl | AWS::EC2::NetworkInterface | AWS::EC2::RouteTable | AWS::EC2::SecurityGroup | AWS::EC2::Subnet | AWS::CloudTrail::Trail | AWS::EC2::Volume | AWS::EC2::VPC | AWS::EC2::VPNConnection | AWS::EC2::VPNGateway >)

        A comma-separated list of strings representing valid AWS resource types (for example, AWS::EC2::Instance or AWS::CloudTrail::Trail). resourceTypes is only valid if you have chosen not to select allSupported. For a list of valid resourceTypes values, see the resourceType Value column in the following topic: Supported AWS Resource Types.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`putDeliveryChannel( array $args = array() )`

Executes the PutDeliveryChannel operation.

Creates a new delivery channel object to deliver the configuration information to an Amazon S3 bucket, and to an Amazon SNS topic.

You can use this action to change the Amazon S3 bucket or an Amazon SNS topic of the existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS topic, call this action and specify the changed values for the S3 bucket and the SNS topic. If you specify a different value for either the S3 bucket or the SNS topic, this action will keep the existing value for the parameter that is not changed.

Currently, you can specify only one delivery channel per account.

#### Examples

- Basic formatting example

      $result = $client->putDeliveryChannel(array(
          // DeliveryChannel is required
          'DeliveryChannel' => array(
              'name' => 'string',
              's3BucketName' => 'string',
              's3KeyPrefix' => 'string',
              'snsTopicARN' => 'string',
              'configSnapshotDeliveryProperties' => array(
                  'deliveryFrequency' => 'string',
              ),
          ),
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - DeliveryChannel => (associative-array)

    The configuration delivery channel object that delivers the configuration information to an Amazon S3 bucket, and to an Amazon SNS topic.

    - name => (string)

      The name of the delivery channel. By default, AWS Config automatically assigns the name "default" when creating the delivery channel. You cannot change the assigned name.

    - s3BucketName => (string)

      The name of the Amazon S3 bucket used to store configuration history for the delivery channel.

    - s3KeyPrefix => (string)

      The prefix for the specified Amazon S3 bucket.

    - snsTopicARN => (string)

      The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers notifications to.

    - configSnapshotDeliveryProperties => (associative-array)

      Options for how AWS Config delivers configuration snapshots to the Amazon S3 bucket in your delivery channel.

      - deliveryFrequency => (string: One_Hour | Three_Hours | Six_Hours | Twelve_Hours | TwentyFour_Hours )

        The frequency with which a AWS Config recurringly delivers configuration snapshots.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`putEvaluations( array $args = array() )`

Executes the PutEvaluations operation.

Used by an AWS Lambda function to deliver evaluation results to AWS Config. This action is required in every AWS Lambda function that is invoked by an AWS Config rule.

#### Examples

- Basic formatting example

      $result = $client->putEvaluations(array(
          'Evaluations' => array(
              array(
                  // ComplianceResourceType is required
                  'ComplianceResourceType' => 'string',
                  // ComplianceResourceId is required
                  'ComplianceResourceId' => 'string',
                  // ComplianceType is required
                  'ComplianceType' => 'string',
                  'Annotation' => 'string',
                  // OrderingTimestamp is required
                  'OrderingTimestamp' => 'mixed type: string (date format)|int (unix timestamp)|\DateTime',
              ),
              // ... repeated
          ),
          // ResultToken is required
          'ResultToken' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - Evaluations => (array<associative-array>)

    The assessments that the AWS Lambda function performs. Each evaluation identifies an AWS resource and indicates whether it complies with the AWS Config rule that invokes the AWS Lambda function.

    - (associative-array)

      Identifies an AWS resource and indicates whether it complies with the AWS Config rule that it was evaluated against.

      - ComplianceResourceType => (string)

        The type of AWS resource that was evaluated.

      - ComplianceResourceId => (string)

        The ID of the AWS resource that was evaluated.

      - ComplianceType => (string: COMPLIANT | NON_COMPLIANT | NOT_APPLICABLE | INSUFFICIENT_DATA )

        Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.

      - Annotation => (string)

        Supplementary information about how the evaluation determined the compliance.

      - OrderingTimestamp => (string [date format]|int [unix timestamp]|\DateTime)

        The time of the event in AWS Config that triggered the evaluation. For event-based evaluations, the time indicates when AWS Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when AWS Config delivered the configuration snapshot that triggered the evaluation.

  - ResultToken => (string)

    An encrypted token that associates an evaluation with an AWS Config rule. Identifies the rule and the event that triggered the evaluation

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

- FailedEvaluations => (array<associative-array>)

  Requests that failed because of a client or server error.

  - (associative-array)

    Identifies an AWS resource and indicates whether it complies with the AWS Config rule that it was evaluated against.

    - ComplianceResourceType => (string)

      The type of AWS resource that was evaluated.

    - ComplianceResourceId => (string)

      The ID of the AWS resource that was evaluated.

    - ComplianceType => (string)

      Indicates whether the AWS resource complies with the AWS Config rule that it was evaluated against.

    - Annotation => (string)

      Supplementary information about how the evaluation determined the compliance.

    - OrderingTimestamp => (string)

      The time of the event in AWS Config that triggered the evaluation. For event-based evaluations, the time indicates when AWS Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when AWS Config delivered the configuration snapshot that triggered the evaluation.

# `public `Guzzle\Service\Resource\Model``
`startConfigurationRecorder( array $args = array() )`

Executes the StartConfigurationRecorder operation.

Starts recording configurations of the AWS resources you have selected to record in your AWS account.

You must have created at least one delivery channel to successfully start the configuration recorder.

#### Examples

- Basic formatting example

      $result = $client->startConfigurationRecorder(array(
          // ConfigurationRecorderName is required
          'ConfigurationRecorderName' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - ConfigurationRecorderName => (string)

    The name of the recorder object that records each configuration change made to the resources.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\Model``
`stopConfigurationRecorder( array $args = array() )`

Executes the StopConfigurationRecorder operation.

Stops recording configurations of the AWS resources you have selected to record in your AWS account.

#### Examples

- Basic formatting example

      $result = $client->stopConfigurationRecorder(array(
          // ConfigurationRecorderName is required
          'ConfigurationRecorderName' => 'string',
      ));

#### Parameters

$args
  `array`
  $arg Associative array containing the following keys (required keys are bold):
  - ConfigurationRecorderName => (string)

    The name of the recorder object that records each configuration change made to the resources.

#### Returns

``Guzzle\Service\Resource\Model``
Returns a response Model object

# `public `Guzzle\Service\Resource\ResourceIteratorInterface``
`getGetResourceConfigHistoryIterator( array $args = array() )`

The input array uses the parameters of the GetResourceConfigHistory operation

#### Parameters

$args
  `array`
  $args

#### Returns

``Guzzle\Service\Resource\ResourceIteratorInterface``

### Methods inherited from Aws\Common\Client\AbstractClient

`__call()`, `__construct()`, `createRequest()`, `getAllEvents()`, `getApiVersion()`, `getCredentials()`, `getRegion()`, `getRegions()`, `getSignature()`, `getWaiter()`, `getWaiterFactory()`, `send()`, `setCredentials()`, `setRegion()`, `setWaiterFactory()`, `waitUntil()`

### Methods inherited from Guzzle\Service\Client

`execute()`, `executeMultiple()`, `getCommand()`, `getCommandFactory()`, `getDescription()`, `getInflector()`, `getIterator()`, `getResourceIteratorFactory()`, `prepareCommand()`, `setCommandFactory()`, `setDescription()`, `setInflector()`, `setResourceIteratorFactory()`

### Methods inherited from Guzzle\Http\Client

`delete()`, `expandTemplate()`, `extractPharCacert()`, `get()`, `getBaseUrl()`, `getConfig()`, `getCurlMulti()`, `getDefaultOption()`, `getDefaultUserAgent()`, `getUriTemplate()`, `head()`, `initSsl()`, `options()`, `patch()`, `post()`, `prepareRequest()`, `put()`, `sendMultiple()`, `setBaseUrl()`, `setConfig()`, `setCurlMulti()`, `setDefaultOption()`, `setRequestFactory()`, `setSslVerification()`, `setUriTemplate()`, `setUserAgent()`

### Methods inherited from Guzzle\Common\AbstractHasDispatcher

`addSubscriber()`, `dispatch()`, `getEventDispatcher()`, `setEventDispatcher()`

### Magic methods summary

## Constants summary

`string` | `LATEST_API_VERSION` | `'2014-11-12'` | #

### Constants inherited from Guzzle\Service\Client

`COMMAND_PARAMS`

### Constants inherited from Guzzle\Http\Client

`CURL_OPTIONS`, `DEFAULT_SELECT_TIMEOUT`, `DISABLE_REDIRECTS`, `MAX_HANDLES`, `REQUEST_OPTIONS`, `SSL_CERT_AUTHORITY`

### Constants inherited from Guzzle\Http\ClientInterface

`CREATE_REQUEST`, `HTTP_DATE`

## Properties summary

### Properties inherited from Aws\Common\Client\AbstractClient

`$aggregator`, `$credentials`, `$signature`, `$waiterFactory`

### Properties inherited from Guzzle\Service\Client

`$commandFactory`, `$inflector`, `$resourceIteratorFactory`, `$serviceDescription`

### Properties inherited from Guzzle\Http\Client

`$defaultHeaders`, `$requestFactory`, `$userAgent`

### Properties inherited from Guzzle\Common\AbstractHasDispatcher

`$eventDispatcher`